Wrapping gtkimageview



Hello,

I'm currently building a C++ wrapper for gtkimageview[1]. The
documentation on gtkmm.org for this is really good. I build a
gtkimageviewmm library and it builds (currently without any .hg
and .ccg files). Then I started to add the first class files:

imageview.hg:

_DEFS(gtkimageviewmm,gtkimageview)
//_PINCLUDE(gtkmm/private/bin_p.h)

namespace Gtk
{

class ImageView : public Widget
{
  _CLASS_GTKOBJECT(ImageView,GtkImageView,GTK_IMAGE_VIEW,Gtk::Widget,GtkWidget)
public:

  _CTOR_DEFAULT

  //_WRAP_SIGNAL(void clicked(), "clicked")


  //_WRAP_PROPERTY("label", Glib::ustring)
};

} // namespace Gtk


imageview.ccg:

#include <gtkimageview/gtkimageview.h>

namespace ImageView
{


} /* namespace ImageView */


Not much, but I hoped a least the constructoe should work. But I get
this compile error:

imageview.cc: In static member function 'static void
Gtk::ImageView_Class::class_init_function(void*, void*)':
imageview.cc:82: error: incomplete type 'Gtk::Widget_Class' used in
nested name specifier make[4]: *** [imageview.lo] Fehler 1

Any ideas what I'm doing wring?

regards
Andreas

[1] http://trac.bjourne.webfactional.com/#include <gtkmm/bin.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]