comp.lang.ada
 help / color / mirror / Atom feed
* gtkada -- package gtk.text missing
@ 2018-01-31 19:27 tonikaparallele
  2018-01-31 20:14 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 8+ messages in thread
From: tonikaparallele @ 2018-01-31 19:27 UTC (permalink / raw)


Hello,

it seems, AdaCore does not support the above package in GtkAda. What can I do?

Regards
Rolf.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gtkada -- package gtk.text missing
  2018-01-31 19:27 gtkada -- package gtk.text missing tonikaparallele
@ 2018-01-31 20:14 ` Dmitry A. Kazakov
  2018-01-31 20:37   ` tonikaparallele
  2018-01-31 20:50   ` tonikaparallele
  0 siblings, 2 replies; 8+ messages in thread
From: Dmitry A. Kazakov @ 2018-01-31 20:14 UTC (permalink / raw)


On 2018-01-31 20:27, tonikaparallele@gmail.com wrote:

> it seems, AdaCore does not support the above package in GtkAda. What can I do?

Hmm, AFAIK, GtkText was dropped from GTK. You should use GtkTextView or 
GtkSourceView instead.

P.S. If you have some Gtk/GLib features missing in GtkAda you may find 
them here:

    http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gtkada -- package gtk.text missing
  2018-01-31 20:14 ` Dmitry A. Kazakov
@ 2018-01-31 20:37   ` tonikaparallele
  2018-01-31 20:50   ` tonikaparallele
  1 sibling, 0 replies; 8+ messages in thread
From: tonikaparallele @ 2018-01-31 20:37 UTC (permalink / raw)


Am Mittwoch, 31. Januar 2018 21:14:16 UTC+1 schrieb Dmitry A. Kazakov:
> On 2018-01-31 20:27, tonikaparallele@gmail.com wrote:
> 
> > it seems, AdaCore does not support the above package in GtkAda. What can I do?
> 
> Hmm, AFAIK, GtkText was dropped from GTK. You should use GtkTextView or 
> GtkSourceView instead.
> 
> P.S. If you have some Gtk/GLib features missing in GtkAda you may find 
> them here:
> 
>     http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

*** Many thanks, I'll try it ...

Regards, Rolf.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gtkada -- package gtk.text missing
  2018-01-31 20:14 ` Dmitry A. Kazakov
  2018-01-31 20:37   ` tonikaparallele
@ 2018-01-31 20:50   ` tonikaparallele
  2018-01-31 21:06     ` Dmitry A. Kazakov
  1 sibling, 1 reply; 8+ messages in thread
From: tonikaparallele @ 2018-01-31 20:50 UTC (permalink / raw)


Am Mittwoch, 31. Januar 2018 21:14:16 UTC+1 schrieb Dmitry A. Kazakov:
> On 2018-01-31 20:27, tonikaparallele@gmail.com wrote:
> 
> > it seems, AdaCore does not support the above package in GtkAda. What can I do?
> 
> Hmm, AFAIK, GtkText was dropped from GTK. You should use GtkTextView or 
> GtkSourceView instead.
> 
> P.S. If you have some Gtk/GLib features missing in GtkAda you may find 
> them here:
> 
>     http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

No success.

I would like to use the subprograms described here:
http://beru.univ-brest.fr/~singhoff/DOC/LANG/ADA/gtkada_rm/gtkada_rm_114.html

When I try to compile with GtkTextView or GtkSourceView, I get following errors: file "gtk-PackageName.ads" not found.

It seems to be my problem :-)

Rolf.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gtkada -- package gtk.text missing
  2018-01-31 20:50   ` tonikaparallele
@ 2018-01-31 21:06     ` Dmitry A. Kazakov
  2018-02-01 16:16       ` tonikaparallele
  0 siblings, 1 reply; 8+ messages in thread
From: Dmitry A. Kazakov @ 2018-01-31 21:06 UTC (permalink / raw)


On 2018-01-31 21:50, tonikaparallele@gmail.com wrote:

> No success.
> 
> I would like to use the subprograms described here:
> http://beru.univ-brest.fr/~singhoff/DOC/LANG/ADA/gtkada_rm/gtkada_rm_114.html

Well that is probably version 1.14, the actual is 3.x:

    http://docs.adacore.com/live/wave/gtkada/html/gtkada_rm/index.html

I am using GtkAda 3.14.2. Newer versions can be checked out from AdaCore 
source code repository. but you might have problems with building them.

> When I try to compile with GtkTextView or GtkSourceView, I get following errors: file "gtk-PackageName.ads" not found.

The package name is Gtk.Text_View.

Gtk.Source_View is not yet supported. It is here:

    http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm#5.5

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gtkada -- package gtk.text missing
  2018-01-31 21:06     ` Dmitry A. Kazakov
@ 2018-02-01 16:16       ` tonikaparallele
  2018-02-01 17:39         ` Dmitry A. Kazakov
  0 siblings, 1 reply; 8+ messages in thread
From: tonikaparallele @ 2018-02-01 16:16 UTC (permalink / raw)


Am Mittwoch, 31. Januar 2018 22:06:05 UTC+1 schrieb Dmitry A. Kazakov:
> On 2018-01-31 21:50, tonikaparallele@gmail.com wrote:
> 
> > No success.
> > 
> > I would like to use the subprograms described here:
> > http://beru.univ-brest.fr/~singhoff/DOC/LANG/ADA/gtkada_rm/gtkada_rm_114.html
> 
> Well that is probably version 1.14, the actual is 3.x:
> 
>     http://docs.adacore.com/live/wave/gtkada/html/gtkada_rm/index.html
> 
> I am using GtkAda 3.14.2. Newer versions can be checked out from AdaCore 
> source code repository. but you might have problems with building them.
> 
> > When I try to compile with GtkTextView or GtkSourceView, I get following errors: file "gtk-PackageName.ads" not found.
> 
> The package name is Gtk.Text_View.
> 
> Gtk.Source_View is not yet supported. It is here:
> 
>     http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm#5.5
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

Thanks, Dmitry! therefore, the procedure did not exist either. but my main problem is that I can not create a window and write text into it. Is there any example of this? I am already in despair! Greetings rolf.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gtkada -- package gtk.text missing
  2018-02-01 16:16       ` tonikaparallele
@ 2018-02-01 17:39         ` Dmitry A. Kazakov
  2018-02-01 19:31           ` tonikaparallele
  0 siblings, 1 reply; 8+ messages in thread
From: Dmitry A. Kazakov @ 2018-02-01 17:39 UTC (permalink / raw)


On 2018-02-01 17:16, tonikaparallele@gmail.com wrote:

> but my main problem is that I can not create a window and write text
> into it. Is there any example of this? I am already in despair!

Why window? GtkTextView is a widget. Anyway, it is 
model-view-controller. You create widget, create a text buffer for it. 
The text is placed into the buffer.

In

    http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm

there is a test: ./test/test_gtk_asynchronous_spawn.adb creates four 
Gtk_Text_View widgets.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gtkada -- package gtk.text missing
  2018-02-01 17:39         ` Dmitry A. Kazakov
@ 2018-02-01 19:31           ` tonikaparallele
  0 siblings, 0 replies; 8+ messages in thread
From: tonikaparallele @ 2018-02-01 19:31 UTC (permalink / raw)


Am Donnerstag, 1. Februar 2018 18:39:10 UTC+1 schrieb Dmitry A. Kazakov:
> On 2018-02-01 17:16, tonikaparallele@gmail.com wrote:
> 
> > but my main problem is that I can not create a window and write text
> > into it. Is there any example of this? I am already in despair!
> 
> Why window? GtkTextView is a widget. Anyway, it is 
> model-view-controller. You create widget, create a text buffer for it. 
> The text is placed into the buffer.
> 
> In
> 
>     http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm
> 
> there is a test: ./test/test_gtk_asynchronous_spawn.adb creates four 
> Gtk_Text_View widgets.
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

Unfortunately, English is not my mother tongue, so I can not express what I mean. Excuse me.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-02-01 19:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-31 19:27 gtkada -- package gtk.text missing tonikaparallele
2018-01-31 20:14 ` Dmitry A. Kazakov
2018-01-31 20:37   ` tonikaparallele
2018-01-31 20:50   ` tonikaparallele
2018-01-31 21:06     ` Dmitry A. Kazakov
2018-02-01 16:16       ` tonikaparallele
2018-02-01 17:39         ` Dmitry A. Kazakov
2018-02-01 19:31           ` tonikaparallele

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox