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"
|
|
|
|
|
2024-05-07 10:03:31 +02:00
|
|
|
// 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
|
2024-05-06 23:29:54 +02:00
|
|
|
// GTK_ORIENTATION_VERTICAL GTK_ORIENTATION_HORIZONTAL
|
|
|
|
|
2024-05-07 10:47:06 +02:00
|
|
|
GtkWidget *get_edit_space_page_new(){
|
2024-04-30 13:06:46 +02:00
|
|
|
|
2024-05-07 10:47:06 +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
|
|
|
|
2024-05-07 10:47:06 +02:00
|
|
|
return space_grid;
|
2024-05-06 21:45:02 +02:00
|
|
|
}
|