Functions to create the ring(s) tab for the advanced environments window.
More...
#include "global.h"
#include "interface.h"
#include "glview.h"
#include "glwindow.h"
Go to the source code of this file.
|
| G_MODULE_EXPORT void | on_select_rings (GtkCellRendererToggle *cell_renderer, gchar *string_path, gpointer data) |
| | on select ring toggle callback
|
| |
| void | rings_set_visible (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data) |
| | show / hide cell renderer in the ring search tree store
|
| |
| void | fill_rings_model (GtkTreeStore *store, project *this_proj, int rid) |
| | fill the entire ring(s) tree store
|
| |
| GtkWidget * | create_rings_tree (project *this_proj, int rid, gboolean fill_this) |
| | create the ring(s) search tree store
|
| |
| void | add_this_ring_to_search_tree (project *this_proj, int rid) |
| | add ring in the search tree based on ring size and id
|
| |
| int | get_rmin (project *this_proj, int rid, int step) |
| | get ring(s) max size for the MD step
|
| |
| int | get_rmax (project *this_proj, int rid, int step) |
| | get ring(s) min size for the MD step
|
| |
| G_MODULE_EXPORT void | update_rings_search (GtkEntry *res, gpointer data) |
| | update the ring(s) search widget
|
| |
| GtkWidget * | create_rings_search (project *this_proj, int rid) |
| | create the ring(s) search widget
|
| |
| GtkWidget * | rings_tab (glwin *view, int rid) |
| | create the ring(s) tab for the advanced environments window
|
| |
Functions to create the ring(s) tab for the advanced environments window.
- Author
- Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r
Definition in file w_rings.c.
◆ add_this_ring_to_search_tree()
| void add_this_ring_to_search_tree |
( |
project * | this_proj, |
|
|
int | rid ) |
add ring in the search tree based on ring size and id
- Parameters
-
| this_proj | the target project |
| rid | the type of ring(s), 0 = All, 1 = King, 2 = Guttman, 3 = Primtive, 4 = Strong |
Definition at line 377 of file w_rings.c.
◆ create_rings_search()
| GtkWidget * create_rings_search |
( |
project * | this_proj, |
|
|
int | rid ) |
create the ring(s) search widget
- Parameters
-
| this_proj | the target project |
| rid | the type of ring(s), 0 = All, 1 = King, 2 = Guttman, 3 = Primtive, 4 = Strong |
Definition at line 853 of file w_rings.c.
◆ create_rings_tree()
| GtkWidget * create_rings_tree |
( |
project * | this_proj, |
|
|
int | rid, |
|
|
gboolean | fill_this ) |
create the ring(s) search tree store
- Parameters
-
| this_proj | the target project |
| rid | the type of ring(s), 0 = All, 1 = King, 2 = Guttman, 3 = Primtive, 4 = Strong |
| fill_this | 1 = yes, 0 = no |
Definition at line 335 of file w_rings.c.
◆ fill_rings_model()
| void fill_rings_model |
( |
GtkTreeStore * | store, |
|
|
project * | this_proj, |
|
|
int | rid ) |
fill the entire ring(s) tree store
- Parameters
-
| store | the GtkTreeStore to fill |
| this_proj | the target project |
| rid | the type of ring(s), 0 = All, 1 = King, 2 = Guttman, 3 = Primtive, 4 = Strong |
Definition at line 254 of file w_rings.c.
◆ get_rmax()
| int get_rmax |
( |
project * | this_proj, |
|
|
int | rid, |
|
|
int | step ) |
get ring(s) min size for the MD step
- Parameters
-
| this_proj | the target project |
| rid | the type of ring(s), 0 = All, 1 = King, 2 = Guttman, 3 = Primtive, 4 = Strong |
| step | the MD step |
Definition at line 709 of file w_rings.c.
◆ get_rmin()
| int get_rmin |
( |
project * | this_proj, |
|
|
int | rid, |
|
|
int | step ) |
get ring(s) max size for the MD step
- Parameters
-
| this_proj | the target project |
| rid | the type of ring(s), 0 = All, 1 = King, 2 = Guttman, 3 = Primtive, 4 = Strong |
| step | the MD step |
Definition at line 689 of file w_rings.c.
◆ on_select_rings()
| G_MODULE_EXPORT void on_select_rings |
( |
GtkCellRendererToggle * | cell_renderer, |
|
|
gchar * | string_path, |
|
|
gpointer | data ) |
on select ring toggle callback
- Parameters
-
| cell_renderer | the GtkCellRendererToggle sending the signal |
| string_path | the path in the tree store |
| data | the associated data pointer |
Definition at line 63 of file w_rings.c.
◆ rings_set_visible()
| void rings_set_visible |
( |
GtkTreeViewColumn * | col, |
|
|
GtkCellRenderer * | renderer, |
|
|
GtkTreeModel * | mod, |
|
|
GtkTreeIter * | iter, |
|
|
gpointer | data ) |
show / hide cell renderer in the ring search tree store
- Parameters
-
| col | the tree view column |
| renderer | the column renderer |
| mod | the tree model |
| iter | the tree it |
| data | the associated data pointer |
Definition at line 165 of file w_rings.c.
◆ rings_tab()
| GtkWidget * rings_tab |
( |
glwin * | view, |
|
|
int | rid ) |
create the ring(s) tab for the advanced environments window
- Parameters
-
| view | the target glwin |
| rid | the type of ring(s), 0 = All, 1 = King, 2 = Guttman, 3 = Primtive, 4 = Strong |
Definition at line 906 of file w_rings.c.
◆ update_rings_search()
| G_MODULE_EXPORT void update_rings_search |
( |
GtkEntry * | res, |
|
|
gpointer | data ) |
update the ring(s) search widget
- Parameters
-
| res | the GtkEntry sending the signal |
| data | the associated data pointer |
Definition at line 728 of file w_rings.c.