JWM Source Documentation
desktop.h
Go to the documentation of this file.
1 
10 #ifndef DESKTOP_H
11 #define DESKTOP_H
12 
13 struct MenuType;
14 
16 #define InitializeDesktops() (void)(0)
17 void StartupDesktops(void);
18 #define ShutdownDesktops() (void)(0)
19 void DestroyDesktops(void);
23 unsigned int GetRightDesktop(unsigned int desktop);
24 unsigned int GetLeftDesktop(unsigned int desktop);
25 unsigned int GetAboveDesktop(unsigned int desktop);
26 unsigned int GetBelowDesktop(unsigned int desktop);
27 
29 char RightDesktop(void);
30 char LeftDesktop(void);
31 char AboveDesktop(void);
32 char BelowDesktop(void);
33 
37 void ChangeDesktop(unsigned int desktop);
38 
42 void ShowDesktop(void);
43 
49 struct Menu *CreateDesktopMenu(unsigned int mask, void *context);
50 
56 struct Menu *CreateSendtoMenu(unsigned char mask, void *context);
57 
63 void SetDesktopName(unsigned int desktop, const char *str);
64 
69 const char *GetDesktopName(unsigned int desktop);
70 
71 #endif

joewing.net / Projects / JWM