GData.ComparableIface

Fields

Name

Type

Access

Description

compare_with

object

r

compares the object with an other object of the same type, returning -1 if the object is “less than” the other object, 0 if they’re equal, or 1 if the object is “greater than” the other. The function can assume that neither self or other will be None, and that both have correct types. The function must be pure.

parent

GObject.TypeInterface

r

the parent type

Methods

None

Details

class GData.ComparableIface

The class structure for the GData.Comparable interface.

New in version 0.7.0.