Create code: GtkWidget **b_buttons;
b_buttons = g_new(GtkWidget*, x); for (i = 0; i < x && i != x; i++) { b_buttons[i] = gtk_button_new(); gtk_widget_show( b_buttons[i] ); gtk_table_attach (GTK_TABLE (table6), b_buttons[i], 0, 1, 0, 1, (GtkAttachOptions) (0), (GtkAttachOptions) (0), 0, 0); -- View this message in context: http://www.nabble.com/Deleting-random-number-of-buttons...-t1745565.html#a4745484 Sent from the Gtk+ - Apps Dev forum at Nabble.com. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list