FLTK logo

STR #245

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.1 | SVN ⇄ GIT ]

STR #245

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Documentation
Summary:Missing Fl_Menu_::copy documentation
Version:1.1.4
Created By:arkileti.yahoo
Assigned To:mike
Fix Version:1.1.5rc1
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 arkileti.yahoo
11:13 Dec 31, 2003
The documentation for 1.1.4 lists the member function "copy" of Fl_Menu_ which accepts one input argument as shown below

void Fl_Menu_::copy(const Fl_Menu_Item*)

However, the editor.cxx example in the documentation uses a version of Fl_Menu_::copy which accepts 2 input arguments as shown below

m->copy(menuitems, w); //line 742

Where "menuitems" is the const pointer to the Fl_Menu_Item array (ie the array name) and "w" is a pointer to an EditorWindow which is a (subclassed Fl_Double_Window)

This overloaded version of the copy member function should be documented. Mike Sweet replied to me that the meaning of it was
 
"Essentially, it makes a copy of the menu items and
assigns the pointer "w" as the callback data."

Hope this helps,
Robert Arkiletian
 
 
#2 mike
17:37 Feb 29, 2004
Fixed in CVS - the anonymous CVS repository will be updated at midnight PST.  
     

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'.