Compilation Units
Tagged Types
Provides detailed information on how a scroll operation should be performed.
Scrolling functions usually allow passing a NULL scroll info which will cause the default values to be used and just scroll the element into view.
function From_Object (Object : System.Address) return Gtk_Scroll_Info
function From_Object_Free (B : access Gtk_Scroll_Info'Class) return Gtk_Scroll_Info
function Get_Enable_Horizontal (Self : Gtk_Scroll_Info) return Boolean
Checks if horizontal scrolling is enabled. Since: gtk+ 4.12
True if horizontal scrolling is enabled.
function Get_Enable_Vertical (Self : Gtk_Scroll_Info) return Boolean
Checks if vertical scrolling is enabled. Since: gtk+ 4.12
True if vertical scrolling is enabled.
function Get_Type return Glib.GType
procedure Gtk_New (Self : out Gtk_Scroll_Info)
Creates a new scroll info for scrolling an element into view. Since: gtk+ 4.12
type Gtk_Scroll_Info is new Glib.C_Boxed with null record;
function Gtk_Scroll_Info_New return Gtk_Scroll_Info
Creates a new scroll info for scrolling an element into view. Since: gtk+ 4.12
Null_Gtk_Scroll_Info : constant Gtk_Scroll_Info;
function Ref (Self : Gtk_Scroll_Info) return Gtk_Scroll_Info
Increases the reference count of a GtkScrollInfo by one. Since: gtk+ 4.12
the passed in GtkScrollInfo. Has transfer-ownership='full'.
procedure Set_Enable_Horizontal
(Self : Gtk_Scroll_Info;
Horizontal : Boolean)
Turns horizontal scrolling on or off. Since: gtk+ 4.12
if scrolling in the horizontal direction should happen
procedure Set_Enable_Vertical
(Self : Gtk_Scroll_Info;
Vertical : Boolean)
Turns vertical scrolling on or off. Since: gtk+ 4.12
if scrolling in the vertical direction should happen
procedure Unref (Self : Gtk_Scroll_Info)
Decreases the reference count of a GtkScrollInfo by one. If the resulting reference count is zero, frees the self. Since: gtk+ 4.12