Re: Associating labels to widgets



On Sat, Mar 15, 2003 at 05:36:11PM -0300, Mariano Suarez-Alvarez wrote:
> 
> Is there a way to associate a label (which does *not* have mnemonic) to a
> widgets (say a GtkEntry) to that when the entry is set (in)sensitive, the
> label is made (in)sensitive.
> 
> Of course, this can be done by hand, but then you have to keep a pointer to
> the label, and do it... I guess this must be a rather frequence situation!
> 

If we fix these:
  http://bugzilla.gnome.org/show_bug.cgi?id=72251
  http://bugzilla.gnome.org/show_bug.cgi?id=103456

then it's trivial to make GTK do this automatically. I thought there
was a bug mentioning specifically using this to automatically do label 
sensitivity, but I don't see that bug now.

Havoc



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