Re: field hightlighting
| From: | nathan at the-ring dot homelinux dot net | Date: | Fri, 14 May 2004 10:02:42 +0000 |
| Subject: | Re: field hightlighting | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4482@lists.php.net to get a copy of this message | ||
> We have a series of entry screens in Windows (98/NT/2k) PHP-Gtk 1.0, using
> the activate signal to move the user from GTKEntry field to field for
> additions/changes.
>
> Is there anyway to have the current content highlighted, so that the user
> can easily see where they're at and/or easily delete the content - similar
> to the HTML form fields work?
>
> thanks
> Madeleine D.
hi,
for highlight have a look to gtkstyle :
http://gtk.php.net/manual/fr/gtk.gtkstyle.php
fot deleting the content you can connect a callback to the gtkentry
see http://gtk.php.net/manual/fr/gtk.gtkobject.method.connect.php
nathan