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

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

  

GtkToolbar

Container that creates bars of buttons and other widgets.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkToolbar

Direct subclasses

None.

Description

Horizontal or vertical container for bars of buttons and other widgets.

Toolbars are used to give the user access to often used functions like "New document", "Open", "Save" and such. The toolbar can show buttons of text and icons as well as only one of both, which can be set during runtime.

The methods insert_element() , append_element() , prepend_element() , insert_item() , append_item() and prepend_item() as well as all the properties are available since PHP-Gtk 1.0.1 only.

Constructor

-- Creates a new toolbar instance.

Methods

add()
?? Appends an existing widget to the toolbar.
append_space()
?? Adds a spacer element to the end.
prepend_space()
?? Adds a spacer element before the first item.
insert_space()
?? Inserts a spacer element at the given position.
append_element()
?? Adds a new toolbar element button to the end.
prepend_element()
?? Adds a new toolbar element before the first item.
insert_element()
?? Inserts a new toolbar element at the given position.
append_item()
?? Adds a new button to the end.
prepend_item()
?? Adds a new button before the first item.
insert_item()
?? Inserts a new button at the given position.
append_widget()
?? Adds a widget to the end.
prepend_widget()
?? Adds a widget before the first item.
insert_widget()
?? Inserts a widget at the given position.
set_orientation()
?? Sets the toolbar orientation to horizontal or vertical.
set_style()
?? Sets the text/icon style.
set_space_size()
?? Sets the width/height which a space takes.
set_space_style()
?? Sets the space style: line or invisible.
set_tooltips()
?? Enables or disables the display of tooltips
set_button_relief()
?? Sets the relief style for buttons on the toolbar
get_button_relief()
?? Returns the button relief style.

Signals

"style-changed"
?? Emitted when the style has changed.
"orientation-changed"
?? Emitted when the orientation has changed.

Properties

orientation:
?? Returns the orientation (horizontal or vertical) of the toolbar
space_size:
?? Returns the width/height which a space takes.
space_style:
?? Returns the current space style of the toolbar.
style:
?? Returns the current toolbar style.

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

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