FLTK logo

STR #3343

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 #3343

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:FLUID
Summary:fluid "templates" needs docs
Version:1.3.3
Created By:greg.ercolano
Assigned To:matt
Fix Version:1.4.0
Fix Commit:d6294ac2fccab7e7ffdfbf1ef63a059bba46c777
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 greg.ercolano
11:37 Oct 17, 2016
In fluid's File -> New dialog, there's a templates dialog, but
no indication of what it is. "Blank" is the only option, doesn't
show how to create them or have help (tooltips or otherwise).

The fluid docs don't mention this either.

I take it the way it works is you can create a fluid file, and then
save it as a template.. a 'starting point' for creating a new app.
This gets saved as a .fl file in the user's home directory, e.g.
     $HOME/.fltk/fltk.org/fluid/templates/<template_name>.fl
..where it shows up as an option in the File->New dialog.

When chosen in the New dialog, that template fluid file is loaded.

Apparently also, a screenshot of the UI is saved in that /templates/
directory as well, as <template_name>.png . Not sure how it's used,
but perhaps the intention is it would be shown as a thumbnail in the
New browser?

Anyway, this should be investigated and properly documented.

I'm attaching a sample template that might be useful
 
 
#2 greg.ercolano
11:37 Oct 17, 2016
Actually, instead of attaching a sample .fl file, see related STR#3336
which already has such an example.
 
 
#3 matt
14:18 Feb 01, 2019
Fixed in Git repository.

I added some docs and reorganized the main menu to make the feature a little less prominent. Also, when run for the first time, this will add a sample template.
 
     

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