projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2001-12-07 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git]
/
idl
/
Accessible.idl
diff --git
a/idl/Accessible.idl
b/idl/Accessible.idl
index
5f5bf96
..
7068a82
100644
(file)
--- a/
idl/Accessible.idl
+++ b/
idl/Accessible.idl
@@
-23,15
+23,7
@@
#ifndef _ACCESSIBILITY_ACCESSIBLE_IDL
#define _ACCESSIBILITY_ACCESSIBLE_IDL
#ifndef _ACCESSIBILITY_ACCESSIBLE_IDL
#define _ACCESSIBILITY_ACCESSIBLE_IDL
-
-#include <Bonobo.idl>
-
-#if !defined(__ACCESSIBILITY_ACCESSIBLE_COMPILATION) && defined(__ORBIT_IDL__)
-%{
-#pragma include_defs Accessible.h
-%}
-#pragma inhibit push
-#endif
+#include <Bonobo_Unknown.idl>
#include "Relation.idl"
#include "State.idl"
#include "Relation.idl"
#include "State.idl"
@@
-40,83
+32,94
@@
module Accessibility {
typedef sequence<Relation> RelationSet;
module Accessibility {
typedef sequence<Relation> RelationSet;
+ exception ChildGone {} ;
+
+ struct BoundingBox {
+ long x;
+ long y;
+ long width;
+ long height;
+ };
interface Accessible : Bonobo::Unknown {
/**
interface Accessible : Bonobo::Unknown {
/**
- *
#attribute description: a (short) @
string representing the object's name.
+ *
@name: a (short) #
string representing the object's name.
**/
attribute string name;
/**
**/
attribute string name;
/**
- *
#attribute description: a @
string describing the object in more detail than @name.
+ *
@description: a #
string describing the object in more detail than @name.
**/
attribute string description;
/**
**/
attribute string description;
/**
- *
#attribute parent: an @
Accessible object which is this object's containing object.
+ *
@parent: an #
Accessible object which is this object's containing object.
**/
readonly attribute Accessible parent;
/**
**/
readonly attribute Accessible parent;
/**
- * getChildCount:
- * return values: the number of children contained by this object (zero if none).
+ * @childCount: the number of children contained by this object.
+ **/
+ readonly attribute long childCount;
+
+ /**
+ * isEqual:
+ * @obj: an #Accessible object reference to compare to
*
*
- *
Get the number of children contained by this object.
+ *
Determine whether an #Accessible refers to the same object as another
*
*
+ * Returns: a #boolean indicating whether the two object references
+ * point to the same object.
**/
**/
-
readonly attribute long childCount
;
+
boolean isEqual (in Accessible obj)
;
/**
* getChildAtIndex:
* @index: an in parameter indicating which child is requested (zero-indexed).
/**
* getChildAtIndex:
* @index: an in parameter indicating which child is requested (zero-indexed).
- * return values: the 'nth' @Accessible child of this object.
*
* Get the accessible child of this object at index @index.
*
*
* Get the accessible child of this object at index @index.
*
+ * Returns: the 'nth' @Accessible child of this object.
**/
**/
- Accessible getChildAtIndex (in long index);
+ Accessible getChildAtIndex (in long index)
+ raises (ChildGone);
/**
* getIndexInParent:
/**
* getIndexInParent:
- * return values: a long integer indicating this object's index in the parent's list.
*
* Get the index of this object in its parent's child list.
*
*
* Get the index of this object in its parent's child list.
*
+ * Returns: a long integer indicating this object's index in the parent's list.
**/
long getIndexInParent ();
/**
* getRelationSet:
**/
long getIndexInParent ();
/**
* getRelationSet:
- * return values: a @RelationSet defining this object's relationships.
*
* Get a set defining this object's relationship to other accessible objects.
*
*
* Get a set defining this object's relationship to other accessible objects.
*
+ * Returns: a @RelationSet defining this object's relationships.
**/
RelationSet getRelationSet ();
/**
* getRole:
**/
RelationSet getRelationSet ();
/**
* getRole:
- * return values: the @Role of this object.
- *
* Get the @Role indicating the type of UI role played by this object.
*
* Get the @Role indicating the type of UI role played by this object.
*
+ * Returns: a @Role indicating the type of UI role played by this object.
**/
Role getRole ();
/**
* getState:
**/
Role getRole ();
/**
* getState:
- * return values: a @StateSet encapsulating the currently true states of the object.
*
* Get the current state of the object as a @StateSet.
*
* Get the current state of the object as a @StateSet.
+ * Returns: a @StateSet encapsulating the currently true states of the object.
**/
StateSet getState ();
};
};
**/
StateSet getState ();
};
};
-#if !defined(__ACCESSIBILITY_ACCESSIBLE_COMPILATION) && defined(__ORBIT_IDL__)
-#pragma inhibit pop
-#endif
-
#endif
#endif