Re: Phix+EuGTK
- Posted by irv Dec 14, 2020
- 2292 views
4.15.0-54-generic
I don't know if that is the same problem, I can successfully load routines from .so files. define_c_proc works when inside a class function, but not when inside a class procedure. Code below works:
class Window public atom handle = c_func(define_c_func(LIB,"gtk_window_new",{I},P),{0}) function show() puts(1,"This handle: ") ? this.handle c_proc(define_c_proc(LIB,"gtk_widget_show",{P}),{this.handle}) return 1 end function end class