新規作成  編集  Ruby-GNOME2 Project Website  ページ一覧  検索  更新履歴  編集履歴  RSS  ログイン

Gtk::Viewport

Gtk::Viewport クラス

インクルードされているモジュール

  • Gtk::Buildable?
  • Atk::Implementor
  • GLib::Interface?

クラスメソッド

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

インスタンスメソッド

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
set_scroll_adjustments()
要編集

プロパティ

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

更新履歴

  • 2014-06-16 クラスのメンバで漏れているものを追加。 - きたがわ
  • - Masao?
更新日時:2014/06/16 19:28:09
キーワード:
参照:[Ruby/GTK Object Hierarchy] [Gtk::VScrollbar] [Gtk::Viewport] [Gtk::HScrollbar] [Gtk::Adjustment] [Gtk::ScrolledWindow] [Ruby/GTK] [Gtk::Widget]