You know, I was looking at the PyGobject code, which basically does the same
thing. It looks at the methods and properties and such and creates the object
at that time. I'll look at that, that would probably be best.
I'm hoping to get some demonstration code soon... The documentation for
When I wrote an Objective-C bridge, I used introspection at class creation
time: I overloaded ObjectiveC->`[]() so that when, for example,
ObjectiveC.NSObject was accessed, a c-method performed introspection of the
NSObject class and created a program dynamically using the C level module API:
s
> Which brings up a question:Â is it possible to add a method to a
> class that has already started and ended (using start_new_program()
> and end_program()).
> And how could I write the frontend pike code to intercept
> GTK3.Window and have it call GTK3.method_missing. I was looking at
> the GT
Yeah, that's what the gtk2 module does, I'm wondering if I can add functions to
a class (in the c code) that has already been created and ended using
end_program().
Sent from Yahoo Mail on Android
On Sat, May 26, 2018 at 11:14 AM, Stephen R. van den Berg
wrote: Lance Dillon wrote:
>Which
Lance Dillon wrote:
>Which brings up a question:?? is it possible to add a method to a class that
>has already started and ended (using start_new_program() and end_program()).
Overloading the `-> operator should work.
--
Stephen.