The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

ZConf::BGSet::GUI::GTK - GTK GUI for ZConf::BGSet

VERSION

Version 0.0.1

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

    use Gtk2 -init;
    use ZConf::BGSet::GUI::GTK;

    my $zbgGTK = ZConf::BGSet::GUI::GTK->new();
    
    my $window = Gtk2::Window->new ('toplevel');
    
    my $zbgGUI=ZConf::BGSet::GUI::GTK->new({autoinit=>'1'});
    
    my $item=$zbgGUI->notebook();
    
    $window->add($item);
    
    $window->signal_connect('delete-event'=>sub{exit 0});

    $window->show_all;
    
    Gtk2->main;

METHODES

new

This initiates the module.

hash values

autoinit

If this is set to true, it will automatically call init the set and config. If this is set to false or not defined, besure to check '$zbg->{init}' to see if the config/module has been initiated or not.

set

This is the set to load initially.

zconf

If this key is defined, this hash will be passed to ZConf->new().

addFSPath

Utility function for '$self->{pathsBewFSPathButton}'.

askNewPath

This is the utility function called by '$self->{pathsNewPathButton}'.

chooseFile

Utility function for '$self->{setbgFileButton}'.

history

This returns a scrolled window containing the last several backgrounds.

notebook

This returns a notebook widget populated with everything.

removeFSPath

This is the utility function used by '$self->{pathsRemoveFSPathButton}'.

removePath

This is a utility function called by '$self->{pathsRemovePathButton}'.

pathChanged

This is a utility function called by '$self->{pathsSList}' upon a row being clicked on.

paths

This returns a VBox for manipulating the paths.

setbg

This returns a VBox containing widgets for setting the background.

setFile

Utility function for '$self->{setbgSet}'.

setRand

This is the utility function used by '$self->{setbgRandButton}'.

setters

This returns a VBox that allow the setters to be edited.

ERROR CODES

This can be found by checking $zbg->{error}. Only errors currently upon new.

1

Failed to initailize 'ZConf::BGSet'.

AUTHOR

Zane C. Bowers, <vvelox at vvelox.net>

BUGS

Please report any bugs or feature requests to bug-zconf-bgset-gui-gtk at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ZConf-BGSet-GUI-GTK. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

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

    perldoc ZConf::BGSet::GUI::GTK

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2009 Zane C. Bowers, all rights reserved.

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