Gtk2::Ex::MindMapView::Connection is a Perl module to draw connections between view items.
HEIRARCHY
Glib::Object
+----Gtk2::Object
+----Gnome2::Canvas::Item
+----Gnome2::Canvas::Shape
+----Gnome2::Canvas::Bpath
+----Gtk2::Ex::MindMapView::Connection
SYNOPSIS
use Gtk2::Ex::MindMapView::Connection;
This module is internal to Gtk2::Ex::MindMapView. Connections are instantiated by Gtk2::Ex::MindMapView. This module is responsible for drawing the connecting lines between Gtk2::Ex::MindMapView::Items onto the canvas.
The Gtk2::Ex::MindMapView::Connection is an observer. It registers with the view items so that it may be notified when a view item's state changes.
INTERFACE
Properties
'arrows' (string : readable / writable)
Indicates whether arrows should be drawn. Possible values are: none, one-way, and two-way.
'predecessor_item' (Gtk2::Ex::MindMapView::Item : readable / writable)
The item at which this connection starts.
'item' (Gtk2::Ex::MindMapView::Item : readable / writable)
The item at which this connection ends.
Methods
INIT_INSTANCE
This subroutine is called by Glib::Object::Subclass as the object is being instantiated. You should not call this subroutine directly. Leave it alone.
SET_PROPERTY
This subroutine is called by Glib::Object::Subclass when a property is being set. You should not call this subroutine directly. Leave it alone. Instead call the set method to assign values to properties.
connect
Connect the Gtk2::Ex::MindMapView::Connection to the items it observes.
disconnect
Disconnect the Gtk2::Ex::MindMapView::Connection from the items it observes.
Requirements:
· Perl
Product's homepage
Requirements:
· Perl