Class: VBox::Mouse
Instance Attribute Summary
Attributes inherited from Base
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 Method Details
#absolute_supported ⇒ Object
Attributes
6 7 8 |
# File 'lib/virtualbox/classes/mouse.rb', line 6 def absolute_supported VBox::WebService.send_request(:i_mouse_get_absolute_supported, _this) end |
#event_source ⇒ Object
18 19 20 21 |
# File 'lib/virtualbox/classes/mouse.rb', line 18 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
14 15 16 |
# File 'lib/virtualbox/classes/mouse.rb', line 14 def needs_host_cursor VBox::WebService.send_request(:i_mouse_get_needs_host_cursor, _this) end |
#put_mouse_event(args = {}) ⇒ Object
Methods
25 26 27 28 |
# File 'lib/virtualbox/classes/mouse.rb', line 25 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
30 31 32 33 |
# File 'lib/virtualbox/classes/mouse.rb', line 30 def put_mouse_event_absolute(args={}) ensure_hash args VBox::WebService.send_request(:i_mouse_put_mouse_event_absolute, _this) end |
#relative_supported ⇒ Object
10 11 12 |
# File 'lib/virtualbox/classes/mouse.rb', line 10 def relative_supported VBox::WebService.send_request(:i_mouse_get_relative_supported, _this) end |