Re: Treeview with editable checkboxes besides items?



On Wed, 2007-06-20 at 13:58 +0200, Milosz Derezynski wrote:
> On 6/19/07, Jef Driesen <jefdriesen hotmail com> wrote:
>         
>         There is one minor issue now. Clicking the name (not the
>         checkbox!) also
>         toggles the checkbox. This is annoying if the user only wants
>         to change
>         the selection. Is there a way to prevent this?
> 
> That's a problem with current Gtk+2: When you have more than one cell
> renderer in _the same_ column, and the Toggle cell renderer is one of
> them, then clicking that column inside that row will always cause the
> toggled callback of the Toggle cell renderer to be called, no matter
> into which renderer's area you actually click in that column. 
> 
> I'm grieving this myself atm as we have a playlist kind of thing in
> our player here: http://futurepast.free.fr/bmpx-columns1.jpg, and i'd
> like to stuff the checkbox into the same column as the title (i think
> it's a good usability detail to have it not being a separate column,
> or rather to have it be in the same column as the title). However, due
> to current Gtk+, this isn't possible. 

If you are sure of this then you should open a GTK+ bug.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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