Re: CAPI:SLIDER panes
On Wed, Aug 27, 2008 at 3:51 PM, Martin Simmons <martin@lispworks.com> wrote:
>
>>>>>> On Fri, 22 Aug 2008 15:55:57 -0400, Joshua TAYLOR said:
>>
>> Hi all,
>>
>> I'm trying to use a CAPI:SLIDER pane, and I have a few questions. From
>> the example application maze.lisp, it seems that to find the value of
>> the of the slider pane, one ought to use CAPI:RANGE-SLUG-START, though
>> I didn't find this explicitly stated anywhere. Is this correct?
>
> Yes.
>
>
>> Also, should there be a noticeable effect in specifying true or false
>> for :SHOW-VALUE-P? I thought maybe it would change whether the slider
>> automatically updated after programmatic changes to
>> CAPI:RANGE-SLUG-START, but in the following it doesn't seem to make a
>> difference:
>
> No, sorry, Cocoa doesn't implement this.
Ah, OK. I saw "Note: show-value-p is ignored on Microsoft Windows."
but didn't see anything about Cocoa. I guess this is only for Motif
then. I'm just curious, what does it do? (I don't have an X11 setup
handy to try this out.)
>> Finally, the values from the slider pane (retrieved using
>> CAPI:RANGE-SLUG-START) are integral values. This is what I'm looking
>> for, but I'm wondering if there's a way to get the slider to `click'
>> to the particular integer values.
>
> Not at the moment, but I'll add it as a feature request.
OK, thanks!--
//JT