Gladeui.SignalDef

Fields

None

Methods

class

new (adaptor, for_type, signal_id)

clone ()

deprecated ()

deprecated_since_major ()

deprecated_since_minor ()

free ()

get_adaptor ()

get_flags ()

get_name ()

get_object_type_name ()

set_deprecated (deprecated)

set_since (since_major, since_minor)

since_major ()

since_minor ()

update_from_node (node, domain)

Details

class Gladeui.SignalDef
classmethod new(adaptor, for_type, signal_id)
Parameters:
Returns:

a new Gladeui.SignalDef

Return type:

Gladeui.SignalDef

Creates a new Gladeui.SignalDef

clone()
Returns:

a new copy of self

Return type:

Gladeui.SignalDef

Clones a Gladeui.SignalDef

deprecated()
Returns:

True if the signal is deprecated

Return type:

bool

Get if the signal is flagged as deprecated.

deprecated_since_major()
Returns:

the major version

Return type:

int

Get the major version that deprecated this signal.

deprecated_since_minor()
Returns:

the minor version

Return type:

int

Get the minor version that deprecated this signal.

free()

Frees a Gladeui.SignalDef

get_adaptor()
Returns:

a Gladeui.WidgetAdaptor

Return type:

Gladeui.WidgetAdaptor

Get Gladeui.WidgetAdaptor associated with the signal.

get_flags()
Returns:

the GObject.SignalFlags

Return type:

GObject.SignalFlags

Get the combination of GObject.SignalFlags specifying detail of when the default handler is to be invoked.

get_name()
Returns:

the name of the signal

Return type:

str

Get the name of the signal.

get_object_type_name()
Returns:

the type name of the signal

Return type:

str

Get the name of the object class that this signal belongs to.

set_deprecated(deprecated)
Parameters:

deprecated (bool) – True if the signal is deprecated

Set if the signal is deprecated.

set_since(since_major, since_minor)
Parameters:
  • since_major (int) – the major version.

  • since_minor (int) – the minor version.

Set the major and minor version that introduced this signal.

since_major()
Returns:

the major version

Return type:

int

Get the major version that introduced this signal.

since_minor()
Returns:

the minor version

Return type:

int

Get the minor version that introduced this signal.

update_from_node(node, domain)
Parameters: