Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
sptkGadget Class Reference
#include <sptkgadget.h>
Inheritance diagram for sptkGadget:
List of all members.
Detailed Description
- Author:
- Sven Broenstrup
Member Function Documentation
virtual void sptkGadget::draw |
( |
|
) |
[virtual] |
|
|
Draw function of the Gadget.
Reimplemented in sptkPane. |
bool sptkGadget::getClickable |
( |
|
) |
|
|
|
Get weather the Gadget is clickable. - Returns:
- Weather the Gadget is clickable
TRUE for clickable
FALSE for not clickable
|
|
WARNING: For internal use only! |
std::string sptkGadget::getName |
( |
|
) |
|
|
|
Get the name of the Gadget - Returns:
- The unique string of the Gadget
|
sptkGadget* sptkGadget::getPane |
( |
|
) |
|
|
|
Get the Pane from the Gadget where it belongs to. - Returns:
- The Pane the Gadget is linked to.
|
void sptkGadget::setClickable |
( |
bool |
clickable |
) |
|
|
|
Set weather the Gadget is clickable. - Parameters:
-
clickable | Weather the Gadget is clickable
TRUE for clickable
FALSE for not clickable |
|
|
WARNING: For internal use only! |
void sptkGadget::setName |
( |
std::string |
name |
) |
|
|
|
Set the name of the Gadget This is important for the Handler - Parameters:
-
name | Unique string for handling the Button-Events |
|
void sptkGadget::setPane |
( |
sptkGadget * |
pane |
) |
|
|
|
Link the Gadget to a Pane. - Parameters:
-
pane | The Pane the Gadget is linked to. |
|
Member Data Documentation
bool sptkGadget::clickable [protected]
|
|
|
Weather the Gadget is clickable or not |
|
Eventhandler of the Gadget |
std::string sptkGadget::name [protected]
|
|
sptkGadget* sptkGadget::pane [protected]
|
|
|
Pane the Gadget is linked to |
The documentation for this class was generated from the following file: