User input/Graphical: Difference between revisions

Content added Content deleted
m (→‎{{header|C}}: no need to pass the win too)
Line 61:
GtkHBox *hbox[2];
GtkVBox *vbox;
GtkWidget *widgs[32];
 
gtk_init(&argc, &argv);
Line 76:
widgs[0] = GTK_WIDGET(entry);
widgs[1] = GTK_WIDGET(spin);
widgs[2] = GTK_WIDGET(win);
 
okbutton = (GtkButton *)gtk_button_new_with_label("Ok");