[gtkmm] Gtkmm-forge digest, Vol 1 #326 - 2 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs.


Today's Topics:

   1. [Bug 102405] New - create_row_drag_icon and custom cell renderer problem (bugzilla-daemon widget gnome org)
   2. [Bug 102405] Changed - create_row_drag_icon and custom cell renderer problem (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri,  3 Jan 2003 03:55:38 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 102405] New - create_row_drag_icon and custom cell renderer problem

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=102405

Changed by pprooi xs4all nl 

--- shadow/102405	Fri Jan  3 03:55:38 2003
+++ shadow/102405.tmp.19768	Fri Jan  3 03:55:38 2003
@@ -0,0 +1,40 @@
+Bug#: 102405
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: TreeView
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: pprooi xs4all nl               
+TargetMilestone: ---
+URL: 
+Summary: create_row_drag_icon and custom cell renderer problem
+
+(I'm not 100% sure if this is a gtkmm problem or a gtk+ API issue)
+ 
+I'm experimenting with a custom cell renderer derived from
+CellRendererText which has its own render_vfunc() method, which works
+fine when drawing normal rows.
+ 
+I'm also using drag & drop with a custom cursor using the
+create_row_drag_icon() method. The problem is that render_vfunc() has a
+refptr to a Window as its first argument, where as the
+create_row_drag_icon() method invokes the cell renderer vfunc with a
+Drawable.
+
+Because the drawable is wrapped in a RefPtr<GtkWindowObject>, the
+creation of this ref pointer fails (it tries to do a <dynamic_cast> from
+the drawable to a window object, so we get a null pointer) and an
+invalid window reference results.
+
+Is this a problem in the gtk+ definition (which also has a Window as its
+argument, not a Drawable, but of course doesn't have the dynamic cast
+problem) or in the gtkmm wrapper of the cellrender API, or is there
+something else I'm missing ?
+
+I will upload a test program which tickles this problem. It's a bit long
+due to all the view setup code.



--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri,  3 Jan 2003 03:57:55 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 102405] Changed - create_row_drag_icon and custom cell renderer problem

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=102405

Changed by pprooi xs4all nl 

--- shadow/102405	Fri Jan  3 03:55:38 2003
+++ shadow/102405.tmp.20872	Fri Jan  3 03:57:55 2003
@@ -35,6 +35,11 @@
 argument, not a Drawable, but of course doesn't have the dynamic cast
 problem) or in the gtkmm wrapper of the cellrender API, or is there
 something else I'm missing ?
 
 I will upload a test program which tickles this problem. It's a bit long
 due to all the view setup code.
+
+------- Additional Comments From pprooi xs4all nl  2003-01-03 03:57 -------
+Created an attachment (id=13327)
+Test program which exercises problem, with embedded make file
+




--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]