[gtkada] Problems with type Rgb_Buffer in Gdk.Rgb and function Gtk_New in Gtk.File_Selection

Hervé Guillaume nherveg at gmail.com
Sun Mar 11 12:34:11 CET 2007


Thank you for your help. My latest question is about file contrib/gtkada-
2.10-win32.diff. How use it ? Is it necessary to install and use CVS
(Concurrent Versions System) ?
Thanks again,
Hervé Guillaume

2007/3/10, Arnaud Charlet <charlet at adacore.com>:
>
> > 1. My first problem is about package Gdk.Rgb and type Rgb_Buffer. This
> > type seems already constrained, thus I can't constrain myself. But when
> I
> > don't constraint it a storage error is raised. There's no function which
> > return rgb_buffer, so I don't understanf how use it. I have seen one
>
> Actually, there's a function, see Gdk.Pixbuf.Get_Pixels.
>
> But clearly, the procedures taking a Rgb_Buffer in Gdk.Rbg are useless
> as is, this will need to be fixed, thanks for reporting.
>
> > 2. My second problem is about package gtk.file_selection. When I used
> > fonction  procedure Gtk_New (File_Selection : out Gtk_File_Selection;
> > Title : UTF8_String); my program raise this message : "process exited
> > with status -1073741819". I tried function File_Selection_Dialog in the
> > package Gtkada.File_Selection, and I obtained exactly the same message.
> I
> > don't know why.
>
> Gtk.File_Selection had some problems under Windows, so assuming you're
> under
> Windows, I'd suggest applying the patch contrib/gtkada-2.10-win32.diff
> from the GtkAda CVS.
>
> Arno
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20070311/5aea0109/attachment.htm 


More information about the gtkada mailing list