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

Re: gEDA-user: Layer button backgrounds



On Fri, 2011-08-19 at 16:32 -0700, Andrew Poelstra wrote:

> Yes, I found one -- and it is not actually that dirty. You can
> intercept the button-press-event signal, use the function
> 
>   gtk_tree_view_get_path_at_pos ()
> 
> to figure out what cell is clicked on, then prevent the propagation
> of the button-press-event if it was a swatch. (In this case, you
> have to toggle the visibility in the tree model yourself.)

Cool.

Here's a fun idea - had you considered using the tree view's _tree_
feature to show layer groups?

That might let us allow switching off entire layer groups, or individual
layers within them.


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)

Attachment: signature.asc
Description: This is a digitally signed message part


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user