news download themes documentation links










Slit Class Reference

Handles dock apps. More...

#include <Slit.hh>

Inheritance diagram for Slit:

FbTk::EventHandler List of all members.

Public Types

enum  Direction { VERTICAL = 1, HORIZONTAL }
enum  Placement {
  TOPLEFT = 1, CENTERLEFT, BOTTOMLEFT, TOPCENTER,
  BOTTOMCENTER, TOPRIGHT, CENTERRIGHT, BOTTOMRIGHT
}

Public Member Functions

 Slit (BScreen &screen, FbTk::XLayer &layer, const char *filename=0)
void setDirection (Direction dir)
void setPlacement (Placement place)
void setAutoHide (bool val)
void addClient (Window clientwin)
void removeClient (Window clientwin, bool remap=true)
void reconfigure ()
void reposition ()
void shutdown ()
void saveClientList ()
 save clients name in a file

void cycleClientsUp ()
 cycle slit clients up one step

void cycleClientsDown ()
 cycle slit clients down one step

void update (FbTk::Subject *subj)
void moveToLayer (int layernum)
void toggleHidden ()
BScreenscreen ()
const BScreenscreen () const
SlitTheme & theme ()
const SlitTheme & theme () const
FbTk::XLayerItem & layerItem ()
bool isHidden () const
bool doAutoHide () const
Direction direction () const
Placement placement () const
int getOnHead () const
void saveOnHead (int head)
FbTk::Menumenu ()
const FbTk::FbWindowwindow () const
int x () const
int y () const
unsigned int width () const
unsigned int height () const
eventhandlers
void handleEvent (XEvent &event)
void buttonPressEvent (XButtonEvent &event)
void enterNotifyEvent (XCrossingEvent &event)
void leaveNotifyEvent (XCrossingEvent &event)
void configureRequestEvent (XConfigureRequestEvent &event)
void exposeEvent (XExposeEvent &event)

Detailed Description

Handles dock apps.

Definition at line 74 of file Screen.cc.


Member Enumeration Documentation

enum Slit::Direction
 

Client alignment

Definition at line 56 of file Slit.hh.

00056 { VERTICAL = 1, HORIZONTAL };

enum Slit::Placement
 

Placement on screen

Definition at line 60 of file Slit.hh.

00060                    { TOPLEFT = 1, CENTERLEFT, BOTTOMLEFT, TOPCENTER, BOTTOMCENTER,
00061            TOPRIGHT, CENTERRIGHT, BOTTOMRIGHT };


Member Function Documentation

void Slit::handleEvent XEvent &  event  )  [virtual]
 

Events that don't have an specific event function

Reimplemented from FbTk::EventHandler.

Definition at line 963 of file Slit.cc.

00963                                     {
00964     if (event.type == ConfigureRequest) {
00965         configureRequestEvent(event.xconfigurerequest);
00966     } else if (event.type == DestroyNotify) {
00967         removeClient(event.xdestroywindow.window, false);
00968     } else if (event.type == UnmapNotify && event.xany.send_event) {
00969         // we ignore server-generated events, which can occur
00970         // on restart. The ICCCM says that a client must send
00971         // a synthetic event for the withdrawn state
00972         removeClient(event.xunmap.window);
00973     }
00974 }


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