Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkappchooserwidget.h
Go to the documentation of this file.
1/*
2 * gtkappchooserwidget.h: an app-chooser widget
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
31#include <gtk/gtkwidget.h>
32#include <gio/gio.h>
33
35
36#define GTK_TYPE_APP_CHOOSER_WIDGET (gtk_app_chooser_widget_get_type ())
37#define GTK_APP_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_WIDGET, GtkAppChooserWidget))
38#define GTK_IS_APP_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_WIDGET))
39
40typedef struct _GtkAppChooserWidget GtkAppChooserWidget;
41
44
46GtkWidget * gtk_app_chooser_widget_new (const char *content_type);
47
50 gboolean setting);
53
56 gboolean setting);
59
62 gboolean setting);
65
68 gboolean setting);
71
74 gboolean setting);
77
80 const char *text);
83
85
87
#define GDK_DEPRECATED_IN_4_10
#define GDK_AVAILABLE_IN_ALL
#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 void gtk_app_chooser_widget_set_default_text(GtkAppChooserWidget *self, const char *text)
GDK_DEPRECATED_IN_4_10 gboolean gtk_app_chooser_widget_get_show_recommended(GtkAppChooserWidget *self)
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_widget_set_show_recommended(GtkAppChooserWidget *self, gboolean setting)
GDK_DEPRECATED_IN_4_10 gboolean gtk_app_chooser_widget_get_show_default(GtkAppChooserWidget *self)
GDK_DEPRECATED_IN_4_10 GtkWidget * gtk_app_chooser_widget_new(const char *content_type)
struct _GtkAppChooserWidget GtkAppChooserWidget
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_widget_set_show_default(GtkAppChooserWidget *self, gboolean setting)
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_widget_set_show_all(GtkAppChooserWidget *self, gboolean setting)
GDK_DEPRECATED_IN_4_10 gboolean gtk_app_chooser_widget_get_show_fallback(GtkAppChooserWidget *self)
GDK_AVAILABLE_IN_ALL GType gtk_app_chooser_widget_get_type(void) G_GNUC_CONST
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_widget_set_show_fallback(GtkAppChooserWidget *self, gboolean setting)
GDK_DEPRECATED_IN_4_10 gboolean gtk_app_chooser_widget_get_show_all(GtkAppChooserWidget *self)
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_widget_set_show_other(GtkAppChooserWidget *self, gboolean setting)
GDK_DEPRECATED_IN_4_10 const char * gtk_app_chooser_widget_get_default_text(GtkAppChooserWidget *self)
GDK_DEPRECATED_IN_4_10 gboolean gtk_app_chooser_widget_get_show_other(GtkAppChooserWidget *self)
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56