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

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

  

GtkToggleButton

Button that retains its state.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkBin
                     `-- GtkButton
                            `-- GtkToggleButton

Direct subclasses

Description

A GtkToggleButton is a button that will retain its state following activation. This can be either the active state, GtkStateType GTK_STATE_ACTIVE, or the normal state, GTK_STATE_NORMAL. The active state has the appearance of a button that has been pressed down and not released.

The "toggled" signal is emitted as part of the process when the button is activated. Activation also triggers a change from the current state to its opposite value.

GtkToggleButton also provides some base elements for GtkCheckButton and GtkRadioButton widgets.

Constructor

GtkToggleButton ([string label ]);
-- Creates a button that can be toggled between two states.

Methods

set_mode()
?? Toggles indicator mode.
set_active()
?? Sets state.
get_active()
?? Returns true if active.
toggled()
?? Causes the "toggled" signal to be emitted.

Signals

"toggled"
?? Emitted when the toggled() method is called.

Properties

draw_indicator:
?? Toggle indicator display.

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

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