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 
FLU - FLTK Utility Widgets
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: FLU - FLTK UTILITY WIDGETS

Flu_Toggle_Group:

Code:
w=fltk:Fl_Window(400,300,"Flu_Toggle_group")
g=fltk:Fl_Group(10,30,380,240)
g:box(fltk.FL_EMBOSSED_FRAME)
fltk:Fl_Button(40,80,180,30,"button")
fltk:Fl_Button(40,115,180,30,"button")
fltk:Fl_Button(40,150,180,30,"button")
fltk:Fl_End()
t=fltk:Fl_Check_Button(20,15,120,30,"Toggle_Group")
t:box(fltk.FL_FLAT_BOX)
t:callback(function()
  if g:active()==1 then g:deactivate() else g:activate() end
end
)
t:value(1)
w:show()
Fl:run()

This post was last modified: 02-09-2008 12:27 PM by mikshaw.

02-09-2008 03:26 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
FLU - FLTK Utility Widgets - iGame3D - 02-08-2008, 05:48 PM
RE: FLU - FLTK UTILITY WIDGETS - JohnMurga - 02-08-2008, 07:28 PM
RE: FLU - FLTK UTILITY WIDGETS - mikshaw - 02-09-2008, 01:24 AM
RE: FLU - FLTK UTILITY WIDGETS - mikshaw - 02-09-2008, 02:43 AM
RE: FLU - FLTK UTILITY WIDGETS - mikshaw - 02-09-2008 03:26 AM
RE: FLU - FLTK UTILITY WIDGETS - mikshaw - 02-09-2008, 07:46 AM
RE: FLU - FLTK UTILITY WIDGETS - iGame3D - 02-11-2008, 07:13 AM

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

Forum Jump: