NAME

Tkx::SplashScreen - splashscreen megawidget for Tkx.

VERSION

This documentation referers to Tkx::SplashScreen version 0.11

SYNOPSYS

use Tkx;
use Tkx::SplashScreen;

my $mw = Tkx::widget->new('.');
$mw->g_wm_withdraw();

my $splash = $mw->new_tkx_SplashScreen(
    -image      => Tkx::image_create_photo(-file => './splashscreen.png'),
    -width      => 'auto',
    -height     => 'auto',
    -posx       => 'auto',
    -posy       => 'auto',
    -delay      => 1000,
    -show       => 1,
    -alpha      => 0.9,
    -override   => 1,
);

# Do some stuff
...

# Destroy widget
$splash->g_destroy();

DESCRIPTION

Tkx::SplashScreen is a megawidget that describes an image that appears while application is loading.

OPTIONS

The options bellow are passed through the constructor of megawidget.

-title => title

-image => image

-width => width

-height => height

-posx => x

-posy => y

-delay => ms

-alpha => level

-override => overrideredirect

-show => show

METHODS

Tkx::SplashScreen methods.

new

Constructor.

configure

Configure widget properties after constructing.

show

Show splash screen.

hide

Hide splash screen.

canvas

Returns canvas for the splash screen.

BUGS AND LIMITATIONS

None known at this time.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Tkx::SplashScreen

AUTHOR

Alexander Nusov <santeri@cpan.org>

COPYRIGHTS AND LICENSE

Copyright (C) 2009-2010, Alexander Nusov

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.