summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>2001-12-04 00:25:41 +0000
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>2001-12-04 00:25:41 +0000
commit2b8f4365c549962de1f20418ca00dd503d6e28bc (patch)
treec256dab181f5aa84f960ea21d5cf45b512a64e90 /idl
parente9b2456af014be0cec265204b9d6554c4e1366e9 (diff)
downloadat-spi2-core-2b8f4365c549962de1f20418ca00dd503d6e28bc.tar.gz
Added methods for Component Layer and MDI Z-Order information (see
recent additions to ATK). Changed typedef 'boolean' to 'SPIBoolean', to avoid C++ clash. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@130 e2bd861d-eb25-0410-b326-f6ed22b6b98c
Diffstat (limited to 'idl')
-rw-r--r--idl/Accessibility_Component.idl13
-rw-r--r--idl/Component.idl13
2 files changed, 26 insertions, 0 deletions
diff --git a/idl/Accessibility_Component.idl b/idl/Accessibility_Component.idl
index 59a9c753..4900684c 100644
--- a/idl/Accessibility_Component.idl
+++ b/idl/Accessibility_Component.idl
@@ -24,6 +24,17 @@
module Accessibility {
+ enum ComponentLayer {
+ LAYER_INVALID,
+ LAYER_BACKGROUND,
+ LAYER_CANVAS,
+ LAYER_WIDGET,
+ LAYER_MDI,
+ LAYER_POPUP,
+ LAYER_OVERLAY,
+ LAYER_LAST_DEFINED
+ };
+
interface Component : Bonobo::Unknown {
boolean contains (in long x, in long y, in short coord_type);
@@ -31,6 +42,8 @@ module Accessibility {
void getExtents (out long x, out long y, out long width, out long height, in short coord_type);
void getPosition (out long x, out long y, in short coord_type);
void getSize (out long width, out long height);
+ ComponentLayer getLayer ();
+ short getMDIZOrder ();
void grabFocus ();
void registerFocusHandler (in EventListener handler);
void deregisterFocusHandler (in EventListener handler);
diff --git a/idl/Component.idl b/idl/Component.idl
index 59a9c753..4900684c 100644
--- a/idl/Component.idl
+++ b/idl/Component.idl
@@ -24,6 +24,17 @@
module Accessibility {
+ enum ComponentLayer {
+ LAYER_INVALID,
+ LAYER_BACKGROUND,
+ LAYER_CANVAS,
+ LAYER_WIDGET,
+ LAYER_MDI,
+ LAYER_POPUP,
+ LAYER_OVERLAY,
+ LAYER_LAST_DEFINED
+ };
+
interface Component : Bonobo::Unknown {
boolean contains (in long x, in long y, in short coord_type);
@@ -31,6 +42,8 @@ module Accessibility {
void getExtents (out long x, out long y, out long width, out long height, in short coord_type);
void getPosition (out long x, out long y, in short coord_type);
void getSize (out long width, out long height);
+ ComponentLayer getLayer ();
+ short getMDIZOrder ();
void grabFocus ();
void registerFocusHandler (in EventListener handler);
void deregisterFocusHandler (in EventListener handler);