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

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

  

GtkRadioMenuItem

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

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkBin
                     `-- GtkItem
                            `-- GtkMenuItem
                                   `-- GtkCheckMenuItem
                                          `-- GtkRadioMenuItem

Direct subclasses

None.

Description

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

When the GtkMenuItem version of the "activate" signal has been emitted by a GtkRadioMenuItem, there is a second emission as the most recently active item is toggled to inactive. This is dealt with before the original signal is handled.

One way around this would be to use the "button-press-event" 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 "activate" to be emitted twice.

Constructor

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

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

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