GDS-Render v1.2.1
|
Handling of GUI. More...
#include <stdio.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <gds-render/gds-render-gui.h>
#include <gds-render/gds-utils/gds-parser.h>
#include <gds-render/gds-utils/gds-tree-checker.h>
#include <gds-render/layer/layer-selector.h>
#include <gds-render/widgets/activity-bar.h>
#include <gds-render/cell-selector/lib-cell-renderer.h>
#include <gds-render/output-renderers/latex-renderer.h>
#include <gds-render/output-renderers/cairo-renderer.h>
#include <gds-render/widgets/conv-settings-dialog.h>
#include <gds-render/geometric/cell-geometrics.h>
#include <gds-render/version.h>
Go to the source code of this file.
Data Structures | |
struct | gui_button_states |
struct | _GdsRenderGui |
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... | |
Variables | |
static guint | gds_render_gui_signals [SIGNAL_COUNT] |
Handling of GUI.
Definition in file gds-render-gui.c.