diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:54:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:54:43 +0000 |
commit | e4283f6d48b98e764b988b43bbc86b9d52e6ec94 (patch) | |
tree | c8f7f7a6c2f5faa2942d27cefc6fd46cca492656 /src/shell-window-preview-layout.h | |
parent | Initial commit. (diff) | |
download | gnome-shell-e4283f6d48b98e764b988b43bbc86b9d52e6ec94.tar.xz gnome-shell-e4283f6d48b98e764b988b43bbc86b9d52e6ec94.zip |
Adding upstream version 43.9.upstream/43.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/shell-window-preview-layout.h')
-rw-r--r-- | src/shell-window-preview-layout.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/shell-window-preview-layout.h b/src/shell-window-preview-layout.h new file mode 100644 index 0000000..9376b0d --- /dev/null +++ b/src/shell-window-preview-layout.h @@ -0,0 +1,33 @@ +#ifndef __SHELL_WINDOW_PREVIEW_LAYOUT_H__ +#define __SHELL_WINDOW_PREVIEW_LAYOUT_H__ + +G_BEGIN_DECLS + +#include <clutter/clutter.h> + +#define SHELL_TYPE_WINDOW_PREVIEW_LAYOUT (shell_window_preview_layout_get_type ()) +G_DECLARE_FINAL_TYPE (ShellWindowPreviewLayout, shell_window_preview_layout, + SHELL, WINDOW_PREVIEW_LAYOUT, ClutterLayoutManager) + +typedef struct _ShellWindowPreviewLayout ShellWindowPreviewLayout; +typedef struct _ShellWindowPreviewLayoutPrivate ShellWindowPreviewLayoutPrivate; + +struct _ShellWindowPreviewLayout +{ + /*< private >*/ + ClutterLayoutManager parent; + + ShellWindowPreviewLayoutPrivate *priv; +}; + +ClutterActor * shell_window_preview_layout_add_window (ShellWindowPreviewLayout *self, + MetaWindow *window); + +void shell_window_preview_layout_remove_window (ShellWindowPreviewLayout *self, + MetaWindow *window); + +GList * shell_window_preview_layout_get_windows (ShellWindowPreviewLayout *self); + +G_END_DECLS + +#endif /* __SHELL_WINDOW_PREVIEW_LAYOUT_H__ */ |