JWM Source Documentation
Functions
taskbar.h File Reference

Task list tray component. More...

Go to the source code of this file.

Functions

struct TrayComponentTypeCreateTaskBar ()
 Create a new task bar tray component.
 
void AddClientToTaskBar (struct ClientNode *np)
 Add a client to the task bar(s).
 
void RemoveClientFromTaskBar (struct ClientNode *np)
 Remove a client from the task bar(s).
 
void UpdateTaskBar (void)
 Update all task bars.
 
void FocusNext (void)
 Focus the next client in the task bar.
 
void FocusPrevious (void)
 Focus the previous client in the task bar.
 
void SetMaxTaskBarItemWidth (struct TrayComponentType *cp, const char *value)
 Set the maximum width of task bar items.
 
void SetTaskBarHeight (struct TrayComponentType *cp, const char *value)
 Set the preferred height of task bar items.
 
void SetTaskBarLabeled (struct TrayComponentType *cp, char value)
 Set whether labels should be displayed (or icon only).
 
void UpdateNetClientList (void)
 Update the _NET_CLIENT_LIST property.
 
#define StartupTaskBar()   (void)(0)
 
void InitializeTaskBar (void)
 Initialize task bar data.
 
void ShutdownTaskBar (void)
 Shutdown the task bar.
 
void DestroyTaskBar (void)
 Destroy task bar data.
 

Detailed Description

Task list tray component.

Author
Joe Wingbermuehle
Date
2005-2006

Definition in file taskbar.h.

Macro Definition Documentation

#define StartupTaskBar ( )    (void)(0)

Definition at line 18 of file taskbar.h.

Referenced by Startup().

Function Documentation

void AddClientToTaskBar ( ClientNode np)
struct TrayComponentType* CreateTaskBar ( )
read
void DestroyTaskBar ( void  )

Destroy task bar data.

Definition at line 103 of file taskbar.c.

References TaskBarType::next, Release, SignalTaskbar(), and UnregisterCallback().

Referenced by Destroy().

void FocusNext ( void  )
void FocusPrevious ( void  )
void InitializeTaskBar ( void  )

Initialize task bar data.

Definition at line 86 of file taskbar.c.

Referenced by Initialize().

void RemoveClientFromTaskBar ( ClientNode np)

Remove a client from the task bar(s).

Parameters
npThe client to remove.

Definition at line 624 of file taskbar.c.

References ClientEntry::client, TaskEntry::clients, ClientEntry::next, TaskEntry::next, ClientEntry::prev, TaskEntry::prev, Release, RequireTaskUpdate(), and UpdateNetClientList().

Referenced by RemoveClient().

void SetMaxTaskBarItemWidth ( TrayComponentType cp,
const char *  value 
)

Set the maximum width of task bar items.

Parameters
cpThe task bar component.
valueThe maximum width.

Definition at line 951 of file taskbar.c.

References _, Assert, JUNLIKELY, TaskBarType::maxItemWidth, TrayComponentType::object, and Warning().

Referenced by ParseTaskList().

void SetTaskBarHeight ( TrayComponentType cp,
const char *  value 
)

Set the preferred height of task bar items.

Parameters
cpThe task bar component.
valueThe height.

Definition at line 968 of file taskbar.c.

References _, JUNLIKELY, TrayComponentType::object, TaskBarType::userHeight, and Warning().

Referenced by ParseTaskList().

void SetTaskBarLabeled ( TrayComponentType cp,
char  labeled 
)

Set whether labels should be displayed (or icon only).

Parameters
cpThe task bar component.
value1 if labeled, 0 if no label is to be shown.

Definition at line 982 of file taskbar.c.

References TaskBarType::labeled, and TrayComponentType::object.

Referenced by ParseTaskList().

void ShutdownTaskBar ( void  )

Shutdown the task bar.

Definition at line 94 of file taskbar.c.

References TaskBarType::buffer, display, JXFreePixmap, and TaskBarType::next.

Referenced by Shutdown().

void UpdateNetClientList ( void  )
void UpdateTaskBar ( void  )

joewing.net / Projects / JWM