Panda3D
Public Member Functions | Static Public Member Functions
PGMouseWatcherBackground Class Reference

This is a special kind of MouseWatcherRegion that doesn't have a rectangle and is never active, but just quietly listens for keypresses and sends them to all the PGItems with background focus. More...

#include "pgMouseWatcherBackground.h"

Inheritance diagram for PGMouseWatcherBackground:
MouseWatcherRegion TypedWritableReferenceCount Namable TypedWritable ReferenceCount MemoryBase TypedObject MemoryBase MemoryBase

List of all members.

Public Member Functions

virtual void candidate (const MouseWatcherParameter &param)
 This is a callback hook function, called whenever the user uses the IME.
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
virtual void keystroke (const MouseWatcherParameter &param)
 This is a callback hook function, called whenever the user presses a key.
virtual void press (const MouseWatcherParameter &param)
 This is a callback hook function, called whenever a mouse or keyboard button is depressed while the mouse is within the background.
virtual void release (const MouseWatcherParameter &param)
 This is a callback hook function, called whenever a mouse or keyboard button previously depressed with press() is released.

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Detailed Description

This is a special kind of MouseWatcherRegion that doesn't have a rectangle and is never active, but just quietly listens for keypresses and sends them to all the PGItems with background focus.

Definition at line 29 of file pgMouseWatcherBackground.h.


Member Function Documentation

This is a callback hook function, called whenever the user uses the IME.

Reimplemented from MouseWatcherRegion.

Definition at line 84 of file pgMouseWatcherBackground.cxx.

References PGItem::background_candidate().

This is a callback hook function, called whenever the user presses a key.

Reimplemented from MouseWatcherRegion.

Definition at line 73 of file pgMouseWatcherBackground.cxx.

References PGItem::background_keystroke().

void PGMouseWatcherBackground::press ( const MouseWatcherParameter param) [virtual]

This is a callback hook function, called whenever a mouse or keyboard button is depressed while the mouse is within the background.

Reimplemented from MouseWatcherRegion.

Definition at line 50 of file pgMouseWatcherBackground.cxx.

References PGItem::background_press().

void PGMouseWatcherBackground::release ( const MouseWatcherParameter param) [virtual]

This is a callback hook function, called whenever a mouse or keyboard button previously depressed with press() is released.

Reimplemented from MouseWatcherRegion.

Definition at line 62 of file pgMouseWatcherBackground.cxx.

References PGItem::background_release().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations