Main Page   Class Hierarchy   Compound List   File List   Compound Members  

KrNotifier Class Reference

An abstract class. More...

#include <widget.h>

List of all members.

Public Methods

virtual void ExecNotify (KrWidget *source, const SDL_Event *event, const char *command, const char *args)=0
 The callback method to the registered listening class. More...


Detailed Description

An abstract class.

Used to define a callback method for widgets. If a widget matches a command, it will call the registered 'ExecNotify' method.

The class is abstract, so it can be used as a mix in and there are no multiple inheritance issues.


Member Function Documentation

virtual void KrNotifier::ExecNotify KrWidget   source,
const SDL_Event *    event,
const char *    command,
const char *    args
[pure virtual]
 

The callback method to the registered listening class.

Parameters:
source  The source widget generating the callback event.
event  An SDL event that caused the widget event, if applicable. Sometimes NULL. Ex: A keystroke or mouse event.
command  The text command, if applicable. Could also be a description. Meaning defined by individual widgets, and can be NULL. Ex: "Load", "ButtonDown", etc.
args  The text arguments, if applicable. Meaning defined by individual widgets, and can be NULL.


The documentation for this class was generated from the following file:
Generated on Mon Sep 16 23:24:22 2002 for Kyra by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001