Re: about widget sizes
- From: Owen Taylor <otaylor redhat com>
- To: Didimo Emilio Grimaldo Tunon <emilio_tunon nl compuware com>
- Cc: gtk-list redhat com
- Subject: Re: about widget sizes
- Date: 14 Jul 1998 13:13:01 -0400
Didimo Emilio Grimaldo Tunon <emilio_tunon@nl.compuware.com> writes:
> I have a nagging and probably silly question, that is, is it really
> necessary to specify a widget size with gtk_*_usize() or will it
> resize automatically as children are added to it? This applies to
> the Notebook and List widgets.
>
> The reason is, if I have several notebook tabs I would like the tab
> widget to be big enough (automatically) to hold the tab with the
> most children.
The only widgets you typically need to specify a usize widgets
for are those that can't determine a good default size because
their children are within a scrolled area - things like
the Text, CList and ScrolledWindow widgets. Otherwise, GTK+
will figure things out for itself.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]