Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
CallbackGraphicsWindow::PropertiesCallbackData Class Reference
Inheritance diagram for CallbackGraphicsWindow::PropertiesCallbackData:
CallbackGraphicsWindow::WindowCallbackData CallbackData TypedObject MemoryBase

Public Member Functions

 PropertiesCallbackData (CallbackGraphicsWindow *window, WindowProperties &properties)
 
virtual TypeHandle force_init_type ()
 
WindowPropertiesget_properties () const
 Returns the WindowProperties object that this callback should process.
 
virtual TypeHandle get_type () const
 
virtual void upcall ()
 You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback.
 
- Public Member Functions inherited from CallbackGraphicsWindow::WindowCallbackData
 WindowCallbackData (CallbackGraphicsWindow *window)
 
CallbackGraphicsWindowget_window () const
 
- Public Member Functions inherited from CallbackData
virtual void output (std::ostream &out) const
 
- Public Member Functions inherited from TypedObject
 TypedObject (const TypedObject &copy)=default
 
TypedObjectas_typed_object ()
 Returns the object, upcast (if necessary) to a TypedObject pointer.
 
const TypedObjectas_typed_object () const
 Returns the object, upcast (if necessary) to a TypedObject pointer.
 
int get_best_parent_from_Set (const std::set< int > &) const
 
int get_type_index () const
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
 
bool is_exact_type (TypeHandle handle) const
 Returns true if the current object is the indicated type exactly.
 
bool is_of_type (TypeHandle handle) const
 Returns true if the current object is or derives from the indicated type.
 
TypedObjectoperator= (const TypedObject &copy)=default
 
- Public Member Functions inherited from MemoryBase
void operator delete (void *, void *)
 
void operator delete (void *ptr)
 
void operator delete[] (void *, void *)
 
void operator delete[] (void *ptr)
 
void * operator new (size_t size)
 
void * operator new (size_t size, void *ptr)
 
void * operator new[] (size_t size)
 
void * operator new[] (size_t size, void *ptr)
 

Static Public Member Functions

static TypeHandle get_class_type ()
 
static void init_type ()
 
- Static Public Member Functions inherited from CallbackGraphicsWindow::WindowCallbackData
static TypeHandle get_class_type ()
 
static void init_type ()
 
- Static Public Member Functions inherited from CallbackData
static TypeHandle get_class_type ()
 
static void init_type ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle get_class_type ()
 
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.
 

Additional Inherited Members

- Public Attributes inherited from CallbackGraphicsWindow::WindowCallbackData
 get_window
 Returns the window this callback was triggered from.
 
- Public Attributes inherited from TypedObject
 get_type
 

Detailed Description

Definition at line 93 of file callbackGraphicsWindow.h.

Constructor & Destructor Documentation

◆ PropertiesCallbackData()

CallbackGraphicsWindow::PropertiesCallbackData::PropertiesCallbackData ( CallbackGraphicsWindow * window,
WindowProperties & properties )
inline

Definition at line 138 of file callbackGraphicsWindow.I.

Member Function Documentation

◆ force_init_type()

virtual TypeHandle CallbackGraphicsWindow::PropertiesCallbackData::force_init_type ( )
inlinevirtual

Reimplemented from CallbackGraphicsWindow::WindowCallbackData.

Definition at line 117 of file callbackGraphicsWindow.h.

◆ get_class_type()

static TypeHandle CallbackGraphicsWindow::PropertiesCallbackData::get_class_type ( )
inlinestatic

Definition at line 106 of file callbackGraphicsWindow.h.

◆ get_properties()

WindowProperties & CallbackGraphicsWindow::PropertiesCallbackData::get_properties ( ) const
inline

Returns the WindowProperties object that this callback should process.

Any properties that are handled should be removed from this object; properties that are unhandled should be left alone.

Definition at line 150 of file callbackGraphicsWindow.I.

◆ get_type()

virtual TypeHandle CallbackGraphicsWindow::PropertiesCallbackData::get_type ( ) const
inlinevirtual

Reimplemented from CallbackGraphicsWindow::WindowCallbackData.

Definition at line 114 of file callbackGraphicsWindow.h.

◆ init_type()

static void CallbackGraphicsWindow::PropertiesCallbackData::init_type ( )
inlinestatic

Definition at line 109 of file callbackGraphicsWindow.h.

◆ upcall()

void CallbackGraphicsWindow::PropertiesCallbackData::upcall ( )
virtual

You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback.

Reimplemented from CallbackData.

Definition at line 232 of file callbackGraphicsWindow.cxx.


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