Top | ![]() |
![]() |
![]() |
![]() |
GType | gtr_window_register_type () |
GtrTab * | gtr_window_create_tab () |
GtrTab * | gtr_window_get_active_tab () |
GList * | gtr_window_get_all_tabs () |
GtrNotebook * | gtr_window_get_notebook () |
GtrHeader * | gtr_window_get_header_from_active_tab () |
GtkWidget * | gtr_window_get_statusbar () |
GtrView * | gtr_window_get_active_view () |
GList * | gtr_window_get_all_views () |
GtkWidget * | gtr_window_get_tab_from_location () |
void | gtr_window_set_active_tab () |
GtrTranslationMemory * | gtr_window_get_tm () |
void | gtr_window_show_tm_dialog () |
void | gtr_window_remove_all_pages () |
void | gtr_window_tm_keybind () |
void | gtr_window_hide_sort_menu () |
void | gtr_window_show_search_bar () |
void | gtr_window_toggle_search_bar () |
void | gtr_window_show_projects () |
void | gtr_window_show_poeditor () |
void | gtr_window_show_dlteams () |
GtrTab * gtr_window_create_tab (GtrWindow *window
,GtrPo *po
);
Adds a new GtrTab to the GtrNotebook and returns the GtrTab.
GtrTab *
gtr_window_get_active_tab (GtrWindow *window
);
Gets the active GtrTab of the window
.
GList *
gtr_window_get_all_tabs (GtrWindow *window
);
Gets a list of all tabs in the window
or NULL if there is no tab opened.
a list of all tabs in the window
or NULL if there is no tab opened.
[transfer container][element-type Gtranslator.Tab]
GtrNotebook *
gtr_window_get_notebook (GtrWindow *window
);
Gets the main GtrNotebook of the window
.
GtrHeader *
gtr_window_get_header_from_active_tab (GtrWindow *window
);
Gets the GtrHeader of the GtrPo of in the active GtrTab.
GtrView *
gtr_window_get_active_view (GtrWindow *window
);
Gets the active translation view in the GtranslationWindow or NULL if there is not tab opened.
GList * gtr_window_get_all_views (GtrWindow *window
,gboolean original
,gboolean translated
);
Returns all the views currently present in GtranslationWindow
window |
the GtranslationWindow |
|
original |
TRUE if you want original TextViews. |
|
translated |
TRUE if you want transtated TextViews. |
a newly allocated list of GtranslationWindow objects.
[transfer container][element-type Gtranslator.View]
GtkWidget * gtr_window_get_tab_from_location (GtrWindow *window
,GFile *location
);
Gets the GtrTab of the GtrWindows that matches with the
location
.
void gtr_window_set_active_tab (GtrWindow *window
,GtkWidget *tab
);
Sets the active tab for the window
.