---
name: "CL_GRootWindow"
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_GRootWindow"
---

# CL\_GRootWindow(3)

## NAME

CL\_GRootWindow

## DESCRIPTION

UOBJECT /

Inherited from public CL\_GWidget

## CLASS MEMBERS

- **CL\_GRootWindow**(

  ```
  int resX,
  int resY,
  int bpp,
  bool fullscreen)
  ```

- virtual **~CL\_GRootWindow**()

  - void **update**()

  - virtual void **create**()

  - void **updateScreen**()

  - void **sync**()

  - void **setTitle**(

  ```
  const char*)
  ```

- virtual bool **processEvent**(

  ```
  const CL_GEvent*)
  ```

- CL\_Surface\* **screen**()

  - bool **runDialog**(

  ```
  CL_GWidget* )
  ```

- bool **closeDialog**()

  - bool **fullscreen**()

  - void **refreshRect**(

  ```
  const CL_GRect&)
  ```

## MEMBERS WITH DESCRIPTIONS

- **CL\_GRootWindow**(

  ```
  int resX,
  int resY,
  int bpp,
  bool fullscreen)
  ```

  ```
  Description:
  ```

  /

- virtual **~CL\_GRootWindow**()

  ```
  Description:
  ```

- void **update**()

  ```
  Description:
  ```

  /

- virtual void **create**()

  ```
  Description:
  ```

  /screen update (not content)

- void **updateScreen**()

  ```
  Description:
  ```

  /immediate display content update

- void **sync**()

  ```
  Description:
  ```

  /

- void **setTitle**(

  ```
  const char*)
  ```

  ```
  Description:
  ```

  /

- virtual bool **processEvent**(

  ```
  const CL_GEvent*)
  ```

  ```
  Description:
  ```

  /

- CL\_Surface\* **screen**()

  ```
  Description:
  ```

  /

- bool **runDialog**(

  ```
  CL_GWidget* )
  ```

  ```
  Description:
  ```

  /

- bool **closeDialog**()

  ```
  Description:
  ```

  /

- bool **fullscreen**()

  ```
  Description:
  ```

  /force this rect to get updated to the display on next displayupdate

- void **refreshRect**(

  ```
  const CL_GRect&)
  ```

  ```
  Description:
  ```

  /

## 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.
