Re: UniCode and text widget ?



vahid zahiri <v_zahiri yahoo com> writes:
> 
>  When i set unicode font for text widget
>  it isn't show character and only show 
>  small rectangle.
>  
>  How can i set a unicode font for text widget?

For GtkText, you have to use a Unicode locale.

>  How can i set right to left for text widget?

GTK 1.2 doesn't support right-to-left.

For GTK 2.0 (now in beta as 1.3.x), you use GtkTextView, and you call
gtk_widget_set_direction() or just use a right-to-left locale. 
Even in 1.3.x, GtkText does not support bidi, you must use GtkTextView.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]