Wx

From WxPerl wiki

Revision as of 17:13, 16 October 2009 by Lichtkind (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a most excellent convenience, saves lots of typing (at the expense of memory of course).

	# exports all of $Wx::Wx_Exp::EXPORT_TAGS{'everything'}
	# basically all the constants for all the core wxPerl classes
	use Wx qw[:everything];

	# loads all modules in the Wx namespace (whatever you got installed)
	use Wx qw[:allclasses];

	# loads all Events, or use them as Wx::Event::Eventname
	use Wx::Event qw[:everything];
Google AdSense