X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/4bd4e5832af5fb46c121330ee60e9ccdbcfe7df3..f71dc2830feb9c9ebdc25d465df7517fa6172512:/gdk/gdktypes.lisp diff --git a/gdk/gdktypes.lisp b/gdk/gdktypes.lisp index fd9354b..80983ed 100644 --- a/gdk/gdktypes.lisp +++ b/gdk/gdktypes.lisp @@ -20,7 +20,7 @@ ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -;; $Id: gdktypes.lisp,v 1.24 2006-04-26 09:21:39 espen Exp $ +;; $Id: gdktypes.lisp,v 1.25 2006-07-06 13:05:59 espen Exp $ (in-package "GDK") @@ -83,6 +83,13 @@ :type int)) (:metaclass boxed-class)) +(defclass region (struct) + () + (:metaclass struct-class) + (:ref %region-copy) + (:unref %region-destroy)) + + (register-type 'event-mask '|gdk_event_mask_get_type|) (define-flags-type event-mask (:exposure 2) @@ -221,7 +228,27 @@ :setter "gdk_window_set_group" :unbound nil :accessor window-group - :type window)))) + :type window) + #?(pkg-exists-p "gtk+-2.0" :atleast-version "2.10.0") + (type-hint + :allocation :virtual + :getter "gdk_window_get_type_hint" + :setter "gdk_window_set_type_hint" + :accessor window-type-hint + :type window-type-hint) + #?-(pkg-exists-p "gtk+-2.0" :atleast-version "2.10.0") + (type-hint + :allocation :virtual + :getter "gdk_window_get_type_hint" + :accessor window-type-hint + :type window-type-hint) + (decorations + :allocation :virtual + :getter %window-decoration-getter + :setter "gdk_window_set_decoration" + :boundp %window-decoration-boundp + :accessor window-decorations + :type wm-decoration)))) (deftype bitmap () 'pixmap)