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

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

  

GtkItemFactory

A factory class for simplified menu creation.

Object Hierarchy

Direct subclasses

None.

Description

The GtkItemFactory is a class which makes it very easy to create a lot of menu items at once. It supports nested menus, shortcuts and different menu item types as well.

Constructor

GtkItemFactory (GtkType container_type, String path, GtkAccelGroup accel_group);
-- Creates a new instance of this class.

Methods

create_items()
?? Creates the whole menu.
get_item()
?? Obtains the menu item which corresponds to path.
get_widget()
?? Obtains the widget item which corresponds to path.
get_widget_by_action()
?? Obtains the widget which was constructed from the GtkItemFactoryEntry with the given action.
get_item_by_action()
?? Obtains the menu item which was constructed from the first GtkItemFactoryEntry with the given action.
delete_item()
?? Deletes the menu item which was created for path by the given item factory.
popup()
?? Pops up the menu at (x, y).

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

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