Next: Gtk Module, Previous: Gdk Module, Up: Top
The following extra Gdk level functions are provided by Guile Gtk.
If color is a
GdkColorobject, return it. If it's a string then parse it usinggdk-color-parseand allocate a pixel usinggdk-color-allocingtk-widget-get-default-colormap.A program can use
gdk-color-internas an easy way to convert strings toGdkColorobjects, so as to avoid repeatedly having that done when calling functions expecting a color.
If font is a
GdkFontobject, return it. If it's a string then load that font usinggdk-font-load, throwing an error if that function fails.A program can use
gdk-font-internas an easy way to convert strings toGdkFontobjects, so as to avoid repeatedly having that done when calling functions expecting a font.