The gtk-cffi-utils Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The gtk-cffi-utils Reference Manual

This is the gtk-cffi-utils Reference Manual, version 1.0, generated automatically by Declt version 2.4 patchlevel 1 "Will Decker" on Mon Jul 29 15:46:36 2019 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

gtk-cffi

GTK-CFFI is a library, providing CFFI layer to GTK3. License is LLGPL for GTK, BSD for GLib and GDK.

GTK interface is mapped like this:

GTKLisp
gtk_widget_set_parent(setf (parent widget) new-parent)
gtk_widget_get_parent(parent widget)

Properties realized as (property object :property-name). There are corresponding setters for them. Signals: (gsignal object :signal-name). Value of signal can be name of C function, its address, corresponding keyword or lisp function, including closure.

Along with GtkListStore, I made LispStore. It can be filled much faster, than ListStore.

Why not cl-gtk2


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 gtk-cffi-utils

Author

Roman Klochkov <kalimehtar@mail.ru>

License

BSD

Description

Different utils for gtk-cffi

Version

1.0

Dependencies
Source

gtk-cffi-utils.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 gtk-cffi-utils.asd

Location

gtk-cffi-utils.asd

Systems

gtk-cffi-utils (system)

Packages

gtk-cffi-utils-system


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 gtk-cffi-utils/package.lisp

Parent

gtk-cffi-utils (system)

Location

package.lisp

Packages

gtk-cffi-utils


Previous: , Up: Lisp files   [Contents][Index]

3.1.3 gtk-cffi-utils/utils.lisp

Dependency

package.lisp (file)

Parent

gtk-cffi-utils (system)

Location

utils.lisp

Exported Definitions
Internal Definitions

find-key (function)


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 gtk-cffi-utils-system

Source

gtk-cffi-utils.asd

Use List

Previous: , Up: Packages   [Contents][Index]

4.2 gtk-cffi-utils

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

find-key (function)


Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Macros

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

Package

gtk-cffi-utils

Source

utils.lisp (file)

Macro: debug-out &body BODY
Package

gtk-cffi-utils

Source

utils.lisp (file)

Macro: memo PLACE &body BODY
Package

gtk-cffi-utils

Source

utils.lisp (file)

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).

Package

gtk-cffi-utils

Source

utils.lisp (file)

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

Package

gtk-cffi-utils

Source

utils.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Functions

Function: find-key KEY SEQ
Package

gtk-cffi-utils

Source

utils.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   G   L  
Index Entry  Section

F
File, Lisp, gtk-cffi-utils.asd: The gtk-cffi-utils<dot>asd file
File, Lisp, gtk-cffi-utils/package.lisp: The gtk-cffi-utils/package<dot>lisp file
File, Lisp, gtk-cffi-utils/utils.lisp: The gtk-cffi-utils/utils<dot>lisp file

G
gtk-cffi-utils.asd: The gtk-cffi-utils<dot>asd file
gtk-cffi-utils/package.lisp: The gtk-cffi-utils/package<dot>lisp file
gtk-cffi-utils/utils.lisp: The gtk-cffi-utils/utils<dot>lisp file

L
Lisp File, gtk-cffi-utils.asd: The gtk-cffi-utils<dot>asd file
Lisp File, gtk-cffi-utils/package.lisp: The gtk-cffi-utils/package<dot>lisp file
Lisp File, gtk-cffi-utils/utils.lisp: The gtk-cffi-utils/utils<dot>lisp file

Jump to:   F   G   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   B   D   F   M   T   W  
Index Entry  Section

B
bitmask: Exported macros

D
debug-out: Exported macros

F
find-key: Internal functions
Function, find-key: Internal functions

M
Macro, bitmask: Exported macros
Macro, debug-out: Exported macros
Macro, memo: Exported macros
Macro, template: Exported macros
Macro, with-hash: Exported macros
memo: Exported macros

T
template: Exported macros

W
with-hash: Exported macros

Jump to:   B   D   F   M   T   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables


Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   G   P   S  
Index Entry  Section

G
gtk-cffi-utils: The gtk-cffi-utils system
gtk-cffi-utils: The gtk-cffi-utils package
gtk-cffi-utils-system: The gtk-cffi-utils-system package

P
Package, gtk-cffi-utils: The gtk-cffi-utils package
Package, gtk-cffi-utils-system: The gtk-cffi-utils-system package

S
System, gtk-cffi-utils: The gtk-cffi-utils system

Jump to:   G   P   S