Common Lisp Package: GOBJECT.FFI

README:

FUNCTION

Public

G-CLOSURE-GET-TYPE

Returns the type designator (see @class{g-type-designator}) for GClosure type. As a side effect, ensure that the type is registered.

G-STRV-GET-TYPE

Returns the type designator (see @class{g-type-designator}) for GStrv type. As a side effect, ensures that the type is registered.

G-TYPE-DEPTH (TYPE)

Returns the length of the ancestry of @code{type}. This includes the @code{type} itself, so that e.g. a fundamental type has depth 1. Example: @pre{ (g-type-depth "GtkLabel") => 6 } @arg[type]{GType designator (see @class{g-type-designator})} @return{an integer}

G-TYPE-FUNDAMENTAL (TYPE)

Returns the fundamental type which is the ancestor of @code{type}. Example: @pre{ (g-type-fundamental "GtkWindowType") => "GEnum" (g-type-fundamental "GtkLabel") => "GObject" } @arg[type]{GType designator (see @class{g-type-designator})} @return{GType designator}

G-TYPE-IS-A (TYPE IS-A-TYPE)

If @code{is-a-type} is a derivable type, check whether type is a descendant of @code{is-a-type}. If @code{is-a-type} is an interface, check whether type conforms to it. Example: @pre{ (g-type-is-a "GtkButton" "GtkWidget") => T (g-type-is-a "GtkButton" "AtkImplementorIface") => T (g-type-is-a "GtkButton" "GtkLabel") => NIL } @arg[type]{GType designator (see @class{g-type-designator})} @arg[is-a-type]{GType designator} @return{boolean}

G-TYPE-NEXT-BASE (LEAF-TYPE ROOT-TYPE)

Determines the type that is derived directly from @code{root-type} which is also a base class of @code{leaf-type}. Example: @pre{ (g-type-next-base "GtkButton" "GtkWidget") => "GtkContainer" } @arg[leaf-type]{GType designator (see @class{g-type-designator})} @arg[root-type]{GType designator} @return{GType designator}

G-TYPE-PARENT (TYPE)

Returns the parent of a GType. @see{g-type-chilren} Example: @pre{ (g-type-parent "GtkLabel") => "GtkMisc" } @arg[type]{GType designator (see @class{g-type-designator})} @return{GType designator}

G-VALUE-INIT (VALUE TYPE)

Initializes the GValue @code{value} with the default value of @code{type} @arg[value]{a C pointer to the GValue structure} @arg[type]{an integer specifying the GType}

G-VALUE-UNSET (VALUE)

Clears the current value in @code{value} and "unsets" the type, releasing all resources associated with this GValue. An unset value is the same as an unitialized GValue. @arg[value]{a C pointer to the GValue structure}

