Logo Search packages:      
Sourcecode: ardour version File versions  Download package

eventbox.cc

// -*- c++ -*-
//  Generated by gtkmmproc from ./../eventbox.gen_h -- DO NOT MODIFY!
#include <gtk--/eventbox.h>
#include <gtk--/private/eventbox_p.h>

namespace Gtk {
Gtk::EventBox *wrap (GtkEventBox *o)
  {
    return static_cast<Gtk::EventBox *> (Gtk::wrap_auto ((GtkObject *) (o)));
  }
}

namespace Gtk {
EventBox_Class EventBox::event_box_class = {0};

Object* EventBox_Class::wrap_new(GtkObject* o)
  {
    Object* cpp=manage(new EventBox((GtkEventBox*)(o)));
    return cpp;
  }

bool EventBox::isA( Object *checkcast)
  {
    return GTK_IS_EVENT_BOX(checkcast->gtkobj());
  }

GtkType EventBox::get_type()
  {
    return event_box_class.get_type();
  }

GtkType EventBox_Class::get_type()
  {
    if (!type)
      {
        CppClassParent::CppObjectType::get_type();
        GtkTypeInfo info =
          {
            "Gtk__EventBox",
            sizeof(BaseObjectType),
            sizeof(BaseClassType),
            (GtkClassInitFunc) class_init_function,
            (GtkObjectInitFunc) object_init_function,
            /* reserved_1 */ NULL,
            /* reserved_2 */ NULL,
            /*base_class_init_func */ (GtkClassInitFunc) NULL
          };
        type=gtk_type_unique(gtk_event_box_get_type(), &info);
      }
    return type;
  }

const char* const EventBox::signal_names[]={
   0};

void EventBox::initialize_class()
  {

  }

void EventBox_Class::class_init_function(GtkEventBoxClass *klass)
  {
    CppClassParent::class_init_function((BaseClassParent*)klass);
  }

void EventBox_Class::object_init_function(GtkEventBox *)
  {}

}

Gtk::EventBox::EventBox()
  :     Gtk::Bin((GtkBin*)(gtk_object_new(get_type(),0)))
  {
    initialize_class();
  }

Gtk::EventBox::EventBox(GtkEventBox *castitem)
  :     Gtk::Bin((GtkBin*)(castitem))
  {
    initialize_class();
  }

Gtk::EventBox::~EventBox() { destroy_(); }

Generated by  Doxygen 1.6.0   Back to index