Gtk2::Ex::MindMapView::HotSpot

Gtk2::Ex::MindMapView::HotSpot is a base class for grips and toggles.
Download

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


Gtk2::Ex::MindMapView::HotSpot Description

Gtk2::Ex::MindMapView::HotSpot is a base class for grips and toggles. Gtk2::Ex::MindMapView::HotSpot is a base class for grips and toggles.SYNOPSISuse base 'Gtk2::Ex::MindMapView::HotSpot';This module is internal to Gtk2::Ex::MindMapView. Four Gtk2::Ex::MindMapView::HotSpots are created for each Gtk2::Ex::MindMapView::Item. The hotspots are areas on a mind map item that when clicked, cause an action to be performed on an item. These hotspots allow the user to expand/collapse the items in the mind map, or to resize an item.INTERFACEPropertiesUse the set method to set these properties. Accessing them directly will only cause you trouble.'item' (Gtk2::Ex::MindMapView::Item)Items and hotspots are rather fond of each other. This item is the one this hotspot is attached to.'enabled' (boolean)If enabled, this hotspot is ready for action. The type of action depends on whether it is a grip or a toggle. Grips are used to resize an item. Toggles are used to expand or collapse paths on the mind map graph.'fill_color_gdk' (Gtk2::Gdk::Color)The color with which to fill in the hotspot.'outline_color_gdk' (Gtk2::Gdk::Color)The color with which to fill in the hotspot outline. Toggles normally have a visible outline, while grips usually have the outline set to the same color as the item fill color.'hotspot_color_gdk' (Gtk2::Gdk::Color)The color of the hotspot once it is engaged. A hotspot becomes engaged when the mouse is placed close to it.Methodsnew (item=>$item)Instantiates a hotspot that is associated with the Gtk2::Ex::MindMapView::Item.This module connects to the Gnome2::Canvas::Item "event" event, and depending on the event type will call back to it's Gtk2::Ex::MindMapView::Item.hotspot_adjust_event_handlerThis method must be overridden. It handles the "hotspot_adjust" event.hotspot_button_pressThis method may optionally be overridden to handle the "button-press" event.hotspot_button_releaseThis method may optionally be overridden to handle the "button-release" event.hotspot_engagedThis method may optionally be overridden to set the "engaged" flag in a non-standard way.hotspot_enter_notifyThis method may optionally be overridden to handle the "enter-notify" event.hotspot_get_image()This method must be overridden. It is used to instantiate a hotspot toggle or grip.hotspot_leave_notifyThis method may optionally be overridden to handle the "leave-notify" event.hotspot_motion_notifyThis method may optionally be overridden to handle the "motion-notify" event. Requirements: · Perl


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