Class: VBox::Display

Inherits:
Base
  • Object
show all
Defined in:
lib/virtualbox/classes/display.rb

Instance Attribute Summary

Attributes inherited from Base

#ref

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 Method Details

#get_screen_resolution(args = {}) ⇒ Object

Methods



6
7
8
9
# File 'lib/virtualbox/classes/display.rb', line 6

def get_screen_resolution(args={})
  ensure_hash args
  VBox::WebService.send_request(:i_display_get_screen_resolution, _this.merge(args))
end

#invalidate_and_updateObject



11
12
13
# File 'lib/virtualbox/classes/display.rb', line 11

def invalidate_and_update
  VBox::WebService.send_request(:i_display_invalidate_and_update, _this)
end

#resize_completed(args = {}) ⇒ Object



15
16
17
18
# File 'lib/virtualbox/classes/display.rb', line 15

def resize_completed(args={})
  ensure_hash args
  VBox::WebService.send_request(:i_display_resize_completed, _this.merge(args))
end

#set_seamless_mode(args = {}) ⇒ Object



20
21
22
23
# File 'lib/virtualbox/classes/display.rb', line 20

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



25
26
27
28
# File 'lib/virtualbox/classes/display.rb', line 25

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



30
31
32
33
# File 'lib/virtualbox/classes/display.rb', line 30

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



35
36
37
38
# File 'lib/virtualbox/classes/display.rb', line 35

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



40
41
42
43
# File 'lib/virtualbox/classes/display.rb', line 40

def viewport_changed(args={})
  ensure_hash args
  VBox::WebService.send_request(:i_display_viewport_changed, _this.merge(args))
end