e624b2a241
shell-global.[ch]: Add shell_global_get_windows() to get the list of all MutterWindow for the screen Makefile.am: Include the metacity typelib so that we can reference the MutterWindow type js/ui/overlay.js: Cascade the open windows, scaled down in the overlay svn path=/trunk/; revision=24
38 lines
1.3 KiB
C
38 lines
1.3 KiB
C
#ifndef __SHELL_GLOBAL_H__
|
|
#define __SHELL_GLOBAL_H__
|
|
|
|
#include "mutter-plugin.h"
|
|
#include <clutter/clutter.h>
|
|
#include <glib-object.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
typedef struct _ShellGlobal ShellGlobal;
|
|
typedef struct _ShellGlobalClass ShellGlobalClass;
|
|
|
|
#define SHELL_TYPE_GLOBAL (shell_global_get_type ())
|
|
#define SHELL_GLOBAL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), SHELL_TYPE_GLOBAL, ShellGlobal))
|
|
#define SHELL_GLOBAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SHELL_TYPE_GLOBAL, ShellGlobalClass))
|
|
#define SHELL_IS_GLOBAL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), SHELL_TYPE_GLOBAL))
|
|
#define SHELL_IS_GLOBAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SHELL_TYPE_GLOBAL))
|
|
#define SHELL_GLOBAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SHELL_TYPE_GLOBAL, ShellGlobalClass))
|
|
|
|
GType shell_global_get_type (void) G_GNUC_CONST;
|
|
|
|
ShellGlobal *shell_global_get (void);
|
|
|
|
void shell_global_set_stage_input_area (ShellGlobal *global,
|
|
int x,
|
|
int y,
|
|
int width,
|
|
int height);
|
|
|
|
GList *shell_global_get_windows (ShellGlobal *global);
|
|
|
|
void _shell_global_set_plugin (ShellGlobal *global,
|
|
MutterPlugin *plugin);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __SHELL_GLOBAL_H__ */
|