adding a container to a widget in Gtkmm



Ok, if buttons[x] is a widget pointer and vertical_box is a VBox pointer how can I add the vertical_box to the widget ?

 

I can do this in GTK+ with:

gtk_container_add(GTK_CONTAINER(buttons[x]), vertical_box);

 

buttons[x] (the widget pointer) does not seem to want to give me an add operation.

Is there another command that could be used for this purpose ?

 

Randy Seedle



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