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

drawingarea.cc

// -*- c++ -*-
//  Generated by gtkmmproc from ./../drawingarea.gen_h -- DO NOT MODIFY!
#include <gtk--/drawingarea.h>
#include <gtk--/private/drawingarea_p.h>
namespace Gtk
{

}

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

namespace Gtk {
DrawingArea_Class DrawingArea::drawing_area_class = {0};

Object* DrawingArea_Class::wrap_new(GtkObject* o)
  {
    Object* cpp=manage(new DrawingArea((GtkDrawingArea*)(o)));
    return cpp;
  }

bool DrawingArea::isA( Object *checkcast)
  {
    return GTK_IS_DRAWING_AREA(checkcast->gtkobj());
  }

GtkType DrawingArea::get_type()
  {
    return drawing_area_class.get_type();
  }

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

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

void DrawingArea::initialize_class()
  {

  }

void DrawingArea_Class::class_init_function(GtkDrawingAreaClass *klass)
  {
    CppClassParent::class_init_function((BaseClassParent*)klass);
  }

void DrawingArea_Class::object_init_function(GtkDrawingArea *)
  {}

}

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

Gtk::DrawingArea::DrawingArea(GtkDrawingArea *castitem)
  :     Gtk::Widget((GtkWidget*)(castitem))
  {
    initialize_class();
  }

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

void Gtk::DrawingArea::size(gint width,gint height)
  {
    gtk_drawing_area_size(gtkobj(),width,height);
  }

Generated by  Doxygen 1.6.0   Back to index