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

tearoffmenuitem.cc

// -*- c++ -*-
//  Generated by gtkmmproc from ./../tearoffmenuitem.gen_h -- DO NOT MODIFY!
#include <gtk--/tearoffmenuitem.h>
#include <gtk--/private/tearoffmenuitem_p.h>
namespace Gtk {
Gtk::TearoffMenuItem *wrap (GtkTearoffMenuItem *o)
  {
    return static_cast<Gtk::TearoffMenuItem *> (Gtk::wrap_auto ((GtkObject *) (o)));
  }
}

namespace Gtk {
TearoffMenuItem_Class TearoffMenuItem::tearoff_menu_item_class = {0};

Object* TearoffMenuItem_Class::wrap_new(GtkObject* o)
  {
    Object* cpp=manage(new TearoffMenuItem((GtkTearoffMenuItem*)(o)));
    return cpp;
  }

bool TearoffMenuItem::isA( Object *checkcast)
  {
    return GTK_IS_TEAROFF_MENU_ITEM(checkcast->gtkobj());
  }

GtkType TearoffMenuItem::get_type()
  {
    return tearoff_menu_item_class.get_type();
  }

GtkType TearoffMenuItem_Class::get_type()
  {
    if (!type)
      {
        CppClassParent::CppObjectType::get_type();
        GtkTypeInfo info =
          {
            "Gtk__TearoffMenuItem",
            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_tearoff_menu_item_get_type(), &info);
      }
    return type;
  }

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

void TearoffMenuItem::initialize_class()
  {

  }

void TearoffMenuItem_Class::class_init_function(GtkTearoffMenuItemClass *klass)
  {
    CppClassParent::class_init_function((BaseClassParent*)klass);
  }

void TearoffMenuItem_Class::object_init_function(GtkTearoffMenuItem *)
  {}

}

Gtk::TearoffMenuItem::TearoffMenuItem()
  :     Gtk::MenuItem((GtkMenuItem*)(gtk_object_new(get_type(),0)))
  {
    initialize_class();
  }

Gtk::TearoffMenuItem::TearoffMenuItem(GtkTearoffMenuItem *castitem)
  :     Gtk::MenuItem((GtkMenuItem*)(castitem))
  {
    initialize_class();
  }

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

Generated by  Doxygen 1.6.0   Back to index