Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkfilechoosernative.h
Go to the documentation of this file.
1/* GTK - The GIMP Toolkit
2 * gtkfilechoosernative.h: Native File selector dialog
3 * Copyright (C) 2015, 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
19#pragma once
20
21#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
22#error "Only <gtk/gtk.h> can be included directly."
23#endif
24
26#include <gtk/gtknativedialog.h>
27
29
30#define GTK_TYPE_FILE_CHOOSER_NATIVE (gtk_file_chooser_native_get_type ())
31
33G_DECLARE_FINAL_TYPE (GtkFileChooserNative, gtk_file_chooser_native, GTK, FILE_CHOOSER_NATIVE, GtkNativeDialog)
34
36GtkFileChooserNative *gtk_file_chooser_native_new (const char *title,
37 GtkWindow *parent,
39 const char *accept_label,
40 const char *cancel_label);
41
43const char *gtk_file_chooser_native_get_accept_label (GtkFileChooserNative *self);
45void gtk_file_chooser_native_set_accept_label (GtkFileChooserNative *self,
46 const char *accept_label);
48const char *gtk_file_chooser_native_get_cancel_label (GtkFileChooserNative *self);
50void gtk_file_chooser_native_set_cancel_label (GtkFileChooserNative *self,
51 const char *cancel_label);
52
54
#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
GtkFileChooserAction
GDK_DEPRECATED_IN_4_10 const char * gtk_file_chooser_native_get_cancel_label(GtkFileChooserNative *self)
GDK_DEPRECATED_IN_4_10 void gtk_file_chooser_native_set_accept_label(GtkFileChooserNative *self, const char *accept_label)
GDK_AVAILABLE_IN_ALL GDK_DEPRECATED_IN_4_10 GtkFileChooserNative * gtk_file_chooser_native_new(const char *title, GtkWindow *parent, GtkFileChooserAction action, const char *accept_label, const char *cancel_label)
GDK_DEPRECATED_IN_4_10 void gtk_file_chooser_native_set_cancel_label(GtkFileChooserNative *self, const char *cancel_label)
GDK_DEPRECATED_IN_4_10 const char * gtk_file_chooser_native_get_accept_label(GtkFileChooserNative *self)
#define G_DECLARE_FINAL_TYPE(ModuleObjName, module_obj_name, MODULE, OBJ_NAME, ParentName)
Definition gtype.h:1602