Planeshift
Classes | Public Member Functions

peMenu Class Reference

#include <pemenu.h>

List of all members.

Classes

class  OnFileSelected
 Callback class for the pawsFileNavigation dialog.

Public Member Functions

bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
bool PostSetup ()
 This is called after the widget and all of it's children have been created.

Detailed Description

Definition at line 40 of file pemenu.h.


Member Function Documentation

bool peMenu::OnButtonPressed ( int  button,
int  keyModifier,
pawsWidget widget 
) [virtual]

Called whenever a button is pressed.

Parameters:
buttonThe button pressed.
keyModifierModifier key in effect.
widgetThe widget the button belongs to.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented from pawsWidget.

bool peMenu::PostSetup ( ) [virtual]

This is called after the widget and all of it's children have been created.

Remarks:
This can be useful for widgets that want to get pointers to some of it's children for quick access.

Reimplemented from pawsWidget.


The documentation for this class was generated from the following file: