cwidget::widgets::scrollbar Class Reference
List of all members.
Public Types |
| enum | direction { HORIZONTAL,
VERTICAL
} |
Public Member Functions |
| void | paint (const style &st) |
| | Display this widget.
|
| int | width_request () |
| int | height_request (int w) |
| | Calculate the desired height of the widget, given its width.
|
|
bool | get_cursorvisible () |
|
point | get_cursorloc () |
|
void | dispatch_mouse (short id, int x, int y, int z, mmask_t bstate) |
|
void | set_slider (int newval, int newmax) |
Static Public Member Functions |
|
static util::ref_ptr< scrollbar > | create (direction dir, int val, int max) |
|
static util::ref_ptr< scrollbar > | create (direction dir) |
Public Attributes |
| sigc::signal1< void, bool > | scrollbar_interaction |
| | This signal is emitted if the user "pages up" or "pages down" via the scrollbar.
|
Protected Member Functions |
|
| scrollbar (direction _dir, int _val, int _max) |
|
| scrollbar (direction _dir) |
Member Function Documentation
| int cwidget::widgets::scrollbar::height_request |
( |
int |
width |
) |
[virtual] |
| void cwidget::widgets::scrollbar::paint |
( |
const style & |
st |
) |
[virtual] |
| int cwidget::widgets::scrollbar::width_request |
( |
|
) |
[virtual] |
Member Data Documentation
This signal is emitted if the user "pages up" or "pages down" via the scrollbar.
Its argument is true for a "page up" and false for a "page down".
The documentation for this class was generated from the following files:
- src/cwidget/widgets/scrollbar.h
- src/cwidget/widgets/scrollbar.cc