NAME
FLTK::Output - One-line text output
Description
This widget displays a piece of text. When you set the value()
, it does a strcpy()
to it's own storage, which is useful for program-generated values. You can also call static_value( )
if you know the original text will not be deleted. The text may contain any characters except \0
. Any control characters less than 32 will display in ^X
notation. Other characters are drawn without any changes.
The user may select portions of the text using the mouse and paste the contents into other fields or programs.
Functions
default_style
my $style = $output->default_style( );
-
Output has it's own style so the color can be set to gray like Motif-style programs want.
$output->default_style( $style );
-
Set the style.
new
Author
Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/
License and Legal
Copyright (C) 2008-2010 by Sanko Robinson <sanko@cpan.org>
This program is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0. See the LICENSE file included with this distribution or notes on the Artistic License 2.0 for clarification.
When separated from the distribution, all original POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See the clarification of the CCA-SA3.0.