Demo}.
@end deffn
+@deffn Procedure gtk-paned-view? object
+Type predicate.
+@end deffn
+
+@deffn Procedure gtk-paned-view-new orientation
+A new gtk-paned-view instance. @var{Orientation} should be one of the
+symbols @code{horizontal} or @code{vertical}.
+@end deffn
+
@node Gtk Scrolled Window, Scheme Widget, Gtk Paned, API Reference
@section Gtk Scrolled Window
Demo}.
@end deffn
+@deffn Procedure gtk-scrolled-view? object
+Type predicate.
+@end deffn
+
+@deffn Procedure gtk-scrolled-view-new orientation
+A new gtk-paned-view instance. @var{Orientation} should be one of the
+symbols @code{horizontal} or @code{vertical}.
+@end deffn
+
@node Scheme Widget, Fix Layout, Gtk Scrolled Window, API Reference
@section Scheme Widget
(text (* (const char)))
(length int))
+(extern void pango_layout_set_markup
+ (layout (* PangoLayout))
+ (markup (* (const char)))
+ (length int))
+
(extern void pango_layout_set_font_description
(layout (* PangoLayout))
(desc (* (const PangoFontDescription))))
pango-layout-get-font-description
pango-layout-set-font-description
pango-layout-set-text
+ pango-layout-set-markup
pango-layout-get-pixel-extents
pango-layout-index-to-pos
pango-font-description-from-string
<gtk-scrolled-window> gtk-scrolled-window?
guarantee-gtk-scrolled-window gtk-scrolled-window-new
gtk-scrolled-window-set-policy gtk-scrolled-window-set-placement
- <gtk-scrolled-view> gtk-scrolled-view?
- guarantee-gtk-scrolled-view gtk-scrolled-view-new
+ <gtk-scrolled-view> gtk-scrolled-view? gtk-scrolled-view-new
<gtk-paned> gtk-paned? gtk-paned-new
gtk-paned-pack1 gtk-paned-pack2
gtk-paned-get-child1 gtk-paned-get-child2
#| -*-Scheme-*-
-Copyright (C) 2009, 2010, 2011, 2012 Matthew Birkholz
+Copyright (C) 2009, 2010, 2011, 2012, 2013 Matthew Birkholz
This file is part of an extension to MIT/GNU Scheme.
(C-call "pango_layout_set_text" (gobject-alien layout)
text (string-length text)))
+(define (pango-layout-set-markup layout markup)
+ (guarantee-pango-layout layout 'pango-layout-set-markup)
+ (guarantee-string markup 'pango-layout-set-markup)
+ (C-call "pango_layout_set_markup" (gobject-alien layout)
+ markup (string-length markup)))
+
(define (pango-layout-get-pixel-extents layout receiver)
(guarantee-pango-layout layout 'pango-layout-set-text)
(guarantee-procedure-of-arity receiver 2 'pango-layout-set-text)