Tk::ConfigSpecs

Tk::ConfigSpecs is a Perl module that defines the behavior of 'configure' for composite widgets.
Download

Tk::ConfigSpecs Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Nick Ing-Simmons
  • Publisher web site:
  • http://search.cpan.org/~ni-s/

Tk::ConfigSpecs Tags


Tk::ConfigSpecs Description

Tk::ConfigSpecs is a Perl module that defines the behavior of 'configure' for composite widgets. Tk::ConfigSpecs is a Perl module that defines the behavior of 'configure' for composite widgets.SYNOPSIS sub Populate { my ($composite,$args) = @_; ... $composite->ConfigSpecs('-attribute' => ); $composite->ConfigSpecs('-alias' => '-otherattribute'); $composite->ConfigSpecs('DEFAULT' => ); $composite->ConfigSpecs($subwidget->ConfigSpecs); ... } $composite->configure(-attribute => value);The aim is to make the composite widget configure method look as much like a regular Tk widget's configure as possible. (See Tk::options for a description of this behaviour.) To enable this the attributes that the composite as a whole accepts needs to be defined. Requirements: · Perl


Tk::ConfigSpecs Related Software