Gem-graph 0.1.0
A modelling tool based on rewriting of geometric graphs.
Loading...
Searching...
No Matches
Macros | Functions
left.c File Reference

Topbar left area. More...

#include "../../../../include/base.h"
#include "../../../../include/signal.h"
#include "../../../../include/widget.h"
#include "../../../../include/fsm.h"

Macros

#define YOU_WANT_TO_START_ON_ANOTHER_PAGE   0
 default == SYNTH
 

Functions

const char * widget_get_btt_label_synth ()
 synth
 
const char * widget_get_btt_label_state ()
 state
 
const char * widget_get_btt_label_rules ()
 rules
 
const char * widget_get_btt_label_data ()
 data

 
void window_design_topbar_left (GtkWidget *header_bar)
 The rules page consists of two half-pages in a GtkPaned widget :
 

Detailed Description

Topbar left area.

Function Documentation

◆ window_design_topbar_left()

void window_design_topbar_left ( GtkWidget *  header_bar)

The rules page consists of two half-pages in a GtkPaned widget :

  • on the left, widgets for controlling or editing all the rules.
  • on the right, widgets for controlling or editing the selected rule.

As this division is clear and constant, it is simpler to place these two half-pages at the same hierarchical level as the other full pages like "synth", "state" or "results".

So there is no: "widget_get_rules_page()" function. Instead, the distribution: "all rules" versus "the selected one" is moved to the file: "signal".

It is in the function: static void switch_state_rules_data() { switch (fsm_get_state_rules_data()) { ... case (RULES) : GtkPaned *widget_all_vs_selected_one = ... break; ... }

Parameters
*header_bar