FLTK Utility Library and Widget Collection (FLU): Flu_Tree_Browser::DND_Object class Reference

Main Page | Class Hierarchy | Class List | File List | Class Members

# Flu_Tree_Browser::DND_Object Class Reference

This class can be subclassed to make an object which can be dropped on a tree to make a new node. More...

`#include <Flu_Tree_Browser.h>`

Inheritance diagram for Flu_Tree_Browser::DND_Object:

List of all members.

## Public Member Functions
| DND_Object ()
| Default constructor.
void | grab ()
| The descendent should call this when the user grabs the object to start dragging it (e.g. on the FL_PUSH event).
virtual const char * | name ()=0
| Descendents MUST implement this function to return the name of the dropped object.

## Detailed Description

This class can be subclassed to make an object which can be dropped on a tree to make a new node.

When the object is dropped, the tree will name the object according to what the function name() returns

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

- Flu_Tree_Browser.h