![]() |
![]() |
![]() |
CodeSlayer Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
#include <codeslayer/codeslayer-notebook-tab.h> struct CodeSlayerNotebookTab; GtkWidget * codeslayer_notebook_tab_new (GtkWidget *notebook
,gchar *file_name
); void codeslayer_notebook_tab_show_buffer_dirty (CodeSlayerNotebookTab *notebook_tab
); void codeslayer_notebook_tab_show_buffer_clean (CodeSlayerNotebookTab *notebook_tab
); GtkWidget * codeslayer_notebook_tab_get_notebook_page (CodeSlayerNotebookTab *notebook_tab
); void codeslayer_notebook_tab_set_notebook_page (CodeSlayerNotebookTab *notebook_tab
,GtkWidget *notebook_page
); void codeslayer_notebook_tab_set_label_name (CodeSlayerNotebookTab *notebook_tab
,gchar *file_name
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----CodeSlayerNotebookTab
CodeSlayerNotebookTab implements AtkImplementorIface, GtkBuildable and GtkOrientable.
"close-all-editors" :No Hooks
"close-editor" :No Hooks
"close-left-editors" :No Hooks
"close-other-editors" :No Hooks
"close-right-editors" :No Hooks
"select-editor" :No Hooks
The tab is appended to the notebook page as a way to give the page a label. This label can also communicate whether or not the editor needs to be saved. The tab itself allows a page to be closed.
GtkWidget * codeslayer_notebook_tab_new (GtkWidget *notebook
,gchar *file_name
);
Creates a new CodeSlayerNotebookTab.
|
a GtkWidget. |
|
the display name for the tab is the file name. |
Returns : |
a new CodeSlayerNotebookTab. |
void codeslayer_notebook_tab_show_buffer_dirty
(CodeSlayerNotebookTab *notebook_tab
);
The tab label needs to be show that the editor needs to be saved.
|
a CodeSlayerNotebookTab. |
void codeslayer_notebook_tab_show_buffer_clean
(CodeSlayerNotebookTab *notebook_tab
);
The tab label needs to be show that the editor no longer needs to be saved.
|
a CodeSlayerNotebookTab. |
GtkWidget * codeslayer_notebook_tab_get_notebook_page
(CodeSlayerNotebookTab *notebook_tab
);
|
a CodeSlayerNotebookTab. |
Returns : |
the notebook page contained with the tab. |
void codeslayer_notebook_tab_set_notebook_page (CodeSlayerNotebookTab *notebook_tab
,GtkWidget *notebook_page
);
|
a CodeSlayerNotebookTab. |
|
a CodeSlayerNotebookPage. |
void codeslayer_notebook_tab_set_label_name (CodeSlayerNotebookTab *notebook_tab
,gchar *file_name
);
Change the label name of the tab.
|
a CodeSlayerNotebookTab. |
|
the display name for the tab is the file name. |
"close-all-editors"
signalvoid user_function (CodeSlayerNotebookTab *codeslayernotebooktab,
gpointer user_data) : No Hooks
The ::close-all-editors signal is a request to close all the editors.
|
the tab that received the signal |
|
user data set when the signal handler was connected. |
"close-editor"
signalvoid user_function (CodeSlayerNotebookTab *codeslayernotebooktab,
gpointer user_data) : No Hooks
The ::close-editor signal is a request to close the active editor.
|
the tab that received the signal |
|
user data set when the signal handler was connected. |
"close-left-editors"
signalvoid user_function (CodeSlayerNotebookTab *codeslayernotebooktab,
gpointer user_data) : No Hooks
The ::close-left-editors signal is a request to close all editors to the left of the active one.
|
the tab that received the signal |
|
user data set when the signal handler was connected. |
"close-other-editors"
signalvoid user_function (CodeSlayerNotebookTab *codeslayernotebooktab,
gpointer user_data) : No Hooks
The ::close-other-editors signal is a request to close all editors except the active one.
|
the tab that received the signal |
|
user data set when the signal handler was connected. |
"close-right-editors"
signalvoid user_function (CodeSlayerNotebookTab *codeslayernotebooktab,
gpointer user_data) : No Hooks
The ::close-right-editors signal is a request to close all editors to the right of the active one.
|
the tab that received the signal |
|
user data set when the signal handler was connected. |
"select-editor"
signalvoid user_function (CodeSlayerNotebookTab *codeslayernotebooktab,
gpointer user_data) : No Hooks
The ::select-editor signal is a request to close the active editor.
|
the tab that received the signal |
|
user data set when the signal handler was connected. |