Top | ![]() |
![]() |
![]() |
![]() |
gboolean | 2G-file | No Recursion |
gboolean | deep-directory | No Recursion |
void | icon-changed | No Recursion |
gint | image-uri | No Recursion |
void | joliet-rename | No Recursion |
gboolean | name-collision | No Recursion |
void | recursive-sym | Run First |
void | session-available | Run Last |
void | session-loaded | Run Last |
void | source-loaded | No Recursion |
void | source-loading | No Recursion |
void | unknown-uri | Run First |
void | unreadable-uri | Run First |
#define | BRASERO_DND_TARGET_DATA_TRACK_REFERENCE_LIST |
enum | BraseroTrackDataCfgColumn |
struct | BraseroTrackDataCfg |
BraseroTrackDataCfg implements GtkTreeModel, GtkTreeDragDest, GtkTreeDragSource and GtkTreeSortable.
BraseroTrackDataCfg *
brasero_track_data_cfg_new (void
);
Creates a new BraseroTrackDataCfg.
gboolean brasero_track_data_cfg_add (BraseroTrackDataCfg *track
,const gchar *uri
,GtkTreePath *parent
);
Add a new file (with uri
as URI) under a directory (parent
).
If parent
is NULL, the file is added to the root.
Also if uri
is the path of a directory, this directory will be explored
and all its children added to the tree.
GtkTreePath * brasero_track_data_cfg_add_empty_directory (BraseroTrackDataCfg *track
,const gchar *name
,GtkTreePath *parent
);
Add a new empty directory (with name
as name) under another directory (parent
).
If parent
is NULL, the file is added to the root.
gboolean brasero_track_data_cfg_remove (BraseroTrackDataCfg *track
,GtkTreePath *treepath
);
Removes a file or a directory (as well as its children) from the tree. NOTE: some files cannot be removed like files from an imported session.
gboolean brasero_track_data_cfg_rename (BraseroTrackDataCfg *track
,const gchar *newname
,GtkTreePath *treepath
);
Renames the file in the tree pointed by treepath
.
gboolean
brasero_track_data_cfg_reset (BraseroTrackDataCfg *track
);
Completely empties track
and unloads any currently loaded session
gboolean brasero_track_data_cfg_load_medium (BraseroTrackDataCfg *track
,BraseroMedium *medium
,GError **error
);
Tries to load the contents of the last session of medium
so all its files will be included in the tree
to perform a merge between files from the session and new added files.
Errors are stored in error
.
void
brasero_track_data_cfg_unload_current_medium
(BraseroTrackDataCfg *track
);
Unload the contents of the last session of the currently loaded medium.
See brasero_track_data_cfg_load_medium()
.
BraseroMedium *
brasero_track_data_cfg_get_current_medium
(BraseroTrackDataCfg *track
);
Gets the currently loaded medium.
a BraseroMedium. NULL if no medium are currently loaded. Do not unref when the BraseroMedium is not needed anymore.
GSList *
brasero_track_data_cfg_get_available_media
(BraseroTrackDataCfg *track
);
Gets a list of all the media that can be appended with new data and which have a session that can be loaded.
a GSList of BraseroMedium. Free the list and unref its contents when the list is not needed anymore.
void brasero_track_data_cfg_dont_filter_uri (BraseroTrackDataCfg *track
,const gchar *uri
);
Prevents uri
to be filtered while automatic exploration
of added directories is performed.
GSList *
brasero_track_data_cfg_get_restored_list
(BraseroTrackDataCfg *track
);
Gets a list of URIs (as gchar *) that were restored with brasero_track_data_cfg_restore()
.
void brasero_track_data_cfg_restore (BraseroTrackDataCfg *track
,GtkTreePath *treepath
);
Removes a file from the filtered file list (see brasero_track_data_cfg_get_filtered_model()
)
and re-adds it wherever it should be in the tree.
treepath
is a GtkTreePath associated with the GtkTreeModel which holds the
filtered files not the main tree.
GtkTreeModel *
brasero_track_data_cfg_get_filtered_model
(BraseroTrackDataCfg *track
);
Gets a GtkTreeModel which contains all the files that were automatically filtered while added directories were explored.
BraseroBurnResult brasero_track_data_cfg_span (BraseroTrackDataCfg *track
,goffset sectors
,BraseroTrackData *new_track
);
Creates a new BraseroTrackData (stored in new_track
) from the files contained in track
. The sum of their sizes
does not exceed sectors
. This allows to burn a tree on multiple discs. This function can be
called repeatedly; in this case if some files were left out after the previous calls, the newly created BraseroTrackData
is created with all or part of the remaining files.
a BraseroBurnResult. BRASERO_BURN_OK if there is not anymore data. BRASERO_BURN_RETRY if the operation was successful and a new BraseroTrackDataCfg was created. BRASERO_BURN_ERR otherwise.
BraseroBurnResult
brasero_track_data_cfg_span_again (BraseroTrackDataCfg *track
);
Checks whether some files were not included during calls to brasero_track_data_cfg_span()
.
a BraseroBurnResult. BRASERO_BURN_OK if there is not anymore data. BRASERO_BURN_RETRY if the operation was successful and a new BraseroTrackDataCfg was created. BRASERO_BURN_ERR otherwise.
BraseroBurnResult brasero_track_data_cfg_span_possible (BraseroTrackDataCfg *track
,goffset sectors
);
Checks if a new BraseroTrackData can be created from the files remaining in the tree
after calls to brasero_track_data_cfg_span()
.
a BraseroBurnResult. BRASERO_BURN_OK if there is not anymore data. BRASERO_BURN_RETRY if the operation was successful and a new BraseroTrackDataCfg was created. BRASERO_BURN_ERR otherwise.
void
brasero_track_data_cfg_span_stop (BraseroTrackDataCfg *track
);
Resets the list of files that were included after calls to brasero_track_data_cfg_span()
.
GIcon *
brasero_track_data_cfg_get_icon (BraseroTrackDataCfg *track
);
Returns the currently selected icon.
gchar *
brasero_track_data_cfg_get_icon_path (BraseroTrackDataCfg *track
);
Returns a path pointing to the currently selected icon file.
gboolean brasero_track_data_cfg_set_icon (BraseroTrackDataCfg *track
,const gchar *icon_path
,GError **error
);
Sets the current icon.
#define BRASERO_DND_TARGET_DATA_TRACK_REFERENCE_LIST "GTK_TREE_MODEL_ROW"
“2G-file”
signalgboolean user_function (BraseroTrackDataCfg *braserotrackdatacfg, gchar *arg1, gpointer user_data)
Flags: No Recursion
“deep-directory”
signalgboolean user_function (BraseroTrackDataCfg *braserotrackdatacfg, gchar *arg1, gpointer user_data)
Flags: No Recursion
“icon-changed”
signalvoid user_function (BraseroTrackDataCfg *braserotrackdatacfg, gpointer user_data)
Flags: No Recursion
“image-uri”
signalgint user_function (BraseroTrackDataCfg *braserotrackdatacfg, gchar *arg1, gpointer user_data)
Flags: No Recursion
“joliet-rename”
signalvoid user_function (BraseroTrackDataCfg *braserotrackdatacfg, gpointer user_data)
Flags: No Recursion
“name-collision”
signalgboolean user_function (BraseroTrackDataCfg *braserotrackdatacfg, gchar *arg1, gpointer user_data)
Flags: No Recursion
“recursive-sym”
signalvoid user_function (BraseroTrackDataCfg *braserotrackdatacfg, gchar *arg1, gpointer user_data)
Flags: Run First
“session-available”
signalvoid user_function (BraseroTrackDataCfg *braserotrackdatacfg, GObject *arg1, gboolean arg2, gpointer user_data)
Flags: Run Last
“session-loaded”
signalvoid user_function (BraseroTrackDataCfg *braserotrackdatacfg, GObject *arg1, gboolean arg2, gpointer user_data)
Flags: Run Last
“source-loaded”
signalvoid user_function (BraseroTrackDataCfg *braserotrackdatacfg, gpointer arg1, gpointer user_data)
Flags: No Recursion
“source-loading”
signalvoid user_function (BraseroTrackDataCfg *braserotrackdatacfg, gdouble arg1, gpointer user_data)
Flags: No Recursion
“unknown-uri”
signalvoid user_function (BraseroTrackDataCfg *braserotrackdatacfg, gchar *arg1, gpointer user_data)
Flags: Run First
“unreadable-uri”
signalvoid user_function (BraseroTrackDataCfg *braserotrackdatacfg, gpointer arg1, gchar *arg2, gpointer user_data)
Flags: Run First