1Padre::Wx::Role::Main(3U)ser Contributed Perl DocumentatiPoandre::Wx::Role::Main(3)
2
3
4

NAME

6       Padre::Wx::Role::Main - Convenience methods for children of the main
7       window
8

DESCRIPTION

10       This role implements the fairly common method pattern for Wx elements
11       that are children of Padre::Wx::Main.
12
13       It provides accessors for easy access to the most commonly needed
14       elements, and shortcut integration with the Padre::Current context
15       system.
16

METHODS

18   "ide"
19           my $ide = $object->ide;
20
21       Get the Padre IDE instance that this object is a child of.
22
23   "config"
24           my $config = $object->config;
25
26       Get the Padre::Config for the current user. Provided mainly as a
27       convenience because it is needed so often.
28
29       Please note that this method does NOT integrate with the Padre::Current
30       context system. Any project-specific configuration of overrides of
31       default behaviour will not be present in this configuration object.
32
33       For a project-aware configuration, use the following instead.
34
35         $self->current->config;
36
37   "main"
38           my $main = $object->main;
39
40       Get the Padre::Wx::Main main window that this object is a child of.
41
42   "aui"
43           my $aui = $object->aui;
44
45       Convenient access to the Wx Advanced User Interface (AUI) Manager
46       object.
47
48   current
49           my $current = $object->current;
50
51       Get a new "Padre::Current" context object, for access to other parts of
52       the current context.
53
55       Copyright 2008-2011 The Padre development team as listed in Padre.pm.
56
57       This program is free software; you can redistribute it and/or modify it
58       under the same terms as Perl 5 itself.
59
60       The full text of the license can be found in the LICENSE file included
61       with this module.
62
63
64
65perl v5.32.0                      2020-07-28          Padre::Wx::Role::Main(3)
Impressum