Class: VBox::Mouse
Instance Attribute Summary collapse
-
#ref ⇒ Object
readonly
Returns the value of attribute ref.
Instance Method Summary collapse
-
#absolute_supported ⇒ Object
Attributes.
- #event_source ⇒ Object
- #needs_host_cursor ⇒ Object
-
#put_mouse_event(args = {}) ⇒ Object
Methods.
- #put_mouse_event_absolute(args = {}) ⇒ Object
- #relative_supported ⇒ Object
Methods inherited from Base
#_this, #delete!, #ensure_hash, #initialize, #vbox_class
Constructor Details
This class inherits a constructor from VBox::Base
Instance Attribute Details
#ref ⇒ Object (readonly)
Returns the value of attribute ref.
4 5 6 |
# File 'lib/virtualbox/classes/mouse.rb', line 4 def ref @ref end |
Instance Method Details
#absolute_supported ⇒ Object
Attributes
8 9 10 |
# File 'lib/virtualbox/classes/mouse.rb', line 8 def absolute_supported VBox::WebService.send_request(:i_mouse_get_absolute_supported, _this) end |
#event_source ⇒ Object
20 21 22 23 |
# File 'lib/virtualbox/classes/mouse.rb', line 20 def event_source event_source = VBox::WebService.send_request(:i_mouse_get_event_source, _this) VBox::EventSource.new(event_source) end |
#needs_host_cursor ⇒ Object
16 17 18 |
# File 'lib/virtualbox/classes/mouse.rb', line 16 def needs_host_cursor VBox::WebService.send_request(:i_mouse_get_needs_host_cursor, _this) end |
#put_mouse_event(args = {}) ⇒ Object
Methods
27 28 29 30 |
# File 'lib/virtualbox/classes/mouse.rb', line 27 def put_mouse_event(args={}) ensure_hash(args) VBox::WebService.send_request(:i_mouse_put_mouse_event, _this) end |
#put_mouse_event_absolute(args = {}) ⇒ Object
32 33 34 35 |
# File 'lib/virtualbox/classes/mouse.rb', line 32 def put_mouse_event_absolute(args={}) ensure_hash(args) VBox::WebService.send_request(:i_mouse_put_mouse_event_absolute, _this) end |
#relative_supported ⇒ Object
12 13 14 |
# File 'lib/virtualbox/classes/mouse.rb', line 12 def relative_supported VBox::WebService.send_request(:i_mouse_get_relative_supported, _this) end |