PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

GtkScrolledWindow | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

GtkScrolledWindow

Adds scrollbars to its child widget.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkBin
                     `-- GtkScrolledWindow

Direct subclasses

None.

Description

A GtkScrolledWindow is a window that can supply a scrollable child widget with scrollbars.

The scrollbars take their adjustment settings from the child widget and do not need adjustment configuration. Children that are not scrollable therefore need to be packed into a widget that has scrolling awareness. GtkViewport is one such widget, and can be added and configured automatically using the convenience method add_with_viewport() . The other widget that can be used for this purpose is GtkLayout, which allows multiple children to be given fixed positions and provides scrollbars.

The scrolling-aware widgets are: GtkCList, GtkCTree, GtkLayout, GtkScrolledWindow, GtkText and the catch-all GtkViewport.

Note that any scroll key bindings are taken from the child widget in the GtkScrolledWindow, and not from the scrollbars themselves.

Constructor

GtkScrolledWindow ([ GtkAdjustment hadjustment = NULL , [ GtkAdjustment vadjustment = NULL ]]);
-- Creates a scrolling window.

Methods

get_hadjustment()
?? Returns the horizontal adjustment object.
get_vadjustment()
?? Returns the vertical adjustment object.
set_policy()
?? Sets scrollbar visibility policies.
set_placement()
?? Sets scrollbar positions.
add_with_viewport()
?? Convenience method for adding non-scrolling widgets.

忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「GtkScrolledWindow」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | GtkScrolledWindow」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: