2008-11-14 12:21:56 -05:00
|
|
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
|
|
/* na-tray-child.h
|
|
|
|
* Copyright (C) 2002 Anders Carlsson <andersca@gnu.org>
|
|
|
|
* Copyright (C) 2003-2006 Vincent Untz
|
|
|
|
* Copyright (C) 2008 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser 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
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2014-01-07 16:32:37 -05:00
|
|
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
2008-11-14 12:21:56 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __NA_TRAY_CHILD_H__
|
|
|
|
#define __NA_TRAY_CHILD_H__
|
|
|
|
|
2022-12-22 14:02:28 -05:00
|
|
|
#include "na-xembed.h"
|
2008-11-14 12:21:56 -05:00
|
|
|
|
2022-12-22 14:02:28 -05:00
|
|
|
#include <meta/meta-x11-errors.h>
|
2008-11-14 12:21:56 -05:00
|
|
|
|
2022-12-22 14:02:28 -05:00
|
|
|
G_BEGIN_DECLS
|
2008-11-14 12:21:56 -05:00
|
|
|
|
2022-12-22 14:02:28 -05:00
|
|
|
#define NA_TYPE_TRAY_CHILD (na_tray_child_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (NaTrayChild, na_tray_child, NA, TRAY_CHILD, NaXembed)
|
2008-11-14 12:21:56 -05:00
|
|
|
|
2022-12-22 14:02:28 -05:00
|
|
|
NaTrayChild *na_tray_child_new (MetaX11Display *x11_display,
|
|
|
|
Window icon_window);
|
2010-08-10 10:30:53 -04:00
|
|
|
char *na_tray_child_get_title (NaTrayChild *child);
|
|
|
|
void na_tray_child_get_wm_class (NaTrayChild *child,
|
|
|
|
char **res_name,
|
|
|
|
char **res_class);
|
2008-11-14 12:21:56 -05:00
|
|
|
|
2022-12-23 06:25:19 -05:00
|
|
|
pid_t na_tray_child_get_pid (NaTrayChild *child);
|
|
|
|
|
2022-12-23 06:33:54 -05:00
|
|
|
void na_tray_child_emulate_event (NaTrayChild *tray_child,
|
|
|
|
ClutterEvent *event);
|
2022-12-23 06:25:19 -05:00
|
|
|
|
2008-11-14 12:21:56 -05:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __NA_TRAY_CHILD_H__ */
|