ICalGLib.Attach¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class ICalGLib.Attach(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
This is the
ICalGLib.Attach
instance.- classmethod new_from_bytes(bytes)¶
- Parameters:
bytes (
GLib.Bytes
) – TheGLib.Bytes
holding the data used to create theICalGLib.Attach
- Returns:
The newly created
ICalGLib.Attach
- Return type:
Creates a new
ICalGLib.Attach
from the data in bytes. Takes a reference of bytes, increase the reference before calling this function if you with to use it afterward. The stored bytes should be already encoded with used encoding (like base64).New in version 1.0.
- classmethod new_from_data(data, free_fn, *free_fn_data)¶
- Parameters:
data (
str
) – The data used to create theICalGLib.Attach
free_fn (
GLib.Func
orNone
) – The function used to free the data when the createICalGLib.Attach
is destroyedfree_fn_data (
object
orNone
) – The userdata used for the free function free_fn
- Returns:
The newly created
ICalGLib.Attach
- Return type:
Creates a new
ICalGLib.Attach
from the data.New in version 1.0.
- classmethod new_from_url(url)¶
- Parameters:
url (
str
) – The url from which the object is created- Returns:
The newly created
ICalGLib.Attach
from the url- Return type:
Creates a new
ICalGLib.Attach
from the url.New in version 1.0.
- get_data()¶
- Returns:
The data component of the self.
None
if it is built from url or there is an error.- Return type:
Gets the data, if the
ICalGLib.Attach
is built from the data.New in version 1.0.
- get_is_url()¶
- Returns:
Whether the self is built from url
- Return type:
Checks whether the
ICalGLib.Attach
is built from url.New in version 1.0.
- get_url()¶
- Returns:
The url component of the self.
None
if it is built from data or there is an error.- Return type:
Gets the url, if the
ICalGLib.Attach
is built from the url.New in version 1.0.