public TransmissionWidget() {
this.Build();
this.animation = new Timer() {
Interval = 100
};
this.animation.Elapsed += delegate {
Gtk.Application.Invoke(delegate {
this.transmissionProgressBar.Pulse();
});
};
this.eventBox.EnterNotifyEvent += (object o, Gtk.EnterNotifyEventArgs args) => {
this.eventBox.State = Gtk.StateType.Prelight;
};
this.eventBox.LeaveNotifyEvent += (object o, Gtk.LeaveNotifyEventArgs args) => {
this.eventBox.State = Gtk.StateType.Normal;
};
}