Re: scrolled windows, again



>> the problem is that the scrolled window(s) are packed into:
>> 
>>     a table thats inside
>>     an hbox thats inside
>>     an eventbox thats inside
>>     a vbox thats inside
>>     a top level window
>
>This can be worked around by setting a geometry widget
>(set_geometry_hints()), if you do that then the default size applies
>to the geometry widget instead of the whole window.

can i get any more hints on this ? the reference docs are pretty
skimpy, and the only suitable example i've found of using is in
testgtk, which looks good but doesn't totally explain how this
works. what are the different fields in a GdkGeometry struct? are
there any requirements for the widget i pass into set_geometry_hints?

many thanks, as usual.

--p




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