The cl-gtk2 Reference Manual

Table of Contents

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

The cl-gtk2 Reference Manual

This is the cl-gtk2 Reference Manual, version 0.1.1, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 03:21:20 2018 GMT+0.


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

1 Systems

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


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

1.1 cl-gtk2-cairo

Author

Kalyanov Dmitry <Kalyanov.Dmitry@gmail.com>

License

LLGPL

Version

0.1.1

Dependencies
Source

cl-gtk2-cairo.asd (file)

Components

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

2 Files

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


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

2.1 Lisp


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

2.1.1 cl-gtk2-cairo.asd

Location

cl-gtk2-cairo.asd

Systems

cl-gtk2-cairo (system)


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

2.1.2 cl-gtk2-cairo/cairo.package.lisp

Parent

cl-gtk2-cairo (system)

Location

cairo.package.lisp

Packages

cl-gtk2-cairo


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

2.1.3 cl-gtk2-cairo/cairo.lisp

Dependency

cairo.package.lisp (file)

Parent

cl-gtk2-cairo (system)

Location

cairo.lisp

Exported Definitions
Internal Definitions

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

2.1.4 cl-gtk2-cairo/cairo.demo.lisp

Dependency

cairo.lisp (file)

Parent

cl-gtk2-cairo (system)

Location

cairo.demo.lisp

Packages

cl-gtk2-cairo-demo

Exported Definitions

demo (function)

Internal Definitions

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

3 Packages

Packages are listed by definition order.


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

3.1 cl-gtk2-cairo

Source

cairo.package.lisp (file)

Use List
Used By List

cl-gtk2-cairo-demo

Exported Definitions
Internal Definitions

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

3.2 cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Use List
Exported Definitions

demo (function)

Internal Definitions

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

4 Definitions

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


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

4.1 Exported definitions


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

4.1.1 Macros

Macro: with-gdk-context (CONTEXT GDK-DRAWABLE) &body BODY

Executes body while context is bound to a valid cairo context for gdk-window. This should only be called from within an expose event handler. In cells-gtk, use (gtk-adds-widget-window gtk-pointer) to obtain the gdk-window. ’gtk-pointer’ is the pointer parameter passed to the expose event handler.

Package

cl-gtk2-cairo

Source

cairo.lisp (file)


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

4.1.2 Functions

Function: create-gdk-context GDK-DRAWABLE

creates an context to draw on a GTK widget, more precisely on the associated gdk-window. This should only be called from within the expose event. In cells-gtk, use (gtk-adds-widget-window gtk-pointer) to obtain the gdk-window. ’gtk-pointer’ is the pointer parameter passed to the expose event handler.

Package

cl-gtk2-cairo

Source

cairo.lisp (file)

Function: demo ()
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: gdk-cairo-region REGION &optional CONTEXT
Package

cl-gtk2-cairo

Source

cairo.lisp (file)

Function: gdk-cairo-reset-clip DRAWABLE &optional CONTEXT
Package

cl-gtk2-cairo

Source

cairo.lisp (file)

Function: gdk-cairo-set-source-pixbuf PIXBUF PIXBUF-X PIXBUF-Y &optional CONTEXT
Package

cl-gtk2-cairo

Source

cairo.lisp (file)

Function: gdk-cairo-set-source-pixmap PIXMAP PIXMAP-X PIXMAP-Y &optional CONTEXT
Package

cl-gtk2-cairo

Source

cairo.lisp (file)


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

4.1.3 Classes

Class: gdk-context ()
Package

cl-gtk2-cairo

Source

cairo.lisp (file)

Direct superclasses

context (class)

Direct methods

destroy (method)


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

4.2 Internal definitions


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

4.2.1 Special variables

Special Variable: *heart-max-angle*
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Special Variable: *lis-a*
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Special Variable: *lis-b*
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Special Variable: *lis-delta*
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Special Variable: *lis-density*
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Special Variable: *lis-margin*
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)


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

4.2.2 Functions

Function: cairo-fn-fn INSTANCE
Function: (setf cairo-fn-fn) VALUE INSTANCE
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: cairo-fn-name INSTANCE
Function: (setf cairo-fn-name) VALUE INSTANCE
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: cairo-fn-p OBJECT
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: cc-expose WIDGET
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: copy-cairo-fn INSTANCE
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: draw-clock-face W H

Draw a clock face

Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: draw-ex-1 W H

White diagonal line on a blue background

Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: draw-gradient W H

Draw a gradient

Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: draw-heart W H

Draw a lot of hearts

Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: draw-line W H

Draw simple diagonal line

Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: draw-lissajou W H

