display japanese error

2002-03-21 Thread 21cn
hi!i use "gtk_label_set_text()"  to set a label's value be a japanese string and display this correctly but i use "gdk_draw_string()" to display this japanese string and i cann't find  any gdkfont to display this string correctly. who happened this same problem and can you tell me how to so

gtk develop question

2002-03-12 Thread 21cn
    GtkWidget *win;  GtkWidget *lbl1;/* create a window */  win = gtk_window_new(GTK_WINDOW_TOPLEVEL);  gtk_signal_connect(GTK_OBJECT (win), "destroy", GTK_SIGNAL_FUNC(destroy), NULL);  gtk_container_set_border_width(GTK_CONTAINER (win), 10);  /* create a label */  lbl1= gtk_label_new