[gtkmm] Gtkmm-forge digest, Vol 1 #328 - 3 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #328 - 3 msgs
- Date: Mon, 06 Jan 2003 12:01:26 -0800
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] Changed - 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)
3. [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: Sun, 5 Jan 2003 16:42:09 -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 Sat Jan 4 06:33:11 2003
+++ shadow/102405.tmp.4398 Sun Jan 5 16:42:09 2003
@@ -45,6 +45,31 @@
------- Additional Comments From murrayc usa net 2003-01-04 06:33 -------
If the problem is just that you can't dynamic_cast<> a
RefPtr<Gdk::Window> to a RefPtr<Gdk::Drawable> then please show us an
example that shows that directly.
+
+------- Additional Comments From pprooi xs4all nl 2003-01-05 16:42 -------
+No, the problem is that gtk_tree_view_create_row_drag_icon() does an
+upcast from a GdkPixmap to a GdkDrawable, which the gtkmm code then
+tries to wrap into a Gdk::Window (because the Gtk API of render() also
+has a GdkWindow argument, not GdkDrawable).
+
+This wrapping gives a null reference because of the dynamic cast from
+a Gdk::Drawable to a Gdk::Window that happens in Gdk::Window::wrap().
+(this is correct, because window is a subclass of drawable).
+
+The question is either:
+- should the wrapping code allow GdkDrawables to be wrapped in
+Gdk::Window objects (a comment in the code says the dynamic cast is
+there to support multiple inheritance). I don't know if this mixing of
+windows and drawables happens in other parts of the GTK.
+- or should the gtkmm vfunc wrapper for render() really have a
+drawable as its first argument (it would then deviate from the GTK API).
+- or should the Gtk API of the render() function be changed to a
+GdkDrawable ?
+
+
+I've uploaded a small program which shows the wrapping failure
+
+
--__--__--
Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Sun, 5 Jan 2003 16:44:00 -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 Sun Jan 5 16:42:09 2003
+++ shadow/102405.tmp.5060 Sun Jan 5 16:44:00 2003
@@ -70,6 +70,11 @@
GdkDrawable ?
I've uploaded a small program which shows the wrapping failure
+
+------- Additional Comments From pprooi xs4all nl 2003-01-05 16:43 -------
+Created an attachment (id=13367)
+code which wraps a drawable in a gtk::window
+
--__--__--
Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, pprooi xs4all nl
Cc:
Date: Mon, 6 Jan 2003 13:15:56 -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 murrayc usa net
--- shadow/102405 Sun Jan 5 16:44:00 2003
+++ shadow/102405.tmp.6583 Mon Jan 6 13:15:56 2003
@@ -1,21 +1,22 @@
Bug#: 102405
Product: gtkmm
-Version: 2.0
+Version: 2.2
OS: Linux
OS Details:
Status: NEW
Resolution:
Severity: normal
Priority: Normal
Component: TreeView
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: pprooi xs4all nl
-TargetMilestone: ---
+TargetMilestone: 3
URL:
Summary: create_row_drag_icon and custom cell renderer problem
+BugsThisDependsOn: 102678
(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.
@@ -75,6 +76,10 @@
------- Additional Comments From pprooi xs4all nl 2003-01-05 16:43 -------
Created an attachment (id=13367)
code which wraps a drawable in a gtk::window
+
+------- Additional Comments From murrayc usa net 2003-01-06 13:15 -------
+I added the GTK+ bug #102678. It doesn't look like we can fix this
+without breaking API/ABI. That's a pain.
--__--__--
_______________________________________________
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]