PHP-GTK
Friday, November 28, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousselection-done
GtkMenuToolButton Constructornext

Last updated: Sun, 12 May 2013
view this page in English

GtkMenuToolButton

A menu item that shows both a button and a drop down menu.

Object Hierarchy

Description

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.

Constructors

GtkMenuToolButton (GtkWidget icon_widget, string label);

-- Creates a new menu tool button.

Methods

get_menu()
  Retrieves the attached menu.
set_arrow_tooltip()
  Set the tooltip for the arrow button.
set_menu()
  Attaches a menu to the button.

Properties

Use get_property and set_property methods to access these.

menu:
  Menu widget.

Signals

"show-menu"
  The dropdown menu is being shown.


User Contributed Notes
gtk.gtkmenutoolbutton.php
add a note about notes
There are no user contributed notes for this page.


previousselection-done
GtkMenuToolButton Constructornext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:59 2013 CEST