Page 1 of 1

Parent and Child Windows

Posted: Sun May 13, 2007 6:53 am
by ac667788
Hello,
I am trying to convert a PB program I wrote for windows to Linux. The only problem is the setparent_() API call I use in Windows, is there an equivalent for Linux? or a method so that I don't have to make a API specific call.

Posted: Sun May 13, 2007 11:47 am
by walker
maybe

Code: Select all

gtk_widget_set_parent_window_(*widget, *parent_window)
or

Code: Select all

gtk_widget_set_parent_(*widget, *parent)
is what you're looking for?

where *widget is the GadgetID() (*parent / *parent_window are the parents.. :wink: )