Search results for "dist:Tk Tcl::Tk"
Tk::Trace - emulate Tcl/Tk trace functions.
This class module emulates the Tcl/Tk trace family of commands by binding subroutines of your devising to Perl variables using simple Tie::Watch features. Callback format is patterned after the Perl/Tk scheme: supply either a code reference, or, supp...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk - a graphical user interface toolkit for Perl
The Perl/Tk manual is split up into a number of sections: Introduction * Tk::overview * Tk::UserGuide Tk Geometry Management * Tk::Adjuster * Tk::form * Tk::grid * Tk::pack * Tk::place * Tk::Table * Tk::Tiler * Tk::Wm Binding Events and Callbacks * T...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::tkvars - Variables used or set by Tk
The following perl variables are either set or used by Tk at various times in its execution. (For a list of variables used by perl see perlvar.) $Tk::library This variable holds the file name for a directory containing the modules related to Tk. Thes...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::palette - Modify the Tk color palette
The setPalette method changes the color scheme for Tk. It does this by modifying the colors of existing widgets and by changing the option database so that future widgets will use the new color scheme. If setPalette is invoked with a single argument,...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk_EventInit - Use the Tk event loop without the rest of Tk
This procedure may be invoked to use the Tk event management functions without the rest of Tk (e.g., in applications that do not have access to a display). Tk_EventInit creates the after and fileevent commands in *interp*. It also creates versions of...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::contrib - how to find/contribute perl/Tk code
Here are some guidelines you can use to find a peace of code is already available and how to contribute your code. *If you have perl/Tk code that can be reused or used as an example or starting point please check if one could find it using the method...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::callbacks - Specifying code for Tk to call.
Perl/Tk has a callback, where Tcl/Tk has a command string (i.e. a fragment of Tcl to be executed). A perl/Tk callback can take one of the following basic forms: * Reference to a subroutine "\&subname" * Anonymous subroutine (closure) "sub { ... }" * ...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::Internals - what is Perl Tk interface doing when you call Tk functions.
PreCompiling Before the actual compilation stage a script scans the source and extracts the subcommands of different commands. This information resides in the file "pTk/Methods.def". Compilation During compilation the above file is included in the so...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk_BackgroundError - report Tcl error that occurred in background processing
This procedure is typically invoked when a Tcl error occurs during ``background processing'' such as executing a Tcl command in response to a button press or menu entry invocation. When such an error occurs, the error condition is reported to Tk or t...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk2portableTk - how to make your Tk source portable to other interpreted languages.
PortableTk is an attempt to make Tk useful from other languages. Currently tk4.0 runs under Perl using this approach. Below, *Lang* is the notation for an external language to which PortableTk glues Tk code. The main problem with using the code devel...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::FBox - a file dialog
"Tk::FBox" is the dialog implementation behind the "getOpenFile", "getSaveFile", and "chooseDirectory" method calls in the Unix/X11 world. As such, it supports all options for these methods and additionally: -sortcmd => sub { $_[0] cmp $_[1] } Specif...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::Error - Method invoked to process background errors
The Tk::Error method is invoked by perl/Tk when a background error occurs. Two possible implementations are provided in the distribution and individual applications or users can (re)define a Tk::Error method (e.g. as a perl sub) if they wish to handl...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::send - Execute a command in a different application
This method arranges for *cmd* (and *arg*s) to be 'sent' to the application named by *app*. It returns the result or an error (hence above should probably be 'wrapped' in eval{} and $@ tested). *App* may be the name of any application whose main wind...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::MsgBox - create and manipulate a message dialog
MsgBox is a simple dialog with predefined buttons....
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::Tree - Create and manipulate Tree widgets
The Tree method creates a new window and makes it into a Tree widget and return a reference to it. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the Tree widget such as its...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::Font - Create and inspect fonts.
The Font method provides several facilities for dealing with fonts, such as defining named fonts and inspecting the actual attributes of a font. The command has several different forms, determined by the first argument. The following forms are curren...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::overview - An overview of an Object Oriented Tk8 extension for perl5
In writing the perl Tk extension, the goals were to provide a complete interface to the latest production version of John Ousterhout's Tk, while providing an Object Oriented interface to perl code....
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::bind - Arrange for X events to invoke callbacks
The bind method associates callbacks with X events. If *callback* is specified, bind will arrange for *callback* to be evaluated whenever the event(s) given by *sequence* occur in the window(s) identified by *$widget* or *tag*. If *callback* is an em...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::bindtags - Determine which bindings apply to a window, and order of evaluation
When a binding is created with the bind command, it is associated either with a particular window such as *$widget*, a class name such as Tk::Button, the keyword all, or any other string. All of these forms are called *binding tags*. Each window has ...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC
Tk::Scale - Create and manipulate Scale widgets
The Scale method creates a new window (given by the $widget argument) and makes it into a scale widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the scale such as its ...
SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC