161 if (view -> spiner == NULL)
163 view -> spiner = g_malloc0 (
sizeof*view -> spiner);
165 view -> spiner -> win =
create_win (str, view -> win, FALSE, FALSE);
167 GtkWidget * table = gtk_grid_new ();
174 gtk_grid_attach (GTK_GRID (table), view -> spiner -> right, 2,1,1,1);
175 gtk_grid_attach (GTK_GRID (table), view -> spiner -> left, 0,1,1,1);
176 gtk_grid_attach (GTK_GRID (table), view -> spiner -> stop, 1,1,1,1);
177 gtk_grid_attach (GTK_GRID (table), view -> spiner ->
up, 1,0,1,1);
178 gtk_grid_attach (GTK_GRID (table), view -> spiner -> down, 1,2,1,1);
181 gtk_window_set_resizable (GTK_WINDOW(view -> spiner -> win), FALSE);
GtkWidget * create_button(gchar *text, int image_format, gchar *image, int dimx, int dimy, int relief, GCallback handler, gpointer data)
create a simple button