Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.543.163 Times

Gtk2::Ex::MindMapView 0.000001

  Date Added: April 03, 2010  |  Visits: 557

Gtk2::Ex::MindMapView

Report Broken Link
Printer Friendly Version


Product Homepage
Download (75 downloads)



Gtk2::Ex::MindMapView is a Perl module to display mind map or outline on a Gnome2::Canvas. HEIRARCHY Glib::Object +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Layout +----Gnome2::Canvas +----Gtk2::Ex::MindMapView SYNOPSIS #!/usr/bin/perl -w use strict; use Gtk2 -init; use Gnome2::Canvas; use Gtk2::Ex::MindMapView; use Gtk2::Ex::MindMapView::ItemFactory; my $window = Gtk2::Window->new(); my $scroller = Gtk2::ScrolledWindow->new(); my $view = Gtk2::Ex::MindMapView->new(aa=>1); my $factory = Gtk2::Ex::MindMapView::ItemFactory->new(view=>$view); $view->set_scroll_region(-350,-325,350,325); $scroller->add($view); $window->signal_connect(destroy=>sub { _closeapp($view); }); $window->set_default_size(900,350); $window->add($scroller); my $item1 = _text_item($factory, "Hello World!"); $view->add_item($item1); my $item2 = _url_item($factory, "Google Search Engine", "http://www.google.com"); $view->add_item($item1, $item2); my $item3 = _picture_item($factory, "./monalisa.jpeg"); $view->add_item($item1, $item3); $view->layout(); $window->show_all(); Gtk2->main(); exit 0; sub _closeapp { my $view = shift(@_); $view->destroy(); Gtk2->main_quit(); return 0; } sub _text_item { my ($factory, $text) = @_; my $item = $factory->create_item(border=>Gtk2::Ex::MindMapView::Border::RoundedRect, content=>Gtk2::Ex::MindMapView::Content::EllipsisText, text=>$text, font_desc=>Gtk2::Pango::FontDescription->from_string("Ariel Italic 8"), hotspot_color_gdk=>Gtk2::Gdk::Color->parse(lightgreen)); $item->signal_connect(event=>&_test_handler); return $item; } sub _url_item { my ($factory, $text, $url) = @_; my $browser = /usr/bin/firefox; my $item = $factory->create_item(border=>Gtk2::Ex::MindMapView::Border::RoundedRect, content=>Gtk2::Ex::MindMapView::Content::Uri, text=>$text, uri=>$url, browser=>$browser, text_color_gdk=>Gtk2::Gdk::Color->parse(blue), fill_color_gdk =>Gtk2::Gdk::Color->parse(white)); $item->signal_connect(event=>&_test_handler); return $item; } sub _picture_item { my ($factory, $file) = @_; my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file($file); my $item = $factory->create_item(border=>Gtk2::Ex::MindMapView::Border::Rectangle, content=>Gtk2::Ex::MindMapView::Content::Picture, pixbuf=>$pixbuf, hotspot_color_gdk=>Gtk2::Gdk::Color->parse(lightgreen), fill_color_gdk =>Gtk2::Gdk::Color->parse(white)); $item->signal_connect(event=>&_test_handler); return $item; } sub _test_handler { my ($item, $event) = @_; my $event_type = $event->type; my @coords = $event->coords; print "Event, type: $event_type coords: @coordsn"; } 1;.

Requirements: No special requirements
Platforms: Linux
Keyword: Event Factory Item Libraries Mind Map Mindmapview Perl Module Programming Sub Text View
Users rating: 0/10

License: Freeware Size: 50.18 KB
USER REVIEWS
More Reviews or Write Review


GTK2::EX::MINDMAPVIEW RELATED
Libraries  -  Text::Reform 1.11
Text::Reform is a Perl module for manual text wrapping and reformatting. SYNOPSIS use Text::Reform; print form $template, $data, $to, $fill, $it, $with; use Text::Reform qw( tag ); print tag B, $enboldened_text; The form sub The...
20.48 KB  
Libraries  -  OpenOffice::OODoc::Text 2.032
OpenOffice::OODoc::Text is a Perl module for the text processing submodule of OpenOffice::OODoc. This manual chapter describes the text-oriented methods of OpenOffice::OODoc, implemented by the OpenOffice::OODoc::Text class, and inherited by the...
215.04 KB  
Libraries  -  MKDoc::Text::Structured::Inline 0.83
MKDoc::Text::Structured::Inline is a Perl module to convert text to HTML without handling block-level tags. SYNOPSIS my $text = some_structured_text(); my $this = MKDoc::Text::Structured::Inline::process ($text); my $that =...
14.34 KB  
Libraries  -  Sprite 3.21
Sprite is a Perl module to manipulate text delimited databases using SQL. SYNOPSIS use Sprite; $rdb = new Sprite; $rdb->set_delimiter (-Read => ::) ## OR: (Read, ::); $rdb->set_delimiter (-Write => ::) ## OR: (Write, ::); $rdb->set_os...
14.34 KB  
Libraries  -  MILA::Transliterate 0.01
MILA::Transliterate is a Perl Module for transliterating text from Hebrew to various transliterations used in the Knowledge Center for Processing Hebrew (MILA) and vise versa. SYNOPSIS use MILA::Transliterate qw((hebrew2treebank hebrew2erel...
4.1 KB  
Libraries  -  Gtk2::Ex::MindMapView::Content::Uri 0.000001
Gtk2::Ex::MindMapView::Content::Uri is a Perl module to display an clickable Uri. HEIRARCHY Gtk2::Ex::MindMapView::Content +----Gtk2::Ex::MindMapView::Content::EllipsisText +----Gtk2::Ex::MindMapView::Content::Uri SYNOPSIS use...
50.18 KB  
Animated GIF Editors  -  Edraw Mind Map 7.8
Easy to create mind maps (graphical representations of thought processes) for brainstorming, problem solving, rational analysis, and decision marking. Easy to use drawing tools, many pre-drawn flowchart templates and more than 600 flowchart...
28.64 MB  
Libraries  -  Geography::States 2.1
Geography::States is a Perl module with map states and provinces to their codes, and vice versa. SYNOPSIS use Geography::States; my $obj = Geography::States -> new (COUNTRY [, STRICT]); EXAMPLES my $canada = Geography::States -> new...
6.14 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Sort::Half::Maker 0.03
Sort::Half::Maker is a Perl module to create half-sort subs easily. SYNOPSIS use Sort::Half::Maker qw(make_halfsort); $sub = make_halfsort( start => [ qw(x y z) ], end => [ qw(a b c) ], fallback => sub { $_[0] cmp $_[1] }, ); @list =...
4.1 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB