| Top |
Menu and toolbox item sensitivity is updated by main application whenever its state changes. Possible states that may affect widget sesitivity are defined in GwyMenuSensFlags.
GtkWidget * gwy_app_image_menu (GtkAccelGroup *accel_group,GwySensitivityGroup *sens_group);
Constructs the application menu.
The menu is created from data processing functions registered by modules, therefore module registration has to be done first for this function to make sense.
GtkWidget * gwy_app_graph_menu (GtkAccelGroup *accel_group,GwySensitivityGroup *sens_group);
Constructs the application menu.
The menu is created from graph functions registered by modules, therefore module registration has to be done first for this function to make sense.
GtkWidget * gwy_app_xyz_menu (GtkAccelGroup *accel_group,GwySensitivityGroup *sens_group);
Constructs the application menu.
The menu is created from XYZ data processing functions registered by modules, therefore module registration has to be done first for this function to make sense.
GtkWidget * gwy_app_curve_map_menu (GtkAccelGroup *accel_group,GwySensitivityGroup *sens_group);
Constructs the application menu.
The menu is created from curve map data processing functions registered by modules, therefore module registration has to be done first for this function to make sense.
GtkWidget * gwy_app_synth_menu (GtkAccelGroup *accel_group,GwySensitivityGroup *sens_group);
Constructs the application menu.
The menu is created from curve map data processing functions registered by modules, therefore module registration has to be done first for this function to make sense.
GtkWidget * gwy_app_volume_menu (GtkAccelGroup *accel_group,GwySensitivityGroup *sens_group);
Constructs the application menu.
The menu is created from volume data processing functions registered by modules, therefore module registration has to be done first for this function to make sense.
GwyRunModeFlags
gwy_app_run_process_func (const gchar *name);
Runs a data processing function on the current data.
From the run modes function name
supports, the most interactive one is
selected.
void gwy_app_run_process_func_in_mode (const gchar *name,GwyRunModeFlags run);
Runs a data processing function on current data in specified mode.
void
gwy_app_run_graph_func (const gchar *name);
Runs a graph function on the current graph.
GwyRunModeFlags
gwy_app_run_volume_func (const gchar *name);
Runs a volume data processing function on the current data.
From the run modes function name
supports, the most interactive one is selected.
void gwy_app_run_volume_func_in_mode (const gchar *name,GwyRunModeFlags run);
Runs a volume data processing function on current data in specified mode.
GwyRunModeFlags
gwy_app_run_xyz_func (const gchar *name);
Runs a XYZ data processing function on the current data.
From the run modes function name
supports, the most interactive one is selected.
void gwy_app_run_xyz_func_in_mode (const gchar *name,GwyRunModeFlags run);
Runs a XYZ data processing function on current data in specified mode.
GwyRunModeFlags
gwy_app_run_curve_map_func (const gchar *name);
Runs a curve map processing function on the current data.
From the run modes function name
supports, the most interactive one is selected.
void gwy_app_run_curve_map_func_in_mode (const gchar *name,GwyRunModeFlags run);
Runs a curve map processing function on current data in specified mode.
GwyRunModeFlags
gwy_app_run_synth_func (const gchar *name);
Runs a synthetic data function on the current data.
From the run modes function name
supports, the most interactive one is selected.
void gwy_app_run_synth_func_in_mode (const gchar *name,GwyRunModeFlags run);
Runs a synthetic data function on current data in specified mode.
GtkWidget * gwy_app_create_recent_func_menu (GwyDataKind data_kind,GtkWindow *window,GwySensitivityGroup *sens_group);
Creates a recent function menu for given kind of data.
The menu content is updated automatically when function such as gwy_app_run_volume_func() is used.
GwySensitivityGroup *
gwy_app_sensitivity_get_group (void);
Gets the application-wide widget sensitvity group.
The flags to be used with this sensitvity group are defined in GwyMenuSensFlags.
void gwy_app_sensitivity_add_widget (GtkWidget *widget,GwyMenuSensFlags mask);
Adds a widget to the application-wide widget sensitvity group.
The semantics of this function is the same as gwy_sensitivity_group_add_widget() (in fact, it's a simple wrapper
around it).
void gwy_app_sensitivity_set_state (GwyMenuSensFlags affected_mask,GwyMenuSensFlags state);
Sets the state of application-wide widget sensitvity group.
The semantics of this function is the same as gwy_sensitivity_group_set_state() (in fact, it's a simple wrapper
around it).
Global application sensitivity flags.
They represent various application states that may be preconditions for widgets to become sensitive.
|
A file is open, with any type of data. |
||
|
There is something to undo (for current data window). |
||
|
There is something to redo (for current data window). |
||
|
There is at least a one data window present. |
||
|
There is a presentation on the data. |
||
|
An OpenGL 3D view is present. |
||
|
There is at least a one graph window present. |
||
|
There current graph window contains at least one curve. This ensures a graph function will not be run on an empty graph. |
||
|
There is at least one volume data window present. |
||
|
There is at least one XYZ surface data window present. |
||
|
There is at least one GwyLawn curve map window present. |