[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: GtkEntry right aligned/justified
- From: bheemesh <bheemesh prodigylabs com>
- To: Steffen Gutmann <gutmann ieee org>, gtk-list gnome org
- Subject: Re: GtkEntry right aligned/justified
- Date: Fri, 20 Feb 2004 11:13:52 +0600
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]