From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Pango in GtkAda Gtk version 3
Date: Fri, 31 Jan 2014 19:40:27 +0100
Date: 2014-01-31T19:40:27+01:00 [thread overview]
Message-ID: <1ofvom8j7p7j1$.13ewj34l2cvsz$.dlg@40tude.net> (raw)
In-Reply-To: 52ebaf01$0$16503$703f8584@news.kpn.nl
On Fri, 31 Jan 2014 15:09:25 +0100, ldries46 wrote:
> After a while searching I could not find the procedure or function
> Create_Layout.
I guess it is missing in GtkAda 3.4. Use this until AdaCore fixes that:
function Create_Layout (Context : Cairo_Context)
return Pango_Layout is
function Internal (Context : Cairo_Context) return Address;
pragma Import (C, Internal, "pango_cairo_create_layout");
Stub : Pango_Layout_Record;
begin
return Pango_Layout (Get_User_Data (Internal (Context), Stub));
end Create_Layout;
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
prev parent reply other threads:[~2014-01-31 18:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-31 9:27 Pango in GtkAda Gtk version 3 ldries46
2014-01-31 10:24 ` Dmitry A. Kazakov
2014-01-31 14:09 ` ldries46
2014-01-31 18:40 ` Dmitry A. Kazakov [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox