4#ifndef __GUI_WIDGETS_FILE_CHOOSER_BUTTON_H__
5#define __GUI_WIDGETS_FILE_CHOOSER_BUTTON_H__
7#include "gtk_wrapper.h"
9#define FILE_CHOOSER_BUTTON_WIDGET_TYPE (file_chooser_button_widget_get_type ())
11 FileChooserButtonWidget,
12 file_chooser_button_widget,
14 FILE_CHOOSER_BUTTON_WIDGET,
23typedef struct _FileChooserButtonWidget
25 GtkBox parent_instance;
35 GtkFileChooserAction action;
38 GCallback response_cb;
40 GClosureNotify destroy_notify;
43} FileChooserButtonWidget;
46file_chooser_button_widget_setup (
47 FileChooserButtonWidget * self,
50 GtkFileChooserAction action);
58 FileChooserButtonWidget * self,
59 GtkNativeDialog * dialog,
63file_chooser_button_widget_set_response_callback (
64 FileChooserButtonWidget * self,
67 GClosureNotify destroy_notify);
70file_chooser_button_widget_set_current_dir (
71 FileChooserButtonWidget * self,
75file_chooser_button_widget_set_path (
76 FileChooserButtonWidget * self,
79FileChooserButtonWidget *
80file_chooser_button_widget_new (
83 GtkFileChooserAction action);
87file_chooser_button_widget_get_file_chooser (
88 FileChooserButtonWidget * self);