GParamSpec#

Deprecated since version PyGObject-3.16.0: GObject.GParamSpec is deprecated; use GObject.ParamSpec instead

class GParamSpec(*args, **kwargs)#
Constructors:

ParamSpec(**properties)

Methods#

class GParamSpec
do_finalize(self) None#
do_get_property(pspec)#
Parameters:

pspec

do_set_property(pspec, value)#
Parameters:
  • pspec

  • value

do_value_is_valid(self, value: Value) bool#
Parameters:

value

do_value_set_default(self, value: Value) None#
Parameters:

value

do_value_validate(self, value: Value) bool#
Parameters:

value

do_values_cmp(self, value1: Value, value2: Value) int#
Parameters:
  • value1

  • value2

get_blurb() str | None#
get_default_value() Value#
get_name() str#
get_name_quark() int#
get_nick() str#
get_qdata(quark: int) Any | None#
Parameters:

quark

get_redirect_target() ParamSpec | None#
classmethod is_valid_name() bool#
set_qdata(quark: int, data: Any = None) None#
Parameters:
  • quark

  • data

sink() None#

Virtual Methods#

class GParamSpec
do_finalize() None#

The type of the None singleton.

do_value_is_valid(value: Value) bool#

The type of the None singleton.

Parameters:

value

do_value_set_default(value: Value) None#

The type of the None singleton.

Parameters:

value

do_value_validate(value: Value) bool#

The type of the None singleton.

Parameters:

value

do_values_cmp(value1: Value, value2: Value) int#

The type of the None singleton.

Parameters:
  • value1

  • value2

Fields#

class GParamSpec
blurb#
flags#
g_type_instance#
name#
nick#
owner_type#
param_id#
qdata#
ref_count#
value_type#