/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Gem-graph client * * * * Widgets header * * * * Copyright © 2021 Libre en Communs * * Copyright © 2021 Adrien Bourmault * * Copyright © 2021 Jean Sirmai * * * * This file is part of Gem-graph. * * * * This program is free software: you can redistribute it and/or modify it * * under the terms of the GNU Affero General Public License * * as published by the Free Software Foundation, * * either version 3 of the License, * * or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; * * without even the implied warranty of MERCHANTABILITY * * or FITNESS FOR A PARTICULAR PURPOSE. * * See the GNU Affero General Public License for more details. * * * * You should have received a copy of the GNU Affero General Public License * * along with this program. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include void set_main_window (GtkApplication *app); void set_dialog_window (GtkApplication *app); void set_text_window (GtkApplication *app); void widget_MAIN_WINDOW_design (GtkWindow *main_window); void widget_DIALOG_WINDOW_design (GtkWindow *main_window, GtkWindow *dialog_window); void widget_TEXT_WINDOW_design (GtkWindow *main_window, GtkWindow *text_window); GtkWindow *get_main_window(); GtkWindow *get_dialog_window(); GtkWindow *get_text_window(); GtkButton *get_GtkButton (char *btt_name); GtkWidget *widget_get_STATE_page(); GtkWidget *widget_get_RULES_page(); GtkWidget *widget_get_STOCK_page(); GtkWidget *widget_get_STOCK_text (gchar *text_name); struct TreeNode_t {gchar *text; struct TreeNode_t *child, *next;}; void add_child_node (struct TreeNode_t *parent, struct TreeNode_t *child); struct TreeNode_t *create_user_tree_node (const gchar* text); void let_us_create_a_complex_useless_and_expensive_tree (struct TreeNode_t *tree_root); GtkScrolledWindow *get_user_rules_tree (); void icons_for_fun (GtkHeaderBar *header_bar); GtkWidget *get_window_child_DATA_lab();