Groups | Search | Server Info | Login | Register
Groups > comp.lang.ada > #49425
| From | "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> |
|---|---|
| Newsgroups | comp.lang.ada |
| Subject | Re: GtkAda callback and event |
| Date | 2021-09-05 17:12 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <sh2mpb$950$2@gioia.aioe.org> (permalink) |
| References | (1 earlier) <sh0s15$1ha4$1@gioia.aioe.org> <6134cb26$0$3697$426a74cc@news.free.fr> <sh2lb1$1lpq$1@gioia.aioe.org> <6134db32$0$6461$426a74cc@news.free.fr> <6134dc71$0$3693$426a74cc@news.free.fr> |
On 2021-09-05 17:04, DrPi wrote: > Le 05/09/2021 à 16:58, DrPi a écrit : >> Le 05/09/2021 à 16:48, Dmitry A. Kazakov a écrit : >>> On 2021-09-05 15:50, DrPi wrote: >>>> Le 05/09/2021 à 00:29, Dmitry A. Kazakov a écrit : >>> >>>> With "Gtk.Arguments.Unchecked_To_Gdk_Event_Motion (Params, 1);" , I >>>> get an error : >>>> expected private type "C_GValues" defined at glib-values.ads:53 >>>> found private type "GValues" defined at glib-values.ads:48 >>> >>> I see, then you must to implement it yourself. It could be something >>> like this (not tested): >>> >>> package Conversions is >>> new System.Address_To_Access_Conversions (Gdk_Event_Motion); >>> >>> Event : Gdk_Event_Motion renames >>> Conversions.To_Pointer (Get_Address (Nth (Params, 1))).all; >>> >> >> So, Gtk.Arguments.Unchecked_To_Gdk_Event_Motion is useless ? > Like all subprograms accepting C_GValues as a parameter ? It is a part of GValues object. But you could create a child package that would have access to the internals of GValue and get access to C_GValues in GValue. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de
Back to comp.lang.ada | Previous | Next — Previous in thread | Next in thread | Find similar
GtkAda callback and event DrPi <314@drpi.fr> - 2021-09-04 23:39 +0200
Re: GtkAda callback and event "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-05 00:29 +0200
Re: GtkAda callback and event DrPi <314@drpi.fr> - 2021-09-05 15:50 +0200
Re: GtkAda callback and event "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-05 16:48 +0200
Re: GtkAda callback and event DrPi <314@drpi.fr> - 2021-09-05 16:58 +0200
Re: GtkAda callback and event DrPi <314@drpi.fr> - 2021-09-05 17:04 +0200
Re: GtkAda callback and event "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-05 17:12 +0200
Re: GtkAda callback and event DrPi <314@drpi.fr> - 2021-09-05 17:20 +0200
Re: GtkAda callback and event "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-05 17:53 +0200
Re: GtkAda callback and event DrPi <314@drpi.fr> - 2021-09-05 22:49 +0200
Re: GtkAda callback and event Emmanuel Briot <briot.emmanuel@gmail.com> - 2021-09-08 23:56 -0700
Re: GtkAda callback and event DrPi <314@drpi.fr> - 2021-09-09 09:57 +0200
Re: GtkAda callback and event Jere <jhb.chat@gmail.com> - 2021-09-09 11:41 -0700
Re: GtkAda callback and event "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-09 21:58 +0200
Re: GtkAda callback and event Jere <jhb.chat@gmail.com> - 2021-09-09 14:01 -0700
Re: GtkAda callback and event "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-10 08:38 +0200
Re: GtkAda callback and event Emmanuel Briot <briot.emmanuel@gmail.com> - 2021-09-09 23:56 -0700
Re: GtkAda callback and event DrPi <314@drpi.fr> - 2021-09-10 22:42 +0200
Re: GtkAda callback and event "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-10 22:58 +0200
Re: GtkAda callback and event Emmanuel Briot <briot.emmanuel@gmail.com> - 2021-09-11 00:38 -0700
Re: GtkAda callback and event DrPi <314@drpi.fr> - 2021-09-11 17:24 +0200
Re: GtkAda callback and event "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-11 17:56 +0200
Re: GtkAda callback and event AdaMagica <christ-usch.grein@t-online.de> - 2021-09-12 00:08 -0700
Re: GtkAda callback and event "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-12 10:52 +0200
Re: GtkAda callback and event DrPi <314@drpi.fr> - 2021-09-12 15:00 +0200
Re: GtkAda callback and event "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-12 15:57 +0200
Re: GtkAda callback and event "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-10 22:46 +0200
Re: GtkAda callback and event Emmanuel Briot <briot.emmanuel@gmail.com> - 2021-09-11 00:36 -0700
csiph-web