How would I use casting ?




Hi,

I have created a window using gtk_window_new which returns GtkWidget * .
Now I want to use API gdk_window_maximize which takes GdkWindow *, so how would I cast GtkWidget.
neither GDK_WINDOW() casting nor gtkwidget->window works...?


Thanks and regards,
Dipak G Patil.


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