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
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2 of the License, or (at your option) any later version.
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the
18
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19
* Boston, MA 02111-1307, USA.
21
* Used to be: eggtraytray.h
27
#ifdef GDK_WINDOWING_X11
34
#define NA_TYPE_TRAY (na_tray_get_type ())
35
#define NA_TRAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NA_TYPE_TRAY, NaTray))
36
#define NA_TRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NA_TYPE_TRAY, NaTrayClass))
37
#define NA_IS_TRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NA_TYPE_TRAY))
38
#define NA_IS_TRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NA_TYPE_TRAY))
39
#define NA_TRAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NA_TYPE_TRAY, NaTrayClass))
41
typedef struct _NaTray NaTray;
42
typedef struct _NaTrayPrivate NaTrayPrivate;
43
typedef struct _NaTrayClass NaTrayClass;
47
GtkBin parent_instance;
54
GtkBinClass parent_class;
57
GType na_tray_get_type (void);
58
NaTray *na_tray_new_for_screen (GdkScreen *screen,
59
GtkOrientation orientation);
60
void na_tray_set_orientation (NaTray *tray,
61
GtkOrientation orientation);
62
GtkOrientation na_tray_get_orientation (NaTray *tray);
63
void na_tray_set_padding (NaTray *tray,
65
void na_tray_set_icon_size (NaTray *tray,
67
void na_tray_set_colors (NaTray *tray,
72
void na_tray_force_redraw (NaTray *tray);
76
#endif /* __NA_TRAY_H__ */