]> git.pld-linux.org Git - packages/crossmingw32-wxWidgets.git/blame - wxWidgets-eggtrayicon.patch
- missing include
[packages/crossmingw32-wxWidgets.git] / wxWidgets-eggtrayicon.patch
CommitLineData
7d070336 1--- wxWidgets-2.5.3/src/gtk/eggtrayicon.h.org 2004-12-03 13:11:05.009865440 +0000
2+++ wxWidgets-2.5.3/src/gtk/eggtrayicon.h 2004-05-31 22:10:27.000000000 +0000
3@@ -0,0 +1,74 @@
4+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
5+/* eggtrayicon.h
6+ * Copyright (C) 2002 Anders Carlsson <andersca@gnu.org>
7+ *
8+ * This library is free software; you can redistribute it and/or
9+ * modify it under the terms of the GNU Lesser General Public
10+ * License as published by the Free Software Foundation; either
11+ * version 2 of the License, or (at your option) any later version.
12+ *
13+ * This library is distributed in the hope that it will be useful,
14+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16+ * Lesser General Public License for more details.
17+ *
18+ * You should have received a copy of the GNU Lesser General Public
19+ * License along with this library; if not, write to the
20+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21+ * Boston, MA 02111-1307, USA.
22+ */
23+
24+#ifndef __EGG_TRAY_ICON_H__
25+#define __EGG_TRAY_ICON_H__
26+
27+#include <gtk/gtkplug.h>
28+#include <gdk/gdkx.h>
29+
30+G_BEGIN_DECLS
31+
32+#define EGG_TYPE_TRAY_ICON (egg_tray_icon_get_type ())
33+#define EGG_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_TRAY_ICON, EggTrayIcon))
34+#define EGG_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EGG_TYPE_TRAY_ICON, EggTrayIconClass))
35+#define EGG_IS_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EGG_TYPE_TRAY_ICON))
36+#define EGG_IS_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_TRAY_ICON))
37+#define EGG_TRAY_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_TRAY_ICON, EggTrayIconClass))
38+
39+typedef struct _EggTrayIcon EggTrayIcon;
40+typedef struct _EggTrayIconClass EggTrayIconClass;
41+
42+struct _EggTrayIcon
43+{
44+ GtkPlug parent_instance;
45+
46+ guint stamp;
47+
48+ Atom selection_atom;
49+ Atom manager_atom;
50+ Atom system_tray_opcode_atom;
51+ Window manager_window;
52+};
53+
54+struct _EggTrayIconClass
55+{
56+ GtkPlugClass parent_class;
57+};
58+
59+GType egg_tray_icon_get_type (void);
60+
61+EggTrayIcon *egg_tray_icon_new_for_screen (GdkScreen *screen,
62+ const gchar *name);
63+
64+EggTrayIcon *egg_tray_icon_new (const gchar *name);
65+
66+guint egg_tray_icon_send_message (EggTrayIcon *icon,
67+ gint timeout,
68+ const char *message,
69+ gint len);
70+void egg_tray_icon_cancel_message (EggTrayIcon *icon,
71+ guint id);
72+
73+
74+
75+G_END_DECLS
76+
77+#endif /* __EGG_TRAY_ICON_H__ */
This page took 0.273728 seconds and 4 git commands to generate.