gem-graph-client/include/tree.h

25 lines
1.1 KiB
C
Raw Normal View History

/******************************************************************************/
/* */
/* E coli by David S. Goodsell (2009) */
/* --- */
2024-05-25 09:21:45 +02:00
/* Knowing that only a dynamic model can explain this phenomenon, */
/* let this beautiful freeze frame be our guide. */
/* */
/******************************************************************************/
#include "display.h"
#include "contain.h"
#include <assert.h>
2024-05-25 08:58:30 +02:00
// Simplified TreeNode structure for demonstration purposes
struct TreeNode_t
{
gchar *text;
struct TreeNode_t *child;
struct TreeNode_t *next;
};
struct TreeNode_t *create_tree_node (const gchar* text);
void add_child_node (struct TreeNode_t *parent, struct TreeNode_t *child);
GtkScrolledWindow *get_user_rules_tree ();
2024-05-24 17:02:21 +02:00
void let_us_create_a_complex_useless_and_expensive_tree (struct TreeNode_t *tree_root);