gschem

x_multiattrib.c File Reference

#include <config.h>
#include <stdio.h>
#include "gschem.h"
#include <gdk/gdkkeysyms.h>
Include dependency graph for x_multiattrib.c:

Go to the source code of this file.

Defines

#define DIALOG_DATA_SELECTION   "current-selection"
#define CELL_RENDERER_MULTI_LINE_TEXT_PATH   "cell-renderer-multi-line-text-path"

Enumerations

enum  { PROP_EDIT_CANCELED = 1 }
enum  { PROP_OBJECT = 1 }
enum  { COLUMN_ATTRIBUTE, NUM_COLUMNS }

Functions

static void callback_selection_changed (SELECTION *selection, gpointer user_data)
 Update the multiattrib editor dialog when the page's selection changes.
static void callback_selection_finalized (gpointer data, GObject *where_the_object_was)
 Update the dialog when the current page's SELECTION object is destroyed.
static void connect_selection (Multiattrib *multiattrib, SELECTION *selection)
 Add link between multiattrib dialog and current selection.
static void disconnect_selection (Multiattrib *multiattrib)
 Remove the link between multiattrib dialog and selection.
static void multiattrib_callback_response (GtkDialog *dialog, gint arg1, gpointer user_data)
 Process the response returned by the multi-attribte dialog.
void x_multiattrib_open (GSCHEM_TOPLEVEL *w_current)
 Open multiple attribute editor dialog.
void x_multiattrib_close (GSCHEM_TOPLEVEL *w_current)
 Close the multiattrib dialog.
void x_multiattrib_update (GSCHEM_TOPLEVEL *w_current)
 Update the multiattrib editor dialog for a GSCHEM_TOPLEVEL.
static void celltextview_class_init (CellTextViewClass *klass)
static void celltextview_init (CellTextView *celltextview)
static void celltextview_cell_editable_init (GtkCellEditableIface *iface)
static void celltextview_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void celltextview_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static gboolean celltextview_key_press_event (GtkWidget *widget, GdkEventKey *key_event, gpointer data)
static void celltextview_start_editing (GtkCellEditable *cell_editable, GdkEvent *event)
GType celltextview_get_type ()
static void cellrenderermultilinetext_class_init (CellRendererMultiLineTextClass *klass)
static void cellrenderermultilinetext_editing_done (GtkCellEditable *cell_editable, gpointer user_data)
static gboolean cellrenderermultilinetext_focus_out_event (GtkWidget *widget, GdkEvent *event, gpointer user_data)
static GtkCellEditable * cellrenderermultilinetext_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags)
GType cellrenderermultilinetext_get_type ()
static void multiattrib_class_init (MultiattribClass *klass)
 GType class initialiser for Multiattrib.
static void multiattrib_init (Multiattrib *multiattrib)
 GType instance initialiser for Multiattrib.
static void multiattrib_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
 GObject property setter function.
static void multiattrib_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
 GObject property getter function.
static void multiattrib_popup_menu (Multiattrib *multiattrib, GdkEventButton *event)
 Popup a context-sensitive menu.
static void multiattrib_action_add_attribute (GSCHEM_TOPLEVEL *w_current, OBJECT *object, Multiattrib *multiattrib, const gchar *name, const gchar *value, gint visible, gint show_name_value)
static void multiattrib_action_duplicate_attribute (GSCHEM_TOPLEVEL *w_current, OBJECT *object, OBJECT *o_attrib)
static void multiattrib_action_promote_attribute (GSCHEM_TOPLEVEL *w_current, OBJECT *object, OBJECT *o_attrib)
static void multiattrib_action_delete_attribute (GSCHEM_TOPLEVEL *w_current, OBJECT *o_attrib)
static void multiattrib_column_set_data_name (GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data)
static void multiattrib_column_set_data_value (GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data)
static void multiattrib_column_set_data_visible (GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data)
static void multiattrib_column_set_data_show_name (GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data)
static void multiattrib_column_set_data_show_value (GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data)
static void update_row_display (GtkTreeModel *model, GtkTreeIter *iter)
 Requests an update of the display of a row.
static void multiattrib_callback_edited_name (GtkCellRendererText *cellrenderertext, gchar *arg1, gchar *arg2, gpointer user_data)
static void multiattrib_callback_edited_value (GtkCellRendererText *cell_renderer, gchar *arg1, gchar *arg2, gpointer user_data)
static void multiattrib_callback_toggled_visible (GtkCellRendererToggle *cell_renderer, gchar *path, gpointer user_data)
static void multiattrib_callback_toggled_show_name (GtkCellRendererToggle *cell_renderer, gchar *path, gpointer user_data)
static void multiattrib_callback_toggled_show_value (GtkCellRendererToggle *cell_renderer, gchar *path, gpointer user_data)
static gboolean multiattrib_callback_key_pressed (GtkWidget *widget, GdkEventKey *event, gpointer user_data)
static gboolean multiattrib_callback_button_pressed (GtkWidget *widget, GdkEventButton *event, gpointer user_data)
static gboolean multiattrib_callback_popup_menu (GtkWidget *widget, gpointer user_data)
static void multiattrib_callback_popup_duplicate (GtkMenuItem *menuitem, gpointer user_data)
static void multiattrib_callback_popup_promote (GtkMenuItem *menuitem, gpointer user_data)
static void multiattrib_callback_popup_delete (GtkMenuItem *menuitem, gpointer user_data)
static gboolean multiattrib_callback_value_key_pressed (GtkWidget *widget, GdkEventKey *event, gpointer user_data)
static void multiattrib_callback_value_grab_focus (GtkWidget *widget, gpointer user_data)
 GtkWidget "grab-focus" signal handler.
static void multiattrib_callback_button_add (GtkButton *button, gpointer user_data)
static void multiattrib_init_attrib_names (GtkCombo *combo)
static void multiattrib_init_visible_types (GtkOptionMenu *optionmenu)
static void multiattrib_geometry_save (GschemDialog *dialog, GKeyFile *key_file, gchar *group_name)
 GschemDialog "geometry_save" class method handler.
static void multiattrib_geometry_restore (GschemDialog *dialog, GKeyFile *key_file, gchar *group_name)
 GschemDialog "geometry_restore" class method handler.
GType multiattrib_get_type ()
 Function to retrieve Multiattrib's GType identifier.
static void multiattrib_show_inherited_toggled (GtkToggleButton *button, gpointer user_data)
 Regenerate the attribute list when the visibility setting for inherited attributes changes.
void multiattrib_update (Multiattrib *multiattrib)
 Update the multiattrib editor dialog's interface.

Variables

static GObjectClass * multiattrib_parent_class = NULL

Define Documentation

#define DIALOG_DATA_SELECTION   "current-selection"

Definition at line 91 of file x_multiattrib.c.

#define CELL_RENDERER_MULTI_LINE_TEXT_PATH   "cell-renderer-multi-line-text-path"

Definition at line 465 of file x_multiattrib.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
PROP_EDIT_CANCELED 

Definition at line 290 of file x_multiattrib.c.

anonymous enum
Enumerator:
PROP_OBJECT 

Definition at line 624 of file x_multiattrib.c.

anonymous enum
Enumerator:
COLUMN_ATTRIBUTE 
NUM_COLUMNS 

Definition at line 628 of file x_multiattrib.c.


Function Documentation

static void callback_selection_changed ( SELECTION *  selection,
gpointer  user_data 
) [static]
Function Description
When the page's selection changes this function identifies how many objects which can have attributes are currently selected. If this number is 1, the dialog is set to edit the attributes of the first selected object..
Parameters:
[in]selectionThe SELECTION object of page being edited.
[in]user_dataThe multi-attribute editor dialog.

Definition at line 49 of file x_multiattrib.c.

static void callback_selection_finalized ( gpointer  data,
GObject *  where_the_object_was 
) [static]
Function Description
This handler is called when the g_object_weak_ref() on the SELECTION object we're watching expires. We reset our multiattrib->selection pointer to NULL to avoid attempting to access the destroyed object.
Note:
Our signal handlers were automatically disconnected during the destruction process.
Parameters:
[in]dataPointer to the multi-attrib dialog
[in]where_the_object_wasPointer to where the object was just destroyed

Definition at line 109 of file x_multiattrib.c.

static void connect_selection ( Multiattrib multiattrib,
SELECTION *  selection 
) [static]
Function Description
This function connects a handler to the "changed" signal of current selection to let the dialog watch it. It also adds a weak reference on the selection.
Parameters:
[in]multiattribThe Multiattrib dialog.
[in]selectionThe selection to watch.

