typemap for GtkWidget



Hi,

Can someone explain to me how the typemaps for Gtk work.  I understand
the basic format of a typemap file - but I was looking for a

GtkWidget *

but all I found was  (gtk-0.99.typemap)

Gtk::Widget_Up  T_GtkPTROBJUp
Gtk::Widget_Sink_Up  T_GtkPTROBJSinkUp
Gtk::Widget_OrNULL_Up  T_GtkPTROBJOrNULLUp

and XS doesnt seem to like the  ::  in the name.

So the question is :

I want to write an xs function that returns a GtkWidget.  I would like
to use the typemaps that already exist instead of reinventing them, how
do I do it?

Thanks,

Jim





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