| Top |
GList * gtr_tab_get_all_views (GtrTab *tab,gboolean original,gboolean translated);
Returns all the views currently present in GtranslationTab
tab |
the GtranslationTab |
|
original |
TRUE if you want original TextViews. |
|
translated |
TRUE if you want tranlated TextViews. |
a newly allocated list of GtranslationTab objects.
[transfer container][element-type Gtranslator.View]
void gtr_tab_message_go_to (GtrTab *tab,GtrMsg *to_go,gboolean searching,GtrTabMove move);
Jumps to the specific to_go
pointer message and show the message
in the GtrView.
GtrTab *
gtr_tab_get_from_document (GtrPo *po);
Returns the GtrTab for a specific GtrPo.
gboolean
gtr_tab_get_autosave_enabled (GtrTab *tab);
Gets the current state for the autosave feature
void gtr_tab_set_autosave_enabled (GtrTab *tab,gboolean enable);
Enables or disables the autosave feature. It does not install an autosave timeout if the document is new or is read-only
gint
gtr_tab_get_autosave_interval (GtrTab *tab);
Gets the current interval for the autosaves
void gtr_tab_set_autosave_interval (GtrTab *tab,gint interval);
Sets the interval for the autosave feature. It does nothing if the interval is the same as the one already present. It removes the old interval timeout and adds a new one with the autosave passed as argument.
void
gtr_tab_clear_msgstr_views (GtrTab *tab);
Clears all text from msgstr text views.
void
gtr_tab_copy_to_translation (GtrTab *tab);
Copies the text from the original text box to the translation text box.
void
gtr_tab_block_movement (GtrTab *tab);
Blocks the movement to the next/prev message.
void
gtr_tab_unblock_movement (GtrTab *tab);
Unblocks the movement to the next/prev message.
void
gtr_tab_go_to_next (GtrTab *tab);
Moves to the next message or plural tab in case the message has plurals.
void
gtr_tab_go_to_prev (GtrTab *tab);
Moves to the previous message or plural tab in case the message has plurals.
gboolean
gtr_tab_go_to_next_fuzzy (GtrTab *tab);
If there is a next fuzzy message it jumps to it.
gboolean
gtr_tab_go_to_prev_fuzzy (GtrTab *tab);
If there is a prev fuzzy message it jumps to it.
gboolean
gtr_tab_go_to_next_untrans (GtrTab *tab);
If there is a next untranslated message it jumps to it.
gboolean
gtr_tab_go_to_prev_untrans (GtrTab *tab);
If there is a prev untranslated message it jumps to it.
gboolean
gtr_tab_go_to_next_fuzzy_or_untrans (GtrTab *tab);
If there is a next fuzzy or untranslated message it jumps to it.
gboolean
gtr_tab_go_to_prev_fuzzy_or_untrans (GtrTab *tab);
If there is a prev fuzzy or untranslated message it jumps to it.
void gtr_tab_go_to_number (GtrTab *tab,gint number);
Jumps to the message with the number
in the list, if the message does not
exists it does not jump.
void gtr_tab_set_info_bar (GtrTab *tab,GtkWidget *infobar);
Sets the infobar
to be shown in the tab
.
void gtr_tab_set_progress (GtrTab *tab,gint trans,gint untrans,gint fuzzy);