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

dialog.cc

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

}

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

namespace Gtk {
Dialog_Class Dialog::dialog_class = {0};

Object* Dialog_Class::wrap_new(GtkObject* o)
  {
    Object* cpp=manage(new Dialog((GtkDialog*)(o)));
    return cpp;
  }

bool Dialog::isA( Object *checkcast)
  {
    return GTK_IS_DIALOG(checkcast->gtkobj());
  }

GtkType Dialog::get_type()
  {
    return dialog_class.get_type();
  }

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

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

void Dialog::initialize_class()
  {

  }

void Dialog_Class::class_init_function(GtkDialogClass *klass)
  {
    CppClassParent::class_init_function((BaseClassParent*)klass);
  }

void Dialog_Class::object_init_function(GtkDialog *)
  {}

}

Gtk::Dialog::Dialog()
  :     Gtk::Window((GtkWindow*)(gtk_object_new(get_type(),0)))
  {
    initialize_class();
  }

Gtk::Dialog::Dialog(GtkDialog *castitem)
  :     Gtk::Window((GtkWindow*)(castitem))
  {
    initialize_class();
  }

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

Gtk::VBox* Gtk::Dialog::get_vbox() const
  { return Gtk::wrap((GtkVBox*)(gtkobj()->vbox)); }

Gtk::HBox* Gtk::Dialog::get_action_area() const
  { return Gtk::wrap((GtkHBox*)(gtkobj()->action_area)); }

Generated by  Doxygen 1.6.0   Back to index