]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkfilechooserentry.h
filechooserbutton: Update the combo box even after the dialog is cancelled
[~andy/gtk] / gtk / gtkfilechooserentry.h
index 866f7250031c427e9b9ed92f604ed1583f04f153..dd830770978e50685ad772ff371940877176023c 100644 (file)
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef __GTK_FILE_CHOOSER_ENTRY_H__
 #define __GTK_FILE_CHOOSER_ENTRY_H__
 
 #include "gtkfilesystem.h"
-#include <gtk/gtkwidget.h>
+#include "gtkfilechooser.h"
 
 G_BEGIN_DECLS
 
@@ -32,16 +30,21 @@ G_BEGIN_DECLS
 
 typedef struct _GtkFileChooserEntry      GtkFileChooserEntry;
 
-GType        _gtk_file_chooser_entry_get_type           (void);
-GtkWidget *  _gtk_file_chooser_entry_new                (void);
-void         _gtk_file_chooser_entry_set_file_system    (GtkFileChooserEntry *chooser_entry,
-                                                        GtkFileSystem       *file_system);
-void         _gtk_file_chooser_entry_set_base_folder    (GtkFileChooserEntry *chooser_entry,
-                                                        const gchar         *uri);
-void         _gtk_file_chooser_entry_set_file_part      (GtkFileChooserEntry *chooser_entry,
-                                                        const gchar         *file_part);
-const gchar *_gtk_file_chooser_entry_get_current_folder (GtkFileChooserEntry *chooser_entry);
-const gchar *_gtk_file_chooser_entry_get_file_part      (GtkFileChooserEntry *chooser_entry);
+GType              _gtk_file_chooser_entry_get_type           (void) G_GNUC_CONST;
+GtkWidget *        _gtk_file_chooser_entry_new                (gboolean             eat_tab);
+void               _gtk_file_chooser_entry_set_action         (GtkFileChooserEntry *chooser_entry,
+                                                              GtkFileChooserAction action);
+GtkFileChooserAction _gtk_file_chooser_entry_get_action       (GtkFileChooserEntry *chooser_entry);
+void               _gtk_file_chooser_entry_set_base_folder    (GtkFileChooserEntry *chooser_entry,
+                                                              GFile               *folder);
+GFile *            _gtk_file_chooser_entry_get_current_folder (GtkFileChooserEntry *chooser_entry);
+const gchar *      _gtk_file_chooser_entry_get_file_part      (GtkFileChooserEntry *chooser_entry);
+gboolean           _gtk_file_chooser_entry_get_is_folder      (GtkFileChooserEntry *chooser_entry,
+                                                              GFile               *file);
+void               _gtk_file_chooser_entry_select_filename    (GtkFileChooserEntry *chooser_entry);
+void               _gtk_file_chooser_entry_set_local_only     (GtkFileChooserEntry *chooser_entry,
+                                                               gboolean             local_only);
+gboolean           _gtk_file_chooser_entry_get_local_only     (GtkFileChooserEntry *chooser_entry);
 
 G_END_DECLS