[Vala] [vala] getopt

2012-10-19 Thread David Boesner
Hi everyone, I want to extract which parameters and values I have passed to my program. I used getopt, when I solved that problem in c. Is there an vala counterpart to getopt? Regards David * * this != here ___ vala-list mailing list vala-list@gnome.o

[Vala] getopt

2012-10-19 Thread David Boesner
Hi everyone, I want to extract which parameters and values I have passed to my program. I used getopt, when I solved that problem in c. Is there an vala counterpart to getopt? Regards David * * this != here ___ vala-list mailing list vala-list@gnome.o

[Vala] bind_property BindingTransformFunc

2012-09-16 Thread David Boesner
Hi guys, I have to follwing code: var check_button = ... make instance of Gtk.CheckButton var my_combobox = ... make instance of Gtk.ComboBox check_button.bind_property( "active", my_combobox, "sensitive", Bindi

[Vala] Solved: Gtk+-3.0 Gtk.Entry fontcolor

2012-08-13 Thread David Boesner
Hi, I've found the solution. The method I've used is deprecated. This works: var red = RGBA(); red.parse("#ff"); my_entry.override_color(StateFlags.NORMAL, red); Regards David ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/

[Vala] Gtk+-3.0 Gtk.Entry fontcolor

2012-08-13 Thread David Boesner
Hi everyone, I try to change the color of the text in a Gtk.Entry. I try it this way: Gdk.Color red; if(Gdk.Color.parse("RED",out red)==true); print("\that works"); // that gets printed if(my_entry.text.length >= 9 && !(my_entry.text[8].to_stri

[Vala] @see

2012-07-20 Thread David Boesner
Hi everyone, I'm commenting my Vala code at the moment. I'm checking out this site: http://valadoc.org/#!wiki=markup And I wonder what the @see taglet should be good for. I'm missing an exlpaination there. Thanks in advande David ___ vala-list mailing

[Vala] false: #include GirName.h

2012-07-11 Thread David Boesner
Hi everyone, I'm new to vala. Right now I'm working on a project which uses several GObject classes and tries to access them in a vala file throught GObject introspection. The strange this is, that when I try to compile my vala file Vala tries to include a headerfile (in the c header file, which

[Vala] Segfault

2012-06-28 Thread David Boesner
Hi everyone, I'm very new to vala (know it since yesterday). Right now I'm through the tutroial. I was playing around with classes and interfaces a bit. While trying out some stuff I produced this code: I have no idea why I produce a segfault in the line below. I would be very happy if someone