Re: [Vala] How to change the widget color

2015-03-11 Thread Erick Pérez Castellanos
Hi: You need to take into account that vala is only a kind-of preprocessor that converts Vala language into C, so using devhelp and Gtk+ [1] documentation works perfectly fine. You need to use GtkCssProvider to do this. gtk_widget_override family of functions are deprecated. 1. Obtain your

Re: [Vala] Clutter actor class in Vala (newb)

2013-04-10 Thread Erick Pérez Castellanos
What you're missing is this: # diff -u clutter.orig.vala clutter.vala --- clutter.orig.vala2013-04-10 13:09:58.691316850 -0400 +++ clutter.vala2013-04-10 13:09:08.617986596 -0400 @@ -52,6 +44,8 @@ //Make my custom Actor: var a = new

Re: [Vala] regarding Gtk.Application managing a single instance app

2013-02-04 Thread Erick Pérez Castellanos
/* I guess the issues is the way you handle the app invocation, you're trying to parse the command-line arguments yourself, and that could be causing the errors. I recommend to look into the vala application inside gnome that use Gtk.Application. Gnome Contacts, Gnome Boxes does that and I think

Re: [Vala] webkitgtk-3 how-to? (Frederik)

2013-01-30 Thread Erick Pérez
On 07/02/2011 09:22 PM, bsquared wrote: Hello, How can I configure vala to use libwebkitgtk-3.0? Yes, you must copy webkit-1.0.vapi to webkitgtk-3.0.vapi webkit-1.0.deps to webkitgtk-3.0.deps then edit webkitgtk-3.0.deps and replace gdk-2.0 with gdk-3.0 gtk+-2.0 with

[Vala] Gtk3 vapi

2011-01-27 Thread Erick Pérez Castellanos
Hi: I'm planning to some Gtk3 developement but the vala package in my distro doesn't ship with Gtk3 vapi. How can I get it ? Erick ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] benchmarks on Vala?

2011-01-18 Thread Erick Pérez Castellanos
I don't know about any recent benchmarks, but I think Vala will generally be a bit slower than Mono, but more memory efficient. Slower, really? Would that be true as well for the dova profile? I haven't prove it but theoretically can't be slower since Mono applications are running on

Re: [Vala] C Code Interface

2010-12-18 Thread Erick Pérez Castellanos
Look at this article: http://mike.trausch.us/blog/2009/02/18/vala-bindings-for-non-gobject-type-c-libraries I forgot to say this, the code I need is GObject based, is exactly code from Gtk source Code, I'm planning to use out, there's two classes Gtk widgets the use internally, I'm planning

[Vala] GLib warning with vala code.

2010-12-18 Thread Erick Pérez Castellanos
Hi: I'm using bind_property methods of GObject in the normal way, and I'm getting GLib warning, from the program when running, Let's say, the code works fine for me, it just bothers me to see the GLib warning every time I run the app, when really there's no need for it. I think it might

[Vala] C Code Interface

2010-12-17 Thread Erick Pérez Castellanos
Hey List: I have a question, I found c code that I need to include in a Autotools project written in vala, and be able to use the objects defined in the c code files in vala. Does anyone knows how to do this, or any tip or so ? Thxs ___

[Vala] Gtk.RecentFilterInfo and some interface issues.

2010-12-14 Thread Erick Pérez Castellanos
Hi: I have two issues right now coding in vala: First: I'm using Gtk.RecentFilterInfo, and i got this: Gtk.RecentFilterInfo a = new Gtk.RecentFilterInfo(); error: 'Gtk.RecentFilterInfo' does not have a default constructor and my question is how to instantiate that. Now I've found that in Gtk

Re: [Vala] Bug in vala

2010-12-10 Thread Erick Pérez Castellanos
And btw, I don't see what problem there could be when passing char** to a const gchar* const*, maybe your compiler is a bit too paranoid? (and maybe there is a complicated corner case I don't see). Not the same thing, just and my compiler might be too paranoid, anyway is typical gcc 4.5 or

[Vala] Bug in vala

2010-12-09 Thread Erick Pérez Castellanos
Is this a bug ??? I'm using Glib.Settings API, and specifically this: public bool set_strv (string key, [CCode (array_length = false)] string[] value) from that class and when using as it says passing an string array as second parameters I'm getting a warning from the compiler:

[Vala] Detailed signals

2010-12-02 Thread Erick Pérez Castellanos
Hi: How can I connect to a detailed signal, eg: 'changed::x' as you can see in the GSettings Devhelp code: -sample--- The changed signal void user_function (GSettings *settings, gchar *key, gpointer user_data) : Run Last / Has Details The changed signal is emitted

Re: [Vala] Call cairo_destroy() function explicilty

2010-10-06 Thread Erick Pérez
Thxs that worked out ! Really thxs.   4. Re: Call cairo_destroy() function explicilty (Jonathan Ryan) -- Message: 4 Date: Wed, 29 Sep 2010 17:47:23 -0400 From: Jonathan Ryan jj...@drexel.edu To: vala-list@gnome.org Subject: Re: [Vala] Call cairo_destroy()

[Vala] Call cairo_destroy() function explicilty

2010-09-29 Thread Erick Pérez
Hi: I was experimenting with cairo and i need to call cairo_destroy function explicitly. cairo_destroy its tagged with unref_function in cairo.vapi but i dunno how to call it explicitly. The reason is: when using Clutter.CairoTexture you need to call cairo_destroy on the cairo_context to

[Vala] Vala - Clutter bindings

2010-09-24 Thread Erick Pérez
Hi: I'm trying to use clutter-dev 1.3.14 from vala, but i need to regenerate the bindings. Someone knows how to do that ?? I'm using the tutorial and gettting some abort messages. Thxs ___ vala-list mailing list vala-list@gnome.org