Class: VBox::Display
- Inherits:
-
Base
- Object
- Base
- VBox::Display
show all
- Defined in:
- lib/virtualbox/classes/display.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
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
Returns the value of attribute ref.
4
5
6
|
# File 'lib/virtualbox/classes/display.rb', line 4
def ref
@ref
end
|
Instance Method Details
#get_screen_resolution(args = {}) ⇒ Object
8
9
10
11
|
# File 'lib/virtualbox/classes/display.rb', line 8
def get_screen_resolution(args={})
ensure_hash(args)
VBox::WebService.send_request(:i_display_get_screen_resolution, _this.merge(args))
end
|
#invalidate_and_update ⇒ Object
13
14
15
|
# File 'lib/virtualbox/classes/display.rb', line 13
def invalidate_and_update
VBox::WebService.send_request(:i_display_invalidate_and_update, _this)
end
|
#resize_completed(args = {}) ⇒ Object
17
18
19
20
|
# File 'lib/virtualbox/classes/display.rb', line 17
def resize_completed(args={})
ensure_hash(args)
VBox::WebService.send_request(:i_display_resize_completed, _this.merge(args))
end
|
#set_seamless_mode(args = {}) ⇒ Object
22
23
24
25
|
# File 'lib/virtualbox/classes/display.rb', line 22
def set_seamless_mode(args={})
ensure_hash(args)
VBox::WebService.send_request(:i_display_set_seamless_mode, _this.merge(args))
end
|
#set_video_mode_hint(args = {}) ⇒ Object
27
28
29
30
|
# File 'lib/virtualbox/classes/display.rb', line 27
def set_video_mode_hint(args={})
ensure_hash(args)
VBox::WebService.send_request(:i_display_set_video_mode_hint, _this.merge(args))
end
|
#take_screen_shot_png_to_array(args = {}) ⇒ Object
32
33
34
35
|
# File 'lib/virtualbox/classes/display.rb', line 32
def take_screen_shot_png_to_array(args={})
ensure_hash(args)
VBox::WebService.send_request(:i_display_take_screen_shot_png_to_array, _this.merge(args))
end
|
#take_screen_shot_to_array(args = {}) ⇒ Object
37
38
39
40
|
# File 'lib/virtualbox/classes/display.rb', line 37
def take_screen_shot_to_array(args={})
ensure_hash(args)
VBox::WebService.send_request(:i_display_take_screen_shot_to_array, _this.merge(args))
end
|
#viewport_changed(args = {}) ⇒ Object
42
43
44
45
|
# File 'lib/virtualbox/classes/display.rb', line 42
def viewport_changed(args={})
ensure_hash(args)
VBox::WebService.send_request(:i_display_viewport_changed, _this.merge(args))
end
|