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

separator.cc

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

namespace Gtk {
Separator_Class Separator::separator_class = {0};

Object* Separator_Class::wrap_new(GtkObject* o)
  {
    Object* cpp=manage(new Separator((GtkSeparator*)(o)));
    return cpp;
  }

bool Separator::isA( Object *checkcast)
  {
    return GTK_IS_SEPARATOR(checkcast->gtkobj());
  }

GtkType Separator::get_type()
  {
    return separator_class.get_type();
  }

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

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

void Separator::initialize_class()
  {

  }

void Separator_Class::class_init_function(GtkSeparatorClass *klass)
  {
    CppClassParent::class_init_function((BaseClassParent*)klass);
  }

void Separator_Class::object_init_function(GtkSeparator *)
  {}

}

Gtk::Separator::Separator(GtkSeparator *castitem)
  :     Gtk::Widget((GtkWidget*)(castitem))
  {
    initialize_class();
  }

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

Gtk::Separator::Separator()
  :     Gtk::Widget((GtkWidget*)(gtk_object_new(get_type(),0)))
  {
    initialize_class();
  }


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

namespace Gtk {
VSeparator_Class VSeparator::vseparator_class = {0};

Object* VSeparator_Class::wrap_new(GtkObject* o)
  {
    Object* cpp=manage(new VSeparator((GtkVSeparator*)(o)));
    return cpp;
  }

bool VSeparator::isA( Object *checkcast)
  {
    return GTK_IS_VSEPARATOR(checkcast->gtkobj());
  }

GtkType VSeparator::get_type()
  {
    return vseparator_class.get_type();
  }

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

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

void VSeparator::initialize_class()
  {

  }

void VSeparator_Class::class_init_function(GtkVSeparatorClass *klass)
  {
    CppClassParent::class_init_function((BaseClassParent*)klass);
  }

void VSeparator_Class::object_init_function(GtkVSeparator *)
  {}

}

Gtk::VSeparator::VSeparator()
  :     Gtk::Separator((GtkSeparator*)(gtk_object_new(get_type(),0)))
  {
    initialize_class();
  }

Gtk::VSeparator::VSeparator(GtkVSeparator *castitem)
  :     Gtk::Separator((GtkSeparator*)(castitem))
  {
    initialize_class();
  }

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


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

namespace Gtk {
HSeparator_Class HSeparator::hseparator_class = {0};

Object* HSeparator_Class::wrap_new(GtkObject* o)
  {
    Object* cpp=manage(new HSeparator((GtkHSeparator*)(o)));
    return cpp;
  }

bool HSeparator::isA( Object *checkcast)
  {
    return GTK_IS_HSEPARATOR(checkcast->gtkobj());
  }

GtkType HSeparator::get_type()
  {
    return hseparator_class.get_type();
  }

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

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

void HSeparator::initialize_class()
  {

  }

void HSeparator_Class::class_init_function(GtkHSeparatorClass *klass)
  {
    CppClassParent::class_init_function((BaseClassParent*)klass);
  }

void HSeparator_Class::object_init_function(GtkHSeparator *)
  {}

}

Gtk::HSeparator::HSeparator()
  :     Gtk::Separator((GtkSeparator*)(gtk_object_new(get_type(),0)))
  {
    initialize_class();
  }

Gtk::HSeparator::HSeparator(GtkHSeparator *castitem)
  :     Gtk::Separator((GtkSeparator*)(castitem))
  {
    initialize_class();
  }

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

Generated by  Doxygen 1.6.0   Back to index