-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-cpan-module: Tk git-cpan-version: 800.025 git-cpan-authorid: NI-S git-cpan-file: authors/id/N/NI/NI-S/Tk800.025.tar.gz
- Loading branch information
Showing
1,221 changed files
with
121,487 additions
and
290,869 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
BUGS | ||
|
||
- $w->cget(-cursor) returns a wrong value if the -cursor was | ||
constructed with an anonymous array. Workaround: use the Tcl notation, e.g. | ||
-cursor => '{@/path/to/your/cursor.xbm} red blue' | ||
|
||
- sporadic core dumps on the end of bbbike with the following backtrace: | ||
#0 0x283f5594 in Tk_CanvasEventuallyRedraw () | ||
from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Canvas/Canvas.so | ||
#1 0x284010a5 in ImageChangedProc () | ||
from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Canvas/Canvas.so | ||
#2 0x2825e532 in DeleteImage () | ||
from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Tk.so | ||
#3 0x2825e5cb in TkDeleteAllImages () | ||
from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Tk.so | ||
#4 0x2827f0bd in Tk_DestroyWindow () | ||
from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Tk.so | ||
#5 0x2824dbc5 in Tk_DestroyCmd () | ||
from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Tk.so | ||
#6 0x2823356f in Call_Tk () | ||
from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Tk.so | ||
... | ||
|
||
- missing documentation: wrapper[1], $w->property, ConfigChanged, | ||
Tk::LabEntry (with advertised widgets etc.) | ||
|
||
- The ButtonHack in Tk::BrowseEntry looks suspicious. Does it still | ||
work if there's more than one BrowseEntry per Toplevel? Maybe | ||
implement a better solution: there's a per-toplevel array or hash | ||
which is populated by the references to all containing BrowseEntries. | ||
The references are deleted OnDestroy of the BrowseEntry. | ||
|
||
- Reported in Message-ID: <[email protected]>: The oneliners | ||
|
||
perl -e 'use Tk; tkinit()->Button(-text => 'Exit', -command => sub {exit 1})->pack; MainLoop();' | ||
|
||
and | ||
|
||
perl -e 'require Tk; import Tk; tkinit()->Button(-text => 'Exit', -command => sub {exit 1})->pack; MainLoop();' | ||
|
||
may cause segmentation faults or "Callback called exit" messages. | ||
The best is to avoid exit() at all and use $mw->destroy. | ||
|
||
- cygwin: | ||
Expect 8 subtest failures: | ||
* all TList related tests fail | ||
* fileevent does not work | ||
|
||
- Excess space in TopLevels (Message-ID: | ||
<yP%[email protected]>): this may be | ||
related to the well-known "slow raise" problem in conjunction with | ||
some weird layoutRequest code in Tk::ProgressBar | ||
|
||
- Tk builds do not work if the source directory path contains spaces. | ||
|
||
Please report bugs to either the Perl/Tk Mailing list | ||
<[email protected]> or the Perl/Tk Newsgroup <comp.lang.perl.tk>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
package Tk::Bitmap; | ||
require Tk; | ||
import Tk qw($XS_VERSION); | ||
require Tk::Image; | ||
|
||
use vars qw($VERSION); | ||
$VERSION = '4.002'; # $Id: //depot/Tkutf8/Tk/Bitmap.pm#2 $ | ||
$VERSION = '3.010'; # $Id: //depot/Tk8/Bitmap/Bitmap.pm#10 $ | ||
|
||
use base qw(Tk::Image); | ||
|
||
Construct Tk::Image 'Bitmap'; | ||
|
||
bootstrap Tk::Bitmap; | ||
|
||
sub Tk_image { 'bitmap' } | ||
|
||
1; | ||
__END__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
Copyright (c) 1995-2003 Nick Ing-Simmons. All rights reserved. | ||
This program is free software; you can redistribute it and/or | ||
modify it under the same terms as Perl itself. | ||
*/ | ||
|
||
#include <EXTERN.h> | ||
#include <perl.h> | ||
#include <XSUB.h> | ||
|
||
#include "tkGlue.def" | ||
|
||
#include "pTk/tkPort.h" | ||
#include "pTk/tkInt.h" | ||
#include "pTk/tkVMacro.h" | ||
#include "tkGlue.h" | ||
#include "tkGlue.m" | ||
|
||
DECLARE_VTABLES; | ||
|
||
|
||
MODULE = Tk::Bitmap PACKAGE = Tk::Bitmap | ||
|
||
PROTOTYPES: DISABLE | ||
|
||
|
||
BOOT: | ||
{ | ||
IMPORT_VTABLES; | ||
Tk_CreateImageType(&tkBitmapImageType); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
|
||
use Tk::MMutil; | ||
Tk::MMutil::TkExtMakefile('dynamic_ptk' => 1); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.