GraphicsOffload
Added in version 4.14.
Superclasses: Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
- Constructors:
GraphicsOffload(**properties)
new(child:Gtk.Widget=None) -> Gtk.Widget
Constructors
Methods
- class GraphicsOffload
-
- get_enabled() GraphicsOffloadEnabled
Returns whether offload is enabled for
self
.Added in version 4.14.
- set_child(child: Widget | None = None) None
Sets the child of
self
.Added in version 4.14.
- Parameters:
child – the child widget
- set_enabled(enabled: GraphicsOffloadEnabled) None
Sets whether this GtkGraphicsOffload widget will attempt to offload the content of its child widget.
Added in version 4.14.
- Parameters:
enabled – whether to enable offload
Properties
- class GraphicsOffload
-
- props.enabled: GraphicsOffloadEnabled
Whether graphics offload is enabled.
Added in version 4.14.