Ardour  9.0-pre0-384-ga76afae0e9
gdkapplaunchcontext.h
Go to the documentation of this file.
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, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  *
20  * Author: Alexander Larsson <alexl@redhat.com>
21  */
22 
23 #ifndef __GDK_APP_LAUNCH_CONTEXT_H__
24 #define __GDK_APP_LAUNCH_CONTEXT_H__
25 
26 #if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
27 #error "Only <gdk/gdk.h> can be included directly."
28 #endif
29 
30 #include <gio/gio.h>
31 #include <gdk/gdkscreen.h>
32 
33 G_BEGIN_DECLS
34 
35 #define GDK_TYPE_APP_LAUNCH_CONTEXT (gdk_app_launch_context_get_type ())
36 #define GDK_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContext))
37 #define GDK_APP_LAUNCH_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContextClass))
38 #define GDK_IS_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_APP_LAUNCH_CONTEXT))
39 #define GDK_IS_APP_LAUNCH_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDK_TYPE_APP_LAUNCH_CONTEXT))
40 #define GDK_APP_LAUNCH_CONTEXT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContextClass))
41 
45 
47 {
48  GAppLaunchContext parent_instance;
49 
51 };
52 
54 {
55  GAppLaunchContextClass parent_class;
56 };
57 
59 
62  GdkDisplay *display);
64  GdkScreen *screen);
66  gint desktop);
68  guint32 timestamp);
70  GIcon *icon);
72  const char *icon_name);
73 
74 G_END_DECLS
75 
76 #endif /* __GDK_APP_LAUNCH_CONTEXT_H__ */
void gdk_app_launch_context_set_icon_name(GdkAppLaunchContext *context, const char *icon_name)
GdkAppLaunchContext * gdk_app_launch_context_new(void)
void gdk_app_launch_context_set_icon(GdkAppLaunchContext *context, GIcon *icon)
void gdk_app_launch_context_set_desktop(GdkAppLaunchContext *context, gint desktop)
void gdk_app_launch_context_set_screen(GdkAppLaunchContext *context, GdkScreen *screen)
GType gdk_app_launch_context_get_type(void)
void gdk_app_launch_context_set_timestamp(GdkAppLaunchContext *context, guint32 timestamp)
void gdk_app_launch_context_set_display(GdkAppLaunchContext *context, GdkDisplay *display)
GAppLaunchContextClass parent_class
GAppLaunchContext parent_instance
GdkAppLaunchContextPrivate * priv