[gtkada] Eeeeeeeeeeeeeek!

Op de Coul, Manuel Manuel.op.de.Coul at eon.com
Tue Jul 9 14:58:25 CEST 2013


Chris wrote:

>I noticed that our binding to pango is incomplete.  What I noticed missing was:
>PangoLayout  <https://developer.gnome.org/pango/stable/pango-Layout-Objects.html#PangoLayout>  *       >pango_cairo_create_layout           (/|cairo_t  *cr|/);

This looks like the one you need: Pango.Layout.Gdk_New

   -----------------------
   -- Creating a layout --
   -----------------------
   --  A layout can be created in two ways: either from a widget
   --  (Gtk.Widget.Create_Pango_Layout), from which it will inherit the font
   --  and various other attributes, or directly from a Pango_Context.

   procedure Gdk_New
     (Layout : out Pango_Layout;
      Context : access Pango.Context.Pango_Context_Record'Class);
   --  Create a new layout, based on context.

Manuel



More information about the gtkada mailing list