denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Paste


From: Nils Gey
Subject: Re: [Denemo-devel] Paste
Date: Thu, 6 May 2010 23:06:19 +0200

On Thu, 6 May 2010 21:19:27 +0200
Nils Gey <address@hidden> wrote:

> 2) (d-GetClipObjType 1 0) returns -1 if there is only one staff in the 
> selection. Is it possible to simply return #f if the first parameter, the 
> staffcounter, is invalid?

More explanation:

(d-GetClipObjType x y) describes the type of object which is in the clipboard 
on position x (relative staff where 0 is the first copied one) and y (same for 
objects like notes or directives)

It returns a number from -1 to ~15 describing the type. 0 means 
note/chord/rest... 8 measurebreak and so on. If there is no object at x/y it 
returns -1. But it should return #f. 

Nils




reply via email to

[Prev in Thread] Current Thread [Next in Thread]