class PtTreeCallback { click_count; // integer expand; // integer item; // PtTreeItem nitems; // unsigned integer sel_mode; // unsigned integer }
This class holds information from a Pt_CB_TREE_STATE or Pt_CB_TREE_SELECTION callback, which are generated when a PtTreeItem is selected.
Also see Pt_CB_TREE_STATE and Pt_CB_TREE_SELECTION in the PtTree section of the Photon documentation.
The number of times the mouse button has been clicked on the item.
An integer used with Pt_CB_TREE_STATE to prevent expansion. 0 allows expansion to occur, any non-zero value prevents it.
A PtTreeItem that the user selected, or the first item of a range of items if the sel_mode has been set to Pt_RANGE_MODE.
The number of items selected, not including collapsed subtrees.
A number indicating the current selection mode. For details, see Pt_ARG_SELECTION_MODE in the PtGenList section of the Photon documentation.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.