Comment 2 for bug 235770

Revision history for this message
guoyi (whuguoyi) wrote :

If I set title of the window or dialog in Hebrew, caption of the title bar can be shown in Hebrew locale. Source code is following.

//file gtk_dialog_text_he.cpp
# include <gtk/gtk.h>

int main( int argc, char *argv[] )
{
    GtkWidget *gtkmsgDialog;

    gtk_init (&argc, &argv);

    gtkmsgDialog = gtk_dialog_new();

    gtk_window_set_title(GTK_WINDOW(gtkmsgDialog),"מחשב");
    gtk_window_set_position(GTK_WINDOW(gtkmsgDialog), GTK_WIN_POS_CENTER);
    gtk_window_resize(GTK_WINDOW(gtkmsgDialog), 200,50);

    gtk_widget_show(gtkmsgDialog);

    gtk_main();

    return 0;
}