FBP::Window - Base class for all graphical wxWindow objects
The id method returns the numeric wxWidgets identifier for the window.
id
The name method returns the logical name of the object.
name
The enabled method indicates if the object is enabled or not.
enabled
The hidden method indicates if the object is true if the shown is removed from view, or false if the window is shown.
hidden
The subclass method returns the literal C-style 'subclass' property produced by wxFormBuilder.
subclass
The format of this raw version is 'ClassName;headerfile.h'.
The pos method returns the position of the window.
pos
The size method returns the size of the window, if it has a specific strict size.
size
The fg method returns a colour string for any custom foreground colour that should be applied to the window.
fg
The bg method returns a colour string for any custom background colour that should be applied to the window.
bg
The font method returns a string containing a comma-separated list of wxFont constructor params if the wxWindow uses a custom font, or null if it uses the default system font.
font
The tooltip method returns a tooltip string for the window, if it has one.
tooltip
The window_style method returns a set of Wx style flags that are common to all window types.
window_style
The minimum_size method returns a comma-separated pair of integers representing the minimum size for the window, or a zero-length string if no minimum size is defined.
minimum_size
The maximum_size method returns a comma-separated pair of integers representing the maximum size for the window, or a zero-length string if no minimum size is defined.
maximum_size
The styles method returns the merged set of all constructor style flags for the object.
styles
You should generally call this method if you are writing code generators, rather than calling style or window_style methods specifically.
style
The wxclass method determines the class that should be used to instantiate this window. Most of the time this will be a standard class, but it may be different if a custom subclass property has been set.
wxclass
Note this class is only used as part of the constructor, and does not assume that this is also the value that any program should load. That value is con
The header method returns the header file (or in the Perl world, module) that needs to be loaded in order to make use of a custom subclass window class for an element.
header
Bugs should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=FBP
For other issues, or commercial enhancement or support, contact the author.
Adam Kennedy <adamk@cpan.org>
Copyright 2009 - 2012 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install FBP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FBP
CPAN shell
perl -MCPAN -e shell install FBP
For more information on module installation, please visit the detailed CPAN module installation guide.