Definition at line 128 of file x_multiattrib.c.

Here is the call graph for this function:

static void disconnect_selection ( Multiattrib multiattrib) [static]
Function Description
If the dialog is watching a selection, this function disconnects the "changed" signal and removes the weak reference it previously added on it.
Parameters:
[in]multiattribThe Multiattrib dialog.

Definition at line 153 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_callback_response ( GtkDialog *  dialog,
gint  arg1,
gpointer  user_data 
) [static]
Function Description
This function handles the response arg1 of the multi-attribute editor dialog dialog.
Parameters:
[in]dialogThe multi-attribute editor dialog.
[in]arg1The response ID.
[in]user_dataA pointer on the GSCHEM_TOPLEVEL environment.

Definition at line 188 of file x_multiattrib.c.

Here is the call graph for this function:

void x_multiattrib_open ( GSCHEM_TOPLEVEL w_current)
Function Description
Opens the multiple attribute editor dialog for objects in this toplevel.
Parameters:
[in]w_currentThe GSCHEM_TOPLEVEL object.

Definition at line 211 of file x_multiattrib.c.

Here is the call graph for this function:

void x_multiattrib_close ( GSCHEM_TOPLEVEL w_current)
Function Description

Closes the multiattrib dialog associated with w_current.

Parameters:
[in]w_currentThe GSCHEM_TOPLEVEL object.

Definition at line 248 of file x_multiattrib.c.

Here is the call graph for this function:

void x_multiattrib_update ( GSCHEM_TOPLEVEL w_current)
Function Description

If the GSCHEM_TOPLEVEL has an open multiattrib dialog, switch to watching the current page's SELECTION object for changes.

Parameters:
[in]w_currentThe GSCHEM_TOPLEVEL object.

Definition at line 267 of file x_multiattrib.c.

Here is the call graph for this function:

static void celltextview_class_init ( CellTextViewClass klass) [static]

Cell TextView Widget Code.

This widget makes a 'GtkTextView' widget implements the 'GtkCellEditable' interface. It can then be used to renderer multi-line texts inside tree views ('GtkTreeView').

Todo:
Finish function documentation
Function Description

Definition at line 415 of file x_multiattrib.c.

Here is the call graph for this function:

static void celltextview_init ( CellTextView celltextview) [static]
Todo:
Finish function documentation
Function Description

Definition at line 437 of file x_multiattrib.c.

static void celltextview_cell_editable_init ( GtkCellEditableIface *  iface) [static]
Todo:
Finish function documentation
Function Description

Definition at line 447 of file x_multiattrib.c.

Here is the call graph for this function:

static void celltextview_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 294 of file x_multiattrib.c.

static void celltextview_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 310 of file x_multiattrib.c.

