Description
This widget is an adapter: it can contain any child, and will make it
scrollable. Its use is not necessary inside a Gtk_Scrolled_Window, which
automatically uses a
Gtk_Viewport when necessary.
Subprograms
-
procedure Gtk_New
(Viewport : out Gtk_Viewport;
Hadjustment : Adjustment.Gtk_Adjustment := null;
Vadjustment : Adjustment.Gtk_Adjustment := null);
-
-
function Get_Bin_Window
(Widget :
access Gtk_Viewport_Record)
return Gdk.Gdk_Window;
-
function Get_Hadjustment
(Viewport : access Gtk_Viewport_Record) return Adjustment.Gtk_Adjustment;
-
function Get_Vadjustment
(Viewport : access Gtk_Viewport_Record) return Adjustment.Gtk_Adjustment;
-
procedure Set_Shadow_Type
(Viewport : access Gtk_Viewport_Record;
The_Type : Gtk_Shadow_Type);
function Get_Shadow_Type
(Viewport : access Gtk_Viewport_Record) return Gtk_Shadow_Type;