Gtk2::Ex::MindMapView::Border

Gtk2::Ex::MindMapView::Border is a base class for border objects.
Download

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


Gtk2::Ex::MindMapView::Border Description

Gtk2::Ex::MindMapView::Border is a base class for border objects. Gtk2::Ex::MindMapView::Border is a base class for border objects.SYNOPSISuse base 'Gtk2::Ex::MindMapView::Border';This module is internal to Gtk2::Ex::MindMapView. It is the base class for objects that draw borders and offers several classes that are to be overidden.INTERFACEProperties'content' (Gtk2::Ex::MindMapView::Content)The content to be placed in this border.'group' (Gnome2::Canvas::Group)The canvas group on which the border will be drawn.'x' (double)The x-coordinate of the upper left corner of the bounding box of this border.'y' (double)The y-coordinate of the upper left corner of the bounding box of this border.'width' (double)The width of the bounding box of this border.'height' (double)The height of the bounding box of this border.Methodsnew(group=>$group, content=>$content, ...)Instantiate a border. You must provide the Gnome2::Canvas::Group on which this border is to place itself, and also a content object, Gtk2::Ex::MindMapView::Content.border_get_image()This method must be overridden. You defined the image for your border here.border_insets ()Return the ($top,$left,$bottom,$right) insets for the border. This method may be overridden.border_set_x($value)This method must be overridden. It sets the value of the border x coordinate.border_set_y($value)This method must be overridden. It sets the value of the border y coordinate.border_set_width($value)This method must be overridden. It sets the value of the border width.border_set_height($value)This method must be overridden. It sets the value of the border height.border_set_param($name, $value)This method may optionally be overridden to pass values to the object created by border_get_image.get($name)Returns the value of a property.get_min_width()Returns the minimum height of the border.get_min_height()Returns the minimum width of the border.get_connection_point($side)Returns the point on the border that is used to draw the connection to other Gtk2::Ex::MindMapView::Items.Items may connect to the left or right hand side of a border. The $side may have the value 'left' or 'right'.This method is called by Gtk2::Ex::MindMapView::Connection.reparent($group)When a border is passed to a Gtk2::Ex::MindMapView::Item, the item places the border in it's own Gnome2::Canvas::Group using this reparent method.set(property=>$valueSets the value of a property. See the properties list above. Requirements: · Perl


Gtk2::Ex::MindMapView::Border Related Software