static gboolean celltextview_key_press_event ( GtkWidget *  widget,
GdkEventKey *  key_event,
gpointer  data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 332 of file x_multiattrib.c.

static void celltextview_start_editing ( GtkCellEditable *  cell_editable,
GdkEvent *  event 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 361 of file x_multiattrib.c.

Here is the call graph for this function:

GType celltextview_get_type ( void  )
Todo:
Finish function documentation
Function Description

Definition at line 376 of file x_multiattrib.c.

Here is the call graph for this function:

static void cellrenderermultilinetext_class_init ( CellRendererMultiLineTextClass klass) [static]

Multi-line Text Cell Renderer

GTK has no multi-line text cell renderer. This code adds one to be used in gschem code. It is inspired by the 'GtkCellRendererCombo' renderer of GTK 2.4 (LGPL).

Todo:
Finish function documentation
Function Description

Definition at line 614 of file x_multiattrib.c.

Here is the call graph for this function:

static void cellrenderermultilinetext_editing_done ( GtkCellEditable *  cell_editable,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 530 of file x_multiattrib.c.

static gboolean cellrenderermultilinetext_focus_out_event ( GtkWidget *  widget,
GdkEvent *  event,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 568 of file x_multiattrib.c.

Here is the call graph for this function:

static GtkCellEditable* cellrenderermultilinetext_start_editing ( GtkCellRenderer *  cell,
GdkEvent *  event,
GtkWidget *  widget,
const gchar *  path,
GdkRectangle *  background_area,
GdkRectangle *  cell_area,
GtkCellRendererState  flags 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 473 of file x_multiattrib.c.

Here is the call graph for this function:

GType cellrenderermultilinetext_get_type ( void  )
Todo:
Finish function documentation
Function Description

Definition at line 583 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_class_init ( MultiattribClass klass) [static]
Function Description

GType class initialiser for Multiattrib. We override our parent virtual class methods as needed and register our GObject properties.

Parameters:
[in]klassThe MultiattribClass we are initialising

Definition at line 1706 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_init ( Multiattrib multiattrib) [static]
Function Description

GType instance initialiser for Multiattrib. Create and setup the widgets which make up the dialog.

Parameters:
[in]multiattribThe Multiattrib we are initialising

Forcing the size request is a horrible band-aid and should be replaced by a better heuristic.

Definition at line 1749 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]
Function Description
Setter function for Multiattrib's GObject property, "object".
Parameters:
[in]objectThe GObject whose properties we are setting
[in]property_idThe numeric id. under which the property was registered with g_object_class_install_property()
[in]valueThe GValue the property is being set from
[in]pspecA GParamSpec describing the property being set

Definition at line 2090 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]
Function Description
Getter function for Multiattrib's GObject property, "object".
Parameters:
[in]objectThe GObject whose properties we are getting
[in]property_idThe numeric id. under which the property was registered with g_object_class_install_property()
[out]valueThe GValue in which to return the value of the property
[in]pspecA GParamSpec describing the property being got

Definition at line 2119 of file x_multiattrib.c.

static void multiattrib_popup_menu ( Multiattrib multiattrib,
GdkEventButton *  event 
) [static]
Function Description
Pops up a context-sensitive menu. event can be NULL if the popup is triggered by a key binding instead of a mouse click.
Parameters:
[in]multiattribThe Multiattrib object.
[in]eventMouse event.

Definition at line 1533 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_action_add_attribute ( GSCHEM_TOPLEVEL w_current,
OBJECT *  object,
Multiattrib multiattrib,
const gchar *  name,
const gchar *  value,
gint  visible,
gint  show_name_value 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 655 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_action_duplicate_attribute ( GSCHEM_TOPLEVEL w_current,
OBJECT *  object,
OBJECT *  o_attrib 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 688 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_action_promote_attribute ( GSCHEM_TOPLEVEL w_current,
OBJECT *  object,
OBJECT *  o_attrib 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 710 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_action_delete_attribute ( GSCHEM_TOPLEVEL w_current,
OBJECT *  o_attrib 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 744 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_column_set_data_name ( GtkTreeViewColumn *  tree_column,
GtkCellRenderer *  cell,
GtkTreeModel *  tree_model,
GtkTreeIter *  iter,
gpointer  data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 758 of file x_multiattrib.c.

static void multiattrib_column_set_data_value ( GtkTreeViewColumn *  tree_column,
GtkCellRenderer *  cell,
GtkTreeModel *  tree_model,
GtkTreeIter *  iter,
gpointer  data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 791 of file x_multiattrib.c.

static void multiattrib_column_set_data_visible ( GtkTreeViewColumn *  tree_column,
GtkCellRenderer *  cell,
GtkTreeModel *  tree_model,
GtkTreeIter *  iter,
gpointer  data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 824 of file x_multiattrib.c.

static void multiattrib_column_set_data_show_name ( GtkTreeViewColumn *  tree_column,
GtkCellRenderer *  cell,
GtkTreeModel *  tree_model,
GtkTreeIter *  iter,
gpointer  data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 854 of file x_multiattrib.c.

static void multiattrib_column_set_data_show_value ( GtkTreeViewColumn *  tree_column,
GtkCellRenderer *  cell,
GtkTreeModel *  tree_model,
GtkTreeIter *  iter,
gpointer  data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 884 of file x_multiattrib.c.

static void update_row_display ( GtkTreeModel *  model,
GtkTreeIter *  iter 
) [static]
Function Description
This is an helper function to update the display of a row when data for this row have been modified in the model.

It emits the 'row_changed' signal on the pointed row.

Parameters:
[in]modelA GtkTreeModel.
[in]iterA valid GtkTreeIter pointing to the changed row.

Definition at line 920 of file x_multiattrib.c.

static void multiattrib_callback_edited_name ( GtkCellRendererText *  cellrenderertext,
gchar *  arg1,
gchar *  arg2,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 935 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_callback_edited_value ( GtkCellRendererText *  cell_renderer,
gchar *  arg1,
gchar *  arg2,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 999 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_callback_toggled_visible ( GtkCellRendererToggle *  cell_renderer,
gchar *  path,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1053 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_callback_toggled_show_name ( GtkCellRendererToggle *  cell_renderer,
gchar *  path,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1096 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_callback_toggled_show_value ( GtkCellRendererToggle *  cell_renderer,
gchar *  path,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1144 of file x_multiattrib.c.

Here is the call graph for this function:

static gboolean multiattrib_callback_key_pressed ( GtkWidget *  widget,
GdkEventKey *  event,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1192 of file x_multiattrib.c.

Here is the call graph for this function:

static gboolean multiattrib_callback_button_pressed ( GtkWidget *  widget,
GdkEventButton *  event,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1238 of file x_multiattrib.c.

Here is the call graph for this function:

static gboolean multiattrib_callback_popup_menu ( GtkWidget *  widget,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1258 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_callback_popup_duplicate ( GtkMenuItem *  menuitem,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1273 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_callback_popup_promote ( GtkMenuItem *  menuitem,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1310 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_callback_popup_delete ( GtkMenuItem *  menuitem,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1345 of file x_multiattrib.c.

Here is the call graph for this function:

static gboolean multiattrib_callback_value_key_pressed ( GtkWidget *  widget,
GdkEventKey *  event,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1380 of file x_multiattrib.c.

static void multiattrib_callback_value_grab_focus ( GtkWidget *  widget,
gpointer  user_data 
) [static]
Function Description
Select the text in the GtkTextView so it may be over-typed quickly

Definition at line 1416 of file x_multiattrib.c.

static void multiattrib_callback_button_add ( GtkButton *  button,
gpointer  user_data 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1435 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_init_attrib_names ( GtkCombo *  combo) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1484 of file x_multiattrib.c.

static void multiattrib_init_visible_types ( GtkOptionMenu *  optionmenu) [static]
Todo:
Finish function documentation
Function Description

Definition at line 1507 of file x_multiattrib.c.

static void multiattrib_geometry_save ( GschemDialog dialog,
GKeyFile *  key_file,
gchar *  group_name 
) [static]
Function Description
Chain up to our parent's method to save the dialog's size and position, then save the dialog's current internal geometry.
Parameters:
[in]dialogThe GschemDialog to save the geometry of.
[in]key_fileThe GKeyFile to save the geometry data to.
[in]group_nameThe group name in the key file to store the data under.

Definition at line 1619 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_geometry_restore ( GschemDialog dialog,
GKeyFile *  key_file,
gchar *  group_name 
) [static]
Function Description
Chain up to our parent's method to restore the dialog's size and position, then restore the dialog's current internal geometry.
Parameters:
[in]dialogThe GschemDialog to restore the geometry of.
[in]key_fileThe GKeyFile to save the geometry data to.
[in]group_nameThe group name in the key file to store the data under.

Definition at line 1644 of file x_multiattrib.c.

Here is the call graph for this function:

GType multiattrib_get_type ( void  )
Function Description

Function to retrieve Multiattrib's GType identifier. Upon first call, this registers Multiattrib in the GType system. Subsequently it returns the saved value from its first execution.

Returns:
the GType identifier associated with Multiattrib.

Definition at line 1672 of file x_multiattrib.c.

Here is the call graph for this function:

static void multiattrib_show_inherited_toggled ( GtkToggleButton *  button,
gpointer  user_data 
) [static]

Definition at line 1730 of file x_multiattrib.c.

Here is the call graph for this function:

void multiattrib_update ( Multiattrib multiattrib)
Function Description

Update the dialog to reflect the attributes of the object. If there is no object set, the dialog's controls are set insensitive.

Parameters:
[in]multiattribThe multi-attribute editor dialog.

Definition at line 2146 of file x_multiattrib.c.


Variable Documentation

GObjectClass* multiattrib_parent_class = NULL [static]

Definition at line 633 of file x_multiattrib.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines