title: how to create array of button in gtk+
body: <p>I want to create array of buttons in gtk+. So, how to modify 'gtkWidget *button' to create array of button. I have modified the declaration to 'gtkWidget (*button)[20]' and used this button in below code. But, it's showing an error.  " incompatible types when assigning to type ‘struct GtkWidget *[20]’ from type ‘struct GtkWidget * ’"</p>
  
  <pre><code>gtkWidget (*button)[20];
  static char *values[100] = 
  
   {  "127.0.0.1",   "Idle",
   "192.168.73.129", "Idle", 
   "192.168.73.130", "Idle",
   "192.168.73.131", "Idle",
   "192.168.73.132", "Idle",
   "192.168.73.129", "Idle",
   "192.168.73.131", "Idle", };
  
  for(i=0; i &lt; 6; i++) {
  for( j=0; j &lt; 2; j++) {
    button1[pos] = gtk_button_new_with_label(values[pos]);
    gtk_table_attach_defaults(GTK_TABLE(table), button1[pos], j, j+1, i+1, i+2 );
    pos++;
  } }
  </code></pre>