Re: GtkEntry right aligned/justified



 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.




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