chiark / gitweb /
Added more bindings to GtkWindow
[clg] / gdk / gdktypes.lisp
index fd9354bb774debe06b233b48b1f8e23bfa973eb4..80983ed62757634c8317b5793c7382cea1d32f44 100644 (file)
@@ -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 @@ (defclass rectangle (boxed)
     :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 @@ (define-types-by-introspection "Gdk"
      :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)