mail-archives/gtk-sharp-list/2004-August/004741.html

74 строки
2.7 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:02:55 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] Treeview and button press events
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:colbec%40ca.inter.net">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="004739.html">
<LINK REL="Next" HREF="004743.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] Treeview and button press events
</H1>
<B>Colin Beckingham
</B>
<A HREF="mailto:colbec%40ca.inter.net"
TITLE="[Gtk-sharp-list] Treeview and button press events">colbec@ca.inter.net
</A><BR>
<I>Fri, 20 Aug 2004 16:26:02 -0400</I>
<P><UL>
<LI> Previous message: <A HREF="004739.html">[Gtk-sharp-list] Where is mono online Documentation?
</A></li>
<LI> Next message: <A HREF="004743.html">[Gtk-sharp-list] Glade and ToolBar
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4741">[ date ]</a>
<a href="thread.html#4741">[ thread ]</a>
<a href="subject.html#4741">[ subject ]</a>
<a href="author.html#4741">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I'm a beginner with GTK experimenting with the treeview using Mono 1.0
and have managed to follow several useful examples to get parts of the
treeview to respond differently depending on which button was clicked,
for example to produce a popup menu if and only if mouse button three is
clicked.
The column headings are a bit different. If I set my headings to be
clickable and reorderable then it responds very well to the click and
does what is asked. I don't see any ButtonPressHandlerEvent associated
with the header, however it is plainly there for the treeview as a whole.
I hesitate to report this as a bug since it might be by design. It seems
quite valid to have a special set of operations associated with a column
that could be separate from those operations in a member cell of that
column.
How to get a column heading to respond to a right click? Thanks for any
hints here.
Colin Beckingham
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="004739.html">[Gtk-sharp-list] Where is mono online Documentation?
</A></li>
<LI> Next message: <A HREF="004743.html">[Gtk-sharp-list] Glade and ToolBar
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4741">[ date ]</a>
<a href="thread.html#4741">[ thread ]</a>
<a href="subject.html#4741">[ subject ]</a>
<a href="author.html#4741">[ author ]</a>
</LI>
</UL>
</body></html>