]> Dogcows Code - chaz/tint2/blob - src/util/window.h
db6d3a99a7ab281f85e827c22195e3d730f07e15
[chaz/tint2] / src / util / window.h
1 /**************************************************************************
2 * window :
3 * -
4 *
5 * Check COPYING file for Copyright
6 *
7 **************************************************************************/
8
9 #ifndef WINDOW_H
10 #define WINDOW_H
11
12 #include <pango/pangocairo.h>
13
14
15 void set_active (Window win);
16 void set_desktop (int desktop);
17 void set_close (Window win);
18 int server_get_current_desktop ();
19 int server_get_number_of_desktop ();
20 int window_is_iconified (Window win);
21 int window_is_urgent (Window win);
22 int window_is_hidden (Window win);
23 int window_is_active (Window win);
24 int window_is_skip_taskbar (Window win);
25 int get_icon_count (gulong *data, int num);
26 gulong *get_best_icon (gulong *data, int icon_count, int num, int *iw, int *ih, int best_icon_size);
27 void window_maximize_restore (Window win);
28 void window_toggle_shade (Window win);
29 int window_get_desktop (Window win);
30 void windows_set_desktop (Window win, int desktop);
31 int window_get_monitor (Window win);
32 Window window_get_active ();
33
34 void get_text_size(PangoFontDescription *font, int *height_ink, int *height, int panel_height, char *text, int len);
35 void get_text_size2(PangoFontDescription *font, int *height_ink, int *height, int *width, int panel_height, int panel_with, char *text, int len);
36
37
38 #endif
This page took 0.032856 seconds and 3 git commands to generate.