/[gtk-cffi]/gtk-cffi/gtk/offscreen-window.lisp
ViewVC logotype

Contents of /gtk-cffi/gtk/offscreen-window.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Thu Mar 8 09:58:12 2012 UTC (2 years, 1 month ago) by rklochkov
Branch: MAIN
CVS Tags: HEAD
GtkLabel* now is fully supported
added GtkOffscreenWindow
1 ;;;
2 ;;; offscreen-window.lisp -- GtkOffscreenWindow
3 ;;;
4 ;;; Copyright (C) 2012, Roman Klochkov <kalimehtar@mail.ru>
5 ;;;
6
7 (in-package :gtk-cffi)
8
9 (defclass offscreen-window (window) ())
10
11 (defcfun gtk-offscreen-window-new :pointer)
12
13 (defmethod gconstructor ((offscreen-window offscreen-window) &key)
14 (gtk-offscreen-window-new))
15
16 (deffuns offscreen-window
17 (:get pixbuf pobject))
18
19 (defcfun gtk-offscreen-window-get-surface :pointer (off-win pobject))
20
21 (defgeneric surface (offscreen-window)
22 (:method ((offscreen-window offscreen-window))
23 (cairo:create-surface-from-foreign
24 (gtk-offscreen-window-get-surface offscreen-window))))

  ViewVC Help
Powered by ViewVC 1.1.5