Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: about flua and lua?< Next Oldest | Next Newest >
kuangtu Offline





Group: Members
Posts: 9
Joined: May 2006
Posted: Sep. 01 2006,01:32 QUOTE

In dsl there are some scripts executed by flua.

Being an extension language, Lua has no notion of a "main" program: it only works embedded in a host client, called the embedding program or simply the host.

how get the flua from lua?
i am confused by some lines in flua script.
for example:
    w = Window(........), how draw a window in X window(i replace the Xvesa using X window)?

thanks!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 01 2006,02:37 QUOTE

If this helps, Lua-FLTK (flua) isn't really Lua. It's a binding of FLTK widgets to the Lua language.  I'm not sure how much Lua is actually in it...could be all, or could just be parts....i dunno.

But in hopes of answering your question (i'm not really sure what you're asking), "Window{...}" is built into flua.  It's one of the many FLTK widgets, and is not affected by whether you are using Xvesa or Xfree86.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Sep. 01 2006,01:32 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: about flua and lua?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code