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

paned.cc

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

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

namespace Gtk {
Paned_Class Paned::paned_class = {0};

Object* Paned_Class::wrap_new(GtkObject* o)
  {
    Object* cpp=manage(new Paned((GtkPaned*)(o)));
    return cpp;
  }

bool Paned::isA( Object *checkcast)
  {
    return GTK_IS_PANED(checkcast->gtkobj());
  }

GtkType Paned::get_type()
  {
    return paned_class.get_type();
  }

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

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

void Paned::initialize_class()
  {

  }

void Paned_Class::class_init_function(GtkPanedClass *klass)
  {
    CppClassParent::class_init_function((BaseClassParent*)klass);
  }

void Paned_Class::object_init_function(GtkPaned *)
  {}

}

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

Gtk::Paned::Paned(GtkPaned *castitem)
  :     Gtk::Container((GtkContainer*)(castitem))
  {
    initialize_class();
  }

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

void Gtk::Paned::add1(Gtk::Widget& child)
  {
    gtk_paned_add1(gtkobj(),child.gtkobj());
  }

void Gtk::Paned::add2(Gtk::Widget& child)
  {
    gtk_paned_add2(gtkobj(),child.gtkobj());
  }

void Gtk::Paned::set_handle_size(guint16 size)
  {
    gtk_paned_set_handle_size(gtkobj(),size);
  }

void Gtk::Paned::set_gutter_size(guint16 size)
  {
    gtk_paned_set_gutter_size(gtkobj(),size);
  }

void Gtk::Paned::pack1(Gtk::Widget& child,gint resize,gint shrink)
  {
    gtk_paned_pack1(gtkobj(),child.gtkobj(),resize,shrink);
  }

void Gtk::Paned::pack2(Gtk::Widget& child,gint resize,gint shrink)
  {
    gtk_paned_pack2(gtkobj(),child.gtkobj(),resize,shrink);
  }

void Gtk::Paned::set_position(gint position)
  {
    gtk_paned_set_position(gtkobj(),position);
  }

guint Gtk::Paned::get_child1_shrink() const
  { return gtkobj()->child1_shrink; }

guint Gtk::Paned::get_child2_shrink() const
  { return gtkobj()->child2_shrink; }

guint Gtk::Paned::get_child1_resize() const
  { return gtkobj()->child1_resize; }

guint Gtk::Paned::get_child2_resize() const
  { return gtkobj()->child2_resize; }

guint16 Gtk::Paned::get_handle_size() const
  { return gtkobj()->handle_size; }

guint16 Gtk::Paned::get_gutter_size() const
  { return gtkobj()->gutter_size; }

Gtk::Widget* Gtk::Paned::get_child1() const
  { return Gtk::wrap(gtkobj()->child1); }

Gtk::Widget* Gtk::Paned::get_child2() const
  { return Gtk::wrap(gtkobj()->child2); }


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

namespace Gtk {
HPaned_Class HPaned::hpaned_class = {0};

Object* HPaned_Class::wrap_new(GtkObject* o)
  {
    Object* cpp=manage(new HPaned((GtkHPaned*)(o)));
    return cpp;
  }

bool HPaned::isA( Object *checkcast)
  {
    return GTK_IS_HPANED(checkcast->gtkobj());
  }

GtkType HPaned::get_type()
  {
    return hpaned_class.get_type();
  }

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

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

void HPaned::initialize_class()
  {

  }

void HPaned_Class::class_init_function(GtkHPanedClass *klass)
  {
    CppClassParent::class_init_function((BaseClassParent*)klass);
  }

void HPaned_Class::object_init_function(GtkHPaned *)
  {}

}

Gtk::HPaned::HPaned()
  :     Gtk::Paned((GtkPaned*)(gtk_object_new(get_type(),0)))
  {
    initialize_class();
  }

Gtk::HPaned::HPaned(GtkHPaned *castitem)
  :     Gtk::Paned((GtkPaned*)(castitem))
  {
    initialize_class();
  }

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


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

namespace Gtk {
VPaned_Class VPaned::vpaned_class = {0};

Object* VPaned_Class::wrap_new(GtkObject* o)
  {
    Object* cpp=manage(new VPaned((GtkVPaned*)(o)));
    return cpp;
  }

bool VPaned::isA( Object *checkcast)
  {
    return GTK_IS_VPANED(checkcast->gtkobj());
  }

GtkType VPaned::get_type()
  {
    return vpaned_class.get_type();
  }

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

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

void VPaned::initialize_class()
  {

  }

void VPaned_Class::class_init_function(GtkVPanedClass *klass)
  {
    CppClassParent::class_init_function((BaseClassParent*)klass);
  }

void VPaned_Class::object_init_function(GtkVPaned *)
  {}

}

Gtk::VPaned::VPaned()
  :     Gtk::Paned((GtkPaned*)(gtk_object_new(get_type(),0)))
  {
    initialize_class();
  }

Gtk::VPaned::VPaned(GtkVPaned *castitem)
  :     Gtk::Paned((GtkPaned*)(castitem))
  {
    initialize_class();
  }

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

Generated by  Doxygen 1.6.0   Back to index