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

fixed.cc

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

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

namespace Gtk {
Fixed_Class Fixed::fixed_class = {0};

Object* Fixed_Class::wrap_new(GtkObject* o)
  {
    Object* cpp=manage(new Fixed((GtkFixed*)(o)));
    return cpp;
  }

bool Fixed::isA( Object *checkcast)
  {
    return GTK_IS_FIXED(checkcast->gtkobj());
  }

GtkType Fixed::get_type()
  {
    return fixed_class.get_type();
  }

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

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

void Fixed::initialize_class()
  {

  }

void Fixed_Class::class_init_function(GtkFixedClass *klass)
  {
    CppClassParent::class_init_function((BaseClassParent*)klass);
  }

void Fixed_Class::object_init_function(GtkFixed *)
  {}

}

Gtk::Fixed::Fixed()
  :     Gtk::Container((GtkContainer*)(gtk_object_new(get_type(),0)))
  {
    initialize_class();
  }

Gtk::Fixed::Fixed(GtkFixed *castitem)
  :     Gtk::Container((GtkContainer*)(castitem))
  {
    initialize_class();
  }

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

void Gtk::Fixed::put(Gtk::Widget& widget,gint16 x,gint16 y)
  {
    gtk_fixed_put(gtkobj(),widget.gtkobj(),x,y);
  }

void Gtk::Fixed::move(Gtk::Widget& widget,gint16 x,gint16 y)
  {
    gtk_fixed_move(gtkobj(),widget.gtkobj(),x,y);
  }

Generated by  Doxygen 1.6.0   Back to index