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 
MurgaLua Number OCR
Author Message
Senior Member

Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: MurgaLua Number OCR

I didn't have a clue what you were doing when you originally made this thread, so I haven't looked into it much. I think it makes more sense to me now.

On the subject of accessing widgets by their parents, I'm guessing the typical way to do it is by creating a table for each set of widgets. For example, if you want to keep all the elements of one window separate from those of another window, you can do something like this:

window1 = {}
window1.window = fltk:Fl_Window(...)
window1.button = fltk:Fl_Button(...)

I know that works for most elements, but you may need to play around a bit when it comes to Fl_Window/Fl_Group objects, such as including Fl_End() or add() functions in some cases.

This post was last modified: 03-12-2011 11:19 PM by mikshaw.

03-12-2011 11:17 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
MurgaLua Number OCR - jpjacobs - 12-09-2010, 09:59 PM
RE: MurgaLua Number OCR - jpjacobs - 03-12-2011, 11:36 AM
RE: MurgaLua Number OCR - mikshaw - 03-12-2011 11:17 PM
RE: MurgaLua Number OCR - jpjacobs - 10-04-2011, 09:39 PM

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

Forum Jump: