1#include "event_handler.h"
2#include "key_control.h"
3#include <cgv/base/group.h>
4#include <cgv/type/info/type_name.h>
5#include <cgv/signal/rebind.h>
32 std::string type_name;
base class for all classes that can be registered with support for dynamic properties (see also secti...
virtual void on_set(void *member_ptr)
this callback is called when the set_void method has changed a member and can be overloaded in derive...
void * find_member_ptr(const std::string &property_name, std::string *type_name=0)
find a member pointer by name.
The group class is a node with children.
virtual unsigned int append_child(base_ptr child)
append child and return index of appended child
bool empty() const
check if pointer is not yet set
bool add_key_control(const std::string &property, const std::string &options, cgv::base::group_ptr group=cgv::base::group_ptr())
add a key control for the given property with the given options.
event_handler()
default construction
bool grab_focus()
grab the focus in all parent nodes
bool grab_focus(X *instance)
try to grab the focus in the path of this node to the root of the tree
traits class with a static function get_name() of type const char* that returns the type name of the ...