Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
tix8.1 wrapper for ruby?
Ferenc Engard
11/13/2003 11:37:00 PM
Hello,
I was looking for tk extension wrappers, and found the tcltk-ext package
in RAA. I was really happy, downloaded it, and blindly tried it out:
--------------------------------------------------------------
fery@domesticus:~/transfer/tcltk-ext051$ cat tix81.def
$pre_load_lib = [
nil
]
$ext_lib_info = [
['Tix', '/usr/lib/libtix8.1.8.4.so.1', ['/usr/lib/tix8.1']],
nil
]
fery@domesticus:~/transfer/tcltk-ext051$ ./mk_tkextlib.rb -p tix81
./mk_tkextlib.rb:2164: warning: don't put space before argument
parentheses
./mk_tkextlib.rb:2169: warning: don't put space before argument
parentheses
./mk_tkextlib.rb:2449: warning: don't put space before argument
parentheses
./tcltkextlib.rb:54: warning: don't put space before argument
parentheses
./tcltkextlib.rb:219: warning: don't put space before argument
parentheses
#############################################
(Ãí) °Ê²¼¤ÇȯÀ¸¤¹¤ë Tcl/Tk ¾å¤Î¥¨¥é¡¼¤Ï
¸¡ºº²áÄø¤ÎÅÔ¹ç¾åÀ¸¤¸¤ë¤â¤Î¤Ç¤¢¤ë¤Î¤Ç¡¤
Ä̾ï¤Ï̵»ë¤·¤Æ¤«¤Þ¤ï¤Ê¤¤
#############################################
Error:
a1
Error:
a1
value for "a2" missing
while executing
"tixClass a1 a2"
--------------------------------------
So, what can I do?
Thanks:
Ferenc
PS: Running mk_tkextlib.rb I have realized that the tcltklib+exception
problem
(
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=200309141511.h8EFBYd13608%40moul...
)
still exists...
PS2: The pre-generated .rb lib are more-or-less usable...
2 Answers
Hidetoshi NAGAI
11/14/2003 5:15:00 AM
0
Ferenc Engard
11/16/2003 12:11:00 AM
0
Hidetoshi NAGAI wrote:
> If get none... Sorry. The library is not tested on ruby 1.8.x.
> Please wait for a new library which supports ruby 1.8.x.
I get none. But I am happy to hear that this project is not dead... :)
> Or create new Tix.rb for Tix8.1 based on the sample Tix-for-TkPackage.rb
> which generated for Tix4.1.
[...]
> Now, you'll be able to use Tix library by 'require "Tix.rb"'.
> The generated Tix.rb is a result of automatic estimation.
> So, it is NOT perfect. It's only a template for better definitions.
This is what I did. I use TixCombobox from it, and it works for me.
> > PS: Running mk_tkextlib.rb I have realized that the tcltklib+exception
> > problem
> > (
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=200309141511.h8EFBYd13608%40moul...
)
> > still exists...
>
> Please try the newest CVS version with the '--with-pthread-ext' configure
> option.
Thanks, but I am too lazy, I still waiting for the debianized version...
;-)
Bye:
Ferenc
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
tix8.1 wrapper for ruby?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password