GDropDown Class Reference

Drop down menu, UI widget for opening a popup. More...

#include <GPopup.h>

Inheritance diagram for GDropDown:

GLayout GView GColour GDatePopup GTimePopup

List of all members.

Public Member Functions

void OnFocus (bool f)
 The view gains or loses the keyboard focus.
void OnPaint (GSurface *pDC)
 Called to paint the onscreen representation of the view.
bool OnKey (GKey &k)
 A key was pressed while this view has focus.
void OnMouseClick (GMouse &m)
 The mouse was clicked over this view.
int OnNotify (GViewI *c, int f)
 Called when a child view or view with it's SetNotify() set to this window changes.

Friends

class GPopup


Detailed Description

Drop down menu, UI widget for opening a popup.

Member Function Documentation

int GDropDown::OnNotify ( GViewI *  Ctrl,
int  Flags 
)

Called when a child view or view with it's SetNotify() set to this window changes.

The event by default will bubble up to the GWindow at the top of the window heirarchy visiting each GView on the way. If it reaches a GView that processes it then the event stops propergating up the heirarchy.

Reimplemented from GLayout.

References GView::Invalidate().


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

Generated on Wed Dec 1 15:41:03 2010 for Lgi by  doxygen 1.5.7.1