|
Public Member Functions |
|
| FbWinFrame (FbWinFrameTheme &theme, FbTk::ImageControl &imgctrl, int x, int y, unsigned int width, unsigned int height) |
| | create a top level window
|
|
| FbWinFrame (FbWinFrameTheme &theme, FbTk::ImageControl &imgctrl, const FbTk::FbWindow &parent, int x, int y, unsigned int width, unsigned int height) |
| | create a frame window inside another FbWindow, NOT IMPLEMENTED!
|
|
| ~FbWinFrame () |
| | destroy frame
|
|
bool | setOnClickTitlebar (FbTk::RefCount< FbTk::Command > &cmd, int button_num, bool double_click=false, bool pressed=false) |
| | setup actions for titlebar
|
|
void | hide () |
|
void | show () |
|
bool | isVisible () const |
| void | shade () |
| | shade frame (ie resize to titlebar size)
|
|
void | move (int x, int y) |
|
void | resize (unsigned int width, unsigned int height) |
|
void | resizeForClient (unsigned int width, unsigned int height) |
| | resize client to specified size and resize frame to it
|
|
void | moveResizeForClient (int x, int y, unsigned int width, unsigned int height, bool move=true, bool resize=true) |
|
void | moveResize (int x, int y, unsigned int width, unsigned int height, bool move=true, bool resize=true) |
|
void | setFocus (bool newvalue) |
| | set focus/unfocus style
|
|
void | setDoubleClickTime (unsigned int time) |
|
void | addLeftButton (FbTk::Button *btn) |
| | add a button to the left of the label
|
|
void | addRightButton (FbTk::Button *btn) |
| | add a button to the right of the label
|
|
void | removeAllButtons () |
| | remove all buttons from titlebar
|
|
void | addLabelButton (FbTk::TextButton &btn) |
| | adds a button to label window
|
|
void | removeLabelButton (FbTk::TextButton &btn) |
| | removes a specific button from label window
|
|
void | moveLabelButtonLeft (const FbTk::TextButton &btn) |
| | move label button to the left
|
|
void | moveLabelButtonRight (const FbTk::TextButton &btn) |
| | move label button to the right
|
|
void | setLabelButtonFocus (FbTk::TextButton &btn) |
| | which button is to be rendered focused
|
|
void | setClientWindow (FbTk::FbWindow &win) |
| | attach a client window for client area
|
|
void | removeClient () |
| | remove attached client window
|
| void | setEventHandler (FbTk::EventHandler &evh) |
| | redirect events to another eventhandler
|
| void | removeEventHandler () |
| | remove any handler for the windows
|
|
bool | hideTitlebar () |
|
bool | showTitlebar () |
|
bool | hideHandle () |
|
bool | showHandle () |
|
bool | hideAllDecorations () |
|
bool | showAllDecorations () |
|
void | gravityTranslate (int &x, int &y, int win_gravity, bool move_frame=false) |
|
void | setBorderWidth (unsigned int borderW) |
|
void | reconfigure () |
|
void | setUseShape (bool value) |
|
void | setUpdateDelayTime (long t) |
|
|
void | buttonPressEvent (XButtonEvent &event) |
|
void | buttonReleaseEvent (XButtonEvent &event) |
|
void | exposeEvent (XExposeEvent &event) |
|
void | configureNotifyEvent (XConfigureEvent &event) |
| void | handleEvent (XEvent &event) |
|
|
int | x () const |
|
int | y () const |
|
unsigned int | width () const |
|
unsigned int | height () const |
|
const FbTk::FbWindow & | window () const |
|
FbTk::FbWindow & | window () |
|
const FbTk::FbWindow & | titlebar () const |
| | titlebar window
|
|
FbTk::FbWindow & | titlebar () |
|
const FbTk::FbWindow & | label () const |
|
FbTk::FbWindow & | label () |
|
const FbTk::FbWindow & | clientArea () const |
| | clientarea window
|
|
FbTk::FbWindow & | clientArea () |
|
const FbTk::FbWindow & | handle () const |
| | handle window
|
|
FbTk::FbWindow & | handle () |
|
const FbTk::FbWindow & | gripLeft () const |
|
FbTk::FbWindow & | gripLeft () |
|
const FbTk::FbWindow & | gripRight () const |
|
FbTk::FbWindow & | gripRight () |
|
const FbTk::TextButton * | currentLabel () const |
|
bool | focused () const |
|
bool | isShaded () const |
|
const FbWinFrameTheme & | theme () const |
|
unsigned int | titlebarHeight () const |
| | titlebar height
|
|
unsigned int | buttonHeight () const |
| | size of button
|