GDS-Render v1.2.1
|
Modules | |
LayerSelector Object | |
LibCellRenderer GObject | |
Custom GTK Widgets | |
Data Structures | |
struct | gui_button_states |
struct | _GdsRenderGui |
Macros | |
#define | RENDERER_TYPE_GUI (gds_render_gui_get_type()) |
Enumerations | |
enum | cell_store_columns { CELL_SEL_LIBRARY = 0 , CELL_SEL_CELL , CELL_SEL_CELL_ERROR_STATE , CELL_SEL_COLUMN_COUNT } |
Columns of selection tree view. More... | |
enum | gds_render_gui_signal_sig_ids { SIGNAL_WINDOW_CLOSED = 0 , SIGNAL_COUNT } |
Functions | |
static gboolean | on_window_close (gpointer window, GdkEvent *event, gpointer user) |
Main window close event. More... | |
static gboolean | tree_sel_func (GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer data) |
This function only allows valid cells to be selected. More... | |
static void | cell_tree_view_change_filter (GtkWidget *entry, gpointer data) |
Trigger refiltering of cell filter. More... | |
static gboolean | cell_store_filter_visible_func (GtkTreeModel *model, GtkTreeIter *iter, gpointer data) |
cell_store_filter_visible_func Decides whether an element of the tree model model is visible. More... | |
int | gds_render_gui_setup_cell_selector (GdsRenderGui *self) |
Setup a GtkTreeView with the necessary columns. More... | |
static void | on_load_gds (gpointer button, gpointer user) |
Callback function of Load GDS button. More... | |
static void | process_button_state_changes (GdsRenderGui *self) |
static void | on_auto_color_clicked (gpointer button, gpointer user) |
Callback for auto coloring button. More... | |
static void | async_rendering_finished_callback (GdsOutputRenderer *renderer, gpointer gui) |
static void | async_rendering_status_update_callback (GdsOutputRenderer *renderer, const char *status_message, gpointer data) |
static void | on_convert_clicked (gpointer button, gpointer user) |
Convert button callback. More... | |
static void | cell_tree_view_activated (gpointer tree_view, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user) |
cell_tree_view_activated Callback for 'double click' on cell selector element More... | |
static void | cell_selection_changed (GtkTreeSelection *sel, GdsRenderGui *self) |
Callback for cell-selection change event. More... | |
static void | sort_up_callback (GtkWidget *widget, gpointer user) |
static void | sort_down_callback (GtkWidget *widget, gpointer user) |
static void | gds_render_gui_dispose (GObject *gobject) |
static void | gds_render_gui_class_init (GdsRenderGuiClass *klass) |
static void | on_select_all_layers_clicked (GtkWidget *button, gpointer user_data) |
Callback for the 'select all layers'-button. More... | |
static gboolean | auto_naming_ask_for_override (GdsRenderGui *gui) |
static void | auto_naming_clicked (GtkWidget *button, gpointer user_data) |
GtkWindow * | gds_render_gui_get_main_window (GdsRenderGui *gui) |
Get main window. More... | |
static void | gds_render_gui_init (GdsRenderGui *self) |
GdsRenderGui * | gds_render_gui_new () |
Create new GdsRenderGui Object. More... | |
G_BEGIN_DECLS | G_DECLARE_FINAL_TYPE (GdsRenderGui, gds_render_gui, RENDERER, GUI, GObject) |
Variables | |
static guint | gds_render_gui_signals [SIGNAL_COUNT] |
#define RENDERER_TYPE_GUI (gds_render_gui_get_type()) |
Definition at line 40 of file gds-render-gui.h.
enum cell_store_columns |
Columns of selection tree view.
Enumerator | |
---|---|
CELL_SEL_LIBRARY | |
CELL_SEL_CELL | |
CELL_SEL_CELL_ERROR_STATE | Used for cell color and selectability |
CELL_SEL_COLUMN_COUNT | Not a column. Used to determine count of columns. |
Definition at line 47 of file gds-render-gui.c.
Enumerator | |
---|---|
SIGNAL_WINDOW_CLOSED | |
SIGNAL_COUNT |
Definition at line 54 of file gds-render-gui.c.
|
static |
Definition at line 395 of file gds-render-gui.c.
|
static |
Definition at line 408 of file gds-render-gui.c.
|
static |
|
static |
Definition at line 720 of file gds-render-gui.c.
|
static |
Callback for cell-selection change event.
This function activates/deactivates the convert button depending on whether a cell is selected for conversion or not
sel | |
self |
Definition at line 594 of file gds-render-gui.c.
|
static |
cell_store_filter_visible_func Decides whether an element of the tree model model
is visible.
model | Tree model |
iter | Current element / iter in Model to check |
data | Data. Set to static stores variable |
Definition at line 174 of file gds-render-gui.c.
|
static |
cell_tree_view_activated Callback for 'double click' on cell selector element
tree_view | The tree view the event occured in |
path | path to the selected row |
column | The clicked column |
user | pointer to GdsRenderGui object |
Definition at line 576 of file gds-render-gui.c.
|
static |
Trigger refiltering of cell filter.
entry | Unused widget, that emitted the signal |
data | GdsrenderGui self instance |
Definition at line 158 of file gds-render-gui.c.
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE | ( | GdsRenderGui | , |
gds_render_gui | , | ||
RENDERER | , | ||
GUI | , | ||
GObject | |||
) |
|
static |
|
static |
Definition at line 631 of file gds-render-gui.c.
GtkWindow * gds_render_gui_get_main_window | ( | GdsRenderGui * | gui | ) |
Get main window.
This function returns the main window of the GUI, which can later be displayed. All handling of hte GUI is taken care of inside the GdsRenderGui Object
Definition at line 739 of file gds-render-gui.c.
|
static |
GdsRenderGui * gds_render_gui_new | ( | ) |
Create new GdsRenderGui Object.
Definition at line 847 of file gds-render-gui.c.
int gds_render_gui_setup_cell_selector | ( | GdsRenderGui * | self | ) |
Setup a GtkTreeView with the necessary columns.
self | Current GUI object |
Definition at line 218 of file gds-render-gui.c.
|
static |
Callback for auto coloring button.
button | |
user |
Definition at line 386 of file gds-render-gui.c.
|
static |
Convert button callback.
button | |
user |
Definition at line 425 of file gds-render-gui.c.
|
static |
Callback function of Load GDS button.
button | |
user | GdsRenderGui instance |
Definition at line 263 of file gds-render-gui.c.
|
static |
Callback for the 'select all layers'-button.
button | Button that triggered the event |
user_data | the GdsrenderGui object containing the main-window the button is placed in |
Definition at line 685 of file gds-render-gui.c.
|
static |
Main window close event.
window | GtkWindow which is closed |
event | unused event |
user | GdsRenderGui instance |
Definition at line 95 of file gds-render-gui.c.
|
static |
|
static |
Definition at line 620 of file gds-render-gui.c.
|
static |
Definition at line 609 of file gds-render-gui.c.
|
static |
This function only allows valid cells to be selected.
selection | |
model | |
path | |
path_currently_selected | |
data |
Definition at line 126 of file gds-render-gui.c.
|
static |
Definition at line 56 of file gds-render-gui.c.