Re: What's the different in gtk_widget_realize , gtk_widget_map ,and gtk_widget_show



realize() puts in the GdkWindow (see GtkWidget struct)
map() maps the widget to the screen
set_flags(GTK_VISIBLE) + realize() + map() == show()

- AFAIK, anyway ;)

----- Original Message ----- 
From: "hzeng" <hzeng hf tvia com>
To: <gtk-list gnome org>
Sent: Monday, January 21, 2002 12:42 AM
Subject: What's the different in gtk_widget_realize , gtk_widget_map ,and gtk_widget_show


> Hello,
>     I just begin to learn gtk. I want to know what happen inside these founctions when they are called.
> It seems like that they all do something to create the widget but I can not know what they do clearly.
> Thanks for your help!
> Hzeng  
>     
> ‚Ù%ŠËfj)bž b²Ø-’X¬¶ è™ê+‚m§ÿæj)`ž‰ž¢¸?™¨¥™©ÿ–+-Šwèþ d–+-




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