Class

PurpleQrCode

unstable since: 3.0

Description [src]

final class Purple.QrCode : GObject.Object
{
  /* No available fields */
}

An object containing information about a QR Code.

This does not encode a QR Code in any way, it just holds the information about the QR Code and leaves decoding and rendering up to the user interface.

Available since: 3.0

Ancestors

Constructors

purple_qr_code_new

Creates a new QR Code.

unstable since: 3.0

Instance methods

purple_qr_code_get_alt_text

Gets the alternative text.

unstable since: 3.0

purple_qr_code_get_description

Gets the description.

unstable since: 3.0

purple_qr_code_get_text

Gets the text which is being encoded.

unstable since: 3.0

purple_qr_code_get_title

Gets the title.

unstable since: 3.0

purple_qr_code_set_alt_text

Sets the alternative text.

unstable since: 3.0

purple_qr_code_set_description

Sets the description.

unstable since: 3.0

purple_qr_code_set_text

Sets the text to be encoded.

unstable since: 3.0

purple_qr_code_set_title

Sets the title.

unstable since: 3.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.QrCode:alt-text

Optional alternative text.

unstable since: 3.0

Purple.QrCode:description

An optional description.

unstable since: 3.0

Purple.QrCode:text

The text to encode as a QR Code.

unstable since: 3.0

Purple.QrCode:title

The title.

unstable since: 3.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PurpleQrCodeClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.