Compilation Units
Tagged Types
A render node drawing one or more shadows behind its single child node.
function Create
(Object : not null access System.Address)
return Gsk_Shadow_Node_Record
function From_Object_Free
(B : not null access Gsk_Shadow) return Gsk_Shadow
Return the underlying object and free the pointer. This is meant to be used internally by GtkAda, and should not in general be called by user code.
function Get_Child
(Self : Gsk_Shadow_Node) return Gsk.Render_Node.Gsk_Render_Node
Retrieves the child GskRenderNode of the shadow Node.
the child render node. Has transfer-ownership='none'.
function Get_N_Shadows (Self : Gsk_Shadow_Node) return Gsize
Retrieves the number of shadows in the Node.
the number of shadows.
function Get_Shadow (Self : Gsk_Shadow_Node; I : Gsize) return Gsk_Shadow
Retrieves the shadow data at the given index I.
the given index
the shadow data
function Get_Type return Glib.GType
type Gsk_Shadow is record
Color : Gdk.RGBA.Gdk_RGBA;
Dx : Interfaces.C.C_float;
Dy : Interfaces.C.C_float;
Radius : Interfaces.C.C_float;
end record;
The shadow parameters in a shadow node.
type Gsk_Shadow_Array is array (Natural range <>) of Gsk_Shadow
with Convention => C;
type Gsk_Shadow_Node is access all Gsk_Shadow_Node_Record'Class;
function Gsk_Shadow_Node_New
(Child : Gsk.Render_Node.Gsk_Render_Node;
Shadows : Gsk_Shadow_Array) return Gsk_Shadow_Node
Creates a GskRenderNode that will draw a Child with the given Shadows below it.
The node to draw
The shadows to apply
type Gsk_Shadow_Node_Record is new Gsk_Render_Node_Record with null record;
procedure Gtk_New
(Self : out Gsk_Shadow_Node;
Child : Gsk.Render_Node.Gsk_Render_Node;
Shadows : Gsk_Shadow_Array)
Creates a GskRenderNode that will draw a Child with the given Shadows below it. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The node to draw
The shadows to apply
procedure Initialize
(Self : not null access Gsk_Shadow_Node_Record'Class;
Child : Gsk.Render_Node.Gsk_Render_Node;
Shadows : Gsk_Shadow_Array)
Creates a GskRenderNode that will draw a Child with the given Shadows below it. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The node to draw
The shadows to apply