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

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

Serving Software Downloads in 956 Categories, Downloaded 49.484.780 Times

Gtk2::Ex::MindMapView 0.000001

  Date Added: April 03, 2010  |  Visits: 882

Gtk2::Ex::MindMapView

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 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  
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  -  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  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
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