18 lines
363 B
Vala
18 lines
363 B
Vala
|
using GLib;
|
||
|
|
||
|
namespace Deskcandy {
|
||
|
[GtkTemplate (ui = "/moe/solarpunk/Deskcandy/window.ui")]
|
||
|
public class Window : Gtk.ApplicationWindow {
|
||
|
|
||
|
public Window (Gtk.Application app) {
|
||
|
Object (application: app);
|
||
|
}
|
||
|
|
||
|
[GtkCallback]
|
||
|
private void on_window_destroy(Gtk.Widget self) {
|
||
|
message("bye");
|
||
|
this.application.quit();
|
||
|
}
|
||
|
}
|
||
|
}
|