GtkButton in GtkTreeView?

Lazyweb: is it possible to put a GtkButton in a GtkTreeView? If yes, pointers to example code welcome. Thanks.

Published by


Richard has over 10 years of experience developing open source software. He is the maintainer of GNOME Software, PackageKit, GNOME Packagekit, GNOME Power Manager, GNOME Color Manager, colord, and UPower and also contributes to many other projects and opensource standards. Richard has three main areas of interest on the free desktop, color management, package management, and power management. Richard graduated a few years ago from the University of Surrey with a Masters in Electronics Engineering. He now works for Red Hat in the desktop group, and also manages a company selling open source calibration equipment. Richard's outside interests include taking photos and eating good food.

One thought on “GtkButton in GtkTreeView?”

  1. I think the only way is to create your own GtkCellRendererButton, drawing the button with gtk_paint_box (maybe looking at _gtk_button_paint in gtkbutton.c).

Comments are closed.