How do you point a struct pointer to a function ??
Posted on 2003-02-22
I am wanting to know how this is done.What made me start to think about this is cause I was messing with Gtk on linux and I noticed this GtkWidget *window,I take it GtkWidget is a typedef struct pointer but this pointer is pointing to a function,I have tried to do the same with a simple program but I have failed.So the ? is how do you point a struct pointers to a function
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
Thank you for your reply and time.