Hi Markus,

On 13/02/2008, Markus Müller <[EMAIL PROTECTED]> wrote:
> When trying to add the Widgets B to A like 
> gtk_container_add(GTK_CONTAINER(Widget_A),Widget_B); the console
> creates an error that Widget A (of coursce) is no Containter-Class but Widget 
> A-Class...

You need to derive your widget A from a subclass of container. I'd
look at the source code for a simple container like gtkfixed to see
how to do this.

You could also avoid this complexity and just make each of your
widgets a subclass of drawingarea and then use a combination of tables
and boxes to glue them together.

John
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to