Gtk2::Ex::MindMapView::HotSpot::GripFactory

Gtk2::Ex::MindMapView::HotSpot::GripFactory is the maker of standard grips.
Download

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


Gtk2::Ex::MindMapView::HotSpot::GripFactory Description

Gtk2::Ex::MindMapView::HotSpot::GripFactory is the maker of standard grips. Gtk2::Ex::MindMapView::HotSpot::GripFactory is the maker of standard grips.SYNOPSISuse Gtk2::Ex::MindMapView::HotSpot::GripFactory;This factory makes grips that are used to resize Gtk2::Ex::MindMapView::Items.The following types of grips are supported:Gtk2::Ex::MindMapView::HotSpot::Grip::Round - A circular grip.Gtk2::Ex::MindMapView::HotSpot::Grip::Lentil - A lentil shaped grip.Gtk2::Ex::MindMapView::HotSpot::Grip::RightAngle - A right triangle shaped grip.Gtk2::Ex::MindMapView::HotSpot::Grip::EllipseRound - A special round grip for ellipses.This factory is used by the Gtk2::Ex::MindMapView::ItemFactory.INTERFACEProperties'item' (Gtk2::Ex::MindMapView::Item)The item to attach the grip to.'border' (Gtk2::Ex::MindMapView::Border)The border that is used to determine the type of grip to create.'side' (string)The side of the item to attach to. May be: left or right.'fill_color_gdk' (Gtk2::Gdk::Color)The color of the grip.'hotspot_color_gdk' (Gtk2::Gdk::Color)The color of the grip when it is engaged.Methodsnew ( ...)Constructor for the grip factory.create_grip (item=>$item, border=>$border, side=>$side, ...)Creates a new Gtk2::Ex::MindMapView::HotSpot::Grip given the Gtk2::Ex::MindMapView::Item that the grip will attach to. The Gtk2::Ex::MindMapView::Border is used to determine what grip to return to the caller. The side may be left or right.DIAGNOSTICSInvalid item. Item must be a 'Gtk2::Ex::MindMapView::Item'You must pass in a Gtk2::Ex::MindMapView::Item argument.Invalid side. Must be 'right' or 'left'You must set the side to be either: left or right.Unexpected border: $borderYou must give one of the known border types at this time. Requirements: · Perl


Gtk2::Ex::MindMapView::HotSpot::GripFactory Related Software