![]() | ![]() | ![]() | GPE Manual: libgpewidget Reference | ![]() |
---|
Translation labelTranslation label — Translation-aware GtkLabel variant |
void gtk_widget_add_translation_hook (GtkWidget *w, void (*func) (GtkWidget *, void *), gpointer data); GtkWidget* gtk_label_new_with_translation (gchar *domain, gchar *string);
void gtk_widget_add_translation_hook (GtkWidget *w, void (*func) (GtkWidget *, void *), gpointer data);
Register a callback to be invoked when the current locale changes.
w : | A widget. |
func : | A callback function. |
data : | Passed as the second argument when the callback is invoked. |
GtkWidget* gtk_label_new_with_translation (gchar *domain, gchar *string);
Creates a translation-aware label widget. The supplied string is passed through gettext prior to display, and automatically updated if the selected locale is changed.
domain : | Textual domain used for this program. |
string : | Message string to be displayed. |
Returns : | a GtkWidget |
<< Error Messages | Init >> |