Re: [gtk-list] window shown only when gtk_main() called?

>From Sun Aug  2 11:12:37 1998
>Received: (qmail 12238 invoked by uid 501); 2 Aug 1998 18:12:17 -0000
>Resent-Date: 2 Aug 1998 18:12:17 -0000
>Resent-Cc: recipient list not shown: ;
>MBOX-Line: From  Sun Aug  2 14:12:15 1998
>Message-ID: <000401bdbe3f$e980ee80$0100a8c0@oskar>
>From: "Oskar Liljeblad" <>
>To: <>
>Date: Sat, 1 Aug 1998 23:36:54 +0200
>MIME-Version: 1.0
>Content-Type: text/plain;
>	charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook Express 4.72.2106.4
>X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
>Resent-Message-ID: <"oMoPb.0.c-2._lAnr">
>X-Mailing-List: <> archive/latest/1008
>Precedence: list
>Subject: [gtk-list] window shown only when gtk_main() called?
>From: Patrice Fortier <>
>>> Can someone could shed some light on the usage of
>>> gtk_widget_show(), gtk_widget_realize(), gtk_widget_map().
>If you create a toplevel window object, and call gtk_widget_show on it, 
>it be shown once the call returns?
>In this application I'm working on, I set the window geometry with
>XSetWMNormalHints (or was it XSetNormalWMHints?). In GTK+ 1.0.4 and 
>prior to 1.0.5 and 1.1.0, I could set these size hints *before* the 
call to
>gtk_widget_show. In 1.0.5 and 1.1.0 I have to set it after that call,
>otherwise it would have no effect. However when debugging that app 
>for GTK 1.1.0, it seemed like the window wasn't actually showed until
>gtk_main was called - not even when calling gtk_window_show.
>Has something changed from GTK+ 1.0.4 to 1.0.5/1.1.0 making this 
happen, or
>did I make a mistake somewhere?
>Oskar Liljeblad (
>To unsubscribe: mail -s unsubscribe < 

Why not just use gtk_widget_set_usize()?

Get Your Private, Free Email at

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]