Re: [Vala] idea: do later w/ g_idle_add



This can sometimes be quite useful, in python I used to have a
@delayed decorator
that will wrap the function/method into a g_idle_add or g_timeout_add.

On Tue, Mar 18, 2008 at 11:22 AM, Vlad Grecescu <b100dian gmail com> wrote:
While reading through JavaFX's docs, i kind of liked the idea of

 do later {
    ....
 }

 (here's the link:
 https://openjfx.dev.java.net/JavaFX_Programming_Language.html#do_later)

 I suppose java.awt.EventQueue.invokeLater functionally the same as GLibs
 g_idle_add () with a function returning FALSE.

 What do you think?

 --
 Vlad

 _______________________________________________
 Vala-list mailing list
 Vala-list gnome org
 http://mail.gnome.org/mailman/listinfo/vala-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]