NAME

Padre::Wx::Role::MainChild - Convenience methods for children of the main window

DESCRIPTION

This psuedo-role implements the fairly common method pattern for Wx elements that are children of Padre::Wx::Main.

METHODS

ide

my $ide = $object->ide;

Get the Padre IDE instance that this object is a child of.

config

my $config = $object->config;

Get the Padre::Config for the current user. Provided mainly as a convenience because it is needed so often.

main

my $main = $object->main;

Get the Padre::Wx::Main main window that this object is a child of.

aui

my $aui = $object->aui;

Convenient access to the AUI Manager

current

my $current = $object->current;

Get a new Padre::Current context object.

COPYRIGHT & LICENSE

Copyright 2008-2009 The Padre development team as listed in Padre.pm.

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.