gtk-cffi

API Reference

g-lib-cffi

CFFI interface to some GLib primitives

G-LIB-CFFI

  • Cffi-Type GSIZE
  • Class G-LIST  (FREEABLE)
    LIST-TYPE   Accessor: LIST-TYPE
    If null, then list is of pointers or GObjects
    FREE-FROM-FOREIGN
  • Class G-SLIST  (FREEABLE)
    LIST-TYPE   Accessor: LIST-TYPE
    If null, then list is of pointers or GObjects
    FREE-FROM-FOREIGN
  • Class STRING-LIST  (FREEABLE)
    FREE-FROM-FOREIGN
  • Cffi-Type G-QUARK
  • Cffi-Function G-INTERN-STATIC-STRING
  • Function G-INTERN-STATIC-STRING (string)
  • Class G-LIB-ARRAY  (CFFI-ARRAY)
    No slots.
  • Cffi-Function G-FREE
  • Function G-FREE (var)
  • Class G-LIB-STRING  (FREEABLE)
    FREE-FROM-FOREIGN
  • Class G-ERROR  (OBJECT)
    Stores GError**
    No slots.
  • Function GET-ERROR (g-error)
  • Function THROW-G-ERROR (g-error)
  • Macro WITH-G-ERROR (g-error &body body)
  • Class VARIANT-TYPE  (FREEABLE)
    No slots.
  • Class VARIANT  (FREEABLE)
    FREE
  • Class G-FILE  (OBJECT)
    No slots.
  • Function TIMEOUT-ADD (interval func &key data priority destroy-notify)
    Sets a function to be called at regular intervals. FUNC may be a lisp function or a foreign pointer to C function INTERVAL may be a number (= time in milliseconds), list (1 sec) (1 secs) (1 seconds) or (1 ms) or :idle DESTROY-NOTIFY should be the same type (function or pointer) as FUNC
  • Cffi-Function TIMEOUT-REMOVE
  • Function TIMEOUT-REMOVE (tag)
  • Function YIELD
  • Function YIELD1

Also exports

  • CFFI-OBJECTS:*ARRAY-LENGTH*

g-object-cffi

GObject,GType and GValue staff for gtk-cffi

