Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Tk::StyledButton 0.10

    Download button

    No screenshots available
    Downloads: 230  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Dean Arnold | More programs
    Perl Artistic License / FREE
    August 12th, 2009, 21:14 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Tk::StyledButton description

    Stylized Button widget

    Tk::StyledButton is a Perl module that provides a shaped button with stylized shading, using a Tk::Canvas object to implement the button rendering. The usual Tk::Button options and behaviors are preserved as much as possible.

    When a button is rendered, 2 versions are created:

    idle version

    This version uses the unmodified -background value to render the button.

    active version

    This version uses the uses a brightened version of the -background value to render the button.

    If the GD (min. version 2.30) and GD::Text modules are installed, the button images can be rendered via GD and captured for external use.

    Note that some option values (e.g., -shape => 'folio', -orient => 'vertical') are provided for use by Tk::StyledNB (derived from Tk::DynaTabFrame ), and have minimal value for general use.

    SYNOPSIS

     use Tk::StyledButton;
     ...
     $b = $MW->StyledButton(
     -style => 'shiny' | 'round' | 'gel' | 'flat' | 'image',
     -shape => 'rectangle' | 'oval' | 'round' | 'bevel' | 'folio' | [ @coords ],
     -dispersion => fractional-number,
     -angle => fractional-number,
     -image => "Tk::Photo variable",
     -state => 'normal' | 'disabled',
     -command => [ sub {a callback} ],
     -text => 'OK',
     -font => $font,
     -compound => 'left',
     -orient => 'horizontal' | 'vertical',
     -tooltip => 'Some helpful text'
     )->pack();
     ...
     MainLoop;



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    shaped button | stylized shading | Perl module | shaped | stylized | button

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM