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

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

  

GtkRadioButton

Button that is part of a group, only one of which may be selected.

Object Hierarchy

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

Direct subclasses

None.

Description

A GtkRadioButton is one of a group of similar widgets, only one of which may be selected at any one time.

In the version of GTK+ currently used by PHP-GTK there is an issue with the "activate" signal where it is used alongside toggle switches in arrays. In this particular widget, the "clicked" signal is the activating signal, and as a result of this feature repeats itself when another group member is activated.

One way around this is to use the "pressed" signal. Another would be to set up a count for each individual function and test that the count is not divisible by 2. Or, depending on the kind of function you are calling, you could simply allow "clicked" to be fired twice.

Constructor

GtkRadioButton ( GtkRadioButton group , string label);
-- Creates one of a group of GtkRadioButton widgets.

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

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