news download themes documentation links










FbTk::TextButton Class Reference

Displays a text on a button. More...

#include <TextButton.hh>

Inheritance diagram for FbTk::TextButton:

List of all members.

Public Member Functions

 TextButton (const FbTk::FbWindow &parent, const FbTk::Font &font, const std::string &text)
void setJustify (FbTk::Justify just)
void setText (const std::string &text)
void setFont (const FbTk::Font &font)
void setBevel (int bevel)
 set bevel and redraw text

void resize (unsigned int width, unsigned int height)
void moveResize (int x, int y, unsigned int width, unsigned int height)
void clear ()
 clear window and redraw text

void clearArea (int x, int y, unsigned int width, unsigned int height, bool exposure=false)
 clears area and redraws text

void exposeEvent (XExposeEvent &event)
FbTk::Justify justify () const
const std::string & text () const
const FbTk::Fontfont () const
unsigned int textWidth () const
int bevel () const

Protected Member Functions

virtual void drawText (int x_offset=0, int y_offset=0)

Detailed Description

Displays a text on a button.

Definition at line 38 of file TextButton.hh.


The documentation for this class was generated from the following files:

Fluxbox CVS-Jan-2003




      



Got comments about the page? Send them to webmaster.
If you have general Fluxbox related questions ask them on our irc channel or mailing lists.

Show Source








Designed by aLEczapKA