Top | ![]() |
![]() |
![]() |
![]() |
void | tab-added | Run First |
void | tab-close-request | Run Last |
void | tab-detached | Run First |
void | tab-removed | Run First |
void | tabs-reordered | Run First |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkNotebook ╰── PlumaNotebook
void pluma_notebook_add_tab (PlumaNotebook *nb
,PlumaTab *tab
,gint position
,gboolean jump_to
);
Adds the specified tab
to the nb
.
void pluma_notebook_remove_tab (PlumaNotebook *nb
,PlumaTab *tab
);
Removes tab
from nb
.
void
pluma_notebook_remove_all_tabs (PlumaNotebook *nb
);
Removes all PlumaTab from nb
.
void pluma_notebook_reorder_tab (PlumaNotebook *src
,PlumaTab *tab
,gint dest_position
);
Reorders the page containing tab
, so that it appears in dest_position
position.
If dest_position is greater than or equal to the number of tabs
of the destination notebook or negative, tab will be moved to the
end of the tabs.
void pluma_notebook_move_tab (PlumaNotebook *src
,PlumaNotebook *dest
,PlumaTab *tab
,gint dest_position
);
Moves tab
from src
to dest
.
If dest_position is greater than or equal to the number of tabs
of the destination nootebook or negative, tab will be moved to the
end of the tabs.
void pluma_notebook_set_always_show_tabs (PlumaNotebook *nb
,gboolean show_tabs
);
Sets the visibility of the tabs in the nb
.
void pluma_notebook_set_close_buttons_sensitive (PlumaNotebook *nb
,gboolean sensitive
);
Sets whether the close buttons in the tabs of nb
are sensitive.
gboolean
pluma_notebook_get_close_buttons_sensitive
(PlumaNotebook *nb
);
Whether the close buttons are sensitive.
void pluma_notebook_set_tab_drag_and_drop_enabled (PlumaNotebook *nb
,gboolean enable
);
Sets whether drag and drop of tabs in the nb
is enabled.
gboolean
pluma_notebook_get_tab_drag_and_drop_enabled
(PlumaNotebook *nb
);
Whether the drag and drop is enabled in the nb
.
“tab-added”
signalvoid user_function (PlumaNotebook *plumanotebook, PlumaTab *arg1, gpointer user_data)
Flags: Run First
“tab-close-request”
signalvoid user_function (PlumaNotebook *plumanotebook, PlumaTab *arg1, gpointer user_data)
Flags: Run Last
“tab-detached”
signalvoid user_function (PlumaNotebook *plumanotebook, PlumaTab *arg1, gpointer user_data)
Flags: Run First
“tab-removed”
signalvoid user_function (PlumaNotebook *plumanotebook, PlumaTab *arg1, gpointer user_data)
Flags: Run First
“tabs-reordered”
signalvoid user_function (PlumaNotebook *plumanotebook, gpointer user_data)
Flags: Run First