Source#

Deprecated since version PyGObject-3.16.0: GObject.Source is deprecated; use GLib.Source instead

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

Source()
new(source_funcs:GLib.SourceFuncs, struct_size:int) -> GLib.Source

Methods#

class Source
finalize()#
get_current_time()#
set_callback(fn, user_data=None)#
Parameters:
  • fn

  • user_data

Fields#

class Source
can_recurse#
priority#