1 | /* gdkapplaunchcontext.h - Gtk+ implementation for GAppLaunchContext |
2 | * |
3 | * Copyright (C) 2007 Red Hat, Inc. |
4 | * |
5 | * This library is free software; you can redistribute it and/or |
6 | * modify it under the terms of the GNU Lesser General Public |
7 | * License as published by the Free Software Foundation; either |
8 | * version 2 of the License, or (at your option) any later version. |
9 | * |
10 | * This library is distributed in the hope that it will be useful, |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | * Lesser General Public License for more details. |
14 | * |
15 | * You should have received a copy of the GNU Lesser General Public |
16 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
17 | * |
18 | * Author: Alexander Larsson <alexl@redhat.com> |
19 | */ |
20 | |
21 | #ifndef __GDK_APP_LAUNCH_CONTEXT_H__ |
22 | #define __GDK_APP_LAUNCH_CONTEXT_H__ |
23 | |
24 | #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) |
25 | #error "Only <gdk/gdk.h> can be included directly." |
26 | #endif |
27 | |
28 | #include <gdk/gdkversionmacros.h> |
29 | #include <gdk/gdktypes.h> |
30 | |
31 | G_BEGIN_DECLS |
32 | |
33 | #define GDK_TYPE_APP_LAUNCH_CONTEXT (gdk_app_launch_context_get_type ()) |
34 | #define GDK_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContext)) |
35 | #define GDK_IS_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_APP_LAUNCH_CONTEXT)) |
36 | |
37 | |
38 | GDK_AVAILABLE_IN_ALL |
39 | GType gdk_app_launch_context_get_type (void); |
40 | |
41 | GDK_AVAILABLE_IN_ALL |
42 | GdkDisplay * gdk_app_launch_context_get_display (GdkAppLaunchContext *context); |
43 | |
44 | GDK_AVAILABLE_IN_ALL |
45 | void gdk_app_launch_context_set_desktop (GdkAppLaunchContext *context, |
46 | int desktop); |
47 | GDK_AVAILABLE_IN_ALL |
48 | void gdk_app_launch_context_set_timestamp (GdkAppLaunchContext *context, |
49 | guint32 timestamp); |
50 | GDK_AVAILABLE_IN_ALL |
51 | void gdk_app_launch_context_set_icon (GdkAppLaunchContext *context, |
52 | GIcon *icon); |
53 | GDK_AVAILABLE_IN_ALL |
54 | void gdk_app_launch_context_set_icon_name (GdkAppLaunchContext *context, |
55 | const char *icon_name); |
56 | |
57 | |
58 | G_END_DECLS |
59 | |
60 | #endif /* __GDK_APP_LAUNCH_CONTEXT_H__ */ |
61 | |