Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkappchooserbutton.h
Go to the documentation of this file.
1/*
2 * gtkappchooserbutton.h: an app-chooser button
3 *
4 * Copyright (C) 2010 Red Hat, Inc.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * Authors: Cosimo Cecchi <ccecchi@redhat.com>
20 */
21
22#pragma once
23
24#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
25#error "Only <gtk/gtk.h> can be included directly."
26#endif
27
28#include <gtk/gtkwidget.h>
29#include <gio/gio.h>
30
32
33#define GTK_TYPE_APP_CHOOSER_BUTTON (gtk_app_chooser_button_get_type ())
34#define GTK_APP_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_BUTTON, GtkAppChooserButton))
35#define GTK_IS_APP_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_BUTTON))
36
37typedef struct _GtkAppChooserButton GtkAppChooserButton;
38
41
43GtkWidget * gtk_app_chooser_button_new (const char *content_type);
44
49 const char *name,
50 const char *label,
51 GIcon *icon);
54 const char *name);
55
58 gboolean setting);
63 const char *heading);
65const char *
69 gboolean setting);
72
77 gboolean modal);
78
80
82
#define GDK_DEPRECATED_IN_4_10
#define GDK_AVAILABLE_IN_ALL
struct _GIcon GIcon
Definition giotypes.h:92
#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 const char * gtk_app_chooser_button_get_heading(GtkAppChooserButton *self)
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_button_set_show_default_item(GtkAppChooserButton *self, gboolean setting)
struct _GtkAppChooserButton GtkAppChooserButton
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_button_set_heading(GtkAppChooserButton *self, const char *heading)
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_button_set_active_custom_item(GtkAppChooserButton *self, const char *name)
GDK_DEPRECATED_IN_4_10 GtkWidget * gtk_app_chooser_button_new(const char *content_type)
GDK_DEPRECATED_IN_4_10 gboolean gtk_app_chooser_button_get_modal(GtkAppChooserButton *self)
GDK_AVAILABLE_IN_ALL GType gtk_app_chooser_button_get_type(void) G_GNUC_CONST
GDK_DEPRECATED_IN_4_10 gboolean gtk_app_chooser_button_get_show_default_item(GtkAppChooserButton *self)
GDK_DEPRECATED_IN_4_10 gboolean gtk_app_chooser_button_get_show_dialog_item(GtkAppChooserButton *self)
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_button_append_separator(GtkAppChooserButton *self)
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_button_set_modal(GtkAppChooserButton *self, gboolean modal)
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_button_append_custom_item(GtkAppChooserButton *self, const char *name, const char *label, GIcon *icon)
GDK_DEPRECATED_IN_4_10 void gtk_app_chooser_button_set_show_dialog_item(GtkAppChooserButton *self, gboolean setting)
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
const char * name
Definition lsqlite3.c:2154