GCab.Folder – libgcab-1.0 Reference Manual
Packages
libgcab-1.0
GCab
Folder
compression
comptype
reserved
Folder
add_file
get_comptype
get_file_by_name
get_files
get_nfiles
Folder
Object Hierarchy:
Description:
[
CCode
( type_id =
"gcab_folder_get_type ()"
) ]
public
class
Folder
:
Object
An opaque object, referencing a folder in a Cabinet.
Namespace:
GCab
Package:
libgcab-1.0
Content:
Properties:
public
Compression
compression
{
get
; }
public
int
comptype
{
get
;
construct
; }
public
ByteArray
reserved
{
owned
get
;
set
; }
Creation methods:
public
Folder
(
int
comptype)
Creates a new empty Cabinet folder.
Methods:
public
bool
add_file
(
File
cabfile,
bool
recurse,
Cancellable
? cancellable =
null
)
throws
Error
Add
file
to the
Folder
.
public
int
get_comptype
()
Returns the compression used in this folder.
public
unowned
File
get_file_by_name
(
string
name)
Gets a specific
File
files contained in the
this
.
public
SList
<
unowned
File
>
get_files
()
Get the list of
File
files contained in the
this
.
public
uint
get_nfiles
()
Get the number of files in this
folder
.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref