Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkappchooserdialog.h
Go to the documentation of this file.
1/*
2 * gtkappchooserdialog.h: an app-chooser dialog
3 *
4 * Copyright (C) 2004 Novell, Inc.
5 * Copyright (C) 2007, 2010 Red Hat, Inc.
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
19 *
20 * Authors: Dave Camp <dave@novell.com>
21 * Alexander Larsson <alexl@redhat.com>
22 * Cosimo Cecchi <ccecchi@redhat.com>
23 */
24
25#pragma once
26
27#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
28#error "Only <gtk/gtk.h> can be included directly."
29#endif
30
32#include <gio/gio.h>
33
35
36#define GTK_TYPE_APP_CHOOSER_DIALOG (gtk_app_chooser_dialog_get_type ())
37#define GTK_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialog))
38#define GTK_IS_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_DIALOG))
39
40typedef struct _GtkAppChooserDialog GtkAppChooserDialog;
41
44
47 GtkDialogFlags flags,
48 GFile *file);
51 GtkDialogFlags flags,
52 const char *content_type);
53
58 const char *heading);
61
63
65
#define GDK_DEPRECATED_IN_4_10
#define GDK_AVAILABLE_IN_ALL
struct _GFile GFile
Definition giotypes.h:74
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
GDK_DEPRECATED_IN_4_10 GtkWidget * gtk_app_chooser_dialog_new(GtkWindow *parent, GtkDialogFlags flags, GFile *file)
struct _GtkAppChooserDialog GtkAppChooserDialog
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_dialog_set_heading(GtkAppChooserDialog *self, const char *heading)
GDK_DEPRECATED_IN_4_10 GtkWidget * gtk_app_chooser_dialog_new_for_content_type(GtkWindow *parent, GtkDialogFlags flags, const char *content_type)
GDK_DEPRECATED_IN_4_10 const char * gtk_app_chooser_dialog_get_heading(GtkAppChooserDialog *self)
GDK_AVAILABLE_IN_ALL GType gtk_app_chooser_dialog_get_type(void) G_GNUC_CONST
GDK_DEPRECATED_IN_4_10 GtkWidget * gtk_app_chooser_dialog_get_widget(GtkAppChooserDialog *self)
GtkDialogFlags
Definition gtkdialog.h:45
gsize GType
Definition gtype.h:427