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





>From gtk-list-request@redhat.com 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 gtk-list-request@redhat.com  Sun Aug  2 14:12:15 1998
>Message-ID: <000401bdbe3f$e980ee80$0100a8c0@oskar>
>From: "Oskar Liljeblad" <osk@hem.passagen.se>
>To: <gtk-list@redhat.com>
>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"@mail2.redhat.com>
>Resent-From: gtk-list@redhat.com
>Reply-To: gtk-list@redhat.com
>X-Mailing-List: <gtk-list@redhat.com> archive/latest/1008
>X-Loop: gtk-list@redhat.com
>Precedence: list
>Resent-Sender: gtk-list-request@redhat.com
>X-URL: http://archive.redhat.com/gtk-list/
>Subject: [gtk-list] window shown only when gtk_main() called?
>
>From: Patrice Fortier <Patrice.Fortier@aquarel.fr>
>
>>> 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, 
will
>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 
version
>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 
compiled
>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 (osk@hem.passagen.se)
>
>
>
>-- 
>To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < 
/dev/null
>
>

Why not just use gtk_widget_set_usize()?

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



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