Gtk2::Ex::MindMapView::HotSpot

Description

Gtk2::Ex::MindMapView::HotSpot is a base class for grips and toggles. SYNOPSIS use 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. INTERFACE Properties Use 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. Methods new (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 its Gtk2::Ex::MindMapView::Item. hotspot_adjust_event_handler This method must be overridden. It handles the "hotspot_adjust" event. hotspot_button_press This method may optionally be overridden to handle the "button-press" event. hotspot_button_release This method may optionally be overridden to handle the "button-release" event. hotspot_engaged This method may optionally be overridden to set the "engaged" flag in a non-standard way. hotspot_enter_notify This 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_notify This method may optionally be overridden to handle the "leave-notify" event. hotspot_motion_notify This method may optionally be overridden to handle the "motion-notify" event..

Mindmapview - Hotspot - Gtk2exmindmapviewhotspot - Base Class - Event - Item - Method - Color - Overridden - Optionally - Libraries - Programming

Published By:James Muir

License Type:Freeware

Date Added:25 October, 2010

Version:0.000001

Price:Free

Downloads:20

Size:50.2 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

Gtk2::Ex::MindMapView::ContentFactory is a maker of standard content. SYNOPSIS use Gtk2::Ex::MindMapView::ContentFactory; This module is internal to Gtk2::Ex::MindMapView.

DateAug 23, 2010

AuthorJames Muir

Size50.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Gtk2::Ex::MindMapView::Layout::Cluster is a vertical layout of view items.

DateSep 4, 2010

AuthorJames Muir

Size50.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Gtk2::Ex::MindMapView::Layout::Group is a group of items displayed on canvas. SYNOPSIS use base Gtk2::Ex::MindMapView::Layout::Group; Base class for the layout modules. This module is internal to Gtk2::Ex::MindMapView.

DateNov 2, 2010

AuthorJames Muir

Size50.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Gtk2::Ex::MindMapView::HotSpot::Grip::Round is a Perl module to manage a round grip type "hot spot" on a view item.

DateOct 19, 2010

AuthorJames Muir

Size50.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Gtk2::Ex::MindMapView::HotSpot::Grip::Lentil is a Perl module to manage a lentil shaped grip "hot spot" on a view item.

DateAug 20, 2010

AuthorJames Muir

Size50.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming