Class: ATSPI::Application
- Inherits:
-
Accessible
- Object
- Accessible
- ATSPI::Application
- Defined in:
- lib/atspi/application.rb
Overview
Applications are Accessibles having a few exceptions.
Identification collapse
-
#application ⇒ self
Its application is itself.
-
#desktop ⇒ Desktop
Its desktop is its parent.
-
#path ⇒ []
It has no path.
-
#window ⇒ Object
It belongs to no window.
Tree & Traversal collapse
-
#descendant_by_path(*path) ⇒ nil
It cannot get descendants by path since the path begins not until reaching the children of windows.
-
#windows ⇒ Children
Its windows are its children.
Representations collapse
-
#inspect ⇒ String
Itself as an inspectable string.
Instance Method Details
#application ⇒ self
Its application is itself
19 20 21 |
# File 'lib/atspi/application.rb', line 19 def application self end |
#descendant_by_path(*path) ⇒ nil
It cannot get descendants by path since the path begins not until reaching the children of windows.
41 42 43 |
# File 'lib/atspi/application.rb', line 41 def descendant_by_path(*path) nil end |
#desktop ⇒ Desktop
Its desktop is its parent
13 14 15 |
# File 'lib/atspi/application.rb', line 13 def desktop parent end |
#inspect ⇒ String
Returns itself as an inspectable string.
48 49 50 |
# File 'lib/atspi/application.rb', line 48 def inspect "#<#{self.class.name}:0x#{'%x14' % __id__} @desktop=#{desktop.index} @name=#{name.inspect}>" end |
#path ⇒ []
It has no path.
7 8 9 |
# File 'lib/atspi/application.rb', line 7 def path [] end |
#window ⇒ Object
It belongs to no window
25 26 27 |
# File 'lib/atspi/application.rb', line 25 def window nil end |
#windows ⇒ Children
Its windows are its children.
34 35 36 |
# File 'lib/atspi/application.rb', line 34 def windows children end |