PostalAddress
Object Hierarchy:
Description:
public class PostalAddress : Object
Object representing a postal mail address.
The components of the address are never null
: an empty string indicates that a property is not set.
Content:
Properties:
Creation methods:
- public PostalAddress (string? po_box, string? extension, string? street, string? locality, string? region, string? postal_code, string? country, string? address_format, string? uid)
Create a PostalAddress.
Methods:
- public bool is_empty ()
Whether none of the components is set.
- public bool equal (PostalAddress with)
Compare if two postal addresses are equal. Addresses are equal if all
their components are equal (where null
compares equal only with null
) and they have the same set of types
(or both have no types).
- public string to_string ()
Get a formatted version of the address. The format is localised, and
by default is comma-separated.
Inherited Members:
All known members inherited from class GLib.Object
- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer
- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata
- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count