Fwd: New GTK+ Binding



That's ambitious!
Thank you!

Is there a source repo?
At present, no. It is in initial development stage. Once its alpha
version is ready, I can make it public.
NOTE: The binding is being written in C. MEDHA can handle shared
libraries (.so files).

I attach an example screenshot. Here is the code:

import [gtk]
new ptr w l
gtk.init()
w=gtk.window()
l=gtk.label()
gtk.label_set_label(l, 'Hello, World!')
gtk.window_set_title(w, 'MEDHA GTK+ Demo')
gtk.window_resize(w, 400, 300)
gtk.container_add(w, l)
gtk.widget_show_all(w)
gtk.main()
exit

Note that connection callbacks are not handled at this stage.

Thank you.

On 1/4/15, John Ralls <jralls ceridwen us> wrote:

On Jan 3, 2015, at 5:14 PM, Nandakumar Edamana <nandakumar96 gmail com>
wrote:

Hello,

I am trying to implement a new programming language. The work is
progressing successfully. Now I have started to write GTK+ 3 binding
for it and it works! I write this mail just to inform you this. Hope
I'll get your guidance in case I need.

That's ambitious! Is there a source repo?

Regards,
John Ralls


Attachment: MEDHA GTK Demo 04-01-2015.png
Description: PNG image



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]