G-OBJECT-CFFI

  • Generic-Function (setf VALUE) (val g-value)
  • Generic-Function VALUE (g-value)
  • Generic-Function G-TYPE (g-value &rest flags)
  • Generic-Function INIT (g-value &rest keys)
  • Generic-Function UNSET (g-value)
  • Generic-Function FIND-PROPERTY (g-object-class key)
  • Generic-Function CONNECT (g-object handler &rest keys)
  • Generic-Function (setf SIGNALS) (signals g-object)
  • Generic-Function (setf PROPERTIES) (properties g-object)
  • Function KEYWORD->G-TYPE (type)
    Keyword from +fundamental-gtypes+ -> integer
  • Cffi-Type G-TYPE
    GType
  • Class G-TYPE-INTERFACE  (STRUCT)
    No slots.
  • Cffi-Struct G-TYPE-INTERFACE
    GTypeInterface
  • Class G-TYPE-CLASS  (STRUCT)
    No slots.
  • Cffi-Struct G-TYPE-CLASS
    GTypeClass
  • Class G-TYPE-INSTANCE  (STRUCT)
    No slots.
  • Cffi-Struct G-TYPE-INSTANCE
    GTypeInstance
  • Function G-TYPE-FROM-INSTANCE (ptr)
  • Cffi-Function G-TYPE-FROM-NAME
  • Function G-TYPE-FROM-NAME (name)
  • Cffi-Function G-TYPE-NAME
  • Function G-TYPE-NAME (id)
  • Function REGISTER-TYPE (lisp-class gtk-typename)
  • Function REGISTER-PACKAGE (name package)
  • Function G-TYPE->LISP (g-type)
    Returns lisp class for the gtype and caches result Ex.: GType of GtkWindow -> 'gtk-cffi:window
  • Class STORAGE  (OBJECT)
    A storage for any data for callbacks. On make-instance it allocates one byte on heap and associates itself with the address of that byte.
    DATA   Accessor: DATA
    VOLATILE   Accessor: VOLATILE
  • Cffi-Type G-LIST-OBJECT
  • Function REGISTER-PREFIX (package prefix)
  • Macro DEFGTKSLOT (current-class slot-name slot-type)
  • Macro DEFGDKSLOT (current-class slot-name slot-type)
  • Macro DEFSLOT (current-class slot-name slot-type)
  • Macro DEFGTKSLOTS (current-class &body slots)
  • Macro DEFGDKSLOTS (current-class &body slots)
  • Macro DEFSLOTS (current-class &body slots)
  • Macro DEFGTKFUN (name res-type class &rest params)
  • Macro DEFGDKFUN (name res-type class &rest params)
  • Macro DEFFUN (name res-type class &rest params)
  • Macro DEFGTKGETTER (name res-type class &rest params)
  • Macro DEFGDKGETTER (name res-type class &rest params)
  • Macro DEFGETTER (name res-type class &rest params)
  • Macro DEFGTKSETTER (name slot-type class last &rest params)
  • Macro DEFGDKSETTER (name slot-type class last &rest params)
  • Macro DEFSETTER (name slot-type class last &rest params)
  • Macro DEFGTKFUNS (class &body funs)
  • Macro DEFGDKFUNS (class &body funs)
  • Macro DEFFUNS (class &body funs)
  • Macro WITH-OBJECT ((name &optional for-free) init &rest body)
  • Variable *CALLBACK*
    nil
    Lisp callback for use in gtk methods, that need callback function
  • Generic-Function FOREACH (class func &optional data)
    For each element in CLASS execute FUNC
  • Macro MAKE-FOREACH (class &rest params)
    Class is a symbol: class or list: (class gtk-name)
  • Macro SET-CALLBACK (object setter cb-standard func data destroy-notify &rest add-params)
  • Class G-VALUE  (OBJECT)
    No slots.
  • Generic-Function DATA (g-value-struct)
  • Generic-Function DATA (g-value-struct)
  • Method DATA ((g-value-struct g-value-struct))
  • Method DATA ((g-value-struct g-value-struct))
  • Generic-Function (setf DATA) (val g-value-struct)
  • Generic-Function (setf DATA) (val g-value-struct)
  • Method (setf DATA) (val (g-value-struct g-value-struct))
  • Method (setf DATA) (val (g-value-struct g-value-struct))
  • Method (setf VALUE) (val (g-value g-value))
  • Method UNSET ((g-value g-value))
  • Method INIT ((g-value g-value) &key (value nil value-p) g-type)
  • Method G-TYPE ((g-value g-value) &rest rest)
  • Method VALUE ((g-value g-value))
  • Variable *G-VALUE*
    (make-instance 'g-object-cffi:g-value)
  • Macro WITH-G-VALUE (val &body body)
    This macro allows recursive *g-value* binding
  • Class G-OBJECT  (OBJECT)
    Lisp wrapper for GObject
    SIGNALS   Accessor: GSIGNALS
    VOLATILE
    FREE-AFTER
    %PROPERTIES   Accessor: %PROPERTIES
  • Cffi-Struct G-OBJECT
  • Generic-Function (setf PROPERTY) (values g-object &rest keys)
  • Method (setf PROPERTY) (values (g-object g-object) &rest keys)
    Usage: (setf (property object :property) value) (setf (property object :prop1 :prop2) (list value1 value2))
  • Method (setf PROPERTY) (values (g-object g-object) &rest keys)
    Usage: (setf (property object :property) value) (setf (property object :prop1 :prop2) (list value1 value2))
  • Method (setf PROPERTY) (values (g-object g-object) &rest keys)
    Usage: (setf (property object :property) value) (setf (property object :prop1 :prop2) (list value1 value2))
  • Generic-Function PROPERTY (g-object &rest keys)
  • Method PROPERTY ((g-object g-object) &rest keys)
    Usage (property object :prop1) -> value1 (property object :prop1 :prop2 ...) -> (value1 value2 ...)
  • Cffi-Bitfield CONNECT-FLAGS
  • Function MAKE-CLOSURE (func)
  • Method CONNECT ((g-object g-object) c-handler &key signal data after swapped)
  • Generic-Function (setf GSIGNAL) (c-handler g-object detailed-signal &rest flags)
  • Method (setf GSIGNAL) (c-handler (g-object g-object) detailed-signal &key data after swapped)
    (SETF GSIGNAL) sets signal handler c-handler may be lisp function (closure) OR c-pointer on function OR string or keyword = name of external c-function detailed-signal may be string or keyword data may be c-pointer or lisp object after & swapped as in GTK: after = handler called after other handlers swapped = data and widget will be swapped in c-handler (in a lisp func data will be first arg if swapped, and last otherwise) If c-handler is null (or null pointer), this method removes signal. In this case detailed-string may be also id of the signal handler being removed Returns assoc: (id-of-handler . detailed-signal)
  • Generic-Function GSIGNAL (g-object signal)
  • Method GSIGNAL ((g-object g-object) detailed-signal)
    method GSIGNAL of class G-OBJECT returns list of IDs of setted signals
  • Method (setf SIGNALS) (signals (g-object g-object))
    SIGNALS is a list (signal-id signal-value signal-id signal-value ...) signal-value is a function or c-function name. Signal-id is a string or keyword identifying GTK signal.
  • Method (setf PROPERTIES) (properties (g-object g-object))
    PROPERTIES is a list (prop-id prop-value prop-id prop-value ...)
  • Generic-Function REF (obj)
  • Method REF ((obj g-object))
  • Method REF ((obj g-object))
  • Method REF ((obj g-object))
  • Generic-Function UNREF (obj)
  • Method UNREF ((obj g-object))
  • Method UNREF ((obj g-object))
  • Method UNREF ((obj g-object))
  • Function NEW (id)
  • Cffi-Function G-OBJECT-NEWV
  • Function G-OBJECT-NEWV (class-type n-params params)
  • Class G-OBJECT-CLASS  (OBJECT)
    FREE-AFTER
  • Class G-OBJECT-CLASS-STRUCT  (STRUCT)
    No slots.
  • Cffi-Struct G-OBJECT-CLASS-STRUCT
  • Class G-PARAM-SPEC  (OBJECT)
    No slots.
  • Method FIND-PROPERTY ((g-object-class g-object-class) key)
  • Generic-Function G-TYPE-INSTANCE (g-param-spec-struct)
  • Generic-Function G-TYPE-INSTANCE (g-param-spec-struct)
  • Method G-TYPE-INSTANCE ((g-param-spec-struct g-param-spec-struct))
  • Method G-TYPE-INSTANCE ((g-param-spec-struct g-param-spec-struct))
  • Generic-Function (setf G-TYPE-INSTANCE) (val g-param-spec-struct)
  • Generic-Function (setf G-TYPE-INSTANCE) (val g-param-spec-struct)
  • Method (setf G-TYPE-INSTANCE) (val (g-param-spec-struct g-param-spec-struct))
  • Method (setf G-TYPE-INSTANCE) (val (g-param-spec-struct g-param-spec-struct))
  • Method G-TYPE ((g-param-spec g-param-spec) &key owner)
  • Cffi-Struct G-TYPE-INFO
    GTypeInfo
  • Cffi-Enum G-TYPE-FLAGS
    GTypeFlags
  • Cffi-Function G-TYPE-REGISTER-STATIC
  • Function G-TYPE-REGISTER-STATIC (parent-type type-name info flags)
  • Cffi-Function G-TYPE-REGISTER-STATIC-SIMPLE
  • Function G-TYPE-REGISTER-STATIC-SIMPLE (parent-type type-name class-size class-init instance-size instance-init flags)
  • Cffi-Struct G-INTERFACE-INFO
    GInterfaceInfo
  • Cffi-Function G-TYPE-ADD-INTERFACE-STATIC
  • Function G-TYPE-ADD-INTERFACE-STATIC (instance-type interface-type info)

Also exports

  • CFFI-OBJECTS:CFFI-KEYWORD

gdk-cffi

Interface to GTK/GLib via CFFI

GDK-CFFI

  • Generic-Function GET-SLOT (event field)
  • Class RECTANGLE  (STRUCT)
    No slots.
  • Generic-Function INTERSECT (rect1 rect2)
  • Method INTERSECT ((rect1 rectangle) (rect2 rectangle))
    Returns new GdkRectangle: intersection of rect1 and rect2
  • Class SCREEN  (G-OBJECT)
    No slots.
  • Class WINDOW  (G-OBJECT)
    No slots.
  • Cffi-Bitfield MODIFIER-TYPE
  • Cffi-Bitfield WINDOW-HINTS
  • Cffi-Enum GRAVITY
  • Cffi-Enum WINDOW-EDGE
  • Cffi-Enum WINDOW-TYPE-HINT
  • Class GEOMETRY  (STRUCT)
    No slots.
  • Cffi-Struct GEOMETRY
  • Cffi-Function KEYVAL-FROM-NAME
  • Function KEYVAL-FROM-NAME (val)
  • Cffi-Function KEYVAL-NAME
  • Function KEYVAL-NAME (val)
  • Cffi-Function KEYVAL-TO-UPPER
  • Function KEYVAL-TO-UPPER (val)
  • Cffi-Function KEYVAL-TO-LOWER
  • Function KEYVAL-TO-LOWER (val)
  • Class UNICHAR  (ENHANCED-FOREIGN-TYPE)
    No slots.
  • Cffi-Function KEYVAL-TO-UNICODE
  • Function KEYVAL-TO-UNICODE (val)
  • Cffi-Function UNICODE-TO-KEYVAL
  • Function UNICODE-TO-KEYVAL (val)
  • Function KEY (value)
  • Class KEY  (ENHANCED-FOREIGN-TYPE)
    No slots.
  • Class KEYMAP  (G-OBJECT)
    No slots.
  • Generic-Function KEYCODE (keymap-key)
  • Generic-Function KEYCODE (keymap-key)
  • Method KEYCODE ((keymap-key keymap-key))
  • Method KEYCODE ((keymap-key keymap-key))
  • Generic-Function (setf KEYCODE) (val keymap-key)
  • Generic-Function (setf KEYCODE) (val keymap-key)
  • Method (setf KEYCODE) (val (keymap-key keymap-key))
  • Method (setf KEYCODE) (val (keymap-key keymap-key))
  • Generic-Function GROUP (keymap-key)
  • Generic-Function GROUP (keymap-key)
  • Method GROUP ((keymap-key keymap-key))
  • Method GROUP ((keymap-key keymap-key))
  • Generic-Function (setf GROUP) (val keymap-key)
  • Generic-Function (setf GROUP) (val keymap-key)
  • Method (setf GROUP) (val (keymap-key keymap-key))
  • Method (setf GROUP) (val (keymap-key keymap-key))
  • Generic-Function LEVEL (keymap-key)
  • Generic-Function LEVEL (keymap-key)
  • Method LEVEL ((keymap-key keymap-key))
  • Method LEVEL ((keymap-key keymap-key))
  • Generic-Function (setf LEVEL) (val keymap-key)
  • Generic-Function (setf LEVEL) (val keymap-key)
  • Method (setf LEVEL) (val (keymap-key keymap-key))
  • Method (setf LEVEL) (val (keymap-key keymap-key))
  • Generic-Function LOOKUP-KEY (keymap key)
  • Generic-Function LOOKUP-KEY (keymap key)
  • Method LOOKUP-KEY ((keymap keymap) key)
  • Generic-Function DIRECTION (keymap)
  • Generic-Function DIRECTION (keymap)
  • Method DIRECTION ((keymap keymap))
  • Generic-Function HAVE-BIDI-LAYOUTS (keymap)
  • Generic-Function HAVE-BIDI-LAYOUTS (keymap)
  • Method HAVE-BIDI-LAYOUTS ((keymap keymap))
  • Generic-Function CAPS-LOCK-STATE (keymap)
  • Generic-Function CAPS-LOCK-STATE (keymap)
  • Method CAPS-LOCK-STATE ((keymap keymap))
  • Generic-Function NUM-LOCK-STATE (keymap)
  • Generic-Function NUM-LOCK-STATE (keymap)
  • Method NUM-LOCK-STATE ((keymap keymap))
  • Generic-Function ENTRIES-FOR-KEYVAL (keymap keyval)
  • Method ENTRIES-FOR-KEYVAL ((keymap keymap) keyval)
  • Generic-Function ENTRIES-FOR-KEYCODE (keymap keycode)
  • Method ENTRIES-FOR-KEYCODE ((keymap keymap) keycode)
  • Macro WITH-THREADS (&rest body)
  • Cffi-Type WINDOW
  • Cffi-Enum EXTENSION-MODE
  • Cffi-Bitfield EVENT-MASK
  • Cffi-Enum EVENT-TYPE
  • Cffi-Struct RECTANGLE
  • Generic-Function WINDOW (event-expose)
  • Generic-Function WINDOW (event-expose)
  • Method WINDOW ((event-expose event-expose))
  • Method WINDOW ((event-expose event-expose))
  • Generic-Function (setf WINDOW) (val event-expose)
  • Generic-Function (setf WINDOW) (val event-expose)
  • Method (setf WINDOW) (val (event-expose event-expose))
  • Method (setf WINDOW) (val (event-expose event-expose))
  • Cffi-Union EVENT
  • Class EVENT  (OBJECT)
    EVENT-TYPE   Accessor: EVENT-TYPE
  • Method GET-SLOT ((event event) field)
  • Function PARSE-EVENT (ev-pointer field)
  • Cffi-Struct COLOR-STRUCT
    GdkColor
  • Class GATOM  (ENHANCED-FOREIGN-TYPE)
    No slots.
  • Class PIXBUF  (G-OBJECT)
    No slots.
  • Function CAIRO-CREATE (window)
  • Function CAIRO-SET-SOURCE-PIXBUF (pixbuf x y &optional (context cl-cairo2:*context*))
  • Cffi-Bitfield DRAG-ACTION

Also exports

  • CL-CAIRO2:HEIGHT
  • COMMON-LISP:UNION
  • CL-CAIRO2:WIDTH

PANGO-CFFI

  • Class FONT  (FREEABLE)
    No slots.
  • Cffi-Enum ALIGNMENT
  • Cffi-Enum ELLIPSIZE-MODE
  • Cffi-Enum STRETCH
  • Cffi-Enum STYLE
  • Cffi-Enum UNDERLINE
  • Cffi-Enum VARIANT
  • Cffi-Enum WRAP-MODE
  • Cffi-Enum DIRECTION
  • Class TAB-ARRAY  (FREEABLE)
    No slots.
  • Cffi-Type LANGUAGE
  • Class ATTR-LIST  (FREEABLE)
    FREE-FROM-FOREIGN

gi-cffi

Interface to GObjectIntrospection via CFFI

GI-CFFI

  • Function REQUIRE (namespace &optional (version (null-pointer)) (load-flags :lazy))
  • Function GET-N-INFOS (namespace)
  • Function GET-INFO (&key namespace name gtype index)
  • Generic-Function GET-TYPE (base-info)
  • Generic-Function GET-TYPE (base-info)
  • Method GET-TYPE ((base-info base-info))
  • Generic-Function NAME (base-info)
  • Generic-Function NAME (base-info)
  • Method NAME ((base-info base-info))
  • Generic-Function NAMESPACE (base-info)
  • Generic-Function NAMESPACE (base-info)
  • Method NAMESPACE ((base-info base-info))
  • Generic-Function IS-DEPRECATED (base-info)
  • Generic-Function IS-DEPRECATED (base-info)
  • Method IS-DEPRECATED ((base-info base-info))
  • Generic-Function ATTRIBUTE (base-info name)
  • Generic-Function ATTRIBUTE (base-info name)
  • Method ATTRIBUTE ((base-info base-info) name)
  • Generic-Function CONTAINER (base-info)
  • Generic-Function CONTAINER (base-info)
  • Method CONTAINER ((base-info base-info))
  • Generic-Function INFO-EQUAL (base-info info2)
  • Generic-Function INFO-EQUAL (base-info info2)
  • Method INFO-EQUAL ((base-info base-info) info2)
  • Cffi-Enum ARRAY-TYPE
  • Generic-Function IS-POINTER (type-info)
  • Generic-Function IS-POINTER (type-info)
  • Method IS-POINTER ((type-info type-info))
  • Generic-Function TAG (type-info)
  • Generic-Function TAG (type-info)
  • Method TAG ((type-info type-info))
  • Generic-Function PARAM-TYPE (type-info n)
  • Generic-Function PARAM-TYPE (type-info n)
  • Method PARAM-TYPE ((type-info type-info) n)
  • Generic-Function INTERFACE (type-info)
  • Generic-Function INTERFACE (type-info)
  • Method INTERFACE ((type-info type-info))
  • Generic-Function GET-ARRAY-LENGTH (type-info)
  • Generic-Function GET-ARRAY-LENGTH (type-info)
  • Method GET-ARRAY-LENGTH ((type-info type-info))
  • Generic-Function ARRAY-FIXED-SIZE (type-info)
  • Generic-Function ARRAY-FIXED-SIZE (type-info)
  • Method ARRAY-FIXED-SIZE ((type-info type-info))
  • Generic-Function IS-ZERO-TERMINATED (type-info)
  • Generic-Function IS-ZERO-TERMINATED (type-info)
  • Method IS-ZERO-TERMINATED ((type-info type-info))
  • Generic-Function ARRAY-TYPE (type-info)
  • Generic-Function ARRAY-TYPE (type-info)
  • Method ARRAY-TYPE ((type-info type-info))
  • Cffi-Enum DIRECTION
  • Generic-Function DIRECTION (arg-info)
  • Generic-Function DIRECTION (arg-info)
  • Method DIRECTION ((arg-info arg-info))
  • Generic-Function IS-CALLER-ALLOCATES (arg-info)
  • Generic-Function IS-CALLER-ALLOCATES (arg-info)
  • Method IS-CALLER-ALLOCATES ((arg-info arg-info))
  • Generic-Function IS-RETURN-VALUE (arg-info)
  • Generic-Function IS-RETURN-VALUE (arg-info)
  • Method IS-RETURN-VALUE ((arg-info arg-info))
  • Generic-Function IS-OPTIONAL (arg-info)
  • Generic-Function IS-OPTIONAL (arg-info)
  • Method IS-OPTIONAL ((arg-info arg-info))
  • Generic-Function MAY-BE-NULL (arg-info)
  • Generic-Function MAY-BE-NULL (arg-info)
  • Method MAY-BE-NULL ((arg-info arg-info))
  • Generic-Function OWNERSHIP-TRANSFER (arg-info)
  • Generic-Function OWNERSHIP-TRANSFER (arg-info)
  • Method OWNERSHIP-TRANSFER ((arg-info arg-info))
  • Generic-Function SCOPE (arg-info)
  • Generic-Function SCOPE (arg-info)
  • Method SCOPE ((arg-info arg-info))
  • Generic-Function CLOSURE (arg-info)
  • Generic-Function CLOSURE (arg-info)
  • Method CLOSURE ((arg-info arg-info))
  • Generic-Function DESTROY (arg-info)
  • Generic-Function DESTROY (arg-info)
  • Method DESTROY ((arg-info arg-info))
  • Generic-Function GET-TYPE (arg-info)
  • Generic-Function GET-TYPE (arg-info)
  • Method GET-TYPE ((arg-info arg-info))
  • Generic-Function GET-TYPE (constant-info)
  • Generic-Function GET-TYPE (constant-info)
  • Method GET-TYPE ((constant-info constant-info))
  • Generic-Function TYPE-NAME (registered-type-info)
  • Generic-Function TYPE-NAME (registered-type-info)
  • Method TYPE-NAME ((registered-type-info registered-type-info))
  • Generic-Function TYPE-INIT (registered-type-info)
  • Generic-Function TYPE-INIT (registered-type-info)
  • Method TYPE-INIT ((registered-type-info registered-type-info))
  • Generic-Function GET-G-TYPE (registered-type-info)
  • Generic-Function GET-G-TYPE (registered-type-info)
  • Method GET-G-TYPE ((registered-type-info registered-type-info))
  • Generic-Function N-FIELDS (struct-info)
  • Generic-Function N-FIELDS (struct-info)
  • Method N-FIELDS ((struct-info struct-info))
  • Generic-Function FIELD (struct-info n)
  • Generic-Function FIELD (struct-info n)
  • Method FIELD ((struct-info struct-info) n)
  • Generic-Function N-METHODS (struct-info)
  • Generic-Function N-METHODS (struct-info)
  • Method N-METHODS ((struct-info struct-info))
  • Generic-Function GET-METHOD (struct-info n)
  • Generic-Function GET-METHOD (struct-info n)
  • Method GET-METHOD ((struct-info struct-info) n)
  • Generic-Function STRUCT-FIND-METHOD (struct-info name)
  • Generic-Function STRUCT-FIND-METHOD (struct-info name)
  • Method STRUCT-FIND-METHOD ((struct-info struct-info) name)
  • Generic-Function SIZE (struct-info)
  • Generic-Function SIZE (struct-info)
  • Method SIZE ((struct-info struct-info))
  • Generic-Function ALIGNMENT (struct-info)
  • Generic-Function ALIGNMENT (struct-info)
  • Method ALIGNMENT ((struct-info struct-info))
  • Generic-Function IS-GTYPE-STRUCT (struct-info)
  • Generic-Function IS-GTYPE-STRUCT (struct-info)
  • Method IS-GTYPE-STRUCT ((struct-info struct-info))
  • Generic-Function IS-FOREIGN (struct-info)
  • Generic-Function IS-FOREIGN (struct-info)
  • Method IS-FOREIGN ((struct-info struct-info))
  • Generic-Function TYPE-NAME (object-info)
  • Generic-Function TYPE-NAME (object-info)
  • Method TYPE-NAME ((object-info object-info))
  • Generic-Function TYPE-INIT (object-info)
  • Generic-Function TYPE-INIT (object-info)
  • Method TYPE-INIT ((object-info object-info))
  • Generic-Function ABSTRACT (object-info)
  • Generic-Function ABSTRACT (object-info)
  • Method ABSTRACT ((object-info object-info))
  • Generic-Function FUNDAMENTAL (object-info)
  • Generic-Function FUNDAMENTAL (object-info)
  • Method FUNDAMENTAL ((object-info object-info))
  • Generic-Function PARENT (object-info)
  • Generic-Function PARENT (object-info)
  • Method PARENT ((object-info object-info))
  • Generic-Function N-INTERFACES (object-info)
  • Generic-Function N-INTERFACES (object-info)
  • Method N-INTERFACES ((object-info object-info))
  • Generic-Function GET-INTERFACE (object-info n)
  • Generic-Function GET-INTERFACE (object-info n)
  • Method GET-INTERFACE ((object-info object-info) n)
  • Generic-Function N-FIELDS (object-info)
  • Generic-Function N-FIELDS (object-info)
  • Method N-FIELDS ((object-info object-info))
  • Generic-Function FIELD (object-info n)
  • Generic-Function FIELD (object-info n)
  • Method FIELD ((object-info object-info) n)
  • Generic-Function N-METHODS (object-info)
  • Generic-Function N-METHODS (object-info)
  • Method N-METHODS ((object-info object-info))
  • Generic-Function GET-METHOD (object-info n)
  • Generic-Function GET-METHOD (object-info n)
  • Method GET-METHOD ((object-info object-info) n)
  • Generic-Function OBJECT-FIND-METHOD (object-info name)
  • Generic-Function OBJECT-FIND-METHOD (object-info name)
  • Method OBJECT-FIND-METHOD ((object-info object-info) name)
  • Generic-Function RETURN-TYPE (callable-info)
  • Generic-Function RETURN-TYPE (callable-info)
  • Method RETURN-TYPE ((callable-info callable-info))
  • Generic-Function CALLER-OWNS (callable-info)
  • Generic-Function CALLER-OWNS (callable-info)
  • Method CALLER-OWNS ((callable-info callable-info))
  • Generic-Function MAY-RETURN-NULL (callable-info)
  • Generic-Function MAY-RETURN-NULL (callable-info)
  • Method MAY-RETURN-NULL ((callable-info callable-info))
  • Generic-Function RETURN-ATTRIBUTE (callable-info)
  • Generic-Function RETURN-ATTRIBUTE (callable-info)
  • Method RETURN-ATTRIBUTE ((callable-info callable-info))
  • Generic-Function N-ARGS (callable-info)
  • Generic-Function N-ARGS (callable-info)
  • Method N-ARGS ((callable-info callable-info))
  • Generic-Function ARG (callable-info n)
  • Generic-Function ARG (callable-info n)
  • Method ARG ((callable-info callable-info) n)
  • Generic-Function GET-SYMBOL (function-info)
  • Generic-Function GET-SYMBOL (function-info)
  • Method GET-SYMBOL ((function-info function-info))
  • Generic-Function FLAGS (function-info)
  • Generic-Function FLAGS (function-info)
  • Method FLAGS ((function-info function-info))
  • Generic-Function PROPERTY (function-info)
  • Generic-Function PROPERTY (function-info)
  • Method PROPERTY ((function-info function-info))
  • Generic-Function VFUNC (function-info)
  • Generic-Function VFUNC (function-info)
  • Method VFUNC ((function-info function-info))
  • Generic-Function FLAGS (field-info)
  • Generic-Function FLAGS (field-info)
  • Method FLAGS ((field-info field-info))
  • Generic-Function SIZE (field-info)
  • Generic-Function SIZE (field-info)
  • Method SIZE ((field-info field-info))
  • Generic-Function OFFSET (field-info)
  • Generic-Function OFFSET (field-info)
  • Method OFFSET ((field-info field-info))
  • Generic-Function GET-TYPE (field-info)
  • Generic-Function GET-TYPE (field-info)
  • Method GET-TYPE ((field-info field-info))

Also exports

  • G-OBJECT-CFFI:REF
  • G-OBJECT-CFFI:UNREF

gio-cffi

Interface to GIO via CFFI

GIO-CFFI

  • Class ACTION-GROUP  (OBJECT)
    No slots.
  • Generic-Function HAS-ACTION (action-group action-name)
  • Generic-Function HAS-ACTION (action-group action-name)
  • Method HAS-ACTION ((action-group action-group) action-name)
  • Generic-Function LIST-ACTIONS (action-group)
  • Generic-Function LIST-ACTIONS (action-group)
  • Method LIST-ACTIONS ((action-group action-group))
  • Generic-Function ACTION-ENABLED (action-group action-name)
  • Generic-Function ACTION-ENABLED (action-group action-name)
  • Method ACTION-ENABLED ((action-group action-group) action-name)
  • Generic-Function ACTION-PARAMETER-TYPE (action-group action-name)
  • Generic-Function ACTION-PARAMETER-TYPE (action-group action-name)
  • Method ACTION-PARAMETER-TYPE ((action-group action-group) action-name)
  • Generic-Function ACTION-STATE-TYPE (action-group action-name)
  • Generic-Function ACTION-STATE-TYPE (action-group action-name)
  • Method ACTION-STATE-TYPE ((action-group action-group) action-name)
  • Generic-Function ACTION-STATE-HINT (action-group action-name)
  • Generic-Function ACTION-STATE-HINT (action-group action-name)
  • Method ACTION-STATE-HINT ((action-group action-group) action-name)
  • Generic-Function ACTION-STATE (action-group action-name)
  • Generic-Function ACTION-STATE (action-group action-name)
  • Method ACTION-STATE ((action-group action-group) action-name)
  • Generic-Function CHANGE-ACTION-STATE (action-group action-name value)
  • Generic-Function CHANGE-ACTION-STATE (action-group action-name value)
  • Method CHANGE-ACTION-STATE ((action-group action-group) action-name value)
  • Generic-Function ACTIVATE-ACTION (action-group action-name parameter)
  • Generic-Function ACTIVATE-ACTION (action-group action-name parameter)
  • Method ACTIVATE-ACTION ((action-group action-group) action-name parameter)
  • Generic-Function APPLICATION-ID (application)
  • Generic-Function APPLICATION-ID (application)
  • Generic-Function (setf APPLICATION-ID) (value application)
  • Generic-Function (setf APPLICATION-ID) (value application)
  • Method APPLICATION-ID ((object application))
  • Generic-Function INACTIVITY-TIMEOUT (application)
  • Generic-Function INACTIVITY-TIMEOUT (application)
  • Generic-Function (setf INACTIVITY-TIMEOUT) (value application)
  • Generic-Function (setf INACTIVITY-TIMEOUT) (value application)
  • Method INACTIVITY-TIMEOUT ((object application))
  • Generic-Function FLAGS (application)
  • Generic-Function FLAGS (application)
  • Generic-Function (setf FLAGS) (value application)
  • Generic-Function (setf FLAGS) (value application)
  • Method FLAGS ((object application))
  • Generic-Function (setf ACTION-GROUP) (value application)
  • Generic-Function (setf ACTION-GROUP) (value application)
  • Generic-Function IS-REGISTERED (application)
  • Generic-Function IS-REGISTERED (application)
  • Method IS-REGISTERED ((application application))
  • Generic-Function IS-REMOTE (application)
  • Generic-Function IS-REMOTE (application)
  • Method IS-REMOTE ((application application))
  • Generic-Function HOLD (application)
  • Generic-Function HOLD (application)
  • Method HOLD ((application application))
  • Generic-Function RELEASE (application)
  • Generic-Function RELEASE (application)
  • Method RELEASE ((application application))
  • Generic-Function ACTIVATE (application)
  • Generic-Function ACTIVATE (application)
  • Method ACTIVATE ((application application))

gtk-cffi

Interface to GTK/Glib via CFFI

No packages.

gtk-cffi-utils

Different utils for gtk-cffi

GTK-CFFI-UTILS

  • Macro DEBUG-OUT (&body body)
  • Macro MEMO (place &body body)
  • Macro WITH-HASH (hash key &body body)
    If found KEY in HASH, return corresponding value, else use BODY to calculate the value and save to HASH. NIL values not saved
  • Macro BITMASK (&rest flags)
    Returns list from lisp values as keywords: Example: (bitmask after swapped) -> nil, when after=nil and swapped=nil -> (:after), when after=t and swapped=nil -> (:swapped), when after=nil and swapped=t -> (:after :swapped), when both are t
  • Macro TEMPLATE (vars args &body body)
    Universal template macro. For every ARG in ARGS binded to VARS generates body. ARGS is list. If VARS also list, then every element in ARGS is a list of the same length. BODY of template should be as of DEFMACRO. It should return list (resulting program chunk).