GTK4_GG_hack/hot.c

22 lines
893 B
C
Raw Normal View History

2024-04-27 16:16:21 +02:00
#include <stdio.h>
#include <gtk-4.0/gtk/gtk.h>
2024-04-29 23:43:04 +02:00
#include "warm.h"
#include "cold.h"
// https://forge.a-lec.org/gem-graph/gem-graph-client/src/branch/devel/Makefile
2024-04-30 18:59:44 +02:00
// https://docs.gtk.org/gtk4/visual_index.html < widgets gallery
// GTK_ORIENTATION_VERTICAL GTK_ORIENTATION_HORIZONTAL
GtkWidget *get_edit_space_page_new(){
2024-04-30 13:06:46 +02:00
GtkWidget *space_grid = gtk_grid_new();
gtk_grid_attach (GTK_GRID(space_grid), get_a_space_test_image(), 0, 0, 1, 3);
gtk_grid_attach (GTK_GRID(space_grid), get_objects_and_situations_horizontal_pane(), 0, 4, 1, 1);
gtk_grid_attach (GTK_GRID(space_grid), GTK_WIDGET(get_XYZ_box()), 1, 0, 1, 2);
gtk_grid_attach (GTK_GRID(space_grid), GTK_WIDGET(get_ZOOM_box()), 1, 2, 1, 2);
// How to use gtk_separators ?
// gtk_grid_attach (GTK_GRID(space_grid), GTK_WIDGET(gtk_separator_new (GTK_ORIENTATION_HORIZONTAL)), 1, 1, 1, 1);
2024-04-30 18:59:44 +02:00
return space_grid;
}