Re: REALIZE() VS SHOW()
| From: | Steph | Date: | Tue, 26 Jun 2001 14:53:22 +0000 |
| Subject: | Re: REALIZE() VS SHOW() | ||
| References: | 1 2 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1974@lists.php.net to get a copy of this message | ||
Thanks. That makes sense.... So show() can always replace realize(), but realize() can't
always replace show().
Cool.
----- Original Message -----
From: "Andrei Zmievski" <andrei@ispi.net>
To: "Steph" <steph.fox@btinternet.com>
Cc: <php-gtk@lists.php.net>
Sent: Tuesday, June 26, 2001 3:46 PM
Subject: Re: [PHP-GTK] REALIZE() VS SHOW()
On Mon, 25 Jun 2001, Steph wrote:
> I thought realize() was used to access the underlying gdkwindow in a widget & was needed
> when gdk drawing functions were called. But have just found that show() works equally well, or
> appears to.
>
> Can anyone explain the difference to me in words of one syllable, please?
realize() instantiates the underlying GdkWindow. show() shows the widget
-- by realizing it first, and then mapping it.
-Andrei
* We are not a clone. *