Compilation Units
Tagged Types
A render node that potentially diverts a part of the scene graph to a subsurface.
function Create
(Object : not null access System.Address)
return Gsk_Subsurface_Node_Record
function Get_Child
(Self : Gsk_Subsurface_Node) return Gsk.Render_Node.Gsk_Render_Node
Gets the child node that is getting drawn by the given Node. Since: gtk+ 4.14
the child GskRenderNode. Has transfer-ownership='none'.
function Get_Subsurface
(Node : Gsk_Subsurface_Node) return System.Address
Gets the subsurface that was set on this node Since: gtk+ 4.14
a subsurface GskRenderNode
the subsurface
function Get_Type return Glib.GType
type Gsk_Subsurface_Node is access all Gsk_Subsurface_Node_Record'Class;
function Gsk_Subsurface_Node_New
(Child : Gsk.Render_Node.Gsk_Render_Node;
Subsurface : System.Address) return Gsk_Subsurface_Node
Creates a GskRenderNode that will possibly divert the child node to a subsurface. Note: Since subsurfaces are currently private, these nodes cannot currently be created outside of GTK. See GtkGraphicsOffload. Since: gtk+ 4.14
The child to divert to a subsurface
the subsurface to use
type Gsk_Subsurface_Node_Record is new Gsk_Render_Node_Record with null record;
procedure Gtk_New
(Self : out Gsk_Subsurface_Node;
Child : Gsk.Render_Node.Gsk_Render_Node;
Subsurface : System.Address)
Creates a GskRenderNode that will possibly divert the child node to a subsurface. Note: Since subsurfaces are currently private, these nodes cannot currently be created outside of GTK. See GtkGraphicsOffload. Since: gtk+ 4.14 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The child to divert to a subsurface
the subsurface to use
procedure Initialize
(Self : not null access Gsk_Subsurface_Node_Record'Class;
Child : Gsk.Render_Node.Gsk_Render_Node;
Subsurface : System.Address)
Creates a GskRenderNode that will possibly divert the child node to a subsurface. Note: Since subsurfaces are currently private, these nodes cannot currently be created outside of GTK. See GtkGraphicsOffload. Since: gtk+ 4.14 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The child to divert to a subsurface
the subsurface to use