Re: Phix+EuGTK

new topic     » goto parent     » topic index » view thread      » older message » newer message

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 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu