---
name: "CL_InputButton_Group"
section: "3"
platform: "linux"
package: "clanlib0-common-dev"
version: "0.4.4-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/CL_InputButton_Group"
---

# CL\_InputButton\_Group(3)

CL\_InputButton container class.

## NAME

CL\_InputButton\_Group - CL\_InputButton container class.

## DESCRIPTION

Groups a set of buttons - if either of them are down, CL\_InputButton\_Groups is down.

Inherited from public CL\_InputButton

## CLASS MEMBERS

- void **add**(

  ```
  CL_InputButton *add_button)
  ```

- void **remove**(

  ```
  CL_InputButton *remove_button)
  ```

- virtual bool **is\_pressed**()

  ## MEMBERS WITH DESCRIPTIONS

- void **add**(

  ```
  CL_InputButton *add_button)
  ```

  ```
  Parameters:
  add_button - Button to be added.
  ```

  ```
  Description:
  ```

  Adds a input button to the group.

- void **remove**(

  ```
  CL_InputButton *remove_button)
  ```

  ```
  Parameters:
  remove_button - Button to be removed.
  ```

  ```
  Description:
  ```

  Removes a (previously added) button from the group.

- virtual bool **is\_pressed**()

  ```
  Description:
  ```

  Returns true if just one of the buttons in the button group is down; false otherwise.

  ```
  Return value:
  ```

  True if pressed, false otherwise.

## SEE ALSO

All ClanLib API classes can be found in **clanlib (3)**.

## AUTHORS

Originally written by Magnus Norddahl \<*mbn@dark.x.dtu.dk*\> and Martin Starch \<*starch@dark.x.dtu.dk*\>. 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.
