Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::Gtk::MenuItemSignals Class Reference

Abstract base class that implements the virtual signal handlers for Gtk::MenuItem. More...

#include <xfc/gtk/menuitemsignals.hh>

Inheritance diagram for Xfc::Gtk::MenuItemSignals:

Xfc::Gtk::ItemSignals Xfc::Gtk::ContainerSignals Xfc::Gtk::WidgetSignals Xfc::Gtk::ObjectSignals Xfc::G::ObjectSignals Xfc::G::TypeInstance Xfc::Trackable Xfc::Gtk::CheckMenuItemSignals Xfc::Gtk::RadioMenuItemSignals List of all members.

Public Member Functions

Signal Handlers

Detailed Description

Abstract base class that implements the virtual signal handlers for Gtk::MenuItem.


Constructor & Destructor Documentation

Xfc::Gtk::MenuItemSignals::MenuItemSignals ( MenuItem menu_item  )  [protected]

Construct a new MenuItemSignals object.

Parameters:
menu_item A MenuItem object inheriting the MenuItemSignals implementation.

Xfc::Gtk::MenuItemSignals::MenuItemSignals ( MenuItem menu_item  )  [protected]

Construct a new MenuItemSignals object.

Parameters:
menu_item A MenuItem object inheriting the MenuItemSignals implementation.


Member Function Documentation

virtual void Xfc::Gtk::MenuItemSignals::on_activate_item (  )  [virtual]

Called when the menu item is activated, but also if the menu item has a submenu.

For normal applications, the relevant signal is "activate".

virtual void Xfc::Gtk::MenuItemSignals::on_toggle_size_request ( int *  requisition  )  [virtual]

Called when MenuBar or Menu requests the size of the toggle.

Parameters:
requisition The return location for the size of the toggle.
For CheckMenuItem the toggle is a checkbox. For ImageMenuItem the Toggle is an image.

virtual void Xfc::Gtk::MenuItemSignals::on_toggle_size_allocate ( int  allocate  )  [virtual]

Called when MenuBar or Menu allocates a size for the toggle.

Parameters:
allocate The size allocated to the toggle.
For CheckMenuItem the toggle is a checkbox. For ImageMenuItem the Toggle is an image.


The documentation for this class was generated from the following file: Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3