Software Index
Linux Software Programming  

Tk::VisualBrowser

download download home home   report broken
important software information
company name:
Lorenz Domke
license: Freeware
minimum requirements:
functional limitations:
Tk::VisualBrowser description
Tk::VisualBrowser is a Perl module that displays a matrix of (-rows) x (-cols) Labels with thumbnail images. It can be used, for example, to create a visual directory browser for image directories or an interactive program for sorting images (dia-sorter.pl).

The application program must provide a reference to a list of image filenames and a handler which returns the filename of a corresponding thumbnail GIF image for a given image filename. Tk::VisualBrowser displays the thumbnail pictures and provides some navigation buttons for scrolling linewise or pagewise through the list. A scrollbar is also attached to the widget.

It is possible to select thumbnails with the left moust button or to select ranges of thumbnails with shift-click (as you would select files in normal file browser). Ctrl-click allows adding or removing single thumbnails from a selection.

The selected thumbnails may be moved around with the left mouse button. The cursor image changes and all thumbnails which are currently under the mouse will be highlighted while moving around. Releasing the mouse button inserts the selected thumbnails before the current position.

When moving around, an automatic scroll up or down is triggered when the mouse comes close to the upper or lower margin of the VisualBrowser. But only one linewise scroll is triggered at a time (in order to avoid the scrollbar from running away). Try going back and forth with the mouse to trigger further scrolls as needed.

SYNOPSIS

use Tk;
use Tk::VisualBrowser;

my $top = MainWindow->new();

my $vsb = $top->VisualBrowser;

my @PICTURES = qw( f1.jpg f2.jpg f3.gif);

$vsb->configure(
-rows => 5, -cols => 6,
-pictures => @PICTURES,
-thumbnail => &thumbnail_handler,
-special_color => &special_color_handler,
-b1_handler => &my_b1_handler,
-b2_handler => &my_b2_handler,
-b3_handler => &my_b3_handler,
-double_b1_handler => &my_bdouble_1_handler,
-double_b2_handler => &my_bdouble_2_handler,
-double_b3_handler => &my_bdouble_3_handler,
);

$vsb->scroll(0); # scroll to first picture
# this will implicitely load the pictures. The CPAN Search Site - search.cpan.org. Publisher of Tk::VisualBrowser, Author of Tk::VisualBrowser 0.14. Tk::VisualBrowser is a Perl module that displays a matrix of (-rows) x (-cols) Labels with thumbnail images. It can be used, for example, to create a visual directory browser for image direc
Similar software
Tk::StyledButton (Popularity: ) : Tk::StyledButton is a Perl module that provides a shaped button with stylized shading, using a Tk::Canvas object to implement the button rendering. The usual Tk::Button options and behaviors are preserved as much as possible.

When a button is rendered, 2 versions ...

Thread::Apartment (Popularity: ) : Thread::Apartment is an apartment threading wrapper for Perl objects.

SYNOPSIS

package MyClass;

use Thread::Apartment::Server;
use base qw(Thread::Apartment::Server);

sub new {
#
# the usual constructor
#
}
#
# mark some methods as simplex
#
sub get_simplex_methods {
return { 'bar' => 1 };
}
#
# mark some methods as urgent
#
sub get_urgent_methods {
return { 'bingo' => ...

tkShortcuts (Popularity: ) : tkShortcuts is a Perl module that contains some alternative Tk dialogs that you can use, that, are more beneficial for the end user than some of the stuff that is packaged with Tk as well as two other Tk shortcuts ...
LoadWorm (Popularity: ) : LoadWorm is a Perl tool to load a website with requests, and to record the resultant performance, from a web client's perspective. It can also be used for various investigative purposes, such as validation of the website, or discovering all ...
TVBrowser for Linux (Popularity: ) : TV-Browser is a TV guide that is easily extensible using plugins. TVBrowser is designed to look like a paper based TV guide. Included are over 80 German language channels.

At the moment, it only loads data in its own binary format, ...

Tornado (Popularity: ) : Tornado project is a clone of the original C64 game.

The goal of the game is to destroy the opponent's house with certain weather phenomena: rain, snow, hail, lightning, and the tornado.

The game can be played together (two players), against the ...

User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar scripts
Assorted Tk-related subroutines used in Grail (Popularity: ) : Assorted Tk-related subroutines used in Grail script allows you to create various forms used by interfaces.
Using Tk option database to configure Tk widgets (Popularity: ) : Using Tk option database to configure Tk widgets script shows you how to manage the Tk database for manipulating widgets.
PHP/TK (Popularity: ) : PHP/TK is an native extension for the PHP programming language that implements language bindings for TCL/TK. It provides an object-oriented interface and greatly simplifies writing client-side cross-platform GUI applications. The Tk extension functions currently only on Unix systems. To use ...
Cgixp.tk (Popularity: ) : Cgixp.tk offers different programmes based on PHP. It allows you to download the PHP scripts for free. The available scripts are, freeze greetings, chemical dictionary, get free hits, how many online, fast emailer, smart fetch, simple php poll , random ...
Dot TK Free domain (Popularity: ) : Dot TK allows you to create a subdomain on your own name and offers you various benefits like increasing the traffic to your website and much more. Every registered member can get upto three free domains but unlimited domain names ...
Learning Perl/Tk: Graphical User Interfaces with Perl (Popularity: ) : Assuming only a basic familiarity with Perl, Learning Perl/Tk shows you what you need to know to create graphical front ends for Perl programs. Author Nancy Walsh starts with a quick orientation, showing you how to set up Perl/Tk and ...
Mastering Perl/Tk (Popularity: ) : Perl/Tk is the marriage of the Tk graphical toolkit with Perl, the powerful programming language used primarily for system administration, web programming, and database manipulation. With Perl/Tk, you can build Perl programs with an attractive, intuitive GUI interface with all ...
Perl/Tk Pocket Reference (Popularity: ) : The Perl/Tk Pocket Reference is a companion volume to Learning Perl/Tk, an O'Reilly Animal Guide. Learning Perl/Tk is a tutorial for Perl/Tk, the extension to Perl for creating graphical user interfaces. With Tk, Perl programs can be window-based rather than ...
Tkzinc (Popularity: ) : Tkzinc (historically called Zinc) widget is very similar to the Tk Canvas in that they both support structured graphics. Like the Canvas, Tkzinc implements items used to display graphical entities.Those items can be manipulated and bindings can be associated with ...
Tic Tac Toe in Tk (Popularity: ) : A TicTacToe built using Ruby and Tk. Since this was my first Tk app, the code is longer and redundant than it should be, especially around areas dealing with Tk callback functions. Please let me know if you have ideas ...
Rate me
supported os's
stats
downloads 9
version 0.14
size in Kb 1,219
popularity   
1153/1272475
user rating 5/10
our rating 0 Stars
share info
Recommend Tk::VisualBrowser
Report spyware
New Software
Popular Software
Latest Reviews