Tk-DynaTabFrame
view release on metacpan or search on metacpan
DynaTabFrame.pm view on Meta::CPAN
#234567890123456789012345678901234567890123456789012345678901234567890
package Tk::DynaTabFrame;
require 5.008;
use Tk;
use Tk ':variables';
use Tk::Balloon;
use base qw (Tk::Derived Tk::Frame);
use vars qw ($VERSION);
use strict;
use Carp;
$VERSION = '0.23';
#
# indexes of our tab properties
#
use constant DTF_IDX_WIDGET => 0;
use constant DTF_IDX_CAPTION => 1;
use constant DTF_IDX_COLOR => 2;
use constant DTF_IDX_ROW => 3;
use constant DTF_IDX_COL => 4;
use constant DTF_IDX_FRAME => 5;
use constant DTF_IDX_WIDTH => 6;
use constant DTF_IDX_HEIGHT => 7;
use constant DTF_IDX_RAISECOLOR => 8;
use constant DTF_IDX_RAISECMD => 9;
use constant DTF_IDX_LABEL => 10;
use constant DTF_IDX_FLASH_COLOR => 11;
use constant DTF_IDX_FLASH_INTVL => 12;
use constant DTF_IDX_FLASH_TIME => 13;
use constant DTF_IDX_FLASH_ID => 14;
use constant DTF_IDX_FLASHED => 15;
use constant DTF_IDX_HIDDEN => 16;
use constant DTF_IDX_TABTIP => 17;
my $close_xpm = << 'end-of-close-xpm';
/* XPM */
static char * close_xpm[] = {
"8 8 3 1",
" s None c None",
". c #000000000000",
"X c #E0E0FFFFE0E0",
".. ..",
" .. .. ",
" .... ",
" .. ",
" .. ",
" .... ",
" .. .. ",
".. .."};
end-of-close-xpm
my $close_xpm_6 = << 'end-of-close-xpm-6';
/* XPM */
static char * close_xpm[] = {
"6 6 3 1",
" s None c None",
". c #000000000000",
"X c #E0E0FFFFE0E0",
".. ..",
" .... ",
" .. ",
" .. ",
" .... ",
".. ..",};
end-of-close-xpm-6
( run in 2.238 seconds using v1.01-cache-2.11-cpan-d7a12ab2c7f )