Re: Showing GtkButton in table view



On Tue, Dec 22, 2009 at 01:25:18PM +0000, Andrew Wood wrote:
Is there a way to show a standard GtkButton in a table view.

I suppose you mean GtkTreeView.

I can find 
examples for toggle buttons but  I want a standard button in each row.

No, that's not available and it is possible either, namely because
GtkCellRenderer has a relatively limited interface and do not receive
all events that are necessary to simulate a GtkButton.

You can write a cell renderer that will respond to clicks (or find an
already written one, people have done this) but it will not behave
like a real GtkButton.

Yeti




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