// Generated by gmmproc 2.68.1 -- DO NOT MODIFY!


#include <glibmm.h>

#include <atkmm/object.h>
#include <atkmm/private/object_p.h>

#include <atk/atk-enum-types.h>

// -*- c++ -*-
/* $Id: object.ccg,v 1.1 2003/01/21 13:37:06 murrayc Exp $ */

/* 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 Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <atkmm/noopobject.h>
#include <atkmm/relation.h>
#include <atkmm/relationset.h>
#include <atkmm/stateset.h>
#include <atk/atkobject.h>


namespace Atk
{

/* AtkObject is actually an abstract base class.  So if this wrap_new()
 * function is called, it means that no wrapper exists for the real C object.
 * The problem is that gail (the real accessibility implementation) is
 * currently not wrapped and will probably never be.  Therefore, code like
 * in the following example is doomed to fail:
 *
 * Gtk::Image image ("icon.png");
 * auto accessible = Glib::RefPtr<Atk::Image>::cast_dynamic(image.get_accessible());
 * accessible->set_image_description("my icon");
 *
 * This would segfault, even though the accessible object _does_ implement
 * AtkImage.  But Atk::Image is an interface class that can't be instantiated
 * as is.  It needs an object.
 *
 * The solution is to instantiate a dummy object that implements all of the
 * ATK interfaces.  Fortunately, ATK already provides us with such a thing,
 * AtkNoOpObject.  All widget accessible objects are of this type if the gail
 * module is not loaded (which is the default).
 *
 * So what we do here is abusing Atk::NoOpObject to get around the lack of
 * C++ wrappers for gail.  Instead of instantiating a useless instance of an
 * abstract base class, we just create a Atk::NoOpObject instance which can
 * be casted to any of the Atk interface classes.
 */
Glib::ObjectBase* Object_Class::wrap_new(GObject* object)
{
  return new Atk::NoOpObject((AtkNoOpObject*) object);
}

} // namespace Atk


namespace
{


static void Object_signal_children_changed_callback(AtkObject* self, guint p0,gpointer p1,void* data)
{
  using namespace Atk;
  using SlotType = sigc::slot<void(guint, gpointer)>;

  auto obj = dynamic_cast<Object*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
  // Do not try to call a signal on a disassociated wrapper.
  if(obj)
  {
    try
    {
      if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0, p1);
    }
    catch(...)
    {
       Glib::exception_handlers_invoke();
    }
  }
}

static const Glib::SignalProxyInfo Object_signal_children_changed_info =
{
  "children_changed",
  (GCallback) &Object_signal_children_changed_callback,
  (GCallback) &Object_signal_children_changed_callback
};


static void Object_signal_focus_event_callback(AtkObject* self, gboolean p0,void* data)
{
  using namespace Atk;
  using SlotType = sigc::slot<void(bool)>;

  auto obj = dynamic_cast<Object*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
  // Do not try to call a signal on a disassociated wrapper.
  if(obj)
  {
    try
    {
      if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    }
    catch(...)
    {
       Glib::exception_handlers_invoke();
    }
  }
}

static const Glib::SignalProxyInfo Object_signal_focus_event_info =
{
  "focus_event",
  (GCallback) &Object_signal_focus_event_callback,
  (GCallback) &Object_signal_focus_event_callback
};


static void Object_signal_property_change_callback(AtkObject* self, AtkPropertyValues* p0,void* data)
{
  using namespace Atk;
  using SlotType = sigc::slot<void(AtkPropertyValues*)>;

  auto obj = dynamic_cast<Object*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
  // Do not try to call a signal on a disassociated wrapper.
  if(obj)
  {
    try
    {
      if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0);
    }
    catch(...)
    {
       Glib::exception_handlers_invoke();
    }
  }
}

static const Glib::SignalProxyInfo Object_signal_property_change_info =
{
  "property_change",
  (GCallback) &Object_signal_property_change_callback,
  (GCallback) &Object_signal_property_change_callback
};


