2001-12-10 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / idl / Accessibility_Component.idl
index 59a9c75..8044557 100644 (file)
 
 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);
         Accessible getAccessibleAtPoint (in long x, in long y, in short coord_type);
-        void getExtents (out long x, out long y, out long width, out long height, in short coord_type);
+        BoundingBox getExtents (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);