Gtk2::Ex::MindMapView::ContentFactory

Gtk2::Ex::MindMapView::ContentFactory is a maker of standard content.
Download

Gtk2::Ex::MindMapView::ContentFactory Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • James Muir
  • Publisher web site:
  • http://search.cpan.org/~hemlock/Gtk2-Ex-MindMapView-0.000001/lib/Gtk2/Ex/MindMapView/ContentFactory.pm

Gtk2::Ex::MindMapView::ContentFactory Tags


Gtk2::Ex::MindMapView::ContentFactory Description

Gtk2::Ex::MindMapView::ContentFactory is a maker of standard content. Gtk2::Ex::MindMapView::ContentFactory is a maker of standard content.SYNOPSISuse Gtk2::Ex::MindMapView::ContentFactory;This module is internal to Gtk2::Ex::MindMapView. This factory makes content that can be passed to a Gtk2::Ex::MindMapView::Border.This module is called by Gtk2::Ex::MindMapView::ItemFactory.The following types of content may be created:Gtk2::Ex::MindMapView::Content::EllipsisText - Displays text with optional ellipsis (...).Gtk2::Ex::MindMapView::Content::Picture - Displays a picture.Gtk2::Ex::MindMapView::Content::Uri - Displays a URI. User may click on the URI.INTERFACEProperties'browser' (string)A browser command. Is executed when a user clicks on a link. The command contains a "%s" which is the insertion point for the url (see below). When the user clicks on a Gtk2::Ex::MindMapView::Content::Uri, the browser command is built and executed.'font_desc' (Gtk2::Pango::FontDescription)A Pango font description that styles text displayed to the user.'pixbuf' (Gtk2::Gdk::Pixbuf)A pixbuf that is displayed to the user.'text' (string)Text to be displayed.'text_color_gdk' (Gtk2::Gdk::Color)The color of the text to be displayed.'type' (string)The type of content to create (see above).'uri' (string)Typically, an URL that may be clicked on to start up the browser defined by the browser property (see above).'view' (Gtk2::Ex::MindMapView)The canvas on which content is drawn.Methodsnew (view=>$view)Constructor for this factory. Pass in a Gtk2::Ex::MindMapView argument.create_content (type=$content_type, ...)>Returns a new Gtk2::Ex::MindMapView::Content object.DIAGNOSTICSInvalid Gtk2::Ex::MindMapView argument.You must pass in a Gtk2::Ex::MindMapView argument.Unexpected content type: $content_typeThe only content type that is supported are those that are predefined, such as Gtk2::Ex::MindMapView::Content::EllipsisText. Requirements: · Perl


Gtk2::Ex::MindMapView::ContentFactory Related Software