static void Object_signal_state_change_callback(AtkObject* self, const gchar* p0,gboolean p1,void* data)
{
  using namespace Atk;
  using SlotType = sigc::slot<void(const Glib::ustring&, bool)>;

  auto obj = dynamic_cast<Object*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
  // Do not try to call a signal on a disassociated wrapper.
  if(obj)
  {
    try
    {
      if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(Glib::convert_const_gchar_ptr_to_ustring(p0)
, p1
);
    }
    catch(...)
    {
       Glib::exception_handlers_invoke();
    }
  }
}

static const Glib::SignalProxyInfo Object_signal_state_change_info =
{
  "state_change",
  (GCallback) &Object_signal_state_change_callback,
  (GCallback) &Object_signal_state_change_callback
};


static const Glib::SignalProxyInfo Object_signal_visible_data_changed_info =
{
  "visible_data_changed",
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
};


static void Object_signal_active_descendant_changed_callback(AtkObject* self, gpointer* p0,void* data)
{
  using namespace Atk;
  using SlotType = sigc::slot<void(void**)>;

  auto obj = dynamic_cast<Object*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
  // Do not try to call a signal on a disassociated wrapper.
  if(obj)
  {
    try
    {
      if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    }
    catch(...)
    {
       Glib::exception_handlers_invoke();
    }
  }
}

static const Glib::SignalProxyInfo Object_signal_active_descendant_changed_info =
{
  "active_descendant_changed",
  (GCallback) &Object_signal_active_descendant_changed_callback,
  (GCallback) &Object_signal_active_descendant_changed_callback
};


} // anonymous namespace

// static
GType Glib::Value<Atk::Role>::value_type()
{
  return atk_role_get_type();
}


namespace Glib
{

Glib::RefPtr<Atk::Object> wrap(AtkObject* object, bool take_copy)
{
  return Glib::make_refptr_for_instance<Atk::Object>( dynamic_cast<Atk::Object*> (Glib::wrap_auto ((GObject*)(object), take_copy)) );
  //We use dynamic_cast<> in case of multiple inheritance.
}

} /* namespace Glib */


namespace Atk
{


/* The *_Class implementation: */

const Glib::Class& Object_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_ = &Object_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(atk_object_get_type());

    // Add derived versions of interfaces, if the C type implements any interfaces:

  }

  return *this;
}


void Object_Class::class_init_function(void* g_class, void* class_data)
{
  const auto klass = static_cast<BaseClassType*>(g_class);
  CppClassParent::class_init_function(klass, class_data);


  klass->children_changed = &children_changed_callback;
  klass->focus_event = &focus_event_callback;
  klass->property_change = &property_change_callback;
  klass->state_change = &state_change_callback;
  klass->visible_data_changed = &visible_data_changed_callback;
  klass->active_descendant_changed = &active_descendant_changed_callback;
}


