叶文彬 > Tk-ACH-0.04 > Tk::FileEntry

Download:
Tk-ACH-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.4   Source  

NAME ^

Tk::FileEntry - FileEntry widget with optional file selection box

SYNOPSIS ^

    use Tk::FileEntry;

    $fileentry = $parent->FileEntry(
                                -filebitmap     => BITMAP,
                                -command        => CALLBACK,
                                -variable       => SCALARREF,
                                );

DESCRIPTION ^

WIDGET-SPECIFIC OPTIONS ^

Option: -filebitmap
Name: fileBitmap
Class: FileBitmap

Specifies the bitmap to be used for the button that invokes the File Dialog.

-command

...

-variable

...

BUGS ^

If FileEntry is resized to a value smaller than at creation time the Openfile Bitmap vanishes.

FileSelection of alpha release Tk800.003 does not work (my fault!). So FileEntrys FileSelction dialog will not work with this release.

SEE ALSO ^

Tk Tk::Entry Tk::FileSelect

KEYWORDS ^

fileentry, tix, widget, file selector

AUTHOR ^

Achim Bohnet <ach@mpe.mpg.de>

This code is inspired by the documentation of FileEntry.n of the Tix4.1.0 distribution by Ioi Lam. The bitmap data are also from Tix4.1.0. For everything else:

Copyright (c) 1997-1998 Achim Bohnet. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: