Attaching a menu to the header of a GtkTreeView
- From: Stefano Teso <stefano teso gmail com>
- To: gtk-list gnome org
- Subject: Attaching a menu to the header of a GtkTreeView
- Date: Mon, 7 Feb 2011 12:15:55 +0100
Hello list,
on the quest to solving a Nautilus bug, I've come across the
interesting problem of attaching a popup menu to a GtkTreeView header.
I am sure this question has been asked dozens of times before, but
quickly searching this list with google showed up only one relevant
thread, dated ~2003 -- hence this mail.
Right now I am using the hack described in [1], and it still works as
of GTK 2.9x. But it is still a hack, and I guess it won't stand a
chance of getting accepted into Nautilus master.
Is there any clean solution? I'm willing to subclass GtkTreeView
(unless it requires to write an insane amount of code), but I wouldn't
really know where to start.
Any hints would be very appreciated.
Thanks,
----
Stefano
[1] http://www.mail-archive.com/gtk-list gnome org/msg16163.html
P.S. Note, I'm not subscribed to the list.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]