[Glade-users] creation evetn for a window
olafandjasper@hushmail.com
olafandjasper@hushmail.com
Sat, 15 Nov 2003 13:28:38 -0800
Hello Halil:
In the main.c which glade creates I added the a call to gtk_init_add:
GtkFunction *func_ptr;
func_ptr = (GtkFunction *)&my_init;
...
gtk_init_add((GtkFunction)func_ptr, (gpointer)someData);
BTW, I placed it in the main after the show and before the call:
gtk_widget_show(myWindow);
gtk_init_add((GtkFunction)func_ptr, (gpointer)someData);
gtk_main ();
Probably unconventioal, but it worked for me.
O
On Fri, 14 Nov 2003 04:38:05 -0800 halil agin <e116432@metu.edu.tr> wrote:
>When a window is firstly constructed, does it generate a signal or
>event? if so, what is it?
>
>I want to make some initialization on my components in the window
>when
>it first created...
>I thought that when it firstly created, it will generate a signal
>or
>event and i want to learn what it is...
>
>May be i am wrong, if so how can i do that?
>
>thank you,,,
>
>best regards,
>
>Halil Agin
>_______________________________________________
>Glade-users maillist - Glade-users@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/glade-users
>
>
Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2
Free, ultra-private instant messaging with Hush Messenger
https://www.hushmail.com/services.php?subloc=messenger&l=434
Promote security and make money with the Hushmail Affiliate Program:
https://www.hushmail.com/about.php?subloc=affiliate&l=427