~victored/concerto/trunk

« back to all changes in this revision

Viewing changes to src/widgets/image-view/image-view-item.vala

  • Committer: Victor Martinez
  • Date: 2013-07-19 06:33:14 UTC
  • Revision ID: victoreduardm@gmail.com-20130719063314-q4mw6ixxe9c773kp
image-view: add handler for selections and item sorting

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 * (version 3 or later). See the COPYING file in this distribution. 
6
6
 */
7
7
 
8
 
public class Concerto.Widgets.ImageViewItem : Object {
 
8
public abstract class Concerto.Widgets.ImageViewItem : Object {
 
9
    public signal void changed (ImageViewItem self);
 
10
 
9
11
    public Gdk.Pixbuf image { get; set; }
10
12
    public string title { get; set; }
11
13
    public string subtitle { get; set; }
14
16
        this.image = pix;
15
17
        this.title = title;
16
18
        this.subtitle = subtitle;
 
19
        notify.connect (() => changed (this));
17
20
    }
 
21
 
 
22
    public abstract void select ();
18
23
}
19
24