tint2/src/util/window.h
thilor77 937d7faa1f fixed Issue 282 : third try
git-svn-id: http://tint2.googlecode.com/svn/trunk@528 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-08-08 20:03:09 +00:00

37 lines
1.1 KiB
C

/**************************************************************************
* window :
* -
*
* Check COPYING file for Copyright
*
**************************************************************************/
#ifndef WINDOW_H
#define WINDOW_H
#include <pango/pangocairo.h>
void set_active (Window win);
void set_desktop (int desktop);
void set_close (Window win);
int server_get_current_desktop ();
int server_get_number_of_desktop ();
int window_is_iconified (Window win);
int window_is_urgent (Window win);
int window_is_hidden (Window win);
int window_is_active (Window win);
int window_is_skip_taskbar (Window win);
int get_icon_count (int32_t *data, int num);
int32_t *get_best_icon (int32_t *data, int icon_count, int num, int *iw, int *ih, int best_icon_size);
void window_maximize_restore (Window win);
void window_toggle_shade (Window win);
int window_get_desktop (Window win);
void windows_set_desktop (Window win, int desktop);
int window_get_monitor (Window win);
Window window_get_active ();
void get_text_size(PangoFontDescription *font, int *height_ink, int *height, int panel_height, char *text, int len);
#endif