#include <transient.h>
Public Member Functions | |
int | width_request () |
| |
int | height_request (int width) |
Calculate the desired height of the subwidget. | |
bool | focus_me () |
| |
bool | handle_char (chtype ch) |
Destroy the transient. | |
Static Public Member Functions | |
static util::ref_ptr< transient > | create (const widget_ref &w=NULL) |
Create a new transient. | |
Protected Member Functions | |
transient (const widget_ref &w) |
It captures all keystrokes (preventing the subwidget from recieving them), and destroys itself upon receiving one.
static util::ref_ptr<transient> cwidget::widgets::transient::create | ( | const widget_ref & | w = NULL |
) | [inline, static] |
int cwidget::widgets::transient::width_request | ( | ) | [virtual] |
int cwidget::widgets::transient::height_request | ( | int | width | ) | [virtual] |
Calculate the desired height of the subwidget.
width | the width of this widget |
Implements cwidget::widgets::widget.
bool cwidget::widgets::transient::focus_me | ( | ) | [virtual] |
bool cwidget::widgets::transient::handle_char | ( | chtype | ch | ) |