package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Wrappers.Graphics_offload

type t = [ `graphics_offload | `widget | `initially_unowned | `object_ ] Gobject.obj
val new_ : [ `widget | `initially_unowned | `object_ ] Gobject.obj option -> t

Create a new GraphicsOffload

val set_enabled : t -> Gtk_enums.graphicsoffloadenabled -> unit

Sets whether this GtkGraphicsOffload widget will attempt to offload the content of its child widget.

val set_child : t -> [ `widget | `initially_unowned | `object_ ] Gobject.obj option -> unit

Sets the child of @self.

val get_enabled : t -> Gtk_enums.graphicsoffloadenabled

Returns whether offload is enabled for @self.

val get_child : t -> [ `widget | `initially_unowned | `object_ ] Gobject.obj option

Gets the child of @self.