Re: [gtk-list] Re: window creation and resizing problem
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: window creation and resizing problem
- Date: 12 Dec 1999 12:36:20 -0500
Anders Melchiorsen <and@kampsax.dtu.dk> writes:
> gtk_widget_set_uposition(GTK_WIDGET(window), x, y);
> gtk_widget_set_usize(GTK_WIDGET(window), w, h);
> gtk_widget_show(GTK_WIDGET(window));
>
I would use gtk_window_set_default_size() for the size, because
_usize() will enforce a minimum size on the user (unless you call
set_policy() to turn on allow_shrink, but that's broken).
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]