tootle-linux-client/src/Widgets/Widgetizable.vala

15 lines
371 B
Vala

public interface Tootle.Widgetizable : GLib.Object {
public virtual Gtk.Widget to_widget () throws Oopsie {
throw new Tootle.Oopsie.INTERNAL ("Widgetizable didn't provide a Widget!");
}
public virtual void open () {
warning ("Widgetizable didn't provide a way to open it!");
}
public virtual void resolve_open (InstanceAccount account) {
this.open ();
}
}