[pygtk] Setting placement property of a BonoboDockItem

2005-02-19 Thread Gabriel Munoz
I have a BonoboDockItem that is set by default placement on top. I need to be able to change this at run-time. I have the following glade setup: BONOBO_DOCK_TOP 2 0 0 BONOBO_DOCK_ITEM_BEH_EXCLUSIVE|BONOBO_DOCK_ITEM_BEH_LOCKED So, all I need to do is change the "placement

[pygtk] Multiple selection in treeview, was: Re: CellRendererText doesn't have clicked signal now what?

2005-02-19 Thread Abel Daniel
Thomas Mills Hinkle writes: > An additional query -- does anyone know if it's possible to select and > arbitrary range of a treeview, a la spreadsheets? I'd like to let the > user, for example, select four rows of one column so that I could > offer e.g. a "fill down" action. Sure. You have to enab

Re: [pygtk] CellRendererText doesn't have clicked signal now what?

2005-02-19 Thread Chris Lambacher
You can attach to the button-pressed signal of the tree view. This will give you mouse coordinates. You can then get the column from TreeView.get_path_at_pos Something similar to what you want is in FAQ 13.17 http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.017.htp -Chris On Sat

Re: [pygtk] CellRendererText doesn't have clicked signal now what?

2005-02-19 Thread Brian
On Sat, 2005-19-02 at 14:15 +0200, Nikos Kouremenos wrote: > I have a treeview with: > > COL1 COL2 COL3 > toggle | string | string > > > I want if the user clicks on the text on a row of *col2* or *col3* to > toggle the bool in the *col1*. > I cannot find a way to do that in GTK. > Her

Re: [pygtk] CellRendererText doesn't have clicked signal now what?

2005-02-19 Thread Thomas Mills Hinkle
On Sat, 19 Feb 2005 14:15:11 +0200, Nikos Kouremenos <[EMAIL PROTECTED]> wrote: http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.026.htp > but even if it was, I cannot understand what it says [so either way plz > someone that knows what it's saying edit it to become more easy to > und

[pygtk] CellRendererText doesn't have clicked signal now what?

2005-02-19 Thread Nikos Kouremenos
I have a treeview with: COL1 COL2 COL3 toggle | string | string I want if the user clicks on the text on a row of *col2* or *col3* to toggle the bool in the *col1*. I cannot find a way to do that in GTK. with respect to David Cook, I don't know if this is useful or not: http://www.asyn