Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
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, see <http://www.gnu.org/licenses/>.
17 *
18 * Author: Alexander Larsson <alexl@redhat.com>
19 */
20
21#pragma once
22
23#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
24#error "Only <gdk/gdk.h> can be included directly."
25#endif
26
27#include <gdk/gdktypes.h>
28
30
31#define GDK_TYPE_APP_LAUNCH_CONTEXT (gdk_app_launch_context_get_type ())
32#define GDK_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContext))
33#define GDK_IS_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_APP_LAUNCH_CONTEXT))
34
35
38
41
44 int desktop);
47 guint32 timestamp);
50 GIcon *icon);
53 const char *icon_name);
54
56
58
#define GDK_AVAILABLE_IN_ALL
GDK_AVAILABLE_IN_ALL GType gdk_app_launch_context_get_type(void)
GDK_AVAILABLE_IN_ALL void gdk_app_launch_context_set_icon_name(GdkAppLaunchContext *context, const char *icon_name)
GDK_AVAILABLE_IN_ALL void gdk_app_launch_context_set_icon(GdkAppLaunchContext *context, GIcon *icon)
GDK_AVAILABLE_IN_ALL void gdk_app_launch_context_set_timestamp(GdkAppLaunchContext *context, guint32 timestamp)
GDK_AVAILABLE_IN_ALL GdkDisplay * gdk_app_launch_context_get_display(GdkAppLaunchContext *context)
GDK_AVAILABLE_IN_ALL void gdk_app_launch_context_set_desktop(GdkAppLaunchContext *context, int desktop)
struct _GdkDisplay GdkDisplay
Definition gdktypes.h:90
struct _GdkAppLaunchContext GdkAppLaunchContext
Definition gdktypes.h:92
struct _GIcon GIcon
Definition giotypes.h:92
unsigned int guint32
Definition glibconfig.h:57
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
gsize GType
Definition gtype.h:427