Re: [gtk-list] Re: Button and Window Questions




On Tue, 17 Aug 1999, Marc Fearby wrote:
> 
> my button looks like it has the default.  However, when I start using hbox's
> and the like, the button refuses to show the default.  Since windows and
> hbox's are both containers, why should the button widget behave differently?
> 
> This is really annoying.  Is this a bug in GTK?
> 

I don't think so, I think you need to gtk_widget_grab_default() to give
the button the default. It's automatically the default if it's the only
widget in a window, but if there are other widgets that could be the
default then you have to specify.

Havoc




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