aboutsummaryrefslogtreecommitdiff
path: root/tests/test-list.vala
blob: 3fcd89e04f90c857f9739f85142cdb1d2fb7c0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

public class TestList : UserList
{
    public TestList (Background bg, MenuBar mb)
    {
        Object (background: bg, menubar: mb);
    }

    public uint num_entries ()
    {
        return entries.length();
    }

    public bool is_scrolling ()
    {
        return mode == Mode.SCROLLING;
    }

}