Class: ATSPI::Window
- Inherits:
-
Accessible
- Object
- Accessible
- ATSPI::Window
- Defined in:
- lib/atspi/window.rb
Overview
Windows are Accessibles having a few exceptions.
Identification collapse
-
#parent ⇒ Application
Its parent is its application.
-
#path ⇒ []
It has no path.
-
#window ⇒ self
Its window is itself.
Representations collapse
-
#inspect ⇒ String
Itself as an inspectable string.
Instance Method Details
#inspect ⇒ String
Returns itself as an inspectable string.
26 27 28 29 30 |
# File 'lib/atspi/window.rb', line 26 def inspect "#<#{self.class.name}:0x#{'%x14' % __id__} @desktop=#{desktop.index} " << "@application=#{application.name} @name=#{name.inspect} " << "@extents=#{extents(relative_to: :screen).inspect}>" end |
#parent ⇒ Application
Its parent is its application
13 14 15 |
# File 'lib/atspi/window.rb', line 13 def parent application end |
#path ⇒ []
It has no path.
7 8 9 |
# File 'lib/atspi/window.rb', line 7 def path [] end |
#window ⇒ self
Its window is itself
19 20 21 |
# File 'lib/atspi/window.rb', line 19 def window self end |