Gtk2::Ex::MindMapView::Content

Gtk2::Ex::MindMapView::Content is a base class for content objects.
Download

Gtk2::Ex::MindMapView::Content 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::Content Tags


Gtk2::Ex::MindMapView::Content Description

Gtk2::Ex::MindMapView::Content is a base class for content objects. Gtk2::Ex::MindMapView::Content is a base class for content objects.SYNOPSISuse base 'Gtk2::Ex::MindMapView::Content';This module is internal to Gtk2::Ex::MindMapView. It is the base class for objects that show content and offers several classes that are to be overidden.INTERFACEProperties'group' (Gnome2::Canvas::Group)The group on which the content is drawn.'x' (double)The x-coordinate of the upper left corner of the content bounding box.'y' (double)The y-coordinate of the upper left corner of the content bounding box.'width' (double)The width of the content bounding box.'height' (double)The height of the content bounding box.'min_width' (double)The minimum width of the content.'min_height' (double)The minimum height of the content.Methodsnew(group=>$group, ...)Instantiate a content object. You must provide the Gnome2::Canvas::Group on which this content is to place itself.content_get_image()This method must be overridden. It is used to instantiate Gnome2::Canvas::Item content.content_set_x($value)This method must be overridden. It sets the value of the content x coordinate.content_set_y($value)This method must be overridden. It sets the value of the content y coordinate.content_set_width($value)This method must be overridden. It sets the value of the content width.content_set_height($value)This method must be overridden. It sets the value of the content height.content_set_param($name, $value)This method may optionally be overridden to pass values to the object created by content_get_image.get('name')Return the value of a property.set(name=>$valueThis method is used to set the value of a property.get_min_heightReturns the minimum height for a Gtk2::Ex::MindMapView::Contentget_min_widthReturns the minimum width for a Gtk2::Ex::MindMapView::Contentreparent($group)Assign this content item to another Gnome2::Canvas::Group. Requirements: · Perl


Gtk2::Ex::MindMapView::Content Related Software