NAME

UI::Various::toplevel - abstract top-level widget of UI::Various

SYNOPSIS

# This module should never be used directly!
# It is used indirectly via the following ones:
use UI::Various::Window;
use UI::Various::Dialog;

ABSTRACT

This module is the common abstract container class for the top-level UI elements UI::Various::Window and UI::Various::Dialog.

DESCRIPTION

Besides the common attributes inherited from UI::Various::widget and UI::Various::container the toplevel widget knows the following additional attributes:

Attributes

height [rw]

preferred (maximum) height of an application window / dialogue in (approximately) characters, should not exceed max_height of main "Window Manager"

max_height [ro, inherited]

access to max_height of main "Window Manager"

max_width [ro, inherited]

access to max_width of main "Window Manager"

width [rw]

preferred (maximum) width of an application window / dialogue in (approximately) characters, may not exceed max_width of main "Window Manager"

SEE ALSO

UI::Various

LICENSE

Copyright (C) Thomas Dorner.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See LICENSE file for more details.

AUTHOR

Thomas Dorner <dorner (at) cpan (dot) org>