How to use casting in GTK+ ?
- From: Dipak G Patil <dippatil in ibm com>
- To: gtk-list gnome org
- Subject: How to use casting in GTK+ ?
- Date: Mon, 12 Jul 2004 18:46:52 +0530
I have created a window using,
Now I want to show the window maximized
so I used,
void gtk_window_maximize(GtkWindow *window);
So I used macro GTK_WINDOW(window)where window is
of type GtkWidget *
but it compiles executes but no output.
Could you tell me where I am wrong ?
Also if I have GtkWidget * object how will I use gdk_*
What is the right way of casting..?
Thanks in advance
Thanks and regards,
Dipak G Patil.
] [Thread Prev