Sanko Robinson > FLTK-0.532009 > FLTK::HighlightBox



Annotate this POD


View/Report Bugs
Module Version: 0.532006   Source  


FLTK::HighlightBox - Draw a box only when highlighted or selected

Description ^

Draws nothing normally, this can draw as any other box (passed to the constructor) when HIGHLIGHT, STATE, or PUSHED is turned on in the flags. This can be used to make frames appear when the mouse points at widgets or when the widget is turned on.

Functions ^


$highlightbox->_draw( $rect );


my $eh = $highlightbox->fills_rectangle( );


my $eh = $highlightbox->is_frame( );


my $box = $highlightbox->new( $name, $box );

Creates a new FLTK::HighlightBox object.

Author ^

Sanko Robinson <> -

License and Legal ^

Copyright (C) 2008-2010 by Sanko Robinson <>

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.

syntax highlighting: