news download themes documentation links










FbTk::App Class Reference

Main class for applications, every application must create an instance of this class. More...

#include <App.hh>

Inheritance diagram for FbTk::App:

Fluxbox List of all members.

Public Member Functions

 App (const char *displayname=0)
 creates a display connection

Display * display () const
 display connection

void sync (bool discard)
virtual void eventLoop ()
 starts event loop

void end ()
 forces an end to event loop

bool done () const

Static Public Member Functions

Appinstance ()
 singleton instance of App


Detailed Description

Main class for applications, every application must create an instance of this class.

Usage:
App app;
...
init some other stuff;
...
main loop starts here:
app.eventLoop();

To end main loop you call App::instance()->end()

Definition at line 41 of file App.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