Crea  Modifica  FrontPage  Indici  Cerca  Ultime modifiche  History  RSS  Login

Gtk::Viewport

Class Methods

Gtk::Viewport.new(hadjustment, vadjustment)
Creates a new Gtk::Viewport with the given adjustments.

Instance Methods

hadjustment
Returns the horizontal adjustment of the viewport.
  • Returns: the horizontal adjustment of viewport.
hadjustment=(adjustment)
Sets the horizontal adjustment of the viewport.
set_hadjustment(adjustment)
Sets the horizontal adjustment of the viewport.
vadjustment
Returns the vertical adjustment of the viewport.
  • Returns: the vertical adjustment of viewport.
vadjustment=(adjustment)
Sets the vertical adjustment of the viewport.
set_vadjustment(adjustment)
Same as Gtk::Viewport#vadjustment=.
shadow_type
Gets the shadow type of the Gtk::Viewport. See Gtk::Viewport#shadow_type=.
shadow_type=(type)
Sets the shadow type(GtkShadowType) of the viewport.
  • type: the new shadow type.
  • Returns: type
set_shadow_type
Same as Gtk::Viewport#shadow_type=.
  • Returns: self

Properties

hadjustment: Gtk::Adjustment (Read/Write)
The Gtk::Adjustment that determines the values of the horizontal position for this viewport
shadow-type: Integer (Read/Write)
Determines how the shadowed box around the viewport is drawn
vadjustment: Gtk::Adjustment (Read/Write)
The Gtk::Adjustment that determines the values of the vertical position for this viewport
Ultima modifica:2005/11/17 02:43:41
Parola chiave:
Referenze:[Gtk::ScrolledWindow] [Gtk::Widget] [Gtk::Viewport] [Gtk::Adjustment]