ui/gtk/list.c

changeset 723
e513086eadbb
parent 722
6466b4f16e5e
child 738
0dbf92544d4f
equal deleted inserted replaced
722:6466b4f16e5e 723:e513086eadbb
1142 /* --------------------------- ComboBox --------------------------- */ 1142 /* --------------------------- ComboBox --------------------------- */
1143 1143
1144 UIWIDGET ui_combobox_create(UiObject *obj, UiListArgs *args) { 1144 UIWIDGET ui_combobox_create(UiObject *obj, UiListArgs *args) {
1145 UiObject* current = uic_current_obj(obj); 1145 UiObject* current = uic_current_obj(obj);
1146 1146
1147 //GtkWidget *combobox = ui_create_combobox(obj, model, var, args->static_elements, args->static_nelm, args->onactivate, args->onactivatedata);
1148
1149 GtkWidget *combobox = gtk_combo_box_new(); 1147 GtkWidget *combobox = gtk_combo_box_new();
1150 1148
1151 ui_set_name_and_style(combobox, args->name, args->style_class); 1149 ui_set_name_and_style(combobox, args->name, args->style_class);
1152 ui_set_widget_groups(obj->ctx, combobox, args->groups); 1150 ui_set_widget_groups(obj->ctx, combobox, args->groups);
1153 UI_APPLY_LAYOUT2(current, args); 1151 UI_APPLY_LAYOUT2(current, args);

mercurial