[Glade-users] Drag & drop



On Sun, 2007-09-02 at 11:13 -0500, John Wohn Public Address wrote:

But now say I want to put a button inside a container on my window.   
If I click Frame and then click the window toplevel, the frame fills  
the window and I can't see how to resize it.

You need to divide your top-level window some more with other
containers.

Try putting some vboxes, hboxes, and tables around the place first.

Most of the time you won't be specifying widget sizes, as gtk is
designed to automatically resize stuff, based on what you specify for
each widgets' 'expand' and 'fill' properties. This way, the user can
resize a window and everything dynamically resizes to claim new space,
or shrinks to make everything fit.

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak at nusconsulting.com.au
website: http://www.nusconsulting.com.au





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