[150] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Hinting at reasonable window sizes

daemon@ATHENA.MIT.EDU (Michael K. Johnson)
Wed May 14 22:02:07 1997

To: gtk-list@redhat.com
From: "Michael K. Johnson" <johnsonm@redhat.com>
Date: Wed, 14 May 1997 22:01:18 -0400
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


I'm trying to write a gtk app in which I'd like a table inside a
scrolled window.  It works in that I've got a scrolled window that
contains a table -- but it's unreadable and unusable as is because
it seems to default to about a 40x30 pixel area inside the scrolled
window, and I have no idea how to change that.

I've tried setting requisition areas manually, and all sorts of
other hacks without success.  I really don't usually want the
scrollbars to be visible at all!  I'm putting them there in case
the data in the case requires a larger window than I want to put
up by default, or than would fit on the screen; I hate to special
case the code to only stuff things in a scrolled window if there
are more than n (for some n) items in the table.  I thought that
was the reason for GTK_POLICY_AUTOMATIC, anyway...  :-)

So, what am I doing wrong?

michaelkjohnson

"Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?"


--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post