To create label, just use an Fl_Box with a label string. To prevent the
@ sign from being treated specially, use a double @@. Example:

FL_Box* box = new Fl_Box(20, 20, 100, 25, "foo@@bar.com"); 

If you wanted to represent an email address in the label.


On Fri, 17 Apr 2009 11:59:41 -0400
Todd Plessel <[email protected]> wrote:

> 
> Hi,
> 
> How can I create a text string label without an associated 'widget'?
> I.e., something like FL_Output but without the 'box'.
> 
> Also, how can I prevent @ characters from being interpreted in such  
> labels?
> 
> Thanks,
> 
> Todd
> 
> _______________________________________________
> fltk mailing list
> [email protected]
> http://lists.easysw.com/mailman/listinfo/fltk
> 

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to