FBP::Window - Base class for all graphical wxWindow objects
id method returns the numeric wxWidgets identifier for the window.
name method returns the logical name of the object.
enabled method indicates if the object is enabled or not.
hidden method indicates if the object is true if the shown is removed from view, or false if the window is shown.
subclass method returns the literal C-style 'subclass' property produced by wxFormBuilder.
The format of this raw version is 'ClassName;headerfile.h'.
pos method returns the position of the window.
size method returns the size of the window, if it has a specific strict size.
fg method returns a colour string for any custom foreground colour that should be applied to the window.
bg method returns a colour string for any custom background colour that should be applied to the window.
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.
tooltip method returns a tooltip string for the window, if it has one.
window_style method returns a set of Wx style flags that are common to all window types.
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.
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.
styles method returns the merged set of all constructor style flags for the object.
You should generally call this method if you are writing code generators, rather than calling
window_style methods specifically.
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.
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
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.
Bugs should be reported via the CPAN bug tracker at
For other issues, or commercial enhancement or support, contact the author.
Adam Kennedy <email@example.com>
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.