Gtk Container add
- From: Pablo Fischer <exilion yifan net>
- To: gtk-app-devel-list gnome org
- Subject: Gtk Container add
- Date: 16 Jul 2002 18:42:20 -0500
Im creating an app with 3 buttons.. and each button will show something.
Each button have a pixmap (created it with gimp) and I have a window
(with TOP_LEVEL), also I add a box to this window (with a
gtk_container_add). The problem starts when I add the image to the
button:
image = gtk_pixmap_new(pixmap, mask);
gtk_widget_show (image);
gtk_container_add(GTK_CONTAINER (button), image);
When I create a second gtk_Container_add, I get this:
Gtk-CRITICAL **: file gtkbin.c: line 217 (gtk_bin_add): assertion
`bin->child == NULL' failed.
How could I solve this?.. killing the other container, or what?.
Paul Fischer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]