42 INLINE
OSHandle *get_os_handle()
const;
43 INLINE
void set_os_handle(
OSHandle *os_handle);
44 MAKE_PROPERTY(os_handle, get_os_handle, set_os_handle);
46 void send_windows_message(
unsigned int msg,
int wparam,
int lparam);
48 size_t get_int_handle()
const;
50 void output(std::ostream &out)
const;
57 virtual void request_keyboard_focus(
WindowHandle *child);
58 virtual void receive_windows_message(
unsigned int msg,
int wparam,
int lparam);
69 virtual size_t get_int_handle()
const;
70 virtual void output(std::ostream &out)
const;
76 static void init_type() {
77 TypedReferenceCount::init_type();
79 TypedReferenceCount::get_class_type());
82 return get_class_type();
84 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
99 static void init_type() {
100 TypedReferenceCount::init_type();
102 TypedReferenceCount::get_class_type());
105 return get_class_type();
107 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
115INLINE std::ostream &operator << (std::ostream &out,
const WindowHandle &handle) {
TypeHandle is the identifier used to differentiate C++ class types.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
This object represents a window on the desktop, not necessarily a Panda window.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.