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

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

  

GtkLayout

Scrollable widget allowing multiple children in fixed positions.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkLayout

Direct subclasses

None.

Description

A GtkLayout is a scrollable widget that provides a scrolling-aware backdrop for a child or children having fixed positions. It should be added directly to a GtkScrolledWindow.

Note that the scrolling does not work on win32 unless you program it to do so. There have been no such problems reported on other systems. The workaround under win32 is to connect the GtkScrolledWindow scrollbar adjustments' "value-changed" signals to a function that will force the GtkLayout to be redrawn. This can be queue_draw() in most situations, but the more complex child widgets will not respond to this alone and will need to have hide() and then show() called on the GtkLayout during the callback.

Note that GtkHtml is based on the GtkLayout class, and that similar redraw issues are seen with that widget.

Constructor

GtkLayout ( GtkAdjustment hadjustment , GtkAdjustment vadjustment );
-- Creates a scrollable backdrop whose children retain their positions.

Methods

put()
?? Fixes a child widget at the given position.
move()
?? Moves a child widget to a new position.
set_size()
?? Sets the size of the layout.
get_hadjustment()
?? Returns the horizontal adjustment object.
get_vadjustment()
?? Returns the vertical adjustment object.
freeze()
?? Freezes the display during an update.
thaw()
?? Allows the display to be updated.

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

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