Top | ![]() |
![]() |
![]() |
![]() |
void | active-tab-changed | Run First |
void | active-tab-state-changed | Run First |
void | tab-added | Run First |
void | tab-removed | Run First |
void | tabs-reordered | Run First |
GFlags ╰── GeditWindowState GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── GtkApplicationWindow ╰── GeditWindow
GeditWindow implements AtkImplementorIface, GtkBuildable, GActionGroup and GActionMap.
GeditTab * gedit_window_create_tab (GeditWindow *window
,gboolean jump_to
);
Creates a new GeditTab and adds it to the GtkNotebook.
void gedit_window_close_tab (GeditWindow *window
,GeditTab *tab
);
Closes the tab
.
void
gedit_window_close_all_tabs (GeditWindow *window
);
Closes all opened tabs.
void gedit_window_close_tabs (GeditWindow *window
,const GList *tabs
);
Closes all tabs specified by tabs
.
GeditTab *
gedit_window_get_active_tab (GeditWindow *window
);
Gets the active GeditTab in the window
.
void gedit_window_set_active_tab (GeditWindow *window
,GeditTab *tab
);
Switches to the tab that matches with tab
.
GeditDocument *
gedit_window_get_active_document (GeditWindow *window
);
GList *
gedit_window_get_documents (GeditWindow *window
);
Gets a newly allocated list with all the documents in the window. This list must be freed.
GList *
gedit_window_get_unsaved_documents (GeditWindow *window
);
Gets the list of documents that need to be saved before closing the window.
a list of GeditDocument that need to be saved before closing the window.
[element-type Gedit.Document][transfer container]
GList *
gedit_window_get_views (GeditWindow *window
);
Gets a list with all the views in the window. This list must be freed.
GtkWindowGroup *
gedit_window_get_group (GeditWindow *window
);
Gets the GtkWindowGroup in which window
resides.
TeplPanel *
gedit_window_get_side_panel (GeditWindow *window
);
Since: 46
GtkWidget *
gedit_window_get_bottom_panel (GeditWindow *window
);
Gets the bottom panel of the window
.
GtkWidget *
gedit_window_get_statusbar (GeditWindow *window
);
Gets the GeditStatusbar of the window
.
GeditWindowState
gedit_window_get_state (GeditWindow *window
);
Retrieves the state of the window
.
GeditTab * gedit_window_get_tab_from_location (GeditWindow *window
,GFile *location
);
Gets the GeditTab that matches with the given location
.
GeditMessageBus *
gedit_window_get_message_bus (GeditWindow *window
);
Gets the GeditMessageBus associated with window
. The returned reference
is owned by the window and should not be unreffed.
“state”
property“state” GeditWindowState
The state of the GeditWindow.
Owner: GeditWindow
Flags: Read
“active-tab-changed”
signalvoid user_function (GeditWindow *geditwindow, GeditTab *arg1, gpointer user_data)
Flags: Run First
“active-tab-state-changed”
signalvoid user_function (GeditWindow *geditwindow, gpointer user_data)
Flags: Run First
“tab-added”
signalvoid user_function (GeditWindow *geditwindow, GeditTab *arg1, gpointer user_data)
Flags: Run First
“tab-removed”
signalvoid user_function (GeditWindow *geditwindow, GeditTab *arg1, gpointer user_data)
Flags: Run First
“tabs-reordered”
signalvoid user_function (GeditWindow *geditwindow, gpointer user_data)
Flags: Run First