GTYPE-NAME (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

%G-TYPE-CHILDREN (TYPE N-CHILDREN)

%G-TYPE-INIT

%G-TYPE-INTERFACE-PREREQUISITES (TYPE N-INTERFACE-PREREQUISITES)

%G-TYPE-INTERFACES (TYPE N-INTERFACES)

G-BOXED-COPY (BOXED-TYPE SRC-BOXED)

G-BOXED-FREE (BOXED-TYPE BOXED)

G-BOXED-TYPE-REGISTER-STATIC (NAME COPY-FN FREE-FN)

G-CLOSURE-ADD-FINALIZE-NOTIFIER (CLOSURE NOTIFY-DATA NOTIFY-FUNC)

G-CLOSURE-ADD-INVALIDATE-NOTIFIER (CLOSURE NOTIFY-DATA NOTIFY-FUNC)

G-CLOSURE-INVALIDATE (CLOSURE)

G-CLOSURE-NEW-SIMPLE (SIZEOF-CLOSURE DATA)

G-CLOSURE-REF (CLOSURE)

G-CLOSURE-SET-MARSHAL (CLOSURE MARSHAL)

G-CLOSURE-SINK (CLOSURE)

G-CLOSURE-UNREF (CLOSURE)

G-ENUM-REGISTER-STATIC (NAME STATIC-VALUES)

G-FLAGS-REGISTER-STATIC (NAME STATIC-VALUES)

G-OBJECT-ADD-TOGGLE-REF (OBJECT NOTIFTY DATA)

G-OBJECT-CLASS-FIND-PROPERTY (CLASS PROPERTY-NAME)

G-OBJECT-CLASS-INSTALL-PROPERTY (CLASS PROPERTY-ID PARAM-SPEC)

G-OBJECT-CLASS-LIST-PROPERTIES (CLASS N-PROPERTIES)

G-OBJECT-CLASS-OVERRIDE-PROPERTY (CLASS PROPERTY-ID NAME)

G-OBJECT-FORCE-FLOATING (OBJECT)

G-OBJECT-FREEZE-NOTIFY (OBJECT)

G-OBJECT-GET-DATA (OBJECT KEY)

G-OBJECT-GET-PROPERTY (OBJECT PROPERTY-NAME VALUE)

G-OBJECT-INTERFACE-FIND-PROPERTY (INTERFACE PROPERTY-NAME)

G-OBJECT-INTERFACE-INSTALL-PROPERTY (INTERFACE PARAM-SPEC)

G-OBJECT-INTERFACE-LIST-PROPERTIES (INTERFACE N-PROPERTIES)

G-OBJECT-IS-FLOATING (OBJECT)

G-OBJECT-NEWV (OBJECT-TYPE N-PARAMETER PARAMETERS)

G-OBJECT-NOTIFY (OBJECT PROPERTY-NAME)

G-OBJECT-REF (OBJECT)

G-OBJECT-REF-SINK (OBJECT)

G-OBJECT-REMOVE-TOGGLE-REF (OBJECT NOTIFTY DATA)

G-OBJECT-SET-DATA (OBJECT KEY NEW-VALUE)

G-OBJECT-SET-DATA-FULL (OBJECT KEY DATA DESTORY)

G-OBJECT-SET-PROPERTY (OBJECT PROPERTY-NAME VALUE)

G-OBJECT-STEAL-DATA (OBJECT KEY)

G-OBJECT-THAW-NOTIFY (OBJECT)

G-OBJECT-UNREF (OBJECT)

G-OBJECT-WEAK-REF (OBJECT NOTIFY DATA)

G-OBJECT-WEAK-UNREF (OBJECT NOTIFY DATA)

G-PARAM-SPEC-BOOLEAN (NAME NICK BLURB DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-BOXED (NAME NICK BLURB BOXED-TYPE FLAGS)

G-PARAM-SPEC-CHAR (NAME NICK BLURB MINIMUM MAXIMUM DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-DOUBLE (NAME NICK BLURB MINIMUM MAXIMUM DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-ENUM (NAME NICK BLURB ENUM-TYPE DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-FLAGS (NAME NICK BLURB FLAGS-TYPE DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-FLOAT (NAME NICK BLURB MINIMUM MAXIMUM DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-G-TYPE (NAME NICK BLURB TYPES-ROOT FLAGS)

G-PARAM-SPEC-GET-BLURB (PARAM-SPEC)

G-PARAM-SPEC-GET-NAME (PARAM-SPEC)

G-PARAM-SPEC-GET-NICK (PARAM-SPEC)

G-PARAM-SPEC-INT (NAME NICK BLURB MINIMUM MAXIMUM DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-INT64 (NAME NICK BLURB MINIMUM MAXIMUM DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-LONG (NAME NICK BLURB MINIMUM MAXIMUM DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-OBJECT (NAME NICK BLURB OBJECT-TYPE FLAGS)

G-PARAM-SPEC-PARAM (NAME NICK BLURB PARAM-TYPE FLAGS)

G-PARAM-SPEC-POINTER (NAME NICK BLURB FLAGS)

G-PARAM-SPEC-REF-SINK (PARAM-SPEC)

G-PARAM-SPEC-STRING (NAME NICK BLURB DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-UCHAR (NAME NICK BLURB MINIMUM MAXIMUM DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-UINT (NAME NICK BLURB MINIMUM MAXIMUM DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-UINT64 (NAME NICK BLURB MINIMUM MAXIMUM DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-ULONG (NAME NICK BLURB MINIMUM MAXIMUM DEFAULT-VALUE FLAGS)

G-PARAM-SPEC-UNREF (PARAM-SPEC)

G-PARAM-SPEC-VALUE-ARRAY (NAME NICK BLURB ELEMENT-SPEC FLAGS)

G-PARAM-VALUE-DEFAULTS (PARAM-SPEC VALUE)

G-PARAM-VALUE-SET-DEFAULT (PARAM-SPEC VALUE)

G-PARAM-VALUE-VALIDATE (PARAM-SPEC VALUE)

G-POINTER-TYPE-REGISTER-STATIC (NAME)

G-SIGNAL-CONNECT-CLOSURE (INSTANCE DETAILED-SIGNAL CLOSURE AFTER)

G-SIGNAL-EMITV (INSTANCE-AND-PARAMS SIGNAL-ID DETAIL RETURN-VALUE)

G-SIGNAL-LIST-IDS (TYPE N-IDS)

G-SIGNAL-LOOKUP (NAME TYPE)

G-SIGNAL-PARSE-NAME (DETAILED-SIGNAL OWNER-TYPE SIGNAL-ID-PTR DETAIL-PTR FORCE-DETAIL-QUARK)

G-SIGNAL-QUERY (SIGNAL-ID QUERY)

G-STRDUP-VALUE-CONTENTS (VALUE)

G-TYPE-ADD-INTERFACE-STATIC (INSTANCE-TYPE INTERFACE-TYPE INFO)

G-TYPE-CLASS-ADD-PRIVATE (CLASS PRIVATE-SIZE)

G-TYPE-CLASS-REF (TYPE)

G-TYPE-CLASS-UNREF (CLASS)

G-TYPE-DEFAULT-INTERFACE-REF (TYPE)

G-TYPE-DEFAULT-INTERFACE-UNREF (INTERFACE)

G-TYPE-INTERFACE-ADD-PREREQUISITE (INTERFACE-TYPE PREREQUISITE-TYPE)

G-TYPE-QUERY (TYPE QUERY)

G-TYPE-REGISTER-STATIC (PARENT-TYPE TYPE-NAME INFO FLAGS)

G-TYPE-REGISTER-STATIC-SIMPLE (PARENT-TYPE TYPE-NAME CLASS-SIZE CLASS-INIT INSTANCE-SIZE INSTANCE-INIT FLAGS)

G-TYPE/= (TYPE-1 TYPE-2)

G-TYPE= (TYPE-1 TYPE-2)

G-VALUE-COPY (SRC-VALUE DST-VALUE)

G-VALUE-GET-BOOLEAN (G-VALUE)

G-VALUE-GET-BOXED (G-VALUE)

G-VALUE-GET-CHAR (G-VALUE)

G-VALUE-GET-DOUBLE (G-VALUE)

G-VALUE-GET-ENUM (G-VALUE)

G-VALUE-GET-FLAGS (G-VALUE)

G-VALUE-GET-FLOAT (G-VALUE)

G-VALUE-GET-G-TYPE (G-VALUE)

G-VALUE-GET-INT (G-VALUE)

G-VALUE-GET-INT64 (G-VALUE)

G-VALUE-GET-LONG (G-VALUE)

G-VALUE-GET-OBJECT (G-VALUE)

G-VALUE-GET-PARAM (G-VALUE)

G-VALUE-GET-POINTER (G-VALUE)

G-VALUE-GET-STRING (G-VALUE)

G-VALUE-GET-UCHAR (G-VALUE)

G-VALUE-GET-UINT (G-VALUE)

G-VALUE-GET-UINT64 (G-VALUE)

G-VALUE-GET-ULONG (G-VALUE)

G-VALUE-RESET (VALUE)

G-VALUE-SET-BOOLEAN (G-VALUE NEW-VALUE)

G-VALUE-SET-BOXED (G-VALUE NEW-VALUE)

G-VALUE-SET-CHAR (G-VALUE NEW-VALUE)

G-VALUE-SET-DOUBLE (G-VALUE NEW-VALUE)

G-VALUE-SET-ENUM (G-VALUE NEW-VALUE)

G-VALUE-SET-FLAGS (G-VALUE NEW-VALUE)

G-VALUE-SET-FLOAT (G-VALUE NEW-VALUE)

G-VALUE-SET-G-TYPE (G-VALUE NEW-VALUE)

G-VALUE-SET-INSTANCE (VALUE INSTANCE)

G-VALUE-SET-INT (G-VALUE NEW-VALUE)

G-VALUE-SET-INT64 (G-VALUE NEW-VALUE)

G-VALUE-SET-LONG (G-VALUE NEW-VALUE)

G-VALUE-SET-OBJECT (G-VALUE NEW-VALUE)

G-VALUE-SET-PARAM (G-VALUE NEW-VALUE)

G-VALUE-SET-POINTER (G-VALUE NEW-VALUE)

G-VALUE-SET-STRING (G-VALUE NEW-VALUE)

G-VALUE-SET-UCHAR (G-VALUE NEW-VALUE)

G-VALUE-SET-UINT (G-VALUE NEW-VALUE)

G-VALUE-SET-UINT64 (G-VALUE NEW-VALUE)

G-VALUE-SET-ULONG (G-VALUE NEW-VALUE)

G-VALUE-TAKE-BOXED (G-VALUE NEW-VALUE)

GTYPE (THING)

GTYPE-ID (GTYPE)

SETFGTYPE-NAME (NEW-VALUE INSTANCE)

Private

GTYPE-%ID (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

%G-TYPE-FROM-NAME (NAME)

%G-TYPE-NAME (TYPE)

%GTYPE (THING)

COPY-GTYPE (INSTANCE)

SETFGTYPE-%ID (NEW-VALUE INSTANCE)

GTYPE-FROM-ID (ID)

GTYPE-FROM-NAME (NAME)

GTYPE-P (OBJECT)

INVALIDATE-GTYPES

MAKE-GTYPE (&KEY ((NAME DUM0) NIL) ((%ID DUM1) NIL))

UNMANGLE-G-TYPE (G-TYPE)

WARN-UNKNOWN-GTYPE (NAME)

SLOT-ACCESSOR

Private

G-TYPE-DESIGNATOR-MANGLED-P (OBJECT)

Whether the type designator is mangled with G_SIGNAL_TYPE_STATIC_SCOPE flag

VARIABLE

Private

Undocumented

*GTYPE-LOCK*

*ID-TO-GTYPE*

*NAME-TO-GTYPE*

CLASS

Public

G-TYPE-DESIGNATOR

Values of this CFFI foreign type identify the GType. GType is designated by a its name (a string) or a numeric identifier. Functions accept GType designators as a string or integer and return them as a string. Functions @fun{g-type-name} and @fun{g-type-from-name} are used to convert between name and numeric identifier. Numeric identifier of GType may be different between different program runs. But string identifier of GType does not change.

Undocumented

GTYPE (THING)

Private

Undocumented

%G-OBJECT-TCLASS

G-CLOSURE-TCLASS

G-ENUM-CLASS-TCLASS

G-ENUM-VALUE-TCLASS

G-FLAGS-CLASS-TCLASS

G-FLAGS-VALUE-TCLASS

G-INTERFACE-INFO-TCLASS

G-OBJECT-CLASS-TCLASS

G-OBJECT-CONSTRUCT-PARAM-TCLASS

G-OBJECT-STRUCT-TCLASS

G-PARAM-SPEC-BOOLEAN-TCLASS

G-PARAM-SPEC-BOXED-TCLASS

G-PARAM-SPEC-CHAR-TCLASS

G-PARAM-SPEC-CLASS-TCLASS

G-PARAM-SPEC-DOUBLE-TCLASS

G-PARAM-SPEC-ENUM-TCLASS

G-PARAM-SPEC-FLAGS-TCLASS

G-PARAM-SPEC-FLOAT-TCLASS

G-PARAM-SPEC-G-TYPE-TCLASS

G-PARAM-SPEC-INT-TCLASS

G-PARAM-SPEC-INT64-TCLASS

G-PARAM-SPEC-LONG-TCLASS

G-PARAM-SPEC-OBJECT-TCLASS

G-PARAM-SPEC-PARAM-TCLASS

G-PARAM-SPEC-POINTER-TCLASS

G-PARAM-SPEC-STRING-TCLASS

G-PARAM-SPEC-TCLASS

G-PARAM-SPEC-UCHAR-TCLASS

G-PARAM-SPEC-UINT-TCLASS

G-PARAM-SPEC-UINT64-TCLASS

G-PARAM-SPEC-ULONG-TCLASS

G-PARAM-SPEC-VALUE-ARRAY-TCLASS

G-PARAMETER-TCLASS

G-SIGNAL-QUERY-TCLASS

G-TYPE-CLASS-TCLASS

G-TYPE-FUNDAMENTAL-INFO-TCLASS

G-TYPE-INFO-TCLASS

G-TYPE-INSTANCE-TCLASS

G-TYPE-INTERFACE-TCLASS

G-TYPE-QUERY-TCLASS

G-TYPE-VALUE-TABLE-TCLASS

G-VALUE-TCLASS