#include "gntwindow.h"
#include "gnt.h"
#include "gntcolors.h"
#include "gntkeys.h"
Include dependency graph for gntfilesel.h:
Go to the source code of this file.
Data Structures | |
struct | _GntFileSel |
struct | _GntFileSelClass |
struct | _GntFile |
Defines | |
#define | GNT_TYPE_FILE_SEL (gnt_file_sel_get_gtype()) |
#define | GNT_FILE_SEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_FILE_SEL, GntFileSel)) |
#define | GNT_FILE_SEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_FILE_SEL, GntFileSelClass)) |
#define | GNT_IS_FILE_SEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_FILE_SEL)) |
#define | GNT_IS_FILE_SEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_FILE_SEL)) |
#define | GNT_FILE_SEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_FILE_SEL, GntFileSelClass)) |
#define | GNT_FILE_SEL_FLAGS(obj) (GNT_FILE_SEL(obj)->priv.flags) |
#define | GNT_FILE_SEL_SET_FLAGS(obj, flags) (GNT_FILE_SEL_FLAGS(obj) |= flags) |
#define | GNT_FILE_SEL_UNSET_FLAGS(obj, flags) (GNT_FILE_SEL_FLAGS(obj) &= ~(flags)) |
Typedefs | |
typedef _GntFileSel | GntFileSel |
typedef _GntFileSelPriv | GntFileSelPriv |
typedef _GntFileSelClass | GntFileSelClass |
typedef _GntFile | GntFile |
typedef enum _GntFileType | GntFileType |
Enumerations | |
enum | _GntFileType { GNT_FILE_REGULAR, GNT_FILE_DIR } |
Functions | |
G_BEGIN_DECLS GType | gnt_file_sel_get_gtype (void) |
GntWidget * | gnt_file_sel_new (void) |
Create a new file selector. | |
gboolean | gnt_file_sel_set_current_location (GntFileSel *sel, const char *path) |
Set the current location of the file selector. | |
void | gnt_file_sel_set_dirs_only (GntFileSel *sel, gboolean dirs) |
Set wheter to only allow selecting directories. | |
gboolean | gnt_file_sel_get_dirs_only (GntFileSel *sel) |
Check whether the file selector allows only selecting directories. | |
void | gnt_file_sel_set_must_exist (GntFileSel *sel, gboolean must) |
Set whether a selected file must exist. | |
gboolean | gnt_file_sel_get_must_exist (GntFileSel *sel) |
Check whether the selector allows selecting non-existent files. | |
char * | gnt_file_sel_get_selected_file (GntFileSel *sel) |
Get the selected file in the selector. | |
GList * | gnt_file_sel_get_selected_multi_files (GntFileSel *sel) |
Get the list of selected files in the selector. | |
void | gnt_file_sel_set_multi_select (GntFileSel *sel, gboolean set) |
Allow selecting multiple files. | |
void | gnt_file_sel_set_suggested_filename (GntFileSel *sel, const char *suggest) |
Set the suggested file to have selected at startup. | |
void | gnt_file_sel_set_read_fn (GntFileSel *sel, gboolean(*read_fn)(const char *path, GList **files, GError **error)) |
Set custom functions to read the names of files. | |
GntFile * | gnt_file_new (const char *name, unsigned long size) |
Create a new GntFile. | |
GntFile * | gnt_file_new_dir (const char *name) |
Create a new GntFile for a directory. |
Definition in file gntfilesel.h.
|
Create a new GntFile.
|
|
Create a new GntFile for a directory.
|
|
Check whether the file selector allows only selecting directories.
|
|
|
|
Check whether the selector allows selecting non-existent files.
|
|
Get the selected file in the selector.
|
|
Get the list of selected files in the selector.
|
|
Create a new file selector.
|
|
Set the current location of the file selector.
|
|
Set wheter to only allow selecting directories.
|
|
Allow selecting multiple files.
|
|
Set whether a selected file must exist.
|
|
Set custom functions to read the names of files.
|
|
Set the suggested file to have selected at startup.
|