<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 13, 2013 at 2:53 AM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When I run the program, the first item is selected initially on<br>
Unix/Gtk. Clicking the item doesn't change the selection, and so the<br>
callback isn't triggered.<br>
<br>
If I add<br>
<br>
 (send lb select 0 #f)<br></blockquote><div><br></div><div>Oh, good, I had tried different things like (set-selection #f) but this did not work (as the docs say). Thanks!<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



before showing the frame, then the first item is not selected when the<br>
frame appears, and clicking the first item triggers the callback.<br>
<br>
I see that no item is initially selected on Mac OS X and Windows, so it<br>
makes sense to change Unix/Gtk to be more consistent. In fact, the<br>
current Gtk binding for `list-box%` goes out of its way to make<br>
something selected, so I can easily disable it. I've pushed the change.<br>
<br>
Does that sound right?<br></blockquote><div><br></div><div>Yes, sounds right. It's probably best to keep the most consistent behavior across platforms.<br><br></div><div>Thanks,<br></div><div>Laurent<br></div></div><br>

</div></div>