mail-archives/gtk-sharp-list/2006-February/006942.html

82 строки
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] Making TextView implement CellEditable
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Making%20TextView%20implement%20CellEditable&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="006941.html">
<LINK REL="Next" HREF="006943.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] Making TextView implement CellEditable</H1>
<B>Pedro Castro</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Making%20TextView%20implement%20CellEditable&In-Reply-To="
TITLE="[Gtk-sharp-list] Making TextView implement CellEditable">noup at users.sourceforge.net
</A><BR>
<I>Sun Feb 12 12:22:34 EST 2006</I>
<P><UL>
<LI>Previous message: <A HREF="006941.html">[Gtk-sharp-list] GtkHtml Superscript and Subscript problem
</A></li>
<LI>Next message: <A HREF="006943.html">[Gtk-sharp-list] Male Gtk# come with program
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6942">[ date ]</a>
<a href="thread.html#6942">[ thread ]</a>
<a href="subject.html#6942">[ subject ]</a>
<a href="author.html#6942">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I've extended the TextView class in a class that also implements the
CellEditable interface. I then return this class in the StartEditing method
of a custom cell renderer.
However, compile goes well but at runtime my class isn't recognized as a
CellEditable. The error message:
Gtk-CRITICAL **: gtk_tree_view_column_cell_process_action: assertion
`GTK_IS_CELL_EDITABLE (*editable_widget)' failed
How can i make a custom class be detected as a CellEditable?
--
Pedro Castro
<A HREF="http://mega.ist.utl.pt/~prmc">http://mega.ist.utl.pt/~prmc</A>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060212/acb006da/attachment.html">http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060212/acb006da/attachment.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="006941.html">[Gtk-sharp-list] GtkHtml Superscript and Subscript problem
</A></li>
<LI>Next message: <A HREF="006943.html">[Gtk-sharp-list] Male Gtk# come with program
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6942">[ date ]</a>
<a href="thread.html#6942">[ thread ]</a>
<a href="subject.html#6942">[ subject ]</a>
<a href="author.html#6942">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
mailing list</a><br>
</body></html>