FLTK logo

STR #3256

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]

STR #3256

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:4 - High, e.g. key functionality not working
Scope:3 - Applies to all machines and operating systems
Subsystem:None
Summary:Fl_Sys_Menu_Bar::replace will make checkboxes not functional
Version:1.3.3
Created By:PeeterVois
Assigned To:AlbrechtS
Fix Version:None
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 PeeterVois
23:28 Sep 02, 2015
I use fluid for UI design. I have in the menu some checkboxes and a submenu with radio elements. When I select an radio element I need to update the label on the submenu master element to display the selection. On Linux, I can do it with the element's ->label() method. On MacOSX this does not work. On MacOSX I had to use Fl_Sys_Meny_Bar::replace method, which does make copy of the menu elements array. After the replace method call, in the callback the argument of element's pointer is not correct (actually visible) item's pointer. Anyway the o->value() in callback does not give the new element's value. The radio element's callbacks work as expected.  
 
#2 PeeterVois
00:18 Sep 03, 2015
Sorry, it appears to be my misunderstanding.  
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.