Call parent Window Functions..



Hi,

I have a GtkWiondow class "MainWindow" than have a boolean element called
"state". Ia have an other gtkwindow called "PopupWindow" thas is an element
of "Mainwindow".. in the Mainwindow i show the "PopupWindow" and what i
whant is that when i push a boton to close the "PopupWindow", change the
value of the boolean.. 

so what i want is to access to the methosd and elements of the parent
window..


i have triues somethisn like..

this->get_parent()->..

or

this->get_parent_window()->..


but element or own created methods dont apear..

any idea?

thanks.




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