NAME
CL_GButton
CLASS MEMBERS
- CL_GButton(
-
CL_GWidget *parent, int x, int y, int w, int h, int id)
- virtual ~CL_GButton()
- virtual bool processEvent(
-
const CL_GEvent *e)
- bool get_pressed()
- int get_id()
- void set_repeat(
-
bool repeat)
- DEF_SIGNAL_1(
-
CL_GButton::released, CL_GButton*)
- DEF_SIGNAL_1(
-
CL_GButton::released, CL_GButton*)
- DEF_SIGNAL_1(
-
CL_GButton::released, CL_GButton*)
- DEF_SLOT_0(
-
press)
- DEF_SLOT_0(
-
release)
- DEF_SLOT_1(
-
repeat, int)
MEMBERS WITH DESCRIPTIONS
- CL_GButton(
-
CL_GWidget *parent, int x, int y, int w, int h, int id)
Description:
- virtual ~CL_GButton()
-
Description:
- virtual bool processEvent(
-
const CL_GEvent *e)
Description:
- bool get_pressed()
-
Description:
- int get_id()
-
Description:
- void set_repeat(
-
bool repeat)
Description:
define the pressed signal, it will pass a pointer to this button to any slots that are connected
- DEF_SIGNAL_1(
-
CL_GButton::released, CL_GButton*)
Description:
- DEF_SIGNAL_1(
-
CL_GButton::released, CL_GButton*)
Description:
- DEF_SIGNAL_1(
-
CL_GButton::released, CL_GButton*)
Description:
- DEF_SLOT_0(
-
press)
Description:
- DEF_SLOT_0(
-
release)
Description:
- DEF_SLOT_1(
-
repeat, int)
Description:
SEE ALSO
All ClanLib API classes can be found in clanlib (3).
AUTHORS
Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. ClanLib is now developed by the ClanLib Development team as an Open Source project.
The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at http://somewhere.in.the.world.org).
See clanlib (3) to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.