Gtk2::Ex::RecordsFilter 0.03
Sponsored Links
Gtk2::Ex::RecordsFilter 0.03 Ranking & Summary
File size:
0.008 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1079
Date added:
2006-11-11
Publisher:
Ofey Aikon
Gtk2::Ex::RecordsFilter 0.03 description
Gtk2::Ex::RecordsFilter is a high level widget to browse reasonably large amounts of relational data. This widget is inspired by the song browser of iTunes.
SYNOPSIS
use Gtk2 -init;
use Gtk2::Ex::RecordsFilter;
# Create a recordset
my $recordset = [
[Automobiles,Cars,Toyota,Camry],
[Automobiles,SUV,BMW,Xi],
[Automobiles,SUV,Toyota,Highlander],
[Automobiles,Cars,Mitsubishi,Lancer]
];
# Create the recordsfilter object
my $recordsfilter = Gtk2::Ex::RecordsFilter->new;
# Specify the headers for the columns
my $headers = [Category, Sub-Category, Brand, Model];
Gtk2::Ex::RecordsFilter->set_headers($headers);
# Inject data into the widget
Gtk2::Ex::RecordsFilter->set_data($recordset);
# Get a ref to its widget
my $recordsfilter_widget = $recordsfilter->get_widget();
# Create the root window
my $window = Gtk2::Window->new;
$window->signal_connect(destroy => sub { Gtk2->main_quit; });
$window->set_default_size(500, 300);
# Add the widget to the root window
$window->add($recordsfilter_widget);
$window->show_all;
Gtk2->main;
When working with large amounts of relational records (csv files, database records, music files index), a common task is to filter out a subset or records from a given set. For example, in a master-detail database design, the master recordset, which is typically smaller than the detail recordset, can be filtered out and the filtered subset of master records can then be used to perform additional tasks on the detail records that they point to.
A common example of this usage is the song browser in your own mp3 player application (for example, the iTunes application). This application will allow you to choose an mp3 file (the detail record) based on criteria such as Artist, Album, Song (the master record). Once the master record is choosen (i.e., the Artist, Album and Song) it then performs a task on the detail record (i.e., play the mp3 file).
This Gtk2::Ex::RecordsFilter widget is inspired by the iTunes song browser widget. But this widget carries certain functionality which is not present in the iTunes song browser. The iTunes song browser allows the user to choose one song (one master record) at a time and play it. However, a more general usage should allow the user to choose multiple master records at a time. One approach for such multiple selections is to enable the user to click on different records with the CTRL key pressed and then choose all the highlighted records in one shot. This widget takes a different approach, which I call the shopping cart approach. This is explained in the next section.
SYNOPSIS
use Gtk2 -init;
use Gtk2::Ex::RecordsFilter;
# Create a recordset
my $recordset = [
[Automobiles,Cars,Toyota,Camry],
[Automobiles,SUV,BMW,Xi],
[Automobiles,SUV,Toyota,Highlander],
[Automobiles,Cars,Mitsubishi,Lancer]
];
# Create the recordsfilter object
my $recordsfilter = Gtk2::Ex::RecordsFilter->new;
# Specify the headers for the columns
my $headers = [Category, Sub-Category, Brand, Model];
Gtk2::Ex::RecordsFilter->set_headers($headers);
# Inject data into the widget
Gtk2::Ex::RecordsFilter->set_data($recordset);
# Get a ref to its widget
my $recordsfilter_widget = $recordsfilter->get_widget();
# Create the root window
my $window = Gtk2::Window->new;
$window->signal_connect(destroy => sub { Gtk2->main_quit; });
$window->set_default_size(500, 300);
# Add the widget to the root window
$window->add($recordsfilter_widget);
$window->show_all;
Gtk2->main;
When working with large amounts of relational records (csv files, database records, music files index), a common task is to filter out a subset or records from a given set. For example, in a master-detail database design, the master recordset, which is typically smaller than the detail recordset, can be filtered out and the filtered subset of master records can then be used to perform additional tasks on the detail records that they point to.
A common example of this usage is the song browser in your own mp3 player application (for example, the iTunes application). This application will allow you to choose an mp3 file (the detail record) based on criteria such as Artist, Album, Song (the master record). Once the master record is choosen (i.e., the Artist, Album and Song) it then performs a task on the detail record (i.e., play the mp3 file).
This Gtk2::Ex::RecordsFilter widget is inspired by the iTunes song browser widget. But this widget carries certain functionality which is not present in the iTunes song browser. The iTunes song browser allows the user to choose one song (one master record) at a time and play it. However, a more general usage should allow the user to choose multiple master records at a time. One approach for such multiple selections is to enable the user to click on different records with the CTRL key pressed and then choose all the highlighted records in one shot. This widget takes a different approach, which I call the shopping cart approach. This is explained in the next section.
Gtk2::Ex::RecordsFilter 0.03 Screenshot
Advertisements
Gtk2::Ex::RecordsFilter 0.03 Keywords
RecordsFilter
RecordsFilter 0.03
Large Amounts
to browse
relational data
High Level
widget
records
song
master
data
Recordset
Gtk2::Ex::RecordsFilter
Gtk2ExRecordsFilter
Gtk2::Ex::RecordsFilter 0.03
Libraries
Bookmark Gtk2::Ex::RecordsFilter 0.03
Gtk2::Ex::RecordsFilter 0.03 Copyright
WareSeeker periodically updates pricing and software information of Gtk2::Ex::RecordsFilter 0.03 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Gtk2::Ex::RecordsFilter 0.03 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Gtk2::Ex::DBITableFilter is a high level widget to present large amounts of data fetched using DBI. Free Download
xulRecordset is a project to create XUL widget library with a recordset behaviour, like ADORecordset in Visual Basic. Free Download
Gtk2::Ex::PodViewer is a Gtk2 widget for displaying Plain old Documentation (POD). Free Download
Gtk2::Ex::FormFactory is a Perl module that makes building complex GUIs easy. Free Download
Gtk2::Ex::Carp is a GTK+ friendly die() and warn() functions. Free Download
Gtk2::TrayIcon is a Perl interface to the EggTrayIcon library. Free Download
Gtk2::Ex::Utils is a Perl module with extra Gtk2 Utilities for working with Gnome2/Gtk2 in Perl. Free Download
DBIx::Recordset is a Perl extension for DBI recordsets. Free Download
Latest Software
Popular Software
Favourite Software