diff options
Diffstat (limited to 'plugins/pychrysalide/helpers.h')
-rw-r--r-- | plugins/pychrysalide/helpers.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/pychrysalide/helpers.h b/plugins/pychrysalide/helpers.h index 226071c..72a5489 100644 --- a/plugins/pychrysalide/helpers.h +++ b/plugins/pychrysalide/helpers.h @@ -29,6 +29,7 @@ #include <assert.h> #include <glib-object.h> #include <stdbool.h> +#include <gdk/gdk.h> @@ -225,6 +226,12 @@ int convert_to_gtk_widget(PyObject *, void *); /* Tente de convertir en instance de conteneur GTK. */ int convert_to_gtk_container(PyObject *, void *); +/* Construit un objet Python pour une couleur RGBA. */ +PyObject *create_gdk_rgba(const GdkRGBA *); + +/* Tente de convertir en instance de couleur RGBA. */ +int convert_to_gdk_rgba(PyObject *, void *); + /* ----------------------- TRANSFERT DES VALEURS CONSTANTES ------------------------- */ |