2024-04-27 16:16:21 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <gtk-4.0/gtk/gtk.h>
|
2024-05-08 07:50:04 +02:00
|
|
|
|
2024-04-29 23:43:04 +02:00
|
|
|
#include "warm.h"
|
|
|
|
#include "cold.h"
|
2024-05-10 06:19:20 +02:00
|
|
|
#include "display.h"
|
|
|
|
#include "contain.h"
|
2024-05-08 23:43:23 +02:00
|
|
|
#include "texts.h"
|
2024-04-29 23:43:04 +02:00
|
|
|
|
2024-04-30 18:59:44 +02:00
|
|
|
// https://docs.gtk.org/gtk4/visual_index.html < widgets gallery
|
2024-05-10 23:14:45 +02:00
|
|
|
// https://docs.gtk.org/gtk4/section-text-widget.html
|
2024-05-08 23:43:23 +02:00
|
|
|
// https://docs.gtk.org/gtk4/class.Widget.html#height-for-width-geometry-management
|
2024-05-06 23:29:54 +02:00
|
|
|
// GTK_ORIENTATION_VERTICAL GTK_ORIENTATION_HORIZONTAL
|
|
|
|
|
2024-05-08 23:43:23 +02:00
|
|
|
|
2024-05-15 06:46:11 +02:00
|
|
|
GtkBox *get_experimental_box_new(){
|
|
|
|
GtkBox *experimental_box = GTK_BOX(gtk_box_new (GTK_ORIENTATION_VERTICAL, 0));
|
|
|
|
gtk_box_append (experimental_box, GTK_WIDGET(gtk_separator_new (GTK_ORIENTATION_HORIZONTAL)));
|
|
|
|
gtk_box_append (experimental_box, GTK_WIDGET(gtk_label_new ("\n\n")));
|
|
|
|
|
|
|
|
gtk_box_append (experimental_box, gtk_expander_new ("hello !"));
|
2024-05-15 07:04:57 +02:00
|
|
|
GtkExpander *expand = gtk_expander_new ("it's me !");
|
|
|
|
gtk_expander_set_expanded (GTK_WIDGET(expand), TRUE);
|
|
|
|
gtk_box_append (experimental_box, expand);
|
|
|
|
gtk_box_append (experimental_box, GTK_WIDGET(gtk_label_new ("\n\n")));
|
2024-05-15 06:46:11 +02:00
|
|
|
|
|
|
|
return experimental_box;
|
|
|
|
}
|
|
|
|
|