| 985 WINDOW_SET_CONTENT(obj->widget, vbox); |
985 WINDOW_SET_CONTENT(obj->widget, vbox); |
| 986 |
986 |
| 987 GtkWidget *separator = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL); |
987 GtkWidget *separator = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL); |
| 988 |
988 |
| 989 GtkWidget *grid = ui_create_grid_widget(10, 10); |
989 GtkWidget *grid = ui_create_grid_widget(10, 10); |
| 990 GtkWidget *widget = ui_box_set_margin(grid, 16); |
990 GtkWidget *widget = ui_gtk_set_margin(grid, 16, 0, 0, 0, 0); |
| 991 gtk_grid_set_column_homogeneous(GTK_GRID(grid), TRUE); |
991 gtk_grid_set_column_homogeneous(GTK_GRID(grid), TRUE); |
| 992 |
992 |
| 993 if(args->lbutton1) { |
993 if(args->lbutton1) { |
| 994 GtkWidget *button = ui_create_button(obj, args->lbutton1, NULL, args->onclick, args->onclickdata, 1, args->default_button == 1); |
994 GtkWidget *button = ui_create_button(obj, args->lbutton1, NULL, args->onclick, args->onclickdata, 1, args->default_button == 1); |
| 995 gtk_grid_attach(GTK_GRID(grid), button, 0, 0, 1, 1); |
995 gtk_grid_attach(GTK_GRID(grid), button, 0, 0, 1, 1); |