Re: [gtk-list] Re: gtk_widget_size_allocate doesn't seem to change the size of my widgets in a GtkFixed container
- From: jason harlequin co uk (Jason Trenouth)
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: gtk_widget_size_allocate doesn't seem to change the size of my widgets in a GtkFixed container
- Date: Fri, 13 Aug 1999 08:38:09 GMT
On Thu, 12 Aug 1999 20:31:20 +0100, Damon Chaplin
> Jason Trenouth wrote:
> > > > Glade uses gtk_widget_set_usize() to change the size of widgets in a GtkFixed
> > > > container. It works for me!
> > >
> > > Hmmm. Okay. Might it matter whether they were already realized or mapped?
> It shouldn't. I think Glade uses it in both situations and it works.
> > Oh and I probably should have said that I'm using GTK on Win32. Perhaps
> > there's a bug in that back end?
> Maybe, but I'd be a bit surprised, since it is fairly standard widget layout code.
> I've attached a little test program. Each time you click the button it resizes the
> other button in the fixed container. See if it works for you.
Thanks. It was going to be fiddly to create my own example C code because I'm
not actually programming in C, but instead using GTK to backend a Dylan GUI
toolkit (called DUIM) on Linux. DUIM does call GTK's C API via Dylan's C
interface, but it probably represents a non-standard use of GTK. In
particular, DUIM is effectively in charge and just wants to tell the "native"
widgets what to do.
I'll give your example a test spin soon, but I've got side-tracked by a table
layout bug which I have to fix in DUIM itself.
] [Thread Prev