Brian and all,

Thanks all of you for your help in my first attempt to use Inline.  This
tool shows promise and I will remember it for future projects.  But
after struggling with it for a couple of days, I realized that the xs
code I need to write is easier to write by hand than with Inline.

The problem is partially to do with the particularities of the Gtk
interface, attached is my working xs file in case someone is interested.

Jim

#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include <gtk/gtk.h>
#include <gtk/gtkprivate.h>
#include <GtkDefs.h>

MODULE = IVT::Client::Visualization::Controller PACKAGE =
IVT::Client::Visualization::Controller

PROTOTYPES: DISABLE

Gtk::Widget_Up
create_window3D ()

Gtk::Widget_Up
lookup_widget(widget, name)
 Gtk::Widget widget
 char *      name


Reply via email to