ScreenAttributes
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "mks_screen_attributes_get_type ()" ) ]
[ Compact ]
public class ScreenAttributes
Screen attributes.
The attributes are used to reconfigure the QEMU instance with [method@Mks.Screen.configure] or [method@Mks.Screen.configure_sync].
Content:
Creation methods:
Methods:
- public ScreenAttributes copy ()
Makes a deep copy of a ScreenAttributes.
- public bool equal (ScreenAttributes other)
Returns `true` if the two attributes are equal, `false` otherwise.
- public void free ()
Frees a ScreenAttributes.
- public void set_height (uint height)
Set the screen height in pixels.
- public void set_height_mm (uint16 height_mm)
Set the screen height in millimeters.
- public void set_width (uint width)
Set the screen width in pixels.
- public void set_width_mm (uint16 width_mm)
Set the screen width in millimeters.
- public void set_x_offset (int x_offset)
Set the screen's horizontal offset in pixels.
- public void set_y_offset (int y_offset)
Set the screen's vertical offset in pixels.