Re: How to make a window resize as I want?
- From: Magicloud Magiclouds <magicloud magiclouds gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to make a window resize as I want?
- Date: Thu, 5 Mar 2009 17:55:48 +0800
Sorry, mis-operate on my client, the mail is not completed.
Since the widget works fine, I got its actual size in configure-event.
Then resize the window to the size I got before. Well... this is the
horrible part: The resizing happened before the window was actually
shown. So the size is 1x1....
What is the right way to do this? Thanks.
On Thu, Mar 5, 2009 at 5:46 PM, Magicloud Magiclouds
<magicloud magiclouds gmail com> wrote:
ÂI have a custom-widget in a window. The size of the widget is
specified by how many chars I want to display in it. So I made a
'colnum' perproty for it, and set the 'width_request' property when
outside set the 'colnum' property. The widget seems fine.
] [Thread Prev