news download themes documentation links










Workspace Class Reference

#include <Workspace.hh>

Inheritance diagram for Workspace:

FbTk::NotCopyable List of all members.

Public Types

typedef std::vector< FluxboxWindow * > Windows

Public Member Functions

 Workspace (BScreen &screen, FbTk::MultLayers &layermanager, const std::string &name, unsigned int workspaceid=0)
void setLastFocusedWindow (FluxboxWindow *w)
void setName (const std::string &name)
 Set workspace name.

void showAll ()
void hideAll ()
void removeAll ()
void reconfigure ()
void shutdown ()
void addWindow (FluxboxWindow &win, bool place=false)
int removeWindow (FluxboxWindow *win)
void updateClientmenu ()
BScreenscreen ()
const BScreenscreen () const
FluxboxWindowlastFocusedWindow ()
const FluxboxWindowlastFocusedWindow () const
FbTk::Menumenu ()
const FbTk::Menumenu () const
const std::string & name () const
 name of this workspace

unsigned int workspaceID () const
const Windows & windowList () const
Windows & windowList ()
int numberOfWindows () const
bool checkGrouping (FluxboxWindow &win)

Static Public Member Functions

bool loadGroups (const std::string &filename)

Detailed Description

Handles a single workspace

Definition at line 47 of file Workspace.hh.


Member Function Documentation

void Workspace::shutdown  ) 
 

Calls restore on all windows on the workspace and then clears the m_windowlist

Definition at line 390 of file Workspace.cc.

00390                          {
00391     // note: when the window dies it'll remove it self from the list
00392     while (!m_windowlist.empty()) {
00393         // restore with remap on all clients in that window
00394         m_windowlist.back()->restore(true); 
00395         //delete window (the window removes it self from m_windowlist)
00396         delete m_windowlist.back(); 
00397     }
00398 }

unsigned int Workspace::workspaceID  )  const [inline]
 

Returns:
the number of this workspace, note: obsolete, should be in BScreen

Definition at line 81 of file Workspace.hh.

Referenced by BScreen::removeLastWorkspace().

00081 { return m_id; }    


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