Re: [gtk-list] How do you reduce the width of a combo box?
- From: Brad Pepers <brad linuxcanada com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] How do you reduce the width of a combo box?
- Date: Thu, 02 Sep 1999 18:52:24 -0600
John C Atkeson wrote:
> All my combo boxes start up at the same default size, about 20 chars
> long, and will go no smaller. gtk_set_usize doesn't affect them.
My guess is that its like other combination widgets where you need to
dig inside to find the internal widget and set its size. If you look
in gtkcombo.h at the struct _GtkCombo you can see what all it is made
up of. I would think a set_usize on the entry widget would be a start.
This is one area so far that I would have to say I don't like so much
about Gtk. Its wonderful in so many areas but I don't like having to
delve into internal structures to do stuff like this... It makes your
code so tightly tied to the internal implementation of the widget. I
would rather see a clean interface that provides all the functionality
needed rather than partial functionality and the rest requires internal
Linux Canada Inc. Home of Linux products in Canada!
http://www.linuxcanada.com Proud supporter of Cyclades, Red
email@example.com Hat, and Caldera.
] [Thread Prev