This is a nice pull request even, I've merged it.
Is there a simple way to automatically detect and fill the tests lists?
Also, what extra features would be nice to see in this template ?
Thanks!
On Fri, Feb 5, 2016 at 3:44 AM, Evan Nemerson wrote:
> You're missing
To emit signals in Vala, you just call them like methods
textView.button_press_event ();
On Fri, Feb 5, 2016 at 9:06 AM Gilzad Hamuni wrote:
> Just for the integrity of this topic.
>
> One solution to pass/fire an event programmatically is to use
> GLib.Signal.emit_by_name(),
Please don't do that. If you want to force a Perl dependency for your
own project that's fine, but for a template project it's a bad idea.
People using the template will probably be unable to build on Windows.
Also, keep in mind that sometimes test names will be automatically
generated. For
These are nice suggestion Evan! I'll implement some of them in my main
project and then copy it to the template on the go, thank you vm!
BTW, I just wrote a perl script the find test names in the .vala files and
added to the template project.
On Fri, Feb 5, 2016 at 4:51 PM Evan Nemerson
Oh, that was too easy to think of. Still learning..
Thanks, Ben :)
Gesendet: Freitag, 05. Februar 2016 um 18:22 Uhr
Von: "Ben Iofel"
An: "Gilzad Hamuni" , Vala-list
Betreff: Re: [Vala] pass signal to covered window
To emit signals in
On Fri, 2016-02-05 at 13:34 -0200, Felipe Lavratti wrote:
> This is a nice pull request even, I've merged it.
>
> Is there a simple way to automatically detect and fill the tests
> lists?
I don't think so. CMake requires knowledge of the test names at
configure time, so even if you could
Just for the integrity of this topic.
One solution to pass/fire an event programmatically is to use
GLib.Signal.emit_by_name(), e.g.:
drawingArea.button_press_event.connect( (event) => {
GLib.Signal.emit_by_name(textView, "button-press-event", event); } );
However, if the signal of interest