Re: newbie: increasing size of widgets
- From: muppet <scott asofyet org>
- To: David Sword <gdsword williamsword co uk>
- Cc: gtk-perl list <gtk-perl-list gnome org>
- Subject: Re: newbie: increasing size of widgets
- Date: Wed, 29 Oct 2003 08:37:24 -0500
On Wednesday, October 29, 2003, at 07:51 AM, David Sword wrote:
How do I increase the size of the scrolledwindow/simplelist so that it
shows more of the simplelist?
the simplest way is to ask the window to be bigger, with
set_default_size(). if you set things up correctly and the scrolled
window will expand to fill the available space, then this is what you
want.
http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-
set-default-size
the discussion explains some of the options and caveats.
another way would be to use set_size_request()
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-
set-size-request on the scrolled window, but that would mean the user
couldn't shrink the window beyond that size.
--
"that's it! you're a genius!"
"yes. that's what i think. do you think i deserve a raise?"
- dialogue from 'Godzilla versus Mothra', 1964
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]