1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3
* Copyright (C) 2002 Anders Carlsson <andersca@gnu.org>
4
* Copyright (C) 2003-2006 Vincent Untz
5
* Copyright (C) 2008 Red Hat, Inc.
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2 of the License, or (at your option) any later version.
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the
19
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
* Boston, MA 02111-1307, USA.
23
#ifndef __NA_TRAY_CHILD_H__
24
#define __NA_TRAY_CHILD_H__
31
#define NA_TYPE_TRAY_CHILD (na_tray_child_get_type ())
32
#define NA_TRAY_CHILD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NA_TYPE_TRAY_CHILD, NaTrayChild))
33
#define NA_TRAY_CHILD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NA_TYPE_TRAY_CHILD, NaTrayChildClass))
34
#define NA_IS_TRAY_CHILD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NA_TYPE_TRAY_CHILD))
35
#define NA_IS_TRAY_CHILD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NA_TYPE_TRAY_CHILD))
36
#define NA_TRAY_CHILD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NA_TYPE_TRAY_CHILD, NaTrayChildClass))
38
typedef struct _NaTrayChild NaTrayChild;
39
typedef struct _NaTrayChildClass NaTrayChildClass;
40
typedef struct _NaTrayChildChild NaTrayChildChild;
44
GtkSocket parent_instance;
48
guint parent_relative_bg : 1;
51
struct _NaTrayChildClass
53
GtkSocketClass parent_class;
56
GType na_tray_child_get_type (void);
58
GtkWidget *na_tray_child_new (GdkScreen *screen,
60
char *na_tray_child_get_title (NaTrayChild *child);
61
gboolean na_tray_child_has_alpha (NaTrayChild *child);
62
void na_tray_child_set_composited (NaTrayChild *child,
64
void na_tray_child_force_redraw (NaTrayChild *child);
65
void na_tray_child_get_wm_class (NaTrayChild *child,
71
#endif /* __NA_TRAY_CHILD_H__ */