void Object_Class::children_changed_callback(AtkObject* self, guint p0, gpointer p1)
{
  const auto obj_base = static_cast<Glib::ObjectBase*>(
      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_())
  {
    const auto obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
        // Call the virtual member method, which derived classes might override.
        obj->on_children_changed(p0, p1);
        return;
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
    }
  }

  const auto base = static_cast<BaseClassType*>(
        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->children_changed)
    (*base->children_changed)(self, p0, p1);
}
void Object_Class::focus_event_callback(AtkObject* self, gboolean p0)
{
  const auto obj_base = static_cast<Glib::ObjectBase*>(
      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_())
  {
    const auto obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
        // Call the virtual member method, which derived classes might override.
        obj->on_focus_event(p0
);
        return;
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
    }
  }

  const auto base = static_cast<BaseClassType*>(
        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_event)
    (*base->focus_event)(self, p0);
}
void Object_Class::property_change_callback(AtkObject* self, AtkPropertyValues* p0)
{
  const auto obj_base = static_cast<Glib::ObjectBase*>(
      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_())
  {
    const auto obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
        // Call the virtual member method, which derived classes might override.
        obj->on_property_change(p0);
        return;
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
    }
  }

  const auto base = static_cast<BaseClassType*>(
        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_change)
    (*base->property_change)(self, p0);
}
void Object_Class::state_change_callback(AtkObject* self, const gchar* p0, gboolean p1)
{
  const auto obj_base = static_cast<Glib::ObjectBase*>(
      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_())
  {
    const auto obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
        // Call the virtual member method, which derived classes might override.
        obj->on_state_change(Glib::convert_const_gchar_ptr_to_ustring(p0)
, p1
);
        return;
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
    }
  }

  const auto base = static_cast<BaseClassType*>(
        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_change)
    (*base->state_change)(self, p0, p1);
}
void Object_Class::visible_data_changed_callback(AtkObject* self)
{
  const auto obj_base = static_cast<Glib::ObjectBase*>(
      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_())
  {
    const auto obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
        // Call the virtual member method, which derived classes might override.
        obj->on_visible_data_changed();
        return;
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
    }
  }

  const auto base = static_cast<BaseClassType*>(
        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->visible_data_changed)
    (*base->visible_data_changed)(self);
}
void Object_Class::active_descendant_changed_callback(AtkObject* self, gpointer* p0)
{
  const auto obj_base = static_cast<Glib::ObjectBase*>(
      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_())
  {
    const auto obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
        // Call the virtual member method, which derived classes might override.
        obj->on_active_descendant_changed(p0
);
        return;
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
    }
  }

  const auto base = static_cast<BaseClassType*>(
        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->active_descendant_changed)
    (*base->active_descendant_changed)(self, p0);
}


/* The implementation: */

AtkObject* Object::gobj_copy()
{
  reference();
  return gobj();
}

Object::Object(const Glib::ConstructParams& construct_params)
:
  Glib::Object(construct_params)
{

}

Object::Object(AtkObject* castitem)
:
  Glib::Object((GObject*)(castitem))
{}


Object::Object(Object&& src) noexcept
: Glib::Object(std::move(src))
{}

Object& Object::operator=(Object&& src) noexcept
{
  Glib::Object::operator=(std::move(src));
  return *this;
}


Object::~Object() noexcept
{}


Object::CppClassType Object::object_class_; // initialize static member

GType Object::get_type()
{
  return object_class_.init().get_type();
}


GType Object::get_base_type()
{
  return atk_object_get_type();
}


Glib::ustring Object::get_name() const
{
  return Glib::convert_const_gchar_ptr_to_ustring(atk_object_get_name(const_cast<AtkObject*>(gobj())));
}

Glib::ustring Object::get_description() const
{
  return Glib::convert_const_gchar_ptr_to_ustring(atk_object_get_description(const_cast<AtkObject*>(gobj())));
}

Glib::RefPtr<Atk::Object> Object::get_parent()
{
  auto retvalue = Glib::wrap(atk_object_get_parent(gobj()));
  if(retvalue)
    retvalue->reference(); //The function does not do a ref for us.
  return retvalue;
}

int Object::get_n_accessible_children() const
{
  return atk_object_get_n_accessible_children(const_cast<AtkObject*>(gobj()));
}

Glib::RefPtr<Atk::Object> Object::get_accessible_child(int i)
{
  return Glib::wrap(atk_object_ref_accessible_child(gobj(), i));
}

Glib::RefPtr<RelationSet> Object::get_relation_set()
{
  auto retvalue = Glib::wrap(atk_object_ref_relation_set(gobj()));
  if(retvalue)
    retvalue->reference(); //The function does not do a ref for us.
  return retvalue;
}

Role Object::get_role() const
{
  return static_cast<Role>(atk_object_get_role(const_cast<AtkObject*>(gobj())));
}

Glib::RefPtr<StateSet> Object::get_state_set()
{
  return Glib::wrap(atk_object_ref_state_set(gobj()));
}

int Object::get_index_in_parent()
{
  return atk_object_get_index_in_parent(gobj());
}

void Object::set_name(const Glib::ustring& name)
{
  atk_object_set_name(gobj(), name.c_str());
}

void Object::set_description(const Glib::ustring& description)
{
  atk_object_set_description(gobj(), description.c_str());
}

void Object::set_parent(const Glib::RefPtr<Atk::Object>& parent)
{
  atk_object_set_parent(gobj(), Glib::unwrap(parent));
}

void Object::set_role(Role role)
{
  atk_object_set_role(gobj(), static_cast<AtkRole>(role));
}

void Object::notify_state_change(State state, bool value)
{
  atk_object_notify_state_change(gobj(), state, static_cast<int>(value));
}

bool Object::add_relationship(Relation::Type relationship, const Glib::RefPtr<Object>& target)
{
  return atk_object_add_relationship(gobj(), static_cast<AtkRelationType>(relationship), Glib::unwrap(target));
}

bool Object::remove_relationship(Relation::Type relationship, const Glib::RefPtr<Object>& target)
{
  return atk_object_remove_relationship(gobj(), static_cast<AtkRelationType>(relationship), Glib::unwrap(target));
}

Glib::ustring Object::get_object_locale() const
{
  return Glib::convert_const_gchar_ptr_to_ustring(atk_object_get_object_locale(const_cast<AtkObject*>(gobj())));
}

Glib::ustring Object::get_accessible_id() const
{
  return Glib::convert_const_gchar_ptr_to_ustring(atk_object_get_accessible_id(const_cast<AtkObject*>(gobj())));
}

void Object::set_accessible_id(const Glib::ustring& name)
{
  atk_object_set_accessible_id(gobj(), name.c_str());
}


Glib::SignalProxyDetailed<void(guint, gpointer)> Object::signal_children_changed(const Glib::ustring& add_or_remove)
{
  return Glib::SignalProxyDetailed<void(guint, gpointer)>(this, &Object_signal_children_changed_info, add_or_remove);
}


Glib::SignalProxy<void(bool)> Object::signal_focus_event()
{
  return Glib::SignalProxy<void(bool) >(this, &Object_signal_focus_event_info);
}


Glib::SignalProxyDetailed<void(AtkPropertyValues*)> Object::signal_property_change(const Glib::ustring& property_name)
{
  return Glib::SignalProxyDetailed<void(AtkPropertyValues*)>(this, &Object_signal_property_change_info, property_name);
}


Glib::SignalProxyDetailed<void(const Glib::ustring&, bool)> Object::signal_state_change(const Glib::ustring& state_name)
{
  return Glib::SignalProxyDetailed<void(const Glib::ustring&, bool)>(this, &Object_signal_state_change_info, state_name);
}


Glib::SignalProxy<void()> Object::signal_visible_data_changed()
{
  return Glib::SignalProxy<void() >(this, &Object_signal_visible_data_changed_info);
}


Glib::SignalProxy<void(void**)> Object::signal_active_descendant_changed()
{
  return Glib::SignalProxy<void(void**) >(this, &Object_signal_active_descendant_changed_info);
}


Glib::PropertyProxy< Glib::ustring > Object::property_accessible_name() 
{
  return Glib::PropertyProxy< Glib::ustring >(this, "accessible-name");
}

Glib::PropertyProxy_ReadOnly< Glib::ustring > Object::property_accessible_name() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "accessible-name");
}

Glib::PropertyProxy< Glib::ustring > Object::property_accessible_description() 
{
  return Glib::PropertyProxy< Glib::ustring >(this, "accessible-description");
}

Glib::PropertyProxy_ReadOnly< Glib::ustring > Object::property_accessible_description() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "accessible-description");
}

static_assert(Glib::Traits::ValueCompatibleWithWrapProperty<Glib::RefPtr<Atk::Object>>::value,
  "Type Glib::RefPtr<Atk::Object> cannot be used in _WRAP_PROPERTY. "
  "There is no suitable template specialization of Glib::Value<>.");

