Re: tab order and restricting entry widgets
- From: Vlad Harchev <hvv hippo ru>
- To: Dave Reed <dreed capital edu>
- Cc: gtk-list gnome org
- Subject: Re: tab order and restricting entry widgets
- Date: Fri, 14 Jul 2000 16:38:10 +0500 (SAMST)
On Fri, 14 Jul 2000, Dave Reed wrote:
>
> Is there an easy method to change the focus order when you tab through
> entry widgets. I've got a bunch of entry and combo widgets in a table
> and I want the tab key to go down the column first rather than across
> the row. I guess I could use the leave_notify signal for each widget,
> but that would be a pain.
As for focus order - I don't know any easy solution.
> Is there a way to restrict entry widgets to only numeric (and
> only dates would be great also)?
No special support for this exists, but you always can connect to "changed"
signal, validate the data, and act accordingly. I prefer to disable "OK"
button if data is invalid; coloring the text of the entry with different color
is nice too.
> I skimmed the online documentation and grep'ed .h files, but couldn't
> find anything. I also tried to search the list archives, but couldn't
> find a search function for the archives (other than loading each month
> into Netscape and using Netscape's find) - am I missing it?
>
> Thanks,
> Dave
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
Best regards,
-Vlad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]