| Top |
| GtkWidget * | xed_notebook_new () |
| void | xed_notebook_add_tab () |
| void | xed_notebook_remove_tab () |
| void | xed_notebook_remove_all_tabs () |
| void | xed_notebook_reorder_tab () |
| void | xed_notebook_move_tab () |
| void | xed_notebook_set_close_buttons_sensitive () |
| gboolean | xed_notebook_get_close_buttons_sensitive () |
| void | xed_notebook_set_tab_drag_and_drop_enabled () |
| gboolean | xed_notebook_get_tab_drag_and_drop_enabled () |
| 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
╰── GtkWidget
╰── GtkContainer
╰── GtkNotebook
╰── XedNotebook
void xed_notebook_add_tab (XedNotebook *nb,XedTab *tab,gint position,gboolean jump_to);
Adds the specified tab
to the nb
.
nb |
||
tab |
a XedTab |
|
position |
the position where the |
|
jump_to |
|
void xed_notebook_remove_tab (XedNotebook *nb,XedTab *tab);
Removes tab
from nb
.
void
xed_notebook_remove_all_tabs (XedNotebook *nb);
Removes all XedTab from nb
.
void xed_notebook_reorder_tab (XedNotebook *src,XedTab *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 xed_notebook_move_tab (XedNotebook *src,XedNotebook *dest,XedTab *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 xed_notebook_set_close_buttons_sensitive (XedNotebook *nb,gboolean sensitive);
Sets whether the close buttons in the tabs of nb
are sensitive.
gboolean
xed_notebook_get_close_buttons_sensitive
(XedNotebook *nb);
Whether the close buttons are sensitive.
void xed_notebook_set_tab_drag_and_drop_enabled (XedNotebook *nb,gboolean enable);
Sets whether drag and drop of tabs in the nb
is enabled.
gboolean
xed_notebook_get_tab_drag_and_drop_enabled
(XedNotebook *nb);
Whether the drag and drop is enabled in the nb
.
“tab-added” signalvoid user_function (XedNotebook *xednotebook, XedTab *arg1, gpointer user_data)
Flags: Run First
“tab-close-request” signalvoid user_function (XedNotebook *xednotebook, XedTab *arg1, gpointer user_data)
Flags: Run Last
“tab-detached” signalvoid user_function (XedNotebook *xednotebook, XedTab *arg1, gpointer user_data)
Flags: Run First
“tab-removed” signalvoid user_function (XedNotebook *xednotebook, XedTab *arg1, gpointer user_data)
Flags: Run First
“tabs-reordered” signalvoid user_function (XedNotebook *xednotebook, gpointer user_data)
Flags: Run First