atk/atkstate.[c|h] Add ATK_STATE_ENABLED so we can distinguish between a
authorPadraig O'Briain <padraigo@src.gnome.org>
Wed, 18 Jul 2001 15:56:36 +0000 (15:56 +0000)
committerPadraig O'Briain <padraigo@src.gnome.org>
Wed, 18 Jul 2001 15:56:36 +0000 (15:56 +0000)
* atk/atkstate.[c|h]
Add ATK_STATE_ENABLED so we can distinguish between a consistent
and inconsistent GtkToggleButton

ChangeLog
atk/atkstate.c
atk/atkstate.h

index e9c5d54..b24fb42 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-18  Padraig O'Briain  <padraig.obriain@sun.com>
+       * atk/atkstate.[c|h]
+       Add ATK_STATE_ENABLED so we can distinguish between a consistent
+       and inconsistent GtkToggleButton
+
 2001-07-16  Brian Cameron <brian.cameron@sun.com>
        * atk/atkeditabletext.c atk/atktext.c atk/atktext.h atk/atkutil.h
        docs/atk-sections.txt docs/tmpl/atktext.sgml docs/tmpl/atkutil.sgml
index 44dea90..1070bd0 100755 (executable)
@@ -32,6 +32,7 @@ static gchar* state_names[NUM_POSSIBLE_STATES] = {
  "collapsed",
  "defunct",
  "editable",
+ "enabled",
  "expandable",
  "expanded",
  "focusable",
index cb37ed3..93072f3 100755 (executable)
@@ -36,6 +36,7 @@ extern "C" {
  *@ATK_STATE_COLLAPSED: Indicates this object is collapsed
  *@ATK_STATE_DEFUNCT: Indicates the user interface object corresponding to this object no longer exists
  *@ATK_STATE_EDITABLE: Indicates the user can change the contents of this object
+ *@ATK_STATE_ENABLED: Indicates that this object is enabled
  *@ATK_STATE_EXPANDABLE: Indicates this object allows progressive disclosure of its children
  *@ATK_STATE_EXPANDED: Indicates this object its expanded
  *@ATK_STATE_FOCUSABLE: Indicates this object can accept keyboard focus, which means all events resulting from typing on the keyboard will normally be passed to it when it has focus
@@ -71,6 +72,7 @@ typedef enum
   ATK_STATE_COLLAPSED,
   ATK_STATE_DEFUNCT,
   ATK_STATE_EDITABLE,
+  ATK_STATE_ENABLED,
   ATK_STATE_EXPANDABLE,
   ATK_STATE_EXPANDED,
   ATK_STATE_FOCUSABLE,