Hide new functions in Gdk-2.18 behind conditional read
[cl-gtk2.git] / gtk / gtk.tooltip.lisp
blob6ef1d98035265bb8fef0b911639483dcc4a5fc12
1 (in-package :gtk)
3 (defcfun gtk-tooltip-set-markup :void
4 (tooltip g-object)
5 (markup :string))
7 (defun (setf tooltip-markup) (new-value tooltip)
8 (gtk-tooltip-set-markup tooltip new-value))
10 (export 'tooltip-markup)
12 (defcfun gtk-tooltip-set-text :void
13 (tooltip g-object)
14 (text :string))
16 (defun (setf tooltip-text) (new-value tooltip)
17 (gtk-tooltip-set-text tooltip new-value))
19 (export 'tooltip-text)
21 (defcfun gtk-tooltip-set-icon :void
22 (tooltip g-object)
23 (pixbuf g-object))
25 (defun (setf tooltip-icon) (new-value tooltip)
26 (gtk-tooltip-set-icon tooltip new-value))
28 (export 'tooltip-icon)
30 (defcfun (tooltip-set-icon-from-stock "gtk_tooltip_set_icon_from_stock") :void
31 (tooltip g-object)
32 (stock-id :string)
33 (icon-size icon-size))
35 (export 'tooltip-set-icon-from-stock)
37 (defcfun (tooltip-set-icon-from-icon-name "gtk_tooltip_set_icon_from_icon_name") :void
38 (tooltip g-object)
39 (icon-name :string)
40 (icon-size icon-size))
42 (export 'tooltip-set-icon-from-icon-name)
44 (defcfun (tooltip-set-custom "gtk_tooltip_set_custom") :void
45 (tooltip g-object)
46 (custom-widget g-object))
48 (export 'tooltip-set-custom)
50 (defcfun (tooltip-trigger-tooltip-query "gtk_tooltip_trigger_tooltip_query") :void
51 (display g-object))
53 (export 'tooltip-trigger-tooltip-query)
55 (defcfun (tooltip-set-tip-area "gtk_tooltip_set_tip_area") :void
56 (tooltip g-object)
57 (rectangle (g-boxed-foreign rectangle)))
59 (export 'tooltip-set-tip-area)