Re: [Vala] multithreading -> weird behaviour on win(msys) and macOS



Of course there is a "return false;" at the end of

GLib.Timeout.add(0, () =>
{
    buildTextView.buffer.insert_at_cursor(line, -1);
    var mark = buildTextView.buffer.get_insert();
    buildTextView.scroll_to_mark(mark, 0, true, 1, 1);
    return false;
}


Am 12.03.19 um 16:48 schrieb Wolfgang Mauer:
GLib.Timeout.add(0, () =>
                        {
buildTextView.buffer.insert_at_cursor(line, -1);
                            var mark = buildTextView.buffer.get_insert();
buildTextView.scroll_to_mark(mark, 0, true, 1, 1);
                        }


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