Re: GtkCellRenderer for GtkButton or GtkSwitch
On 05/03/2013 11:30 AM, D.H. Bahr wrote: Is it possible to display a GtkButton or a GtkSwitch within a TreeView row (that is a GtkCellRenderer of some kind)? Yes, but unfortunately there isn't a convenience function for it. You will have to create a custom renderer. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GtkCellRenderer for GtkButton or GtkSwitch
Ok, does anyone have some working code with similar effects? I've never coded my own widgets before, so I'm not sure how to do so. Best regards El vie, 03-05-2013 a las 12:01 -0500, Michael Cronenworth escribió: On 05/03/2013 11:30 AM, D.H. Bahr wrote: Is it possible to display a GtkButton or a GtkSwitch within a TreeView row (that is a GtkCellRenderer of some kind)? Yes, but unfortunately there isn't a convenience function for it. You will have to create a custom renderer. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list http://www.uci.cu http://www.uci.cu ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GtkCellRenderer for GtkButton or GtkSwitch
On 05/03/2013 02:29 PM, D.H. Bahr wrote: Ok, does anyone have some working code with similar effects? I've never coded my own widgets before, so I'm not sure how to do so. You can take a look at this page[1], but I cannot vouch for its relevecy with current GTK2 or GTK3. Your question was asked[2] a few years ago, which turned up in my Google search. [1] http://scentric.net/tutorial/sec-custom-cell-renderers.html [2] https://mail.gnome.org/archives/gtk-app-devel-list/2008-September/msg00109.html ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GtkCellRenderer for GtkButton or GtkSwitch
On Fri, May 3, 2013 at 12:53 PM, Michael Cronenworth m...@cchtml.comwrote: On 05/03/2013 02:29 PM, D.H. Bahr wrote: Ok, does anyone have some working code with similar effects? I've never coded my own widgets before, so I'm not sure how to do so. Your question was asked[2] a few years ago, which turned up in my Google search. [2] https://mail.gnome.org/archives/gtk-app-devel-list/2008-September/msg00109.html This message is probably also relevant: [3] https://mail.gnome.org/archives/gtk-list/2009-October/msg00012.html ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list