Compilation Units
Tagged Types
A render node controlling the opacity of its single child node.
function Create
(Object : not null access System.Address)
return Gsk_Opacity_Node_Record
function Get_Child
(Self : Gsk_Opacity_Node) return Gsk.Render_Node.Gsk_Render_Node
Gets the child node that is getting opacityed by the given Node.
The child that is getting opacityed. Has transfer-ownership='none'.
function Get_Opacity
(Self : Gsk_Opacity_Node) return Interfaces.C.C_float
Gets the transparency factor for an opacity node.
the opacity factor
function Get_Type return Glib.GType
type Gsk_Opacity_Node is access all Gsk_Opacity_Node_Record'Class;
function Gsk_Opacity_Node_New
(Child : Gsk.Render_Node.Gsk_Render_Node;
Opacity : Interfaces.C.C_float) return Gsk_Opacity_Node
Creates a GskRenderNode that will drawn the Child with reduced Opacity.
The node to draw
The opacity to apply
type Gsk_Opacity_Node_Record is new Gsk_Render_Node_Record with null record;
procedure Gtk_New
(Self : out Gsk_Opacity_Node;
Child : Gsk.Render_Node.Gsk_Render_Node;
Opacity : Interfaces.C.C_float)
Creates a GskRenderNode that will drawn the Child with reduced Opacity. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The node to draw
The opacity to apply
procedure Initialize
(Self : not null access Gsk_Opacity_Node_Record'Class;
Child : Gsk.Render_Node.Gsk_Render_Node;
Opacity : Interfaces.C.C_float)
Creates a GskRenderNode that will drawn the Child with reduced Opacity. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The node to draw
The opacity to apply