GtkMenuToolButton

A menu item that shows both a button and a drop down menu.
オブジェクトの階層
GObject
`-- GtkObject
`-- GtkWidget
`-- GtkContainer
`-- GtkBin
`-- GtkToolItem
`-- GtkToolButton
`-- GtkMenuToolButton
説明
This tool item class represents a normal button with a button on the right displaying an arrow. Pressing it will popup the attached GtkMenu.
If no menu is attached with set_menu() , the arrow is greyed out.
コンストラクタ
GtkMenuToolButton (GtkWidget icon_widget, string label);-- Creates a new menu tool button.
メソッド
get_menu() Retrieves the attached menu. set_arrow_tooltip() Set the tooltip for the arrow button. set_menu() Attaches a menu to the button.
プロパティ
これらにアクセスするには、get_property および set_property メソッドを使用します。
menu: Menu widget.
シグナル
"show-menu" The dropdown menu is being shown.