On Wed, May 18, 2005 at 12:23:41AM -0500, Doug Quale wrote:
> > 2. If #1 is not available, here is what I am trying to do. I have a main
> > window with a tree on the left  side of a window. The tree is in a
> > table. When the user clicks on a tree widget(?), something happens on
> > the right side. I have been able to send a window as an argument to the
> > function that does things on the right side of the window, but the
> > widgets embedded in the window (being sent as an argument) doesn't
> > appear to get inherited. I learned that I cannot have more than one type
> > of gtkWidget in a gtkWindow, so I am not sure how I can go about
> > accomplishing what I am trying to do.
> 
> To put multiple widgets in a GTK+ window, you need to use a layout
> container widget that allows multiple child widgets.  Examples of
> these widgets are HBox, VBox, HPaned, VPaned, and Table.  It may be
> that I don't understand exactly where you are stuck.

One thing that the text suggests to me is that he is supplying a
/window/ as an argument to the "function that does things on the right
side of the window". He should be careful to extract the first child of
this window or supply a toplevel which /is/ insertable into container,
or else he'll have trouble for the obvious reasons.

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3376 0125
_______________________________________________
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