Re: gtk2-perl / casting from perl objects to gtk objects

On Thu, Oct 17, 2002 at 12:44:25PM +0200, Guillaume Cottenceau wrote:
#define pGtkWidget(o) ((GtkWidget*) SvIV(SvRV(o)))
#define pGtkProgressBar(o) ((GtkProgressBar*) SvIV(SvRV(o)))

but you have to figure out where to put it
so it can be included at compile time without 
to much trouble.
Perhaps a include directory in the root which is
added to the INC config entry.


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