GObject.Object
Midgard.Blob
Import line: | Midgard = imports.gi.Midgard; |
GIR File: | Midgard-10.05.gir |
C documentation: | MidgardBlob |
Class : | Blob |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
content : String
|
Midgard.Blob | |
parent : GObject.Object
read only
|
Midgard.Blob | |
parentguid : String
|
Midgard.Blob | |
priv : Midgard.BlobPrivate
read only
|
Midgard.Blob |
Method / Constructor | Defined By | |
---|---|---|
new Midgard.Blob
(Object properties)
Create a new Midgard.Blob
Create a new Midgard.Blob
|
||
Create a new Midgard.Blob
Create a new Midgard.Blob
|
||
exists
()
:
Boolean
Check if file associated with midgard_blob exists.
Check if file associated with midgard_blob exists. This function will also return FALSE, if file is not yet associated.
|
Midgard.Blob | |
get_handler
(String mode)
:
GLib.IOChannel
The main idea is to get file handler.
The main idea is to get file handler. On C level it returns GIOChannel, but language bindings could return typical file handler or anything else which is needed for particular language. Returned channel is owned by midgard_blob and should not be freed or unreferenced.
|
Midgard.Blob | |
get_path
()
:
String
|
Midgard.Blob | |
Returned content should be freed when no longer needed.
|
Midgard.Blob | |
remove_file
()
:
Boolean
Deletes a file which is associated with blob and located at attachment's location which is initialized for blob.
Deletes a file which is associated with blob and located at attachment's location which is initialized for blob. midgard_blob_exists should be invoked if file may be already deleted, for example when one file is shared among many attachments.
|
Midgard.Blob | |
Midgard.Blob |
None |