diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Tk/ItemStyle.pm')
-rwxr-xr-x | Master/tlpkg/tlperl/lib/Tk/ItemStyle.pm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl/lib/Tk/ItemStyle.pm b/Master/tlpkg/tlperl/lib/Tk/ItemStyle.pm new file mode 100755 index 00000000000..85c6c11a76c --- /dev/null +++ b/Master/tlpkg/tlperl/lib/Tk/ItemStyle.pm @@ -0,0 +1,38 @@ +package Tk::ItemStyle; + +use vars qw($VERSION); +$VERSION = '4.004'; # $Id: //depot/Tkutf8/Tk/ItemStyle.pm#4 $ + +require Tk; +use base qw(Tk); +require Tk::Widget; +Construct Tk::Widget 'ItemStyle'; + +Tk::Methods ('delete'); + +sub new +{ + my $package = shift; + my $widget = shift; + my $type = shift; + my %args = @_; + $args{'-refwindow'} = $widget unless exists $args{'-refwindow'}; + $package->InitClass($widget); + my $obj = $widget->itemstyle($type, %args); + return bless $obj,$package; +} + +sub Install +{ + # Dynamically loaded image types can install standard images here + my ($class,$mw) = @_; +} + +sub ClassInit +{ + # Carry out class bindings (or whatever) + my ($package,$mw) = @_; + return $package; +} + +1; |