summaryrefslogtreecommitdiffstats
path: root/src/ege-select-one-action.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2010-05-13 08:37:58 +0000
committertavmjong-free <tavmjong@free.fr>2010-05-13 08:37:58 +0000
commit3fafb26dd126ef1bbb4563619e5060cf02ad0d9e (patch)
tree45a5fbceddf5066410e34acd1de1f44fb64a9bd6 /src/ege-select-one-action.h
parentExtensions. XAML export. Blur support (Bug #572965), minor fixes and lots of ... (diff)
downloadinkscape-3fafb26dd126ef1bbb4563619e5060cf02ad0d9e.tar.gz
inkscape-3fafb26dd126ef1bbb4563619e5060cf02ad0d9e.zip
Add ability to set icons to insensitive. Used to disable "Justify"
button for non-flowed text in text-tool toolbar. (bzr r9408)
Diffstat (limited to 'src/ege-select-one-action.h')
-rw-r--r--src/ege-select-one-action.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ege-select-one-action.h b/src/ege-select-one-action.h
index aa20d55a7..36943b978 100644
--- a/src/ege-select-one-action.h
+++ b/src/ege-select-one-action.h
@@ -145,6 +145,13 @@ void ege_select_one_action_set_active_text( EgeSelectOneAction* action, gchar co
*/
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.
@@ -199,6 +206,22 @@ void ege_select_one_action_set_tooltip_column( EgeSelectOneAction* action, gint
/**
+ * 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".
*