[gimp] pygimp: add binding for GimpImageType



commit 57a310ebd66794653b2b68d5585114658aaab3a7
Author: Kristian Rietveld <kris loopnest org>
Date:   Sat Apr 30 21:55:45 2016 +0200

    pygimp: add binding for GimpImageType

 plug-ins/pygimp/gimpenums-types.defs |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/pygimp/gimpenums-types.defs b/plug-ins/pygimp/gimpenums-types.defs
index 5cf93c9..b919c93 100644
--- a/plug-ins/pygimp/gimpenums-types.defs
+++ b/plug-ins/pygimp/gimpenums-types.defs
@@ -134,6 +134,20 @@
   )
 )
 
+(define-enum ImageType
+  (in-module "Gimp")
+  (c-name "GimpImageType")
+  (gtype-id "GIMP_TYPE_IMAGE_TYPE")
+  (values
+    '("rgb" "GIMP_RGB_IMAGE")
+    '("rgba" "GIMP_RGBA_IMAGE")
+    '("gray" "GIMP_GRAY_IMAGE")
+    '("graya" "GIMP_GRAYA_IMAGE")
+    '("indexed" "GIMP_INDEXED_IMAGE")
+    '("indexeda" "GIMP_INDEXEDA_IMAGE")
+  )
+)
+
 (define-enum LayerModeEffects
   (in-module "Gimp")
   (c-name "GimpLayerModeEffects")


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]