Re: Showing GtkButton in table view
- From: Andrew Wood <ajwood theiet org>
- To: gtk-app-devel-list gnome org
- Subject: Re: Showing GtkButton in table view
- Date: Tue, 22 Dec 2009 14:34:54 +0000
OK thanks
On 22 Dec 2009, at 14:08, David NeÄas wrote:
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
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]