Re: [gtk-list] Re: Button and Window Questions
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Button and Window Questions
- Date: Sat, 14 Aug 1999 23:19:45 -0400 (EDT)
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]