(set! *initial-options-file* (merge-pathnames "gtk-screen-optiondb" dirname)))
(load-option 'GTK-SCREEN)
-(if (gtk-thread-running?)
+(if (gtk-initialized?)
(load "gtk-screen-check")
(warn "Could not test the GTK subsystem without a DISPLAY."))
\ No newline at end of file
(global-definitions runtime/)
(global-definitions sos/)
-(global-definitions gtk/)
(global-definitions edwin/)
+(global-definitions glib/)
+(global-definitions pango/)
+(global-definitions cairo/)
+(global-definitions gtk/)
(define-package (edwin screen gtk-screen)
(files "gtk-screen" "gtk-faces")
%window-start-mark
%set-window-start-mark!
%window-tab-width)
- (import (gtk pango)
+ (import (pango)
pangos->pixels)
(import (gtk gtk-widget)
gtk-widget-destroy-callback
fix-rect-min-x fix-rect-max-x fix-rect-min-y fix-rect-max-y
set-fix-rect-size! set-fix-rect-position!
fix-rect-intersect? fix-rect-union!)
+ (import (glib)
+ gobject-alien gobject-unref!)
(import (gtk)
gdk-key-state->char-bits gdk-keyval->name
- gobject-alien gobject-unref!
gdk-window-process-updates
gtk-widget-destroyed? gtk-widget-destroy
gtk-window-set-opacity
gtk-window-set-default-size
- pango-layout-get-pixel-extents
- pango-layout-index-to-pos
- pango-layout-set-text
- pango-layout-set-markup
-
- pango-context-get-metrics
- pango-context-spacing
-
- pango-font-description-from-string
- pango-font-description-to-string
- pango-font-description-free
- pango-font-metrics-get-ascent pango-font-metrics-get-descent
- pango-font-metrics-get-approximate-char-width
- pango-font-metrics-unref
-
set-scm-widget-minimum-size!
set-scm-widget-natural-size!