Re: Right aligning text in gtkEntry
| From: | Alan Knowles | Date: | Sat, 30 Aug 2003 00:22:51 +0000 |
| Subject: | Re: Right aligning text in gtkEntry | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3761@lists.php.net to get a copy of this message | ||
Not easily.. - you could make it non-editable, and connect key-pressevents, and fill it manually using str_pad()..
Regards
Alan
Elgin Koh wrote:
Hi all,Is there any way to cause the text in a GtkEntry widget to appearfrom the right (like in a calculator), instead of from the left? The widget is to be used in a keypad-like window.I am developing on Windows, and am trying to avoid ugly hacks likeusing GtkLabel to simulate a GtkEntry widget. Thanks in advance, Elgin