2007-12-13 05:16:33 +00:00
|
|
|
/* gdkapplaunchcontext.h - Gtk+ implementation for GAppLaunchContext
|
2008-06-21 10:44:26 +00:00
|
|
|
*
|
|
|
|
* Copyright (C) 2007 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2012-02-27 13:01:10 +00:00
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
2008-06-21 10:44:26 +00:00
|
|
|
*
|
|
|
|
* Author: Alexander Larsson <alexl@redhat.com>
|
|
|
|
*/
|
2007-12-13 05:16:33 +00:00
|
|
|
|
2023-03-31 19:11:10 +00:00
|
|
|
#pragma once
|
2012-12-28 14:57:34 +00:00
|
|
|
|
2019-11-27 13:33:43 +00:00
|
|
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
2008-05-28 14:01:57 +00:00
|
|
|
#error "Only <gdk/gdk.h> can be included directly."
|
|
|
|
#endif
|
|
|
|
|
2012-02-27 12:07:48 +00:00
|
|
|
#include <gdk/gdkversionmacros.h>
|
2010-12-09 06:08:05 +00:00
|
|
|
#include <gdk/gdktypes.h>
|
2007-12-13 05:16:33 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
#define GDK_TYPE_APP_LAUNCH_CONTEXT (gdk_app_launch_context_get_type ())
|
|
|
|
#define GDK_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContext))
|
2021-09-24 18:14:16 +00:00
|
|
|
#define GDK_IS_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_APP_LAUNCH_CONTEXT))
|
2007-12-13 05:16:33 +00:00
|
|
|
|
|
|
|
|
2013-03-15 09:58:39 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2008-06-21 10:44:26 +00:00
|
|
|
GType gdk_app_launch_context_get_type (void);
|
2007-12-13 05:16:33 +00:00
|
|
|
|
2020-02-24 12:39:20 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
|
|
|
GdkDisplay * gdk_app_launch_context_get_display (GdkAppLaunchContext *context);
|
|
|
|
|
2013-03-15 09:58:39 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2007-12-13 05:16:33 +00:00
|
|
|
void gdk_app_launch_context_set_desktop (GdkAppLaunchContext *context,
|
2020-07-24 13:54:49 +00:00
|
|
|
int desktop);
|
2013-03-15 09:58:39 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2007-12-13 05:16:33 +00:00
|
|
|
void gdk_app_launch_context_set_timestamp (GdkAppLaunchContext *context,
|
2010-12-24 20:54:12 +00:00
|
|
|
guint32 timestamp);
|
2013-03-15 09:58:39 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2007-12-13 05:16:33 +00:00
|
|
|
void gdk_app_launch_context_set_icon (GdkAppLaunchContext *context,
|
2010-12-24 20:54:12 +00:00
|
|
|
GIcon *icon);
|
2013-03-15 09:58:39 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2007-12-13 05:16:33 +00:00
|
|
|
void gdk_app_launch_context_set_icon_name (GdkAppLaunchContext *context,
|
2010-12-24 20:54:12 +00:00
|
|
|
const char *icon_name);
|
2007-12-13 05:16:33 +00:00
|
|
|
|
2022-09-23 23:08:25 +00:00
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkAppLaunchContext, g_object_unref)
|
2020-02-24 12:39:20 +00:00
|
|
|
|
2007-12-13 05:16:33 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|