Glib::PropertyProxy< Glib::RefPtr<Atk::Object> > Object::property_accessible_parent() 
{
  return Glib::PropertyProxy< Glib::RefPtr<Atk::Object> >(this, "accessible-parent");
}

Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Atk::Object> > Object::property_accessible_parent() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Atk::Object> >(this, "accessible-parent");
}

static_assert(Glib::Traits::ValueCompatibleWithWrapProperty<Role>::value,
  "Type Role cannot be used in _WRAP_PROPERTY. "
  "There is no suitable template specialization of Glib::Value<>.");

Glib::PropertyProxy< Role > Object::property_accessible_role() 
{
  return Glib::PropertyProxy< Role >(this, "accessible-role");
}

Glib::PropertyProxy_ReadOnly< Role > Object::property_accessible_role() const
{
  return Glib::PropertyProxy_ReadOnly< Role >(this, "accessible-role");
}

Glib::PropertyProxy_ReadOnly< int > Object::property_accessible_component_layer() const
{
  return Glib::PropertyProxy_ReadOnly< int >(this, "accessible-component-layer");
}

Glib::PropertyProxy_ReadOnly< int > Object::property_accessible_component_mdi_zorder() const
{
  return Glib::PropertyProxy_ReadOnly< int >(this, "accessible-component-mdi-zorder");
}

static_assert(Glib::Traits::ValueCompatibleWithWrapProperty<Glib::RefPtr<Atk::Object>>::value,
  "Type Glib::RefPtr<Atk::Object> cannot be used in _WRAP_PROPERTY. "
  "There is no suitable template specialization of Glib::Value<>.");

Glib::PropertyProxy< Glib::RefPtr<Atk::Object> > Object::property_accessible_table_summary() 
{
  return Glib::PropertyProxy< Glib::RefPtr<Atk::Object> >(this, "accessible-table-summary");
}

Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Atk::Object> > Object::property_accessible_table_summary() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Atk::Object> >(this, "accessible-table-summary");
}

static_assert(Glib::Traits::ValueCompatibleWithWrapProperty<Glib::RefPtr<Atk::Object>>::value,
  "Type Glib::RefPtr<Atk::Object> cannot be used in _WRAP_PROPERTY. "
  "There is no suitable template specialization of Glib::Value<>.");

Glib::PropertyProxy< Glib::RefPtr<Atk::Object> > Object::property_accessible_table_caption_object() 
{
  return Glib::PropertyProxy< Glib::RefPtr<Atk::Object> >(this, "accessible-table-caption-object");
}

Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Atk::Object> > Object::property_accessible_table_caption_object() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Atk::Object> >(this, "accessible-table-caption-object");
}

Glib::PropertyProxy_ReadOnly< int > Object::property_accessible_hypertext_nlinks() const
{
  return Glib::PropertyProxy_ReadOnly< int >(this, "accessible-hypertext-nlinks");
}


void Atk::Object::on_children_changed(guint change_index, gpointer changed_child)
{
  const auto base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->children_changed)
    (*base->children_changed)(gobj(),change_index,changed_child);
}
void Atk::Object::on_focus_event(bool focus_in)
{
  const auto base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->focus_event)
    (*base->focus_event)(gobj(),static_cast<int>(focus_in));
}
void Atk::Object::on_property_change(AtkPropertyValues* values)
{
  const auto base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->property_change)
    (*base->property_change)(gobj(),values);
}
void Atk::Object::on_state_change(const Glib::ustring& name, bool state_set)
{
  const auto base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->state_change)
    (*base->state_change)(gobj(),name.c_str(),static_cast<int>(state_set));
}
void Atk::Object::on_visible_data_changed()
{
  const auto base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->visible_data_changed)
    (*base->visible_data_changed)(gobj());
}
void Atk::Object::on_active_descendant_changed(void** child)
{
  const auto base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->active_descendant_changed)
    (*base->active_descendant_changed)(gobj(),child);
}


} // namespace Atk


