hi
as we know that in gtk programming i can call API of a GtkWidget using 
an object of GtkWindow by use of type casting MACROS
ie
i can do as

GtkWindow *window=gtk_window_new();
....
....
gtk_widget_show(GTK_WIDGET(window));

but in python i can't do this because GtkWindow has its own method
gtk_window_show(), so whenever i do window.show()
gtk_window_show() will be called instead of gtk_widget_show.

Is there any solution to this so that i can call gtk_widget_show by using 
GtkWindow object.
-- 
View this message in context: 
http://www.nabble.com/how-to-call-a-method-of-GtkWidget-by-using-object-of-GtkWindow-tf4298164.html#a12233919
Sent from the Gtk+ - Python mailing list archive at Nabble.com.

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to