ui/gtk/toolkit.c

changeset 21
012418e7dc90
parent 3
c1a75454b444
child 24
06bceda81a03
equal deleted inserted replaced
20:2dda1ad6dc7a 21:012418e7dc90
60 appclose_fnc(NULL, appclose_udata); 60 appclose_fnc(NULL, appclose_udata);
61 } 61 }
62 } 62 }
63 63
64 void ui_show(UiObject *obj) { 64 void ui_show(UiObject *obj) {
65 uic_check_group_widgets(obj->ctx);
65 gtk_widget_show_all(obj->widget); 66 gtk_widget_show_all(obj->widget);
66 } 67 }
68
69 void ui_set_enabled(UIWIDGET widget, int enabled) {
70 gtk_widget_set_sensitive(widget, enabled);
71 }
72
73
74 void ui_destroy_userdata(GtkWidget *object, void *userdata) {
75 free(userdata);
76 }

mercurial