package Gtk.Viewport is
package Implements_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Viewport_Record, Gtk_Viewport);
type Gtk_Viewport_Record is new Gtk_Bin_Record with null record;
type Gtk_Viewport is access all Gtk_Viewport_Record'Class;
Hadjustment_Property : constant Glib.Properties.Property_Object;
Shadow_Type_Property : constant Gtk.Enums.Property_Gtk_Shadow_Type;
Vadjustment_Property : constant Glib.Properties.Property_Object;
Signal_Set_Scroll_Adjustments : constant Glib.Signal_Name := "set-scroll-adjustments";
procedure Gtk_New
( | Viewport | : out Gtk_Viewport; |
Hadjustment | : Gtk.Adjustment.Gtk_Adjustment := null; | |
Vadjustment | : Gtk.Adjustment.Gtk_Adjustment := null); |
procedure Initialize
( | Viewport | : access Gtk_Viewport_Record'Class; |
Hadjustment | : Gtk.Adjustment.Gtk_Adjustment := null; | |
Vadjustment | : Gtk.Adjustment.Gtk_Adjustment := null); |
function Get_Type return Glib.GType;
function Get_Bin_Window
( | Viewport | : access Gtk_Viewport_Record) return Gdk.Window.Gdk_Window; |
function Get_Hadjustment
( | Viewport | : access Gtk_Viewport_Record) return Gtk.Adjustment.Gtk_Adjustment; |
procedure Set_Hadjustment
( | Viewport | : access Gtk_Viewport_Record; |
Adjustment | : access Gtk.Adjustment.Gtk_Adjustment_Record'Class); |
function Get_Shadow_Type
( | Viewport | : access Gtk_Viewport_Record) return Gtk.Enums.Gtk_Shadow_Type; |
procedure Set_Shadow_Type
( | Viewport | : access Gtk_Viewport_Record; |
The_Type | : Gtk.Enums.Gtk_Shadow_Type); |
function Get_Vadjustment
( | Viewport | : access Gtk_Viewport_Record) return Gtk.Adjustment.Gtk_Adjustment; |
procedure Set_Vadjustment
( | Viewport | : access Gtk_Viewport_Record; |
Adjustment | : access Gtk.Adjustment.Gtk_Adjustment_Record'Class); |
function Get_View_Window
( | Viewport | : access Gtk_Viewport_Record) return Gdk.Window.Gdk_Window; |
function "+"
( | Widget | : access Gtk_Viewport_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Viewport renames Implements_Buildable.To_Object; |