Draw Lissajous curve

Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: draw-text W H

Very simple text example

Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: gdk-cairo-create DRAWABLE
Package

cl-gtk2-cairo

Source

cairo.lisp (file)

Function: gdk_cairo_region CR REGION
Package

cl-gtk2-cairo

Source

cairo.lisp (file)

Function: gdk_cairo_reset_clip CR DRAWABLE
Package

cl-gtk2-cairo

Source

cairo.lisp (file)

Function: gdk_cairo_set_source_pixbuf CR PIXBUF PIXBUF-X PIXBUF-Y
Package

cl-gtk2-cairo

Source

cairo.lisp (file)

Function: gdk_cairo_set_source_pixmap CR PIXMAP PIXMAP-X PIXMAP-Y
Package

cl-gtk2-cairo

Source

cairo.lisp (file)

Function: get-draw-fns ()
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: heart ALPHA

Draw a heart with fixed size and the given transparency alpha. Heart is upside down.

Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: make-cairo-fn &key (NAME NAME) (FN FN)
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Function: starts-with STR PREFIX
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)


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

4.2.3 Generic functions

Generic Function: cairo-w-draw-fn OBJECT
Generic Function: (setf cairo-w-draw-fn) NEW-VALUE OBJECT
Package

cl-gtk2-cairo-demo

Methods
Method: cairo-w-draw-fn (CAIRO-W cairo-w)

automatically generated reader method

Source

cairo.demo.lisp (file)

Method: (setf cairo-w-draw-fn) NEW-VALUE (CAIRO-W cairo-w)

automatically generated writer method

Source

cairo.demo.lisp (file)

Method: (setf cairo-w-draw-fn) NEW-VALUE (W cairo-w) after
Source

cairo.demo.lisp (file)


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

4.2.4 Structures

Structure: cairo-fn ()
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: name
Readers

cairo-fn-name (function)

Writers

(setf cairo-fn-name) (function)

Slot: fn
Readers

cairo-fn-fn (function)

Writers

(setf cairo-fn-fn) (function)


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

4.2.5 Classes

Class: cairo-w ()
Package

cl-gtk2-cairo-demo

Source

cairo.demo.lisp (file)

Direct superclasses

drawing-area (class)

Direct methods
Direct slots
Slot: draw-fn
Initform

(quote cl-gtk2-cairo-demo::draw-clock-face)

Readers

cairo-w-draw-fn (generic function)

Writers

(setf cairo-w-draw-fn) (generic function)


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

Appendix A Indexes


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

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
cl-gtk2-cairo.asd: The cl-gtk2-cairo<dot>asd file
cl-gtk2-cairo/cairo.demo.lisp: The cl-gtk2-cairo/cairo<dot>demo<dot>lisp file
cl-gtk2-cairo/cairo.lisp: The cl-gtk2-cairo/cairo<dot>lisp file
cl-gtk2-cairo/cairo.package.lisp: The cl-gtk2-cairo/cairo<dot>package<dot>lisp file

F
File, Lisp, cl-gtk2-cairo.asd: The cl-gtk2-cairo<dot>asd file
File, Lisp, cl-gtk2-cairo/cairo.demo.lisp: The cl-gtk2-cairo/cairo<dot>demo<dot>lisp file
File, Lisp, cl-gtk2-cairo/cairo.lisp: The cl-gtk2-cairo/cairo<dot>lisp file
File, Lisp, cl-gtk2-cairo/cairo.package.lisp: The cl-gtk2-cairo/cairo<dot>package<dot>lisp file

L
Lisp File, cl-gtk2-cairo.asd: The cl-gtk2-cairo<dot>asd file
Lisp File, cl-gtk2-cairo/cairo.demo.lisp: The cl-gtk2-cairo/cairo<dot>demo<dot>lisp file
Lisp File, cl-gtk2-cairo/cairo.lisp: The cl-gtk2-cairo/cairo<dot>lisp file
Lisp File, cl-gtk2-cairo/cairo.package.lisp: The cl-gtk2-cairo/cairo<dot>package<dot>lisp file

Jump to:   C   F   L  

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

A.2 Functions

