The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

FBP::Window - Base class for all graphical wxWindow objects

id

The id method returns the numeric wxWidgets identifier for the window.

name

The name method returns the logical name of the object.

enabled

The enabled method indicates if the object is enabled or not.

hidden

The hidden method indicates if the object is true if the shown is removed from view, or false if the window is shown.

subclass

The subclass method returns the literal C-style 'subclass' property produced by wxFormBuilder.

The format of this raw version is 'ClassName;headerfile.h'.

pos

The pos method returns the position of the window.

size

The size method returns the size of the window, if it has a specific strict size.

fg

The fg method returns a colour string for any custom foreground colour that should be applied to the window.

bg

The bg method returns a colour string for any custom background colour that should be applied to the window.

font

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.

tooltip

The tooltip method returns a tooltip string for the window, if it has one.

window_style

The window_style method returns a set of Wx style flags that are common to all window types.

minimum_size

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.

maximum_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.

styles

The 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 style or window_style methods specifically.

wxclass

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.

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.

SUPPORT

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.

AUTHOR

Adam Kennedy <adamk@cpan.org>

COPYRIGHT

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.