bool FadeToTarget(double target) { //Log.Debug ("FadeToTarget {0}", target); Realize(); this.target = target; fade.Start(); if (target > 0.0) { hide.Restart(); } return(false); }
void HandleViewMotion(object sender, Gtk.MotionNotifyEventArgs args) { ShowCursor(); hide_cursor_delay.Restart(); int x, y; Gdk.ModifierType type; ((Gtk.Widget)sender).GdkWindow.GetPointer(out x, out y, out type); if (y > (Allocation.Height * 0.75)) { controls.Visibility = ControlOverlay.VisibilityType.Partial; scroll.ShowControls(); } }