ui/gtk/button.c

changeset 21
012418e7dc90
parent 16
a499c8a72c15
child 33
458831c574f4
equal deleted inserted replaced
20:2dda1ad6dc7a 21:012418e7dc90
49 g_signal_connect( 49 g_signal_connect(
50 button, 50 button,
51 "clicked", 51 "clicked",
52 G_CALLBACK(ui_button_clicked), 52 G_CALLBACK(ui_button_clicked),
53 event); 53 event);
54 g_signal_connect(
55 button,
56 "destroy",
57 G_CALLBACK(ui_destroy_userdata),
58 event);
54 } 59 }
55 60
56 UiContainer *ct = uic_get_current_container(obj); 61 UiContainer *ct = uic_get_current_container(obj);
57 ct->add(ct, button); 62 ct->add(ct, button);
58 63

mercurial