News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Tray Icons or Tray Controls is Possible in FLTK
Author Message
xleitex
Junior Member
**


Posts: 5
Group: Registered
Joined: Jun 2007
Status: Offline
Reputation: 0
Post: #1
Tray Icons or Tray Controls is Possible in FLTK

HI all, heres me again...

After a long time programing in lua for web pages, my interest in desktop applications come back!...so i search for a way to set my lua application to a tray icon...'cuz this script do several atomated things, so user can set some tasks and configure it then, so a tray icon will show status, some options after they click in it, there are a solution?

Thx in Advanced...sorry for my poor inglish![/font]

12-22-2007 11:29 PM
Find all posts by this user Quote this message in a reply
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #2
RE: Tray Icons or Tray Controls is Possible in FLTK

xleitex Wrote:
HI all, heres me again...

After a long time programing in lua for web pages, my interest in desktop applications come back!...so i search for a way to set my lua application to a tray icon...'cuz this script do several atomated things, so user can set some tasks and configure it then, so a tray icon will show status, some options after they click in it, there are a solution?

Thx in Advanced...sorry for my poor inglish![/font]


Sorry for delay in replying ...

Unfortunately there is no way to a tray icon in murgaLua yet.

Cheers
JohnM

01-04-2008 09:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Xleite
Junior Member
**


Posts: 1
Group: Registered
Joined: Dec 2007
Status: Offline
Reputation: 0
Post: #3
RE: Tray Icons or Tray Controls is Possible in FLTK

...

Very nice mam...There is a possible update to use Tray Icons in Murga Lua...i was wondering about this, i was searching for a Lua Gui who have this feature...so i dont have success, Wx is Biggest than Fltk and keep Lua philosophy..."be small", but have a Tray function...with their bugs but have it, Gtk2...i cant compile it yet...i found a very quite example to use tray icons "tray controls" in Fltk, right...


...So if u'll say that this feature can be add on MurgaLua 0.7 ill be very happy...

01-19-2008 10:47 PM
Find all posts by this user Quote this message in a reply
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #4
RE: Tray Icons or Tray Controls is Possible in FLTK

Hi,

Mi initial reply was going to be :

Quote:
This feature would be inherently non-portable, implementing it for Windows is easy ... Linux would be a little harder (I'd have to look at how "AllTray" does it), and Mac doesn't even have a system tray does it ? (I don't know MacOS that well, maybe it does).

The source at http://www.imm.uklinux.net/fl_tray_icon.html could easily be converted to run as a murgaLua module (a lua module compiled for murgaLua), but it is something that I don't think I'll have time for any time soon ...


Actually ... It is so trivial for Windows that I might just write the module :-)

No promises as to when I'll get time though ...

Cheers
John de Murga

01-19-2008 11:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: