tbx  0.7.5
Public Member Functions | Static Public Attributes | List of all members
tbx::view::ItemViewClickEvent Class Reference

Event for click on ItemView. More...

#include <itemview.h>

Public Member Functions

 ItemViewClickEvent (ItemView &source, unsigned int index, const MouseClickEvent &click_event)
 Constructor.
 
ItemViewsource () const
 Return item view this event occurred on.
 
bool item_hit () const
 Return true if an item was hit.
 
unsigned int index () const
 Returns index click occurred on or NO_INDEX if click did not hit an item.
 
const MouseClickEventclick_event () const
 Returns original mouse click event on the window containing this item view.
 

Static Public Attributes

static const unsigned int NO_INDEX = -1
 Constant for index when there was no index hit.
 

Detailed Description

Event for click on ItemView.


The documentation for this class was generated from the following file: