Tie-Wx-Widget


Tie::Wx::Widget - get and set the main Value of a Widget with less syntax

VERSION

0.6

USAGE

	use Tie::Wx::Widget;

	tie $tiedwidget, Tie::Wx::Widget, $widgetref;
    
	# instead of say $widgetref->GetValue;
	say  $tiedwidget;

	# instead of $widgetref->SetValue('7');
	$tiedwidget = 7;

	# not required:
	untie $tiedwidget;
	# now $tiedwidget is just a normal scalar

ATTENTION

Your Program will die, if you don't provide a proper reference to a Wx
widget, that has a GetValue and SetValue method.


INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test
	make install

INTERNALS

	# how to get a reference to the Tie::Wx::Widget object?
	$tieobjectref = tie $tiedwidget, Tie::Wx::Widget, $widgetref;
	$tieobjectref = tied $tiedwidget;

	# now you even can:
	$tieobjectref->FETCH()
	# aka:
	$tieobjectref->{'widget'}->GetValue;
	# or do any other method on the wx object reference

	$tieobjectref->DESTROY()

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc Tie::Wx::Widget

You can also look for information at:

    RT, CPAN's request tracker (report bugs here)
        http://rt.cpan.org/NoAuth/Bugs.html?Dist=Tie-Wx-Widget

    AnnoCPAN, Annotated CPAN documentation
        http://annocpan.org/dist/Tie-Wx-Widget

    CPAN Ratings
        http://cpanratings.perl.org/d/Tie-Wx-Widget

    Search CPAN
        http://search.cpan.org/dist/Tie-Wx-Widget/

	Source Repository:

		http://bitbucket.org/lichtkind/tie-wx-widget

LICENSE AND COPYRIGHT

Copyright (C) 2011 Herbert Breunung

This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

