[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Documentation of Scheme interface
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Documentation of Scheme interface |
Date: |
Fri, 03 Oct 2008 19:59:56 +0100 |
On Fri, 2008-10-03 at 17:58 +0100, Richard Shann wrote:
> On Fri, 2008-10-03 at 17:35 +0100, Richard Shann wrote:
> > > cursorclef stores the value of the clef at the current position.
> > Is it re-calculated every time you click with the mouse, or do
> > CursorRight/Left?
> This thought has prompted me to look in mousing.c where I remember
> seeing
> /* Quickly redraw to reset si->cursorclef. */
> How you can persuade gtk to be quick about it I don't know. I think this
> may be the origin of the bug that I suspect is lurking there: what is
> there to guarantee that gtk is actually going to call the draw routine?
> Some of these bugs may start coming home to roost as we control Denemo
> from scripts - there is no idle time.
I've tried replacing the "quick" draw with this:
/* force redraw to reset si->cursorclef. */
scorearea_expose_event (gui->scorearea, NULL);
which seems to work ok, and should be reliable.
Richard
- [Denemo-devel] Documentation of Scheme interface, Richard Shann, 2008/10/02
- Re: [Denemo-devel] Documentation of Scheme interface, Jeremiah Benham, 2008/10/03
- Re: [Denemo-devel] Documentation of Scheme interface, Richard Shann, 2008/10/03
- Re: [Denemo-devel] Documentation of Scheme interface, Jeremiah Benham, 2008/10/04
- Re: [Denemo-devel] Documentation of Scheme interface, Richard Shann, 2008/10/04
- Re: [Denemo-devel] Documentation of Scheme interface, Jeremiah Benham, 2008/10/04
- Re: [Denemo-devel] Documentation of Scheme interface, Richard Shann, 2008/10/04