Re: EuGTK/Glade update

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

Hi Irv,

I'm using EuGTK to do the Linux interface for WEE, and got to wondering if EuGTK would work on OSX. Turns out it does work, with a few changes. First, install MacPorts, and then the GTK3 library with this command "sudo port install gtk3". That should eventually install the library to /opt/local/lib/libgtk-3.dylib. Next make this change to GtkEngine.e:

ifdef OSX then 
  constant libgtk = "/opt/local/lib/libgtk-3.dylib" 
elsedef 
  constant libgtk = "libgtk-3.so.0" 
end ifdef 
 
export constant GTK = open_dll(libgtk) 
    if GTK = 0 then 
        crash("Fatal Error: no "&libgtk&" found!") 
    end if 

I tried a few demos, with great success. I hope you'll include it in the next release of EuGTK. Thanks!

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

Search



Quick Links

User menu

Not signed in.

Misc Menu