---
name: "tlp_GlProgressBar"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/tlp_GlProgressBar"
---

# tlp\_GlProgressBar(3tulip)

## NAME

tlp::GlProgressBar -

## SYNOPSIS

`#include <GlProgressBar.h>`

Inherits **tlp::GlComposite**.

### Public Member Functions

**GlProgressBar** (const Coord &centerPosition, const unsigned int width, const unsigned int height, const Color &color)\
 **~GlProgressBar** ()\
 void **setComment** (const std::string &msg)\
 void **progress\_handler** (int step, int max\_step)\

## Detailed Description

This class allows to display a progress bar in OpenGL

## Constructor & Destructor Documentation

### tlp::GlProgressBar::GlProgressBar (const Coord & centerPosition, const unsigned int width, const unsigned int height, const Color & color) GlProgressBar constructor

**Parameters:**

*centerPosition* the position of the center of the frame containing the progress bar \
 *width* the width of the frame containing the progress bar \
 *height* the height of the frame containing the progress bar \
 *color* the color of the progress bar

### tlp::GlProgressBar::~GlProgressBar ()

## Member Function Documentation

### void tlp::GlProgressBar::progress\_handler (int step, int max\_step)

### void tlp::GlProgressBar::setComment (const std::string & msg)` [inline]` This method allow to set a comment message above the progress bar

**Parameters:**

*msg* the text of the comment to display

## Author

Generated automatically by Doxygen for Tulip Open GL Library from the source code.
