(defclass gdk-context (cl-cairo2:context)
())
-
+
(defun create-gdk-context (gdk-drawable)
- "creates an context to draw on a GTK widget, more precisely on the
+ "Creates a 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
(drawable (g-object drawable)))
(defun gdk-cairo-reset-clip (drawable &optional (context cl-cairo2:*context*))
- (gdk_cairo_reset_clip (slot-value context 'cl-cairo2:pointer) drawable))
\ No newline at end of file
+ (gdk_cairo_reset_clip (slot-value context 'cl-cairo2:pointer) drawable))