// Generated by gtkmmproc -- DO NOT MODIFY! #include #include #include // -*- c++ -*- /* $Id$ */ /* Copyright 1998-2002 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //For gtk_widget_get_action(). namespace //anonymous { //These signal callbacks are custom implemented, so that we can create a temporary SelectionData instance. //To do this, we used the optional custom_c_callback paramater to _WRAP_SIGNAL() in the .hg file. static void Widget_signal_drag_data_get_callback(GtkWidget* self, GdkDragContext* p0,GtkSelectionData* p1,guint p2,guint p3,void* data) { using namespace Gtk; typedef sigc::slot< void,const Glib::RefPtr&,SelectionData&,guint,guint > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) { SelectionData_WithoutOwnership temp_instance(p1); (*static_cast(slot))( Glib::wrap(p0, true), temp_instance, p2, p3 ); } #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static void Widget_signal_selection_get_callback(GtkWidget* self, GtkSelectionData* p0,guint p1,guint p2,void* data) { using namespace Gtk; typedef sigc::slot< void, SelectionData&, guint, guint > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) { SelectionData_WithoutOwnership temp_instance(p0); (*static_cast(slot))( temp_instance, p1, p2 ); } #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } } //anonymous namespace Gtk { #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED //These default handler callbacks are custom implemented, so that we can create a temporary SelectionData instance. //To do this, we used the optional custom_c_callback paramater to _WRAP_SIGNAL() in the .hg file. void Widget_Class::selection_get_callback(GtkWidget* self, GtkSelectionData* p0, guint p1, guint p2) { CppObjectType *const obj = dynamic_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj && obj->is_derived_()) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. SelectionData_WithoutOwnership temp_instance(p0); obj->on_selection_get(temp_instance, p1, p2); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } else { BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->selection_get) (*base->selection_get)(self, p0, p1, p2); } } void Widget_Class::drag_data_get_callback(GtkWidget* self, GdkDragContext* p0, GtkSelectionData* p1, guint p2, guint p3) { CppObjectType *const obj = dynamic_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj && obj->is_derived_()) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. SelectionData_WithoutOwnership temp_instance(p1); obj->on_drag_data_get(Glib::wrap(p0, true), temp_instance, p2, p3); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } else { BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->drag_data_get) (*base->drag_data_get)(self, p0, p1, p2, p3); } } #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED Widget::~Widget() {} bool Widget::intersect(const Gdk::Rectangle& area) const { return gtk_widget_intersect( const_cast(gobj()), const_cast(area.gobj()), 0); } void Widget::unset_name() { gtk_widget_set_name(gobj(), 0); } void Widget::unset_composite_name() { gtk_widget_set_composite_name(gobj(), 0); } void Widget::realize_if_needed() { if(!is_realized()) realize(); } void Widget::add_modal_grab() { gtk_grab_add(gobj()); } void Widget::remove_modal_grab() { gtk_grab_remove(gobj()); } Widget* Widget::get_current_modal_grab() { return Glib::wrap(gtk_grab_get_current()); } void Widget::path(Glib::ustring& path_arg, Glib::ustring& path_reversed) { guint path_length = 0; Glib::ScopedPtr path_ptr; Glib::ScopedPtr rpath_ptr; gtk_widget_path(gobj(), &path_length, path_ptr.addr(), rpath_ptr.addr()); path_arg.assign(path_ptr.get(), path_ptr.get() + path_length); path_reversed.assign(rpath_ptr.get(), rpath_ptr.get() + path_length); } void Widget::class_path(Glib::ustring& path_arg, Glib::ustring& path_reversed) { guint path_length = 0; Glib::ScopedPtr path_ptr; Glib::ScopedPtr rpath_ptr; gtk_widget_class_path(gobj(), &path_length, path_ptr.addr(), rpath_ptr.addr()); path_arg.assign(path_ptr.get(), path_ptr.get() + path_length); path_reversed.assign(rpath_ptr.get(), rpath_ptr.get() + path_length); } void Widget::modify_bg_pixmap(StateType state, const Glib::ustring& pixmap_name) { const Glib::RefPtr modifier_style = get_modifier_style(); modifier_style->set_bg_pixmap_name(state, pixmap_name); modify_style(modifier_style); } void Widget::unset_fg(StateType state) { gtk_widget_modify_fg(gobj(), static_cast(int(state)), 0); } void Widget::unset_bg(StateType state) { gtk_widget_modify_bg(gobj(), static_cast(int(state)), 0); } void Widget::unset_text(StateType state) { gtk_widget_modify_text(gobj(), static_cast(int(state)), 0); } void Widget::unset_base(StateType state) { gtk_widget_modify_base(gobj(), static_cast(int(state)), 0); } void Widget::unset_font() { gtk_widget_modify_font(gobj(), 0); } void Widget::unset_cursor() { gtk_widget_modify_cursor(gobj(), 0, 0); } bool Widget::is_toplevel() const { return GTK_WIDGET_TOPLEVEL(gobj()); } bool Widget::has_no_window() const { return GTK_WIDGET_NO_WINDOW(gobj()); } bool Widget::is_realized() const { return GTK_WIDGET_REALIZED(gobj()); } bool Widget::is_mapped() const { return GTK_WIDGET_MAPPED(gobj()); } bool Widget::is_visible() const { return GTK_WIDGET_VISIBLE(gobj()); } bool Widget::is_drawable() const { return GTK_WIDGET_DRAWABLE(gobj()); } bool Widget::sensitive() const { return GTK_WIDGET_SENSITIVE(gobj()); } bool Widget::parent_sensitive() const { return GTK_WIDGET_PARENT_SENSITIVE(gobj()); } bool Widget::is_sensitive() const { return GTK_WIDGET_IS_SENSITIVE(gobj()); } bool Widget::can_focus() const { return GTK_WIDGET_CAN_FOCUS(gobj()); } bool Widget::has_focus() const { return GTK_WIDGET_HAS_FOCUS(gobj()); } bool Widget::can_default() const { return GTK_WIDGET_CAN_DEFAULT(gobj()); } bool Widget::has_default() const { return GTK_WIDGET_HAS_DEFAULT(gobj()); } bool Widget::has_grab() const { return GTK_WIDGET_HAS_GRAB(gobj()); } bool Widget::rc_style() const { return GTK_WIDGET_RC_STYLE(gobj()); } bool Widget::is_composite_child() const { return GTK_WIDGET_COMPOSITE_CHILD(gobj()); } bool Widget::app_paintable() const { return GTK_WIDGET_APP_PAINTABLE(gobj()); } bool Widget::receives_default() const { return GTK_WIDGET_RECEIVES_DEFAULT(gobj()); } bool Widget::double_buffered() const { return GTK_WIDGET_DOUBLE_BUFFERED(gobj()); } WidgetFlags Widget::get_flags() const { return static_cast(GTK_WIDGET_FLAGS(gobj())); } void Widget::set_flags(WidgetFlags flags) { GTK_WIDGET_SET_FLAGS(gobj(), static_cast(flags)); } void Widget::unset_flags(WidgetFlags flags) { GTK_WIDGET_UNSET_FLAGS(gobj(), static_cast(flags)); } int Widget::get_width() const { return gobj()->allocation.width; } int Widget::get_height() const { return gobj()->allocation.height; } void Widget::drag_dest_set(DestDefaults flags, Gdk::DragAction actions) { gtk_drag_dest_set(gobj(), (GtkDestDefaults)flags, 0, 0, (GdkDragAction)actions); } void Widget::drag_dest_set(const ArrayHandle_TargetEntry& targets, DestDefaults flags, Gdk::DragAction actions) { // I've used Gdk::ACTION_COPY as the default, because Gdk::ACTION_DEFAULT means that // it's never a drag destination, so it would seem like this method didn't work. murrayc. gtk_drag_dest_set( gobj(), (GtkDestDefaults)flags, targets.data(), targets.size(), (GdkDragAction)actions); } void Widget::drag_source_set(const ArrayHandle_TargetEntry& targets, Gdk::ModifierType start_button_mask, Gdk::DragAction actions) { // I've used Gdk::MODIFIER_MASK as the default, because it seems // to mean 'whatever is possible in the context'. murrayc. gtk_drag_source_set( gobj(), (GdkModifierType)start_button_mask, targets.data(), targets.size(), (GdkDragAction)actions); } Widget* Widget::drag_get_source_widget(const Glib::RefPtr& context) //static { return Glib::wrap( gtk_drag_get_source_widget(Glib::unwrap(context)) ); } void Widget::drag_set_as_icon(const Glib::RefPtr& context, int hot_x, int hot_y) { gtk_drag_set_icon_widget(Glib::unwrap(context), gobj(), hot_x, hot_y); } #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED void Widget_Class::hierarchy_changed_callback_custom(GtkWidget* self, GtkWidget* p0) { //GTKMM_LIFECYCLE //Don't call wrap() on a GTK+ instance whose gtkmm instance has been deleted - just call the original C callback. bool gtkmm_child_already_deleted = Glib::_gobject_cppinstance_already_deleted((GObject*)p0); if(!gtkmm_child_already_deleted) { //Call the regular, generated callback: Widget_Class::hierarchy_changed_callback(self, p0); } else { BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); //Call the original underlying C function: if(base && base->hierarchy_changed) (*base->hierarchy_changed)(self, p0); } } void Widget_Class::parent_set_callback_custom(GtkWidget* self, GtkWidget* p0) { //GTKMM_LIFECYCLE //Don't call wrap() on a GTK+ instance whose gtkmm instance has been deleted - just call the original C callback. bool gtkmm_p0_already_deleted = Glib::_gobject_cppinstance_already_deleted((GObject*)p0); if(!gtkmm_p0_already_deleted) { //Call the regular, generated callback: Widget_Class::parent_set_callback(self, p0); } else { BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); //Call the original underlying C function: if(base && base->parent_set) (*base->parent_set)(self, p0); } } #endif //#GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED void Widget_Class::dispose_vfunc_callback(GObject* self) { //Avoid disposal. See also Window_Class::dispose_vfunc_callback(). #ifdef GLIBMM_DEBUG_REFCOUNTING g_warning("Widget_Class::dispose_vfunc_callback(): gobject_: %p\n", (void*)self); //if(self) //g_warning(" gtypename: %s\n", G_OBJECT_TYPE_NAME(self)); #endif Widget *const obj = dynamic_cast( Glib::ObjectBase::_get_current_wrapper(self)); // This function might be invoked recursively because we're triggering // several signal emissions, particularly signal_hide(). Therefore we // have to test for cpp_destruction_in_progress_ at this point. if(obj && !obj->_cpp_destruction_is_in_progress()) //When it should really be destroyed, we zero gobj_. { GtkWidget *const pWidget = obj->gobj(); g_return_if_fail(pWidget == GTK_WIDGET(self)); // Abort dispose if the widget isn't managed, in order to prevent // the nasty self-destroying behaviour of GTK+. This applies to // any widget inside a GtkContainer on gtk_container_destroy() // See also Window_Class::dispose_vfunc_callback(). if(obj->referenced_) //Not managed { // GTKMM_LIFECYCLE // Remove the widget from its parent container so that it // won't be destroyed later by gtk_container_destroy(). if(pWidget->parent) { // Normally, we would have to ref the child widget because // gtk_container_remove() unrefs it. But since we only remove // non-managed objects here, the container just releases the // reference it has acquired before in gtk_container_add(). #ifdef GLIBMM_DEBUG_REFCOUNTING g_warning("Widget_Class::dispose_vfunc_callback(): removing gobject_: %p from parent: %p", (void*)self, (void*)pWidget->parent); #endif gtk_container_remove(GTK_CONTAINER(pWidget->parent), pWidget); #ifdef GLIBMM_DEBUG_REFCOUNTING g_warning("Widget_Class::dispose_vfunc_callback(): after removing from parent."); #endif } // Special case for GtkMenu because gtk_menu_attach_to_widget does // not set widget->parent but gtk_menu_item_destroy() destroys the menu // like gtk_container_destroy() // Gtk::Menu does not use a parent widget because it must // be contained in its Gtk::Window so that it can be displayed as a popup. else if (GTK_IS_MENU(pWidget) && GTK_IS_MENU_ITEM(gtk_menu_get_attach_widget(GTK_MENU(pWidget)))) { gtk_menu_detach(GTK_MENU(pWidget)); } #ifdef GLIBMM_DEBUG_REFCOUNTING g_warning("Widget_Class::dispose_vfunc_callback(): before gtk_widget_hide()."); #endif // Now hide the widget. The C++ object must _not_ be accessed anymore // after this call, because a signal_hide() handler might delete it. gtk_widget_hide(pWidget); #ifdef GLIBMM_DEBUG_REFCOUNTING g_warning("Widget_Class::dispose_vfunc_callback(): after gtk_widget_hide()."); #endif // GTKMM_LIFECYCLE return; // Prevent calling of normal C dispose vfunc (see below) } #ifdef GLIBMM_DEBUG_REFCOUNTING g_warning("Widget_Class::dispose_vfunc_callback(): unreferenced: before gtk_widget_hide()."); #endif // Always hide widgets on gtk_object_destroy(), regardless of whether // the widget is managed or not. This is done for consistency so that // connecting to signal_hide() is guaranteed to work. gtk_widget_hide(pWidget); #ifdef GLIBMM_DEBUG_REFCOUNTING g_warning("Widget_Class::dispose_vfunc_callback(): unreferenced: after gtk_widget_hide()."); #endif } GObjectClass *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self))); #ifdef GLIBMM_DEBUG_REFCOUNTING g_warning("Widget_Class::dispose_vfunc_callback(): before calling base->dispose."); #endif if(base->dispose) (*base->dispose)(self); #ifdef GLIBMM_DEBUG_REFCOUNTING g_warning("Widget_Class::dispose_vfunc_callback(): after calling base->dispose."); #endif } void Widget::unset_style() { gtk_widget_set_style(gobj(), 0 /* See GTK+ docs */); } Glib::ustring Widget::drag_dest_find_target(const Glib::RefPtr& context) const { return Gdk::AtomString::to_cpp_type(gtk_drag_dest_find_target(const_cast(gobj()), Glib::unwrap(context), 0 /* See GTK+ docs */)); } void Widget::unset_shape_combine_mask() { gtk_widget_shape_combine_mask(gobj(), 0, 0, 0); /* See GTK+ docs */ } void Widget::unset_input_shape_combine_mask() { gtk_widget_input_shape_combine_mask(gobj(), 0, 0, 0); /* See GTK+ docs */ } void Widget::draw_insertion_cursor(Glib::RefPtr drawable, const Gdk::Rectangle& area, const Gdk::Rectangle& location, bool is_primary, TextDirection direction, bool draw_arrow) { gtk_draw_insertion_cursor(gobj(), drawable->gobj(), const_cast(area.gobj()), const_cast(location.gobj()), is_primary, (GtkTextDirection)direction, draw_arrow); } Requisition Widget::size_request() const { Requisition requisition; gtk_widget_size_request(const_cast(gobj()), (GtkRequisition*)(&requisition)); return requisition; } } // namespace Gtk namespace { static const Glib::SignalProxyInfo Widget_signal_show_info = { "show", (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, (GCallback) &Glib::SignalProxyNormal::slot0_void_callback }; static const Glib::SignalProxyInfo Widget_signal_hide_info = { "hide", (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, (GCallback) &Glib::SignalProxyNormal::slot0_void_callback }; static const Glib::SignalProxyInfo Widget_signal_map_info = { "map", (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, (GCallback) &Glib::SignalProxyNormal::slot0_void_callback }; static const Glib::SignalProxyInfo Widget_signal_unmap_info = { "unmap", (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, (GCallback) &Glib::SignalProxyNormal::slot0_void_callback }; static const Glib::SignalProxyInfo Widget_signal_realize_info = { "realize", (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, (GCallback) &Glib::SignalProxyNormal::slot0_void_callback }; static const Glib::SignalProxyInfo Widget_signal_unrealize_info = { "unrealize", (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, (GCallback) &Glib::SignalProxyNormal::slot0_void_callback }; static void Widget_signal_size_request_callback(GtkWidget* self, GtkRequisition* p0,void* data) { using namespace Gtk; typedef sigc::slot< void,Requisition* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))((Requisition*)(p0) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_size_request_info = { "size_request", (GCallback) &Widget_signal_size_request_callback, (GCallback) &Widget_signal_size_request_callback }; static void Widget_signal_size_allocate_callback(GtkWidget* self, GtkAllocation* p0,void* data) { using namespace Gtk; typedef sigc::slot< void,Allocation& > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))((Allocation&)(Glib::wrap(p0)) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_size_allocate_info = { "size_allocate", (GCallback) &Widget_signal_size_allocate_callback, (GCallback) &Widget_signal_size_allocate_callback }; static void Widget_signal_state_changed_callback(GtkWidget* self, GtkStateType p0,void* data) { using namespace Gtk; typedef sigc::slot< void,Gtk::StateType > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(((Gtk::StateType)(p0)) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_state_changed_info = { "state_changed", (GCallback) &Widget_signal_state_changed_callback, (GCallback) &Widget_signal_state_changed_callback }; static void Widget_signal_parent_changed_callback(GtkWidget* self, GtkWidget* p0,void* data) { using namespace Gtk; typedef sigc::slot< void,Widget* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_parent_changed_info = { "parent_set", (GCallback) &Widget_signal_parent_changed_callback, (GCallback) &Widget_signal_parent_changed_callback }; static void Widget_signal_hierarchy_changed_callback(GtkWidget* self, GtkWidget* p0,void* data) { using namespace Gtk; typedef sigc::slot< void,Widget* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_hierarchy_changed_info = { "hierarchy_changed", (GCallback) &Widget_signal_hierarchy_changed_callback, (GCallback) &Widget_signal_hierarchy_changed_callback }; static void Widget_signal_style_changed_callback(GtkWidget* self, GtkStyle* p0,void* data) { using namespace Gtk; typedef sigc::slot< void,const Glib::RefPtr& > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_style_changed_info = { "style_set", (GCallback) &Widget_signal_style_changed_callback, (GCallback) &Widget_signal_style_changed_callback }; static void Widget_signal_direction_changed_callback(GtkWidget* self, GtkTextDirection p0,void* data) { using namespace Gtk; typedef sigc::slot< void,TextDirection > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(((TextDirection)(p0)) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_direction_changed_info = { "direction_changed", (GCallback) &Widget_signal_direction_changed_callback, (GCallback) &Widget_signal_direction_changed_callback }; static void Widget_signal_grab_notify_callback(GtkWidget* self, gboolean p0,void* data) { using namespace Gtk; typedef sigc::slot< void,bool > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0 ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_grab_notify_info = { "grab_notify", (GCallback) &Widget_signal_grab_notify_callback, (GCallback) &Widget_signal_grab_notify_callback }; static void Widget_signal_child_notify_callback(GtkWidget* self, GParamSpec* p0,void* data) { using namespace Gtk; typedef sigc::slot< void,GParamSpec* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_child_notify_info = { "child_notify", (GCallback) &Widget_signal_child_notify_callback, (GCallback) &Widget_signal_child_notify_callback }; static gboolean Widget_signal_mnemonic_activate_callback(GtkWidget* self, gboolean p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,bool > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0 )); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_mnemonic_activate_notify_callback(GtkWidget* self, gboolean p0, void* data) { using namespace Gtk; typedef sigc::slot< void,bool > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0 ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_mnemonic_activate_info = { "mnemonic_activate", (GCallback) &Widget_signal_mnemonic_activate_callback, (GCallback) &Widget_signal_mnemonic_activate_notify_callback }; static const Glib::SignalProxyInfo Widget_signal_grab_focus_info = { "grab_focus", (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, (GCallback) &Glib::SignalProxyNormal::slot0_void_callback }; static gboolean Widget_signal_focus_callback(GtkWidget* self, GtkDirectionType p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,DirectionType > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(((DirectionType)(p0)) )); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_focus_notify_callback(GtkWidget* self, GtkDirectionType p0, void* data) { using namespace Gtk; typedef sigc::slot< void,DirectionType > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(((DirectionType)(p0)) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_focus_info = { "focus", (GCallback) &Widget_signal_focus_callback, (GCallback) &Widget_signal_focus_notify_callback }; static gboolean Widget_signal_event_callback(GtkWidget* self, GdkEvent* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEvent* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_event_notify_callback(GtkWidget* self, GdkEvent* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEvent* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_event_info = { "event", (GCallback) &Widget_signal_event_callback, (GCallback) &Widget_signal_event_notify_callback }; static void Widget_signal_event_after_callback(GtkWidget* self, GdkEvent* p0,void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEvent* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_event_after_info = { "event_after", (GCallback) &Widget_signal_event_after_callback, (GCallback) &Widget_signal_event_after_callback }; static gboolean Widget_signal_button_press_event_callback(GtkWidget* self, GdkEventButton* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventButton* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_button_press_event_notify_callback(GtkWidget* self, GdkEventButton* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventButton* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_button_press_event_info = { "button_press_event", (GCallback) &Widget_signal_button_press_event_callback, (GCallback) &Widget_signal_button_press_event_notify_callback }; static gboolean Widget_signal_button_release_event_callback(GtkWidget* self, GdkEventButton* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventButton* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_button_release_event_notify_callback(GtkWidget* self, GdkEventButton* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventButton* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_button_release_event_info = { "button_release_event", (GCallback) &Widget_signal_button_release_event_callback, (GCallback) &Widget_signal_button_release_event_notify_callback }; static gboolean Widget_signal_scroll_event_callback(GtkWidget* self, GdkEventScroll* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventScroll* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_scroll_event_notify_callback(GtkWidget* self, GdkEventScroll* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventScroll* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_scroll_event_info = { "scroll_event", (GCallback) &Widget_signal_scroll_event_callback, (GCallback) &Widget_signal_scroll_event_notify_callback }; static gboolean Widget_signal_motion_notify_event_callback(GtkWidget* self, GdkEventMotion* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventMotion* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_motion_notify_event_notify_callback(GtkWidget* self, GdkEventMotion* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventMotion* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_motion_notify_event_info = { "motion_notify_event", (GCallback) &Widget_signal_motion_notify_event_callback, (GCallback) &Widget_signal_motion_notify_event_notify_callback }; static gboolean Widget_signal_delete_event_callback(GtkWidget* self, GdkEventAny* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventAny* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_delete_event_notify_callback(GtkWidget* self, GdkEventAny* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventAny* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_delete_event_info = { "delete_event", (GCallback) &Widget_signal_delete_event_callback, (GCallback) &Widget_signal_delete_event_notify_callback }; static gboolean Widget_signal_expose_event_callback(GtkWidget* self, GdkEventExpose* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventExpose* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_expose_event_notify_callback(GtkWidget* self, GdkEventExpose* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventExpose* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_expose_event_info = { "expose_event", (GCallback) &Widget_signal_expose_event_callback, (GCallback) &Widget_signal_expose_event_notify_callback }; static gboolean Widget_signal_key_press_event_callback(GtkWidget* self, GdkEventKey* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventKey* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_key_press_event_notify_callback(GtkWidget* self, GdkEventKey* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventKey* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_key_press_event_info = { "key_press_event", (GCallback) &Widget_signal_key_press_event_callback, (GCallback) &Widget_signal_key_press_event_notify_callback }; static gboolean Widget_signal_key_release_event_callback(GtkWidget* self, GdkEventKey* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventKey* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_key_release_event_notify_callback(GtkWidget* self, GdkEventKey* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventKey* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_key_release_event_info = { "key_release_event", (GCallback) &Widget_signal_key_release_event_callback, (GCallback) &Widget_signal_key_release_event_notify_callback }; static gboolean Widget_signal_enter_notify_event_callback(GtkWidget* self, GdkEventCrossing* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventCrossing* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_enter_notify_event_notify_callback(GtkWidget* self, GdkEventCrossing* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventCrossing* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_enter_notify_event_info = { "enter_notify_event", (GCallback) &Widget_signal_enter_notify_event_callback, (GCallback) &Widget_signal_enter_notify_event_notify_callback }; static gboolean Widget_signal_leave_notify_event_callback(GtkWidget* self, GdkEventCrossing* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventCrossing* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_leave_notify_event_notify_callback(GtkWidget* self, GdkEventCrossing* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventCrossing* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_leave_notify_event_info = { "leave_notify_event", (GCallback) &Widget_signal_leave_notify_event_callback, (GCallback) &Widget_signal_leave_notify_event_notify_callback }; static gboolean Widget_signal_configure_event_callback(GtkWidget* self, GdkEventConfigure* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventConfigure* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_configure_event_notify_callback(GtkWidget* self, GdkEventConfigure* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventConfigure* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_configure_event_info = { "configure_event", (GCallback) &Widget_signal_configure_event_callback, (GCallback) &Widget_signal_configure_event_notify_callback }; static gboolean Widget_signal_focus_in_event_callback(GtkWidget* self, GdkEventFocus* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventFocus* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_focus_in_event_notify_callback(GtkWidget* self, GdkEventFocus* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventFocus* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_focus_in_event_info = { "focus_in_event", (GCallback) &Widget_signal_focus_in_event_callback, (GCallback) &Widget_signal_focus_in_event_notify_callback }; static gboolean Widget_signal_focus_out_event_callback(GtkWidget* self, GdkEventFocus* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventFocus* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_focus_out_event_notify_callback(GtkWidget* self, GdkEventFocus* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventFocus* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_focus_out_event_info = { "focus_out_event", (GCallback) &Widget_signal_focus_out_event_callback, (GCallback) &Widget_signal_focus_out_event_notify_callback }; static gboolean Widget_signal_map_event_callback(GtkWidget* self, GdkEventAny* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventAny* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_map_event_notify_callback(GtkWidget* self, GdkEventAny* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventAny* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_map_event_info = { "map_event", (GCallback) &Widget_signal_map_event_callback, (GCallback) &Widget_signal_map_event_notify_callback }; static gboolean Widget_signal_unmap_event_callback(GtkWidget* self, GdkEventAny* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventAny* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_unmap_event_notify_callback(GtkWidget* self, GdkEventAny* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventAny* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_unmap_event_info = { "unmap_event", (GCallback) &Widget_signal_unmap_event_callback, (GCallback) &Widget_signal_unmap_event_notify_callback }; static gboolean Widget_signal_property_notify_event_callback(GtkWidget* self, GdkEventProperty* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventProperty* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_property_notify_event_notify_callback(GtkWidget* self, GdkEventProperty* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventProperty* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_property_notify_event_info = { "property_notify_event", (GCallback) &Widget_signal_property_notify_event_callback, (GCallback) &Widget_signal_property_notify_event_notify_callback }; static gboolean Widget_signal_selection_clear_event_callback(GtkWidget* self, GdkEventSelection* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventSelection* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_selection_clear_event_notify_callback(GtkWidget* self, GdkEventSelection* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventSelection* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_selection_clear_event_info = { "selection_clear_event", (GCallback) &Widget_signal_selection_clear_event_callback, (GCallback) &Widget_signal_selection_clear_event_notify_callback }; static gboolean Widget_signal_selection_request_event_callback(GtkWidget* self, GdkEventSelection* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventSelection* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_selection_request_event_notify_callback(GtkWidget* self, GdkEventSelection* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventSelection* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_selection_request_event_info = { "selection_request_event", (GCallback) &Widget_signal_selection_request_event_callback, (GCallback) &Widget_signal_selection_request_event_notify_callback }; static gboolean Widget_signal_selection_notify_event_callback(GtkWidget* self, GdkEventSelection* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventSelection* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_selection_notify_event_notify_callback(GtkWidget* self, GdkEventSelection* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventSelection* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_selection_notify_event_info = { "selection_notify_event", (GCallback) &Widget_signal_selection_notify_event_callback, (GCallback) &Widget_signal_selection_notify_event_notify_callback }; static gboolean Widget_signal_proximity_in_event_callback(GtkWidget* self, GdkEventProximity* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventProximity* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_proximity_in_event_notify_callback(GtkWidget* self, GdkEventProximity* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventProximity* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_proximity_in_event_info = { "proximity_in_event", (GCallback) &Widget_signal_proximity_in_event_callback, (GCallback) &Widget_signal_proximity_in_event_notify_callback }; static gboolean Widget_signal_proximity_out_event_callback(GtkWidget* self, GdkEventProximity* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventProximity* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_proximity_out_event_notify_callback(GtkWidget* self, GdkEventProximity* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventProximity* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_proximity_out_event_info = { "proximity_out_event", (GCallback) &Widget_signal_proximity_out_event_callback, (GCallback) &Widget_signal_proximity_out_event_notify_callback }; static gboolean Widget_signal_visibility_notify_event_callback(GtkWidget* self, GdkEventVisibility* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventVisibility* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_visibility_notify_event_notify_callback(GtkWidget* self, GdkEventVisibility* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventVisibility* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_visibility_notify_event_info = { "visibility_notify_event", (GCallback) &Widget_signal_visibility_notify_event_callback, (GCallback) &Widget_signal_visibility_notify_event_notify_callback }; static gboolean Widget_signal_client_event_callback(GtkWidget* self, GdkEventClient* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventClient* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_client_event_notify_callback(GtkWidget* self, GdkEventClient* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventClient* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_client_event_info = { "client_event", (GCallback) &Widget_signal_client_event_callback, (GCallback) &Widget_signal_client_event_notify_callback }; static gboolean Widget_signal_no_expose_event_callback(GtkWidget* self, GdkEventAny* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventAny* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_no_expose_event_notify_callback(GtkWidget* self, GdkEventAny* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventAny* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_no_expose_event_info = { "no_expose_event", (GCallback) &Widget_signal_no_expose_event_callback, (GCallback) &Widget_signal_no_expose_event_notify_callback }; static gboolean Widget_signal_window_state_event_callback(GtkWidget* self, GdkEventWindowState* p0,void* data) { using namespace Gtk; typedef sigc::slot< bool,GdkEventWindowState* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_window_state_event_notify_callback(GtkWidget* self, GdkEventWindowState* p0, void* data) { using namespace Gtk; typedef sigc::slot< void,GdkEventWindowState* > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_window_state_event_info = { "window_state_event", (GCallback) &Widget_signal_window_state_event_callback, (GCallback) &Widget_signal_window_state_event_notify_callback }; static const Glib::SignalProxyInfo Widget_signal_selection_get_info = { "selection_get", (GCallback) &Widget_signal_selection_get_callback, (GCallback) &Widget_signal_selection_get_callback }; static void Widget_signal_selection_received_callback(GtkWidget* self, GtkSelectionData* p0,guint p1,void* data) { using namespace Gtk; typedef sigc::slot< void,const SelectionData&,guint > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(SelectionData_WithoutOwnership(p0) , p1); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_selection_received_info = { "selection_received", (GCallback) &Widget_signal_selection_received_callback, (GCallback) &Widget_signal_selection_received_callback }; static void Widget_signal_drag_begin_callback(GtkWidget* self, GdkDragContext* p0,void* data) { using namespace Gtk; typedef sigc::slot< void,const Glib::RefPtr& > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_drag_begin_info = { "drag_begin", (GCallback) &Widget_signal_drag_begin_callback, (GCallback) &Widget_signal_drag_begin_callback }; static void Widget_signal_drag_end_callback(GtkWidget* self, GdkDragContext* p0,void* data) { using namespace Gtk; typedef sigc::slot< void,const Glib::RefPtr& > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_drag_end_info = { "drag_end", (GCallback) &Widget_signal_drag_end_callback, (GCallback) &Widget_signal_drag_end_callback }; static const Glib::SignalProxyInfo Widget_signal_drag_data_get_info = { "drag_data_get", (GCallback) &Widget_signal_drag_data_get_callback, (GCallback) &Widget_signal_drag_data_get_callback }; static void Widget_signal_drag_data_delete_callback(GtkWidget* self, GdkDragContext* p0,void* data) { using namespace Gtk; typedef sigc::slot< void,const Glib::RefPtr& > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_drag_data_delete_info = { "drag_data_delete", (GCallback) &Widget_signal_drag_data_delete_callback, (GCallback) &Widget_signal_drag_data_delete_callback }; static void Widget_signal_drag_leave_callback(GtkWidget* self, GdkDragContext* p0,guint p1,void* data) { using namespace Gtk; typedef sigc::slot< void,const Glib::RefPtr&,guint > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) , p1); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_drag_leave_info = { "drag_leave", (GCallback) &Widget_signal_drag_leave_callback, (GCallback) &Widget_signal_drag_leave_callback }; static gboolean Widget_signal_drag_motion_callback(GtkWidget* self, GdkDragContext* p0,gint p1,gint p2,guint p3,void* data) { using namespace Gtk; typedef sigc::slot< bool,const Glib::RefPtr&,int,int,guint > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(Glib::wrap(p0, true) , p1 , p2 , p3)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_drag_motion_notify_callback(GtkWidget* self, GdkDragContext* p0,gint p1,gint p2,guint p3, void* data) { using namespace Gtk; typedef sigc::slot< void,const Glib::RefPtr&,int,int,guint > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) , p1 , p2 , p3); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_drag_motion_info = { "drag_motion", (GCallback) &Widget_signal_drag_motion_callback, (GCallback) &Widget_signal_drag_motion_notify_callback }; static gboolean Widget_signal_drag_drop_callback(GtkWidget* self, GdkDragContext* p0,gint p1,gint p2,guint p3,void* data) { using namespace Gtk; typedef sigc::slot< bool,const Glib::RefPtr&,int,int,guint > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(Glib::wrap(p0, true) , p1 , p2 , p3)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_drag_drop_notify_callback(GtkWidget* self, GdkDragContext* p0,gint p1,gint p2,guint p3, void* data) { using namespace Gtk; typedef sigc::slot< void,const Glib::RefPtr&,int,int,guint > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) , p1 , p2 , p3); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_drag_drop_info = { "drag_drop", (GCallback) &Widget_signal_drag_drop_callback, (GCallback) &Widget_signal_drag_drop_notify_callback }; static void Widget_signal_drag_data_received_callback(GtkWidget* self, GdkDragContext* p0,gint p1,gint p2,GtkSelectionData* p3,guint p4,guint p5,void* data) { using namespace Gtk; typedef sigc::slot< void,const Glib::RefPtr&,int,int,const SelectionData&,guint,guint > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) , p1 , p2 , SelectionData_WithoutOwnership(p3) , p4, p5); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_drag_data_received_info = { "drag_data_received", (GCallback) &Widget_signal_drag_data_received_callback, (GCallback) &Widget_signal_drag_data_received_callback }; #ifdef GTKMM_ATKMM_ENABLED static AtkObject* Widget_signal_get_accessible_callback(GtkWidget* self, void* data) { using namespace Gtk; typedef sigc::slot< Glib::RefPtr > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return Glib::unwrap((*static_cast(slot))()); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef AtkObject* RType; return RType(); } static AtkObject* Widget_signal_get_accessible_notify_callback(GtkWidget* self, void* data) { using namespace Gtk; typedef sigc::slot< void > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef AtkObject* RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_get_accessible_info = { "get_accessible", (GCallback) &Widget_signal_get_accessible_callback, (GCallback) &Widget_signal_get_accessible_notify_callback }; #endif // GTKMM_ATKMM_ENABLED static void Widget_signal_screen_changed_callback(GtkWidget* self, GdkScreen* p0,void* data) { using namespace Gtk; typedef sigc::slot< void,const Glib::RefPtr& > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo Widget_signal_screen_changed_info = { "screen_changed", (GCallback) &Widget_signal_screen_changed_callback, (GCallback) &Widget_signal_screen_changed_callback }; static const Glib::SignalProxyInfo Widget_signal_composited_changed_info = { "composited_changed", (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, (GCallback) &Glib::SignalProxyNormal::slot0_void_callback }; static gboolean Widget_signal_query_tooltip_callback(GtkWidget* self, gint p0,gint p1,gboolean p2,GtkTooltip* p3,void* data) { using namespace Gtk; typedef sigc::slot< bool,int,int,bool,const Glib::RefPtr& > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(p0 , p1 , p2 , Glib::wrap(p3, true) )); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static gboolean Widget_signal_query_tooltip_notify_callback(GtkWidget* self, gint p0,gint p1,gboolean p2,GtkTooltip* p3, void* data) { using namespace Gtk; typedef sigc::slot< void,int,int,bool,const Glib::RefPtr& > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(p0 , p1 , p2 , Glib::wrap(p3, true) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } typedef gboolean RType; return RType(); } static const Glib::SignalProxyInfo Widget_signal_query_tooltip_info = { "query_tooltip", (GCallback) &Widget_signal_query_tooltip_callback, (GCallback) &Widget_signal_query_tooltip_notify_callback }; } // anonymous namespace // static GType Glib::Value::value_type() { return gtk_dest_defaults_get_type(); } // static GType Glib::Value::value_type() { return gtk_widget_flags_get_type(); } // static GType Glib::Value::value_type() { return gtk_widget_help_type_get_type(); } namespace Glib { Gtk::Widget* wrap(GtkWidget* object, bool take_copy) { return dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)); } } /* namespace Glib */ namespace Gtk { /* The *_Class implementation: */ const Glib::Class& Widget_Class::init() { if(!gtype_) // create the GType if necessary { // Glib::Class has to know the class init function to clone custom types. class_init_func_ = &Widget_Class::class_init_function; // This is actually just optimized away, apparently with no harm. // Make sure that the parent type has been created. //CppClassParent::CppObjectType::get_type(); // Create the wrapper type, with the same class/instance size as the base type. register_derived_type(gtk_widget_get_type()); // Add derived versions of interfaces, if the C type implements any interfaces: #ifdef GTKMM_ATKMM_ENABLED Atk::Implementor::add_interface(get_type()); #endif // GTKMM_ATKMM_ENABLED } return *this; } void Widget_Class::class_init_function(void* g_class, void* class_data) { BaseClassType *const klass = static_cast(g_class); CppClassParent::class_init_function(klass, class_data); #ifdef GLIBMM_VFUNCS_ENABLED #endif //GLIBMM_VFUNCS_ENABLED //We always need dispose_vfunc_callback reinterpret_cast(klass)->dispose = &dispose_vfunc_callback; #ifdef GLIBMM_VFUNCS_ENABLED klass->dispatch_child_properties_changed = &dispatch_child_properties_changed_vfunc_callback; klass->show_all = &show_all_vfunc_callback; klass->hide_all = &hide_all_vfunc_callback; #ifdef GTKMM_ATKMM_ENABLED klass->get_accessible = &get_accessible_vfunc_callback; #endif // GTKMM_ATKMM_ENABLED #endif //GLIBMM_VFUNCS_ENABLED #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED klass->show = &show_callback; klass->hide = &hide_callback; klass->map = &map_callback; klass->unmap = &unmap_callback; klass->realize = &realize_callback; klass->unrealize = &unrealize_callback; klass->size_request = &size_request_callback; klass->size_allocate = &size_allocate_callback; klass->state_changed = &state_changed_callback; klass->parent_set = &parent_set_callback; klass->hierarchy_changed = &hierarchy_changed_callback; klass->style_set = &style_set_callback; klass->direction_changed = &direction_changed_callback; klass->grab_notify = &grab_notify_callback; klass->child_notify = &child_notify_callback; klass->mnemonic_activate = &mnemonic_activate_callback; klass->grab_focus = &grab_focus_callback; klass->focus = &focus_callback; klass->event = &event_callback; klass->button_press_event = &button_press_event_callback; klass->button_release_event = &button_release_event_callback; klass->scroll_event = &scroll_event_callback; klass->motion_notify_event = &motion_notify_event_callback; klass->delete_event = &delete_event_callback; klass->expose_event = &expose_event_callback; klass->key_press_event = &key_press_event_callback; klass->key_release_event = &key_release_event_callback; klass->enter_notify_event = &enter_notify_event_callback; klass->leave_notify_event = &leave_notify_event_callback; klass->configure_event = &configure_event_callback; klass->focus_in_event = &focus_in_event_callback; klass->focus_out_event = &focus_out_event_callback; klass->map_event = &map_event_callback; klass->unmap_event = &unmap_event_callback; klass->property_notify_event = &property_notify_event_callback; klass->selection_clear_event = &selection_clear_event_callback; klass->selection_request_event = &selection_request_event_callback; klass->selection_notify_event = &selection_notify_event_callback; klass->proximity_in_event = &proximity_in_event_callback; klass->proximity_out_event = &proximity_out_event_callback; klass->visibility_notify_event = &visibility_notify_event_callback; klass->client_event = &client_event_callback; klass->no_expose_event = &no_expose_event_callback; klass->window_state_event = &window_state_event_callback; klass->selection_get = &selection_get_callback; klass->selection_received = &selection_received_callback; klass->drag_begin = &drag_begin_callback; klass->drag_end = &drag_end_callback; klass->drag_data_get = &drag_data_get_callback; klass->drag_data_delete = &drag_data_delete_callback; klass->drag_leave = &drag_leave_callback; klass->drag_motion = &drag_motion_callback; klass->drag_drop = &drag_drop_callback; klass->drag_data_received = &drag_data_received_callback; #ifdef GTKMM_ATKMM_ENABLED klass->get_accessible = &get_accessible_callback; #endif // GTKMM_ATKMM_ENABLED klass->screen_changed = &screen_changed_callback; klass->hierarchy_changed = &hierarchy_changed_callback_custom; klass->parent_set = &parent_set_callback_custom; #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED } #ifdef GLIBMM_VFUNCS_ENABLED void Widget_Class::dispatch_child_properties_changed_vfunc_callback(GtkWidget* self, guint n_pspecs, GParamSpec** pspecs) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->dispatch_child_properties_changed_vfunc(n_pspecs, pspecs); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->dispatch_child_properties_changed) (*base->dispatch_child_properties_changed)(self, n_pspecs, pspecs); } void Widget_Class::show_all_vfunc_callback(GtkWidget* self) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->show_all_vfunc(); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->show_all) (*base->show_all)(self); } void Widget_Class::hide_all_vfunc_callback(GtkWidget* self) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->hide_all_vfunc(); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->hide_all) (*base->hide_all)(self); } #ifdef GTKMM_ATKMM_ENABLED AtkObject* Widget_Class::get_accessible_vfunc_callback(GtkWidget* self) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return Glib::unwrap(obj->get_accessible_vfunc()); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->get_accessible) return (*base->get_accessible)(self); typedef AtkObject* RType; return RType(); } #endif // GTKMM_ATKMM_ENABLED #endif //GLIBMM_VFUNCS_ENABLED #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED void Widget_Class::show_callback(GtkWidget* self) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_show(); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->show) (*base->show)(self); } void Widget_Class::hide_callback(GtkWidget* self) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_hide(); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->hide) (*base->hide)(self); } void Widget_Class::map_callback(GtkWidget* self) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_map(); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->map) (*base->map)(self); } void Widget_Class::unmap_callback(GtkWidget* self) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_unmap(); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->unmap) (*base->unmap)(self); } void Widget_Class::realize_callback(GtkWidget* self) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_realize(); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->realize) (*base->realize)(self); } void Widget_Class::unrealize_callback(GtkWidget* self) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_unrealize(); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->unrealize) (*base->unrealize)(self); } void Widget_Class::size_request_callback(GtkWidget* self, GtkRequisition* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_size_request((Requisition*)(p0) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->size_request) (*base->size_request)(self, p0); } void Widget_Class::size_allocate_callback(GtkWidget* self, GtkAllocation* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_size_allocate((Allocation&)(Glib::wrap(p0)) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->size_allocate) (*base->size_allocate)(self, p0); } void Widget_Class::state_changed_callback(GtkWidget* self, GtkStateType p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_state_changed(((Gtk::StateType)(p0)) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->state_changed) (*base->state_changed)(self, p0); } void Widget_Class::parent_set_callback(GtkWidget* self, GtkWidget* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_parent_changed(Glib::wrap(p0) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->parent_set) (*base->parent_set)(self, p0); } void Widget_Class::hierarchy_changed_callback(GtkWidget* self, GtkWidget* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_hierarchy_changed(Glib::wrap(p0) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->hierarchy_changed) (*base->hierarchy_changed)(self, p0); } void Widget_Class::style_set_callback(GtkWidget* self, GtkStyle* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_style_changed(Glib::wrap(p0, true) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->style_set) (*base->style_set)(self, p0); } void Widget_Class::direction_changed_callback(GtkWidget* self, GtkTextDirection p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_direction_changed(((TextDirection)(p0)) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->direction_changed) (*base->direction_changed)(self, p0); } void Widget_Class::grab_notify_callback(GtkWidget* self, gboolean p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_grab_notify(p0 ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->grab_notify) (*base->grab_notify)(self, p0); } void Widget_Class::child_notify_callback(GtkWidget* self, GParamSpec* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_child_notify(p0); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->child_notify) (*base->child_notify)(self, p0); } gboolean Widget_Class::mnemonic_activate_callback(GtkWidget* self, gboolean p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_mnemonic_activate(p0 )); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->mnemonic_activate) return (*base->mnemonic_activate)(self, p0); typedef gboolean RType; return RType(); } void Widget_Class::grab_focus_callback(GtkWidget* self) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_grab_focus(); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->grab_focus) (*base->grab_focus)(self); } gboolean Widget_Class::focus_callback(GtkWidget* self, GtkDirectionType p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_focus(((DirectionType)(p0)) )); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->focus) return (*base->focus)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::event_callback(GtkWidget* self, GdkEvent* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->event) return (*base->event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::button_press_event_callback(GtkWidget* self, GdkEventButton* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_button_press_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->button_press_event) return (*base->button_press_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::button_release_event_callback(GtkWidget* self, GdkEventButton* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_button_release_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->button_release_event) return (*base->button_release_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::scroll_event_callback(GtkWidget* self, GdkEventScroll* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_scroll_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->scroll_event) return (*base->scroll_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::motion_notify_event_callback(GtkWidget* self, GdkEventMotion* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_motion_notify_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->motion_notify_event) return (*base->motion_notify_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::delete_event_callback(GtkWidget* self, GdkEventAny* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_delete_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->delete_event) return (*base->delete_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::expose_event_callback(GtkWidget* self, GdkEventExpose* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_expose_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->expose_event) return (*base->expose_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::key_press_event_callback(GtkWidget* self, GdkEventKey* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_key_press_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->key_press_event) return (*base->key_press_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::key_release_event_callback(GtkWidget* self, GdkEventKey* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_key_release_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->key_release_event) return (*base->key_release_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::enter_notify_event_callback(GtkWidget* self, GdkEventCrossing* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_enter_notify_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->enter_notify_event) return (*base->enter_notify_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::leave_notify_event_callback(GtkWidget* self, GdkEventCrossing* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_leave_notify_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->leave_notify_event) return (*base->leave_notify_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::configure_event_callback(GtkWidget* self, GdkEventConfigure* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_configure_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->configure_event) return (*base->configure_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::focus_in_event_callback(GtkWidget* self, GdkEventFocus* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_focus_in_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->focus_in_event) return (*base->focus_in_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::focus_out_event_callback(GtkWidget* self, GdkEventFocus* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_focus_out_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->focus_out_event) return (*base->focus_out_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::map_event_callback(GtkWidget* self, GdkEventAny* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_map_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->map_event) return (*base->map_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::unmap_event_callback(GtkWidget* self, GdkEventAny* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_unmap_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->unmap_event) return (*base->unmap_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::property_notify_event_callback(GtkWidget* self, GdkEventProperty* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_property_notify_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->property_notify_event) return (*base->property_notify_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::selection_clear_event_callback(GtkWidget* self, GdkEventSelection* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_selection_clear_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->selection_clear_event) return (*base->selection_clear_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::selection_request_event_callback(GtkWidget* self, GdkEventSelection* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_selection_request_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->selection_request_event) return (*base->selection_request_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::selection_notify_event_callback(GtkWidget* self, GdkEventSelection* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_selection_notify_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->selection_notify_event) return (*base->selection_notify_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::proximity_in_event_callback(GtkWidget* self, GdkEventProximity* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_proximity_in_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->proximity_in_event) return (*base->proximity_in_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::proximity_out_event_callback(GtkWidget* self, GdkEventProximity* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_proximity_out_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->proximity_out_event) return (*base->proximity_out_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::visibility_notify_event_callback(GtkWidget* self, GdkEventVisibility* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_visibility_notify_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->visibility_notify_event) return (*base->visibility_notify_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::client_event_callback(GtkWidget* self, GdkEventClient* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_client_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->client_event) return (*base->client_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::no_expose_event_callback(GtkWidget* self, GdkEventAny* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_no_expose_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->no_expose_event) return (*base->no_expose_event)(self, p0); typedef gboolean RType; return RType(); } gboolean Widget_Class::window_state_event_callback(GtkWidget* self, GdkEventWindowState* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_window_state_event(p0)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->window_state_event) return (*base->window_state_event)(self, p0); typedef gboolean RType; return RType(); } void Widget_Class::selection_received_callback(GtkWidget* self, GtkSelectionData* p0, guint p1) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_selection_received(SelectionData_WithoutOwnership(p0) , p1); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->selection_received) (*base->selection_received)(self, p0, p1); } void Widget_Class::drag_begin_callback(GtkWidget* self, GdkDragContext* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_drag_begin(Glib::wrap(p0, true) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->drag_begin) (*base->drag_begin)(self, p0); } void Widget_Class::drag_end_callback(GtkWidget* self, GdkDragContext* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_drag_end(Glib::wrap(p0, true) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->drag_end) (*base->drag_end)(self, p0); } void Widget_Class::drag_data_delete_callback(GtkWidget* self, GdkDragContext* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_drag_data_delete(Glib::wrap(p0, true) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->drag_data_delete) (*base->drag_data_delete)(self, p0); } void Widget_Class::drag_leave_callback(GtkWidget* self, GdkDragContext* p0, guint p1) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_drag_leave(Glib::wrap(p0, true) , p1); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->drag_leave) (*base->drag_leave)(self, p0, p1); } gboolean Widget_Class::drag_motion_callback(GtkWidget* self, GdkDragContext* p0, gint p1, gint p2, guint p3) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_drag_motion(Glib::wrap(p0, true) , p1 , p2 , p3)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->drag_motion) return (*base->drag_motion)(self, p0, p1, p2, p3); typedef gboolean RType; return RType(); } gboolean Widget_Class::drag_drop_callback(GtkWidget* self, GdkDragContext* p0, gint p1, gint p2, guint p3) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return static_cast(obj->on_drag_drop(Glib::wrap(p0, true) , p1 , p2 , p3)); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->drag_drop) return (*base->drag_drop)(self, p0, p1, p2, p3); typedef gboolean RType; return RType(); } void Widget_Class::drag_data_received_callback(GtkWidget* self, GdkDragContext* p0, gint p1, gint p2, GtkSelectionData* p3, guint p4, guint p5) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_drag_data_received(Glib::wrap(p0, true) , p1 , p2 , SelectionData_WithoutOwnership(p3) , p4, p5); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->drag_data_received) (*base->drag_data_received)(self, p0, p1, p2, p3, p4, p5); } #ifdef GTKMM_ATKMM_ENABLED AtkObject* Widget_Class::get_accessible_callback(GtkWidget* self) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. return Glib::unwrap(obj->on_get_accessible()); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->get_accessible) return (*base->get_accessible)(self); typedef AtkObject* RType; return RType(); } #endif // GTKMM_ATKMM_ENABLED void Widget_Class::screen_changed_callback(GtkWidget* self, GdkScreen* p0) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_screen_changed(Glib::wrap(p0, true) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->screen_changed) (*base->screen_changed)(self, p0); } #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED Glib::ObjectBase* Widget_Class::wrap_new(GObject* o) { return manage(new Widget((GtkWidget*)(o))); } /* The implementation: */ Widget::Widget(const Glib::ConstructParams& construct_params) : Gtk::Object(construct_params) { } Widget::Widget(GtkWidget* castitem) : Gtk::Object((GtkObject*)(castitem)) { } Widget::CppClassType Widget::widget_class_; // initialize static member GType Widget::get_type() { return widget_class_.init().get_type(); } GType Widget::get_base_type() { return gtk_widget_get_type(); } bool Widget::set_scroll_adjustments(Adjustment& hadjustment, Adjustment& vadjustment) { return gtk_widget_set_scroll_adjustments(gobj(), (hadjustment).gobj(), (vadjustment).gobj()); } void Widget::show() { gtk_widget_show(gobj()); } void Widget::show_now() { gtk_widget_show_now(gobj()); } void Widget::hide() { gtk_widget_hide(gobj()); } void Widget::show_all() { gtk_widget_show_all(gobj()); } void Widget::hide_all() { gtk_widget_hide_all(gobj()); } void Widget::queue_draw() { gtk_widget_queue_draw(gobj()); } void Widget::queue_draw_area(int x, int y, int width, int height) { gtk_widget_queue_draw_area(gobj(), x, y, width, height); } void Widget::queue_resize() { gtk_widget_queue_resize(gobj()); } #ifndef GTKMM_DISABLE_DEPRECATED void Widget::size_request(const Requisition& requisition) { gtk_widget_size_request(gobj(), (GtkRequisition*)(&requisition)); } #endif // GTKMM_DISABLE_DEPRECATED void Widget::size_allocate(const Allocation& allocation) { gtk_widget_size_allocate(gobj(), (GtkAllocation*)(allocation.gobj())); } void Widget::add_accelerator(const Glib::ustring& accel_signal, const Glib::RefPtr& accel_group, guint accel_key, Gdk::ModifierType accel_mods, AccelFlags accel_flags) { gtk_widget_add_accelerator(gobj(), accel_signal.c_str(), Glib::unwrap(accel_group), accel_key, ((GdkModifierType)(accel_mods)), ((GtkAccelFlags)(accel_flags))); } bool Widget::remove_accelerator(const Glib::RefPtr& accel_group, guint accel_key, Gdk::ModifierType accel_mods) { return gtk_widget_remove_accelerator(gobj(), Glib::unwrap(accel_group), accel_key, ((GdkModifierType)(accel_mods))); } void Widget::set_accel_path(const Glib::ustring& accel_path, const Glib::RefPtr& accel_group) { gtk_widget_set_accel_path(gobj(), accel_path.c_str(), Glib::unwrap(accel_group)); } bool Widget::mnemonic_activate(bool group_cycling) { return gtk_widget_mnemonic_activate(gobj(), static_cast(group_cycling)); } bool Widget::event(GdkEvent* event) { return gtk_widget_event(gobj(), event); } int Widget::send_expose(GdkEvent* event) { return gtk_widget_send_expose(gobj(), event); } bool Widget::activate() { return gtk_widget_activate(gobj()); } void Widget::reparent(Widget & new_parent) { gtk_widget_reparent(gobj(), (new_parent).gobj()); } bool Widget::intersect(const Gdk::Rectangle& area, Gdk::Rectangle& intersection) const { return gtk_widget_intersect(const_cast(gobj()), const_cast(area.gobj()), (intersection).gobj()); } Gdk::Region Widget::region_intersect(const Gdk::Region& region) const { return Gdk::Region(gtk_widget_region_intersect(const_cast(gobj()), const_cast((region).gobj()))); } void Widget::freeze_child_notify() { gtk_widget_freeze_child_notify(gobj()); } void Widget::child_notify(const Glib::ustring& child_property) { gtk_widget_child_notify(gobj(), child_property.c_str()); } void Widget::thaw_child_notify() { gtk_widget_thaw_child_notify(gobj()); } bool Widget::is_focus() const { return gtk_widget_is_focus(const_cast(gobj())); } void Widget::grab_focus() { gtk_widget_grab_focus(gobj()); } void Widget::grab_default() { gtk_widget_grab_default(gobj()); } void Widget::set_name(const Glib::ustring& name) { gtk_widget_set_name(gobj(), name.c_str()); } Glib::ustring Widget::get_name() const { return Glib::convert_const_gchar_ptr_to_ustring(gtk_widget_get_name(const_cast(gobj()))); } void Widget::set_state(Gtk::StateType state) { gtk_widget_set_state(gobj(), ((GtkStateType)(state))); } void Widget::set_sensitive(bool sensitive) { gtk_widget_set_sensitive(gobj(), static_cast(sensitive)); } void Widget::set_app_paintable(bool app_paintable) { gtk_widget_set_app_paintable(gobj(), static_cast(app_paintable)); } void Widget::set_double_buffered(bool double_buffered) { gtk_widget_set_double_buffered(gobj(), static_cast(double_buffered)); } void Widget::set_redraw_on_allocate(bool redraw_on_allocate) { gtk_widget_set_redraw_on_allocate(gobj(), static_cast(redraw_on_allocate)); } void Widget::set_child_visible(bool is_visible) { gtk_widget_set_child_visible(gobj(), static_cast(is_visible)); } bool Widget::get_child_visible() const { return gtk_widget_get_child_visible(const_cast(gobj())); } Container* Widget::get_parent() { return Glib::wrap((GtkContainer*)(gtk_widget_get_parent(gobj()))); } const Container* Widget::get_parent() const { return const_cast(this)->get_parent(); } Glib::RefPtr Widget::get_parent_window() { Glib::RefPtr retvalue = Glib::wrap((GdkWindowObject*)(gtk_widget_get_parent_window(gobj()))); if(retvalue) retvalue->reference(); //The function does not do a ref for us. return retvalue; } Glib::RefPtr Widget::get_parent_window() const { return const_cast(this)->get_parent_window(); } void Widget::set_parent_window(const Glib::RefPtr& parent_window) { gtk_widget_set_parent_window(gobj(), const_cast(Glib::unwrap(parent_window))); } bool Widget::child_focus(DirectionType direction) { return gtk_widget_child_focus(gobj(), ((GtkDirectionType)(direction))); } bool Widget::keynav_failed(DirectionType direction) { return gtk_widget_keynav_failed(gobj(), ((GtkDirectionType)(direction))); } void Widget::error_bell() { gtk_widget_error_bell(gobj()); } void Widget::set_size_request(int width, int height) { gtk_widget_set_size_request(gobj(), width, height); } void Widget::get_size_request(int& width, int& height) const { gtk_widget_get_size_request(const_cast(gobj()), &width, &height); } void Widget::set_events(Gdk::EventMask events) { gtk_widget_set_events(gobj(), events); } void Widget::add_events(Gdk::EventMask events) { gtk_widget_add_events(gobj(), events); } void Widget::set_extension_events(Gdk::ExtensionMode mode) { gtk_widget_set_extension_events(gobj(), ((GdkExtensionMode)(mode))); } Gdk::ExtensionMode Widget::get_extension_events() const { return ((Gdk::ExtensionMode)(gtk_widget_get_extension_events(const_cast(gobj())))); } Container* Widget::get_toplevel() { return Glib::wrap((GtkContainer*)(gtk_widget_get_toplevel(gobj()))); } const Container* Widget::get_toplevel() const { return const_cast(this)->get_toplevel(); } Widget* Widget::get_ancestor(GType widget_type) { return Glib::wrap(gtk_widget_get_ancestor(gobj(), widget_type)); } const Widget* Widget::get_ancestor(GType widget_type) const { return const_cast(this)->get_ancestor(widget_type); } Glib::RefPtr Widget::get_colormap() { Glib::RefPtr retvalue = Glib::wrap(gtk_widget_get_colormap(gobj())); if(retvalue) retvalue->reference(); //The function does not do a ref for us. return retvalue; } Glib::RefPtr Widget::get_visual() { Glib::RefPtr retvalue = Glib::wrap(gtk_widget_get_visual(gobj())); if(retvalue) retvalue->reference(); //The function does not do a ref for us. return retvalue; } Glib::RefPtr Widget::get_screen() { Glib::RefPtr retvalue = Glib::wrap(gtk_widget_get_screen(gobj())); if(retvalue) retvalue->reference(); //The function does not do a ref for us. return retvalue; } Glib::RefPtr Widget::get_screen() const { return const_cast(this)->get_screen(); } bool Widget::has_screen() const { return gtk_widget_has_screen(const_cast(gobj())); } Glib::RefPtr Widget::get_display() { Glib::RefPtr retvalue = Glib::wrap(gtk_widget_get_display(gobj())); if(retvalue) retvalue->reference(); //The function does not do a ref for us. return retvalue; } Glib::RefPtr Widget::get_display() const { return const_cast(this)->get_display(); } Glib::RefPtr Widget::get_root_window() { Glib::RefPtr retvalue = Glib::wrap((GdkWindowObject*)(gtk_widget_get_root_window(gobj()))); if(retvalue) retvalue->reference(); //The function does not do a ref for us. return retvalue; } Glib::RefPtr Widget::get_root_window() const { return const_cast(this)->get_root_window(); } Glib::RefPtr Widget::get_settings() { Glib::RefPtr retvalue = Glib::wrap(gtk_widget_get_settings(gobj())); if(retvalue) retvalue->reference(); //The function does not do a ref for us. return retvalue; } Glib::RefPtr Widget::get_clipboard(const Glib::ustring& selection) { Glib::RefPtr retvalue = Glib::wrap(gtk_widget_get_clipboard(gobj(), Gdk::AtomString::to_c_type(selection))); if(retvalue) retvalue->reference(); //The function does not do a ref for us. return retvalue; } Glib::RefPtr Widget::get_clipboard(const Glib::ustring& selection) const { return const_cast(this)->get_clipboard(selection); } #ifdef GTKMM_ATKMM_ENABLED Glib::RefPtr Widget::get_accessible() { Glib::RefPtr retvalue = Glib::wrap(gtk_widget_get_accessible(gobj())); if(retvalue) retvalue->reference(); //The function does not do a ref for us. return retvalue; } #endif // GTKMM_ATKMM_ENABLED void Widget::set_colormap(const Glib::RefPtr & colormap) { gtk_widget_set_colormap(gobj(), const_cast(Glib::unwrap(colormap))); } Gdk::EventMask Widget::get_events() const { return static_cast(gtk_widget_get_events(const_cast(gobj()))); } void Widget::get_pointer(int & x, int & y) const { gtk_widget_get_pointer(const_cast(gobj()), &x, &y); } bool Widget::is_ancestor(Widget & ancestor) const { return gtk_widget_is_ancestor(const_cast(gobj()), (ancestor).gobj()); } bool Widget::translate_coordinates(Widget& dest_widget, int src_x, int src_y, int& dest_x, int& dest_y) { return gtk_widget_translate_coordinates(gobj(), (dest_widget).gobj(), src_x, src_y, &dest_x, &dest_y); } void Widget::set_style(const Glib::RefPtr