コード例 #1
0
    static void HandleButtonPress(object o, Clutter.ButtonPressEventArgs args)
    {
        Actor c = (Stage.Default as Stage).GetActorAtPos(args.Event.X, args.Event.Y);

        if (c != null)
        {
            c.Hide();
        }
    }
コード例 #2
0
 private void HandleButtonPressEvent(object o, Clutter.ButtonPressEventArgs args)
 {
     Clutter.EventHelper.GetCoords(args.Event, out drag_x0, out drag_y0);
     args.RetVal = true;
 }