Code

Prevent localized doubles from being written into filter matrices
[inkscape.git] / src / ege-select-one-action.h
index 16f924370d99d0d423d83e441a24ab36a1c23576..36943b9787b404a39a118a2eb208d41d9e263035 100644 (file)
@@ -129,6 +129,14 @@ gint ege_select_one_action_get_active( EgeSelectOneAction* action );
  */
 gchar *ege_select_one_action_get_active_text( EgeSelectOneAction* action );
 
+/**
+ * Sets the text of the currently selected item.
+ *
+ * @param action The action to fetch the text for.
+ * @param text the text to set.
+ */
+void ege_select_one_action_set_active_text( EgeSelectOneAction* action, gchar const *text );
+
 /**
  * Sets the  currently selected item.
  *
@@ -137,6 +145,13 @@ gchar *ege_select_one_action_get_active_text( EgeSelectOneAction* action );
  */
 void ege_select_one_action_set_active( EgeSelectOneAction* action, gint val );
 
+//void ege_select_one_action_set_sensitive( EgeSelectOneAction *action, gint val, gboolean sensitive );
+
+/**
+ * Update sensitive parameters.
+ * @param action The action to update.
+ */
+void ege_select_one_action_update_sensitive( EgeSelectOneAction *action );
 
 /**
  * Returns the column used for the display label.
@@ -190,6 +205,22 @@ gint ege_select_one_action_get_tooltip_column( EgeSelectOneAction* action );
 void ege_select_one_action_set_tooltip_column( EgeSelectOneAction* action, gint col );
 
 
+/**
+ * Returns the column used for tracking sensitivity.
+ *
+ * @param action The action to fetch the sensitive column for.
+ */
+gint ege_select_one_action_get_sensitive_column( EgeSelectOneAction* action );
+
+/**
+ * Sets the column used for sensitivity (if any).
+ *
+ * @param action The action to set the sensitive column for.
+ * @param col column to use.
+ */
+void ege_select_one_action_set_sensitive_column( EgeSelectOneAction* action, gint col );
+
+
 /**
  * Sets a hint to be used in determining the display form.
  * This is the XForms style 'appearance' hint: "full", "compact", "minimal".