Session 3 – Part 2 – Javascript

After shared a lunch sponsored by GNOME and took many photos

we continue with Javascript with the help of Gerson Garrido, he helped us with the sintaxis, checking what GNOME projects are available is this language and also learn to use gjs.

We start with a simple example that let us to display a window

1

to compile and run we are going to use gjs

2

and we have this

3

Then we were seeing this project in Javascript called piano.

And for the end of the day we have to create some like this

5

So, we had to use grid.attach for the position in the grid that have 5 arguments, the first one to tell which element we are going to put in that position, 2: top, 3:left 4:width 5:lenght.

4

You can see all this examples in my repository here.

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión /  Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión /  Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión /  Cambiar )

Conectando a %s