/*
* Copyright (C) 2021 Alberts Muktupāvels
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, see .
*/
#if !defined (__LIBWNCK_H_INSIDE__) && !defined (WNCK_COMPILATION)
#error "Only can be included directly."
#endif
#ifndef WNCK_HANDLE_H
#define WNCK_HANDLE_H
#include
#include
#include
G_BEGIN_DECLS
#define WNCK_TYPE_HANDLE (wnck_handle_get_type ())
G_DECLARE_FINAL_TYPE (WnckHandle, wnck_handle, WNCK, HANDLE, GObject)
WnckHandle *wnck_handle_new (WnckClientType client_type);
WnckScreen *wnck_handle_get_default_screen (WnckHandle *self);
WnckScreen *wnck_handle_get_screen (WnckHandle *self,
int index);
WnckScreen *wnck_handle_get_screen_for_root (WnckHandle *self,
gulong root_window_id);
void wnck_handle_set_default_icon_size (WnckHandle *self,
gsize icon_size);
void wnck_handle_set_default_mini_icon_size (WnckHandle *self,
gsize icon_size);
WnckClassGroup *wnck_handle_get_class_group (WnckHandle *self,
const char *id);
WnckApplication *wnck_handle_get_application (WnckHandle *self,
gulong xwindow);
WnckWindow *wnck_handle_get_window (WnckHandle *self,
gulong xwindow);
G_END_DECLS
#endif