Re: GtkEntry right aligned/justified

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

 



 Hello,

>
> So, is there a way to make a GtkEntry right aligned, like you want to
> have it for numbers in a calculator?
>
> Regards,
>
>     Steffen

use this for right justification. For further search for this in the 
reference manual

gtk_widget_set_direction(entry, GTK_DIRECTION_RTL);
for RightToLeft justification.
Similarly for LTR for LeftToRight.
gtk_widget_set_direction(entry, GTK_DIRECTION_LTR);

cheers,
bheemesh.

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux