source: proiecte/PPPP/gdm/gui/simple-greeter/libnotificationarea/na-tray.h @ 134

Last change on this file since 134 was 134, checked in by (none), 14 years ago

gdm sources with the modifications for webcam

File size: 2.2 KB
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2/* na-tray-tray.h
3 * Copyright (C) 2002 Anders Carlsson <andersca@gnu.org>
4 * Copyright (C) 2003-2006 Vincent Untz
5 *
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.
10 *
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.
15 *
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.
20 *
21 * Used to be: eggtraytray.h
22 */
23
24#ifndef __NA_TRAY_H__
25#define __NA_TRAY_H__
26
27#include <gtk/gtk.h>
28#ifdef GDK_WINDOWING_X11
29#include <gdk/gdkx.h>
30#endif
31
32G_BEGIN_DECLS
33
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))
40       
41typedef struct _NaTray          NaTray;
42typedef struct _NaTrayPrivate   NaTrayPrivate;
43typedef struct _NaTrayClass     NaTrayClass;
44typedef struct _NaTrayChild     NaTrayChild;
45
46struct _NaTray
47{
48  GtkBin parent_instance;
49
50  NaTrayPrivate *priv;
51};
52
53struct _NaTrayClass
54{
55  GtkBinClass parent_class;
56};
57
58GType           na_tray_get_type        (void);
59NaTray         *na_tray_new_for_screen  (GdkScreen     *screen,
60                                         GtkOrientation orientation);
61void            na_tray_set_orientation (NaTray        *tray,
62                                         GtkOrientation orientation);
63GtkOrientation  na_tray_get_orientation (NaTray        *tray);
64void            na_tray_force_redraw    (NaTray        *tray);
65
66G_END_DECLS
67
68#endif /* __NA_TRAY_H__ */
Note: See TracBrowser for help on using the repository browser.