Main > Free Download Search >

Free tk software for linux

tk

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 245
TK-10 0.1

TK-10 0.1


TK10 is a Bottlerocket GUI for Linux. more>>
TK10 is a Bottlerocket GUI for Linux. TK-10 is written in Tcl/Tk.

I wrote TK10 because I wanted a GUI application to control my X10 devices, and I wanted it to look and function like the HR12A controller that comes with the X10 Firecracker kit.

If you are familiar with the HR12A then you will find TK10 very easy to use. The on/off/dim buttons, device letter dial, and device number range switch work just like in the HR12A. You can even edit the device labels!

Installation:

To install TK10 the easy way, just run the install.sh script as root.

Alternatively, to install TK10 manually, do the following:

1. Copy the file tk10 to somewhere in your PATH (e.g. /usr/bin)
2. mkdir -p /usr/share/tk10-0.1
3. Copy the remaining files to /usr/share/tk10-0.1
(Note: if you can not create the directory /usr/share/tk10-0.1, then
pick another directory and modify the line below in tk10:
set MAINDIR "/usr/share/tk10-0.1"
to use the directory of your choice.)
4. Copy the file tk10.1 to somewhere in your MANPATH (e.g. /usr/man/man1).

TK10 assumes that your Tk interpreter is /usr/bin/wish. You may have to modify the first line of the tk10 file to reflect the correct location (e.g. #!/usr/local/bin/wish).

An optional icon (tk10.xpm) is included for use with window managers that support icons.

After installation, just run the command tk10.

<<less
Download (0.023MB)
Added: 2006-03-22 License: GPL (GNU General Public License) Price:
1313 downloads
Tk::CmdLine

Tk::CmdLine


Tk::CmdLine contains process standard X11 command line options and set initial resources. more>>
Tk::CmdLine contains process standard X11 command line options and set initial resources.

SYNOPSIS

Tk::CmdLine::SetArguments([@argument]);

my $value = Tk::CmdLine::cget([$option]);

Tk::CmdLine::SetResources((@resource | $resource) [, $priority]);

Tk::CmdLine::LoadResources(
[ -symbol => $symbol ]
[ -file => $fileSpec ]
[ -priority => $priority ]
[ -echo => $fileHandle ] );

Process standard X11 command line options and set initial resources.

The X11R5 man page for X11 says: "Most X programs attempt to use the same names for command line options and arguments. All applications written with the X Toolkit Intrinsics automatically accept the following options: ...". This module processes these command line options for perl/Tk applications using the SetArguments function.

This module can optionally be used to load initial resources explicitly via function SetResources, or from specified files (default: the standard X11 application-specific resource files) via function LoadResources.

<<less
Download (5.7MB)
Added: 2007-08-21 License: Perl Artistic License Price:
794 downloads
Tk::Help 0.2

Tk::Help 0.2


Tk::Help is simple widget for creating a help system for Perl/Tk applications. more>>
Tk::Help is simple widget for creating a help system for Perl/Tk applications.

SYNOPSIS

use Tk::Help;
my $help = $main->Help(-variable => @array);

This is an answer to a personal need to be able to create help systems for my Perl/Tk applications. Originally, I just created a really big dialog and formatted all the text, which was tedious and clumsy.

I wanted to create something that looked similar to the Windows help. This is by no means as featured or fluid as the Windows help, but it should provide a (somewhat) simple means to create a help dialog where all someone should need to do is create the array with their help content.

<<less
Download (0.005MB)
Added: 2006-10-27 License: Perl Artistic License Price:
1092 downloads
tk_msg 0.1

tk_msg 0.1


tk_msg project is a small application which helps a programmer create message catalogs for localizing Tcl/Tk programs. more>>
tk_msg project is a small application which helps a programmer create message catalogs for localizing Tcl/Tk programs.

tk_msg can find your messages constructs when:

- the command starts with ::msgcat::mc or msgcat::mc or only mc
- the message string is enclosed from "double quotation marks"
- you dont use the character order ] in your message strings
(but you can display this if you want with [ msgcat::mc "I want to show
%s" {]} ]

tk_msg has a two windows: one with your orginal message and one window to put in the translation - tk_msg is written in pure tcl/tk (no tcl/tk-extensions are required).

A German translation of the program is available.

<<less
Download (0.041MB)
Added: 2006-10-12 License: GPL (GNU General Public License) Price:
1108 downloads
Tk::Month 1.4

Tk::Month 1.4


Tk::Month is a calendar widget which shows one month at a time. more>>
Tk::Month is a calendar widget which shows one month at a time.

SYNOPSIS

use Tk;
use Tk::Month;

$m = $parent->Month(
-month => July,
-year => 1997,
-title => %b %y,
-command => &press,
-printformat => %e,
-navigation => [0|1],
-includeall => [0|1],
-showall => [0|1],
-first => [0|1|2|3|4|5|6],
)->pack();

$m->configure(
-month => July,
-year => 1997,
-command => &press,
-printformat => %e %B %Y %A,
-navigation => [0|1],
-includeall => [0|1],
-showall => [0|1],
-first => [0|1|2|3|4|5|6],
);

$m->separator();
$m->command(
-label => Label,
-command => &callback,
);

<<less
Download (0.016MB)
Added: 2007-08-02 License: Perl Artistic License Price:
813 downloads
Tk::Bubble 1.3

Tk::Bubble 1.3


Tk::Bubble are pop up help windows. more>>
Tk::Bubble are pop up help windows.

SYNOPSYS

use Tk::Bubble;
...
$bubble = new Bubble( );
$bubble->attach( , );
$bubble->configure( , );

Bubble is a bubble help system (or sometimes called tooltips/balloon help) which allows a window to be displayed after a certain amount of time. This window will vanish if the mouse is moved or a button is pressed.

<<less
Download (0.033MB)
Added: 2006-10-30 License: Perl Artistic License Price:
1089 downloads
Tk::Date 0.42

Tk::Date 0.42


Tk::Date is a date/time widget for perl/Tk. more>>
Tk::Date is a date/time widget for perl/Tk.

SYNOPSIS

use Tk::Date;
$date_widget = $top->Date->pack;
$date_widget->get("%x %X");

Tk::Date implements a date/time widget. There are three ways to input a date:
Using the keyboard to input the digits and the tab key or the mouse pointer to move focus between fields.

Using up and down cursor keys to increment/decrement the date (only with installed Tk::NumEntryPlain widget).

Selecting up and down arrow buttons will increment or decrement the value of the active field (only with installed Tk::FireButton widget).

The Date/Time Format

Unlike Java, Perl does not have a date/time object. However, it is possible to use the unix time (seconds since epoch, that is 1st January 1970) as a replacement. This is limited, since on most architectures, the valid range is between 14th December 1901 and 19th January 2038. For other dates, it is possible to use a hash notation:

{ y => year,
m => month,
d => day,
H => hour,
M => minute,
S => second }

The abbreviations are derivated from the format letters of strftime. Note that year is the full year (1998 instead of 98) and month is the real month number, as opposed to the output of localtime(), where the month is subtracted by one.

In this document, the first method will be referred as unixtime and the second method as datehash.

STANDARD OPTIONS

Tk::Date descends from Frame and inherits all of its options.

-orient

Specified orientation of the increment and decrements buttons. May be vertical (default) or horizontal.

<<less
Download (0.018MB)
Added: 2006-06-12 License: Perl Artistic License Price:
1230 downloads
Tk::Gpack 0.8

Tk::Gpack 0.8


Tk::Gpack module contains abbreviated geometry arguments for pack, grid and place geometry managers. more>>
Tk::Gpack module contains abbreviated geometry arguments for pack, grid and place geometry managers.

This module exports four functions for each of the different geometry mananers into the Tk namespace. These functions provide a variety of styles for controlling the indevidual geometry of one, or bulk groups of widgets. Each geometry manager has a series of single letter abbreviations allowing a significant reduction in code, while remaining fairly intuitive.

SYNOPSIS

use Tk::Gpack ;
gpack, ggrid, and gplace are group packers, they recieve an even numbered list of alternating widgets and abbreviations.
gpack($one, slan $two, sran $three, slanx1fb) ; # group pack
ggrid($one, r25c10, $two, c9r15, $three, c1r1se ) ; # group grid
gplace($one, w40h40x120y120anw, $two, x40y40ase, $three, aww20h20x25y140) ; # group placer
tpack, tgrid, and tplace are target packers, and use exactly the same format except they take a preceding target widget, (typically a frame) which will be automatically be used in conjunction with the -in => argument.
tpack($FRAME1, $one, slan $two, sran $three, slanx1fb) ; # target pack
tgrid($TOPLEVEL1, $one, r25c10, $two, c9r15, $three, c1r1se ) ; # target grid
tplace($MW, $one, w40h40x120y120anw, $two, x40y40ase, $three, aww20h20x25y140) ; # target placer
xpack xgrid and xplace are expand packers, and used inline as a direct replacement to pack grid and place. The first string passed is the abbreviation string, while anything remaining will be parsed as the standard verbose options.
$one->xpack(slan, -in => $FRAME1) ; # expand pack
$two->xgrid(r4c4sw, -in => $TOPLEVEL2) ; # expand grid
$three->xplace(x20y20aw, -in => $MW) ; # expand place
spack sgrid and splace are self packers, they assume that an abbreviation is embedded in the widget as an option called -geometry. You must be using derived widgets for this to work, and have defined a configspec -geometry. The self packers perform the same as xpack in that they permit additional verbose option pairs to be passed which will be appended to the expansion of the embedded abbreviation. If you are using a default widget geometry as shown below, you can still override it by simply using xpack in place of spack. (spack wont take the abbreviation as an argument) This is particularly handly for templated code. To use spack splace and sgrid do the following:
package DerivedButton ;
...
sub Populate {
$self->ConfigSpecs(-geometry => [PASSIVE, data, Data, slan]) ; # DerivedButton()->spack(-in => $foo) ;
Obviously this last example is not complete. Once youve built a derived widget it should make sense though.

DETAILS

The abbreviations are fairly intuitive. All supported options are represented by a single character. For the pack geometry manager all passed values are also single characters. For grid and place passed values may be multiple characters. Numeric arguments for grid and place are variable length integers for example. There are a few redundant characters, but they work as expected.

NOT ALL OPTIONS TRANSLATE, in this version. (And probably for quite a few versions to come) But the most used ones do. Please review the following translation lists to see How things are supported at this time.

SUPPORTED TRANSLATIONS

# OPTIONS pack()
###################
x = -expand
s = -side
a = -anchor
f = -fill
X = -padx
Y = -pady

# VALUES pack()
####################
c = center
l = left
r = right
t = top
n = n
s = s
e = e
w = w
y = y
x = x
b = both
b = bottom

# OPTIONS grid()
####################
r = -row
c = -column
s = -sticky

# VALUES grid()
####################
n = n
s = s
e = e
w = w

# OPTIONS place()
####################
w = -width
h = -height
x = -x
y = -y
a = -anchor

# VALUES place()
####################
n = n
ne = ne
nw = nw
s = s
se = se
sw = sw
e = e

<<less
Download (0.006MB)
Added: 2007-08-21 License: Perl Artistic License Price:
795 downloads
Tk::Getopt 0.49

Tk::Getopt 0.49


Tk::Getopt is a user configuration window for Tk with interface to Getopt::Long. more>>
Tk::Getopt is a user configuration window for Tk with interface to Getopt::Long.

SYNOPSIS

use Tk::Getopt;
@opttable = ([opt1, =s, default], [opt2, !, 1], ...);
$opt = new Tk::Getopt(-opttable => @opttable,
-options => %options,
-filename => "$ENV{HOME}/.options");
$opt->set_defaults; # set default values
$opt->load_options; # configuration file
$opt->get_options; # command line
$opt->process_options; # process callbacks, check restrictions ...
print $options->{opt1}, $options->{opt2} ...;
...
$top = new MainWindow;
$opt->option_editor($top);
or using a Getopt::Long-like interface
$opt = new Tk::Getopt(-getopt => [help => $HELP,
file:s => $FILE,
foo! => $FOO,
num:i => $NO,
]);
or an alternative Getopt::Long interface
%optctl = (foo => $foo,
bar => $bar);
$opt = new Tk::Getopt(-getopt => [%optctl, "foo!", "bar=s"]);

Tk::Getopt provides an interface to access command line options via Getopt::Long and editing with a graphical user interface via a Tk window.

Unlike Getopt::Long, this package uses a object oriented interface, so you have to create a new Tk::Getopt object with new. Unlike other packages in the Tk hierarchy, this package does not define a Tk widget. The graphical interface is calles by the method option_editor.

After creating an object with new, you can parse command line options by calling get_options. This method calls itself Getopt::Long::GetOptions.

<<less
Download (0.022MB)
Added: 2006-11-03 License: Perl Artistic License Price:
1085 downloads
Tk::Mirror 0.02

Tk::Mirror 0.02


Tk::Mirror is a Perl extension for a graphic user interface to update local or remote directories in both directions. more>>
Tk::Mirror is a Perl extension for a graphic user interface to update local or remote directories in both directions.

SYNOPSIS

# in the simplest kind and manner
use Tk::Mirror;
use Tk;
my $mw->MainWindow->new();
$mw->Mirror()->grid();
MainLoop();
# in a detailed kind
use Tk;
use Tk::Mirror;
my $mw = MainWindow->new();
my $mirror = $mw->Mirror(
-localdir => "TestA",
-remotedir => "TestD",
-usr => my_ftp@username.de
-ftpserver => "ftp.server.de",
-pass => "my_password",
-debug => 1,
-delete => "enable",
-exclusions => ["private.txt", "secret.txt"],
-timeout => 60,
-connection => undef, # or a connection to a ftp-server
)->grid();
for(keys(%{$mirror->GetChilds()}))
{
$mirror->Subwidget($_)->configure(
-font => "{Times New Roman} 14 {bold}",
);
}
for(qw/
TreeLocalDir
TreeRemoteDir
/)
{
$mirror->Subwidget($_)->configure(
-background => "#FFFFFF",
-width => 40,
-height => 20,
);
}
for(qw/
bEntryUsr
EntryPass
bEntryFtpServer
bEntryLocalDir
bEntryRemoteDir
/)
{
$mirror->Subwidget($_)->configure(
-background => "#FFFFFF",
);
}
MainLoop();

This is a graphic user interface to compare and update local with remote directories in both directions.

<<less
Download (0.007MB)
Added: 2006-07-28 License: Perl Artistic License Price:
1183 downloads
Tk::HyperText 0.05

Tk::HyperText 0.05


Tk::HyperText can create and manipulate ROText widgets which render HTML code. more>>
Tk::HyperText can create and manipulate ROText widgets which render HTML code.

SYNOPSIS

my $hypertext = $mw->Scrolled ("HyperText",
-scrollbars => e,
-wrap => word,
-linkcommand => &onLink, # what to do when links are clicked
-titlecommand => &onTitle, # what to do when
<<less
Download (0.034MB)
Added: 2007-08-02 License: Perl Artistic License Price:
813 downloads
ptkmixer 0.1

ptkmixer 0.1


ptkmixer is a Perl Tk Audio Mixer with an easy-to-use GUI. more>>
ptkmixer is a Perl Tk Audio Mixer with an easy-to-use GUI. You will need to have Tk and Audio-Mixer perl modules to run the program.Look in the documentation section for information how to install perl modules. Tested on Peanut Linux .

Type make install for default install.
<<less
Download (0.014MB)
Added: 2006-07-31 License: GPL (GNU General Public License) Price:
1180 downloads
Tk::Columns 0.03

Tk::Columns 0.03


Tk::Columns is a multicolumn list widget with sortable & sizeable columns. more>>
Tk::Columns is a multicolumn list widget with sortable & sizeable columns.

SYNOPSIS

use Tk::Columns;

$Columns = $parent->B
(
-columnlabels => [qw (column1 column2)]
-listbackground => white,
-listforeground => black,
-buttonforeground => black,
-buttonbackground => blue,
);

$ColumnHeader = $Columns->B
(
-listfont => -adobe-new century schoolbook-medium-r-normal--14-*-*-*-*-*-*-*,
-buttoncolor => beige,
-text => column3,
-width => 15,
-trimcount => 2,
-listbackground => white,
-listforeground => black,
-buttonforeground => black,
-buttonbackground => blue,
-sort => true,
-sortcommand => $a cmp $b,
-image => $icon_image,
-buttoncommand => sub {...},
-selectcommand => sub {...}
);

$Columns->insert (end, [List, Row, Contents]);
$Columns->insert (end, {column1 => List, column2 => Row, column3 => Contents});
$Columns->insert (end, List, Row, Contents);
$Columns->delete (0, end);

...

Tk::MainLoop;

<<less
Download (0.050MB)
Added: 2007-08-11 License: Perl Artistic License Price:
804 downloads
Tk::ToolBar 0.09

Tk::ToolBar 0.09


Tk::ToolBar is a toolbar widget for Perl/Tk. more>>
Tk::ToolBar is a toolbar widget for Perl/Tk.

SYNOPSIS

use Tk;
use Tk::ToolBar;

my $mw = new MainWindow;
my $tb = $mw->ToolBar(qw/-movable 1 -side top
-indicatorcolor blue/);

$tb->ToolButton (-text => Button,
-tip => tool tip,
-command => sub { print "hin" });
$tb->ToolLabel (-text => A Label);
$tb->Label (-text => Another Label);
$tb->ToolLabEntry(-label => A LabEntry,
-labelPack => [-side => "left",
-anchor => "w"]);

my $tb2 = $mw->ToolBar;
$tb2->ToolButton(-image => navback22,
-tip => back,
-command => &back);
$tb2->ToolButton(-image => navforward22,
-tip => forward,
-command => &forward);
$tb2->separator;
$tb2->ToolButton(-image => navhome22,
-tip => home,
-command => &home);
$tb2->ToolButton(-image => actreload22,
-tip => reload,
-command => &reload);

MainLoop;

This module implements a dockable toolbar. It is in the same spirit as the "short-cut" toolbars found in most major applications, such as most web browsers and text editors (where you find the "back" or "save" and other shortcut buttons).

Buttons of any type (regular, menu, check, radio) can be created inside this widget. You can also create Label, Entry and LabEntry widgets. Moreover, the ToolBar itself can be made dockable, such that it can be dragged to any edge of your window. Dragging is done in "real-time" so that you can see the contents of your ToolBar as you are dragging it. Furthermore, if you are close to a stickable edge, a visual indicator will show up along that edge to guide you.

ToolBars can be made "floatable" such that if they are dragged beyond their associated window, they will detach and float on the desktop. Also, multiple ToolBars are embeddable inside each other.

If you drag a ToolBar to within 15 pixels of an edge, it will stick to that edge. If the ToolBar is further than 15 pixels away from an edge and still inside the window, but you release it over another ToolBar widget, then it will be embedded inside the second ToolBar. You can "un-embed" an embedded ToolBar simply by dragging it out. You can change the 15 pixel limit using the -close option.

Various icons are built into the Tk::ToolBar widget. Those icons can be used as images for ToolButtons (see "SYNOPSIS"). A demo program is bundled with the module that should be available under the User Contributed Demonstrations when you run the widget program. Run it to see a list of the available images.

Tk::ToolBar attempts to use Tk::CursorControl if its already installed on the system. You can further control this using the -cursorcontrol option. See "PREREQUISITES".
The ToolBar is supposed to be created as a child of a Toplevel (MainWindow is a Toplevel widget) or a Frame. You are free to experiment otherwise, but expect the unexpected.
<<less
Download (0.055MB)
Added: 2006-06-12 License: Perl Artistic License Price:
1232 downloads
TkDgen 1.1.1

TkDgen 1.1.1


TkDgen project is a Tcl/Tk GUI front-end to the DGen emulator. more>>
TkDgen project is a Tcl/Tk GUI front-end to the DGen emulator.

TkDgen is a Tcl/Tk GUI front-end for DGen, an emulator of the Genesis video game console. It displays a list of available ROMs, and it can display a game screenshot when a ROM is selected in the list.

It also helps you manage tips, graphic files, and hex codes for individual ROMs.

<<less
Download (MB)
Added: 2006-11-30 License: GPL (GNU General Public License) Price:
1064 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5