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

Protected Member Functions

Contructors

Detailed Description

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


Constructor & Destructor Documentation

Construct a new MenuItemSignals object.

Parameters:
menu_itemA 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_allocate ( int  allocate) [virtual]

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

Parameters:
allocateThe size allocated to the toggle.

For CheckMenuItem the toggle is a checkbox. For ImageMenuItem the Toggle is an image.

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

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

Parameters:
requisitionThe return location for the size of 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