[Vala] Handling multiline strings

2013-06-10 Thread Satyajit Sahoo
to improve redability. How can I make it ignore the tabs used for code indention while writing to the file? -- Satyajit Sahoo Profile - Facebook http://facebook.com/satya164, Google+http://plus.google.com/u/0/114564489020097923600 Artwork - DeviantArt http://satya164.deviantart.com

Re: [Vala] Handling multiline strings

2013-06-10 Thread Satyajit Sahoo
); ___ Mario Daniel Ruiz Saavedra Estudiante Ing. Sistemas - Uninorte mru...@uninorte.edu.co - identi.ca/desiderantes -Original Message- From: Satyajit Sahoo satyajit.ha...@gmail.com Sender: vala-list vala-list-boun...@gnome.org Date: Mon, 10 Jun

Re: [Vala] Handling multiline strings

2013-06-10 Thread Satyajit Sahoo
Thanks. That was of great help. On 11 June 2013 00:09, Evan Nemerson e...@coeus-group.com wrote: On Mon, 2013-06-10 at 18:22 +0530, Satyajit Sahoo wrote: Hi. I'm trying to write a multiline string into a file, e.g. string new = Line 1 and %s Line 2 and %s Line 3 Line 4

[Vala] Use alpha in GtkColorButton in GTK3 with Vala

2013-06-01 Thread Satyajit Sahoo
and the sample on gnome's website doesn't use alpha. Can anyone help me fix the warning messages? I'm using GTK 3.8 and Vala 0.20.1. -- Satyajit Sahoo Profile - Facebook http://facebook.com/satya164, Google+http://plus.google.com/u/0/114564489020097923600 Artwork - DeviantArt http://satya164

Re: [Vala] Use alpha in GtkColorButton in GTK3 with Vala

2013-06-01 Thread Satyajit Sahoo
Thanks all. It works perfectly. I hope the code samples in valadoc.org can be updated though. On 2 June 2013 02:41, Evan Nemerson e...@coeus-group.com wrote: On Sat, 2013-06-01 at 22:27 +0200, Jonas Kulla wrote: 2013/6/1 Satyajit Sahoo satyajit.ha...@gmail.com I want to use an alpha

[Vala] Load GLib.KeyFile from Glib.File

2012-12-27 Thread Satyajit Sahoo
of the file, since I cannot convert GLib.File to string. Any help is highly appreciated. -- Satyajit Sahoo Profile - Facebook http://facebook.com/satya164, Google+http://plus.google.com/u/0/114564489020097923600 Artwork - DeviantArt http://satya164.deviantart.com

[Vala] Bunch of compilation warnings in a Vala GTK3 app

2012-12-27 Thread Satyajit Sahoo
from incompatible pointer type [enabled by default] -- Satyajit Sahoo Profile - Facebook http://facebook.com/satya164, Google+http://plus.google.com/u/0/114564489020097923600 Artwork - DeviantArt http://satya164.deviantart.com ___ vala-list mailing list

[Vala] Convert RGB color value to HEX

2012-09-03 Thread Satyajit Sahoo
Hi. I need to get color value in HEX in my vala program. Basically, I get a color expression like this, rgb(red, green, blue) or rgba(red, green, blue, alpha) But I need to convert it into a format #rrggbb I cannot seem to understand how to do it.

Re: [Vala] Convert RGB color value to HEX

2012-09-03 Thread Satyajit Sahoo
Thanks for all the help. really grateful. Here is the code if someone wants to review. On Monday, September 3, 2012, Jonas Kulla wrote: 2012/9/3 Satyajit Sahoo satyajit.ha...@gmail.com javascript:; Hi. I need to get color value in HEX in my vala program. Basically, I get a color

[Vala] GtkColorsButton

2012-09-02 Thread Satyajit Sahoo
I'm trying to make a small GUI with vala and GTK3 to configure colors of a GTK theme. I'm quite new to vala and GTK. I didn't get any samples about a color chooser. But finally I could make it with a ColorButton. Bit there are still problems. It shows deprecated function warnings when compiling.

[Vala] Compilation errors

2012-09-01 Thread Satyajit Sahoo
: *** [gtk-theme-config] Error 1 -- Satyajit Sahoo Blog - Funsurf http://www.funsurf-blog.blogspot.com Profile - Facebook http://facebook.com/satya164, Google+http://plus.google.com/u/0/114564489020097923600 Twitter - @satya164 http://twitter.com/satya164 Artwork - DeviantArt http://satya164