Functions to dynamically manipulate panels in a dockview instance.
add_panel(dock, panel, ...)remove_panel(dock, id)
set_panel_title(dock, id, title)
select_panel(dock, id)
move_panel(dock, id, position = NULL, group = NULL, index = NULL)
move_group(dock, from, to, position = NULL)
move_group2(dock, from, to, position = NULL)
All functions return the dock proxy object invisibly, allowing for method chaining.
Dock proxy object created with dock_view_proxy().
A panel object (for add_panel). See panel for parameters.
Additional options (currently unused).
Panel ID (character string).
New panel title.
Panel/group position: one of "left", "right", "top", "bottom", "center".
ID of a panel that belongs to the target group (for move_panel).
Panel index within a group (for move_panel).
Source group/panel ID (for move operations).
Destination group/panel ID (for move operations).
set_panel_title(): Sets the title of a panel dynamically.
add_panel(): Adds a new panel to the dockview
remove_panel(): Removes an existing panel
select_panel(): Selects/focuses a specific panel
move_panel(): Moves a panel to a new position
move_group(): Moves a group using group IDs
move_group2(): Moves a group using panel IDs
panel()