Om  1.0.0
A universal framework for multimedia simulation
Public Attributes | List of all members
om::graphics::gui::objects::SearchField::Delegate Class Reference

A class that contains function objects that recieve SearchField events. More...

#include <omGraphicsGUISearchField.h>

Public Attributes

Function< void(SearchField &)> edit
 A function object that is called whenever the user changes the text in a search field. More...
 
UserData data
 An object that stores an opaque pointer to delegate data. More...
 

Detailed Description

A class that contains function objects that recieve SearchField events.

Any number-field-related event that might be processed has an appropriate callback function object. Each callback function is called by the search field whenever such an event is received. If a callback function in the delegate is not initialized, a search field ignores it.

Member Data Documentation

Function<void ( SearchField& )> om::graphics::gui::objects::SearchField::Delegate::edit

A function object that is called whenever the user changes the text in a search field.

Every time that the user presses a key or does anything to change the contents of the search field, this method is called.

UserData om::graphics::gui::objects::SearchField::Delegate::data

An object that stores an opaque pointer to delegate data.


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