Jump to:   (  
C   D   F   G   H   M   S   W  
Index Entry  Section

(
(setf cairo-fn-fn): Internal functions
(setf cairo-fn-name): Internal functions
(setf cairo-w-draw-fn): Internal generic functions
(setf cairo-w-draw-fn): Internal generic functions
(setf cairo-w-draw-fn): Internal generic functions

C
cairo-fn-fn: Internal functions
cairo-fn-name: Internal functions
cairo-fn-p: Internal functions
cairo-w-draw-fn: Internal generic functions
cairo-w-draw-fn: Internal generic functions
cc-expose: Internal functions
copy-cairo-fn: Internal functions
create-gdk-context: Exported functions

D
demo: Exported functions
draw-clock-face: Internal functions
draw-ex-1: Internal functions
draw-gradient: Internal functions
draw-heart: Internal functions
draw-line: Internal functions
draw-lissajou: Internal functions
draw-text: Internal functions

F
Function, (setf cairo-fn-fn): Internal functions
Function, (setf cairo-fn-name): Internal functions
Function, cairo-fn-fn: Internal functions
Function, cairo-fn-name: Internal functions
Function, cairo-fn-p: Internal functions
Function, cc-expose: Internal functions
Function, copy-cairo-fn: Internal functions
Function, create-gdk-context: Exported functions
Function, demo: Exported functions
Function, draw-clock-face: Internal functions
Function, draw-ex-1: Internal functions
Function, draw-gradient: Internal functions
Function, draw-heart: Internal functions
Function, draw-line: Internal functions
Function, draw-lissajou: Internal functions
Function, draw-text: Internal functions
Function, gdk-cairo-create: Internal functions
Function, gdk-cairo-region: Exported functions
Function, gdk-cairo-reset-clip: Exported functions
Function, gdk-cairo-set-source-pixbuf: Exported functions
Function, gdk-cairo-set-source-pixmap: Exported functions
Function, gdk_cairo_region: Internal functions
Function, gdk_cairo_reset_clip: Internal functions
Function, gdk_cairo_set_source_pixbuf: Internal functions
Function, gdk_cairo_set_source_pixmap: Internal functions
Function, get-draw-fns: Internal functions
Function, heart: Internal functions
Function, make-cairo-fn: Internal functions
Function, starts-with: Internal functions

G
gdk-cairo-create: Internal functions
gdk-cairo-region: Exported functions
gdk-cairo-reset-clip: Exported functions
gdk-cairo-set-source-pixbuf: Exported functions
gdk-cairo-set-source-pixmap: Exported functions
gdk_cairo_region: Internal functions
gdk_cairo_reset_clip: Internal functions
gdk_cairo_set_source_pixbuf: Internal functions
gdk_cairo_set_source_pixmap: Internal functions
Generic Function, (setf cairo-w-draw-fn): Internal generic functions
Generic Function, cairo-w-draw-fn: Internal generic functions
get-draw-fns: Internal functions

H
heart: Internal functions

M
Macro, with-gdk-context: Exported macros
make-cairo-fn: Internal functions
Method, (setf cairo-w-draw-fn): Internal generic functions
Method, (setf cairo-w-draw-fn): Internal generic functions
Method, cairo-w-draw-fn: Internal generic functions

S
starts-with: Internal functions

W
with-gdk-context: Exported macros

Jump to:   (  
C   D   F   G   H   M   S   W  

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

A.3 Variables

Jump to:   *  
D   F   N   S  
Index Entry  Section

*
*heart-max-angle*: Internal special variables
*lis-a*: Internal special variables
*lis-b*: Internal special variables
*lis-delta*: Internal special variables
*lis-density*: Internal special variables
*lis-margin*: Internal special variables

D
draw-fn: Internal classes

F
fn: Internal structures

N
name: Internal structures

S
Slot, draw-fn: Internal classes
Slot, fn: Internal structures
Slot, name: Internal structures
Special Variable, *heart-max-angle*: Internal special variables
Special Variable, *lis-a*: Internal special variables
Special Variable, *lis-b*: Internal special variables
Special Variable, *lis-delta*: Internal special variables
Special Variable, *lis-density*: Internal special variables
Special Variable, *lis-margin*: Internal special variables

Jump to:   *  
D   F   N   S  

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

A.4 Data types

Jump to:   C   G   P   S  
Index Entry  Section

C
cairo-fn: Internal structures
cairo-w: Internal classes
cl-gtk2-cairo: The cl-gtk2-cairo system
cl-gtk2-cairo: The cl-gtk2-cairo package
cl-gtk2-cairo-demo: The cl-gtk2-cairo-demo package
Class, cairo-w: Internal classes
Class, gdk-context: Exported classes

G
gdk-context: Exported classes

P
Package, cl-gtk2-cairo: The cl-gtk2-cairo package
Package, cl-gtk2-cairo-demo: The cl-gtk2-cairo-demo package

S
Structure, cairo-fn: Internal structures
System, cl-gtk2-cairo: The cl-gtk2-cairo system

Jump to:   C   G   P   S