Re: [Vala] How to read serial device using Vala.

2010-06-22 Thread Dr. Michael J. Chudobiak
On 06/22/2010 07:39 PM, Svetoslav Trochev wrote: I have a serial device. I need a small program that reads the data from that device, plot the data on the screen and save it in a log file. I am absolute Vala newbie, but have some experience with Serial port communications and C/C++. This is my ha

[Vala] How to read serial device using Vala.

2010-06-22 Thread Svetoslav Trochev
Hi Everyone, I have a serial device. I need a small program that reads the data from that device, plot the data on the screen and save it in a log file. I am absolute Vala newbie, but have some experience with Serial port communications and C/C++. This is my hands on learning project. Can someone

[Vala] Gdk.EventKey member Gdk.Window gets destroyed when eventkey is freed-> widget crashes

2010-06-22 Thread Julius Pfrommer
Hey, my aim is to simulate a keypress public void send_eventkey(string keyname) { Gdk.Event event = new Gdk.Event(Gdk.EventType.KEY_PRESS); uint keyval = Gdk.keyval_from_name(keyname); Gdk.KeymapKey[] keys; Gdk.Keymap.get_default().get_entries_for_keyval(keyval, ou

[Vala] vala on mac

2010-06-22 Thread celil
I just tried to unsuccessfully build the development version of Vala from the git repository on a Snow Leopard 10.6.4 machine. Doing the usual steps git clone git://git.gnome.org/vala cd vala ./autogen.sh results in an error checking for valac... /usr/local/bin/valac ./con

Re: [Vala] compiling without header files

2010-06-22 Thread pancake
Nope. The same reason you cant build without missing libraries. Vapis are not meant to fully express .h contents. Theres no defines, no enum fixed values, not all struct fields needs to be exposed, etc It could work for simple cases but surely not for real cases. A part that header files ca

[Vala] compiling without header files

2010-06-22 Thread celil
Hello, I am trying to build the valencia plugin to gedit under the mac. However, it is quite a nightmare to install gedit from source with its many dependencies, so I am just planning to download the mac binary from the official website. Since all the header file information is already encod