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 
Development resumes
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: Development resumes

I spent much too long on this yesterday, thinking it was a simple solution, but eventually realized it doesn't behave as documented, "You can set it as an integer, or set it with a pointer to a menu item."

Here's what I was playing with:

Code:
my_menu=fltk:Fl_Choice(10,10,120,30)
for _,i in pairs({"one","two","three","four"}) do my_menu:add(i) end
my_item=my_menu:find_item("three")
my_menu:value(my_item)

06-18-2008 12:14 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Development resumes - JohnMurga - 06-12-2008, 08:13 PM
RE: Development resumes - znarf - 06-16-2008, 09:35 PM
RE: Development resumes - JohnMurga - 06-17-2008, 12:27 AM
RE: Development resumes - mikshaw - 06-18-2008 12:14 AM
RE: Development resumes - znarf - 06-20-2008, 05:02 AM

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

Forum Jump: