Re: Deleting random number of buttons...
- From: 3saul <saul_lethbridge hotmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Deleting random number of buttons...
- Date: Tue, 6 Jun 2006 22:02:48 -0700 (PDT)
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]