[gtkmm] Gtkmm-forge digest, Vol 1 #330 - 3 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #330 - 3 msgs
- Date: Wed, 08 Jan 2003 12:02:09 -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 102853] New - TreeView::append_column_editable for double or float causes compiler error (bugzilla-daemon widget gnome org)
2. [Bug 102853] Changed - TreeView::append_column_editable for double or float causes compiler error (bugzilla-daemon widget gnome org)
3. [Bug 102853] Changed - TreeView::append_column_editable for double or float causes compiler error (bugzilla-daemon widget gnome org)
--__--__--
Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Wed, 8 Jan 2003 11:45:50 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 102853] New - TreeView::append_column_editable for double or float causes compiler error
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=102853
Changed by liza trdlnk com
--- shadow/102853 Wed Jan 8 11:45:50 2003
+++ shadow/102853.tmp.7134 Wed Jan 8 11:45:50 2003
@@ -0,0 +1,56 @@
+Bug#: 102853
+Product: gtkmm
+Version: 2.0
+OS: SunOS
+OS Details:
+Status: NEW
+Resolution:
+Severity: normal
+Priority: Normal
+Component: TreeView
+AssignedTo: gtkmm-forge lists sourceforge net
+ReportedBy: liza trdlnk com
+TargetMilestone: ---
+URL:
+Summary: TreeView::append_column_editable for double or float causes compiler error
+
+Adding a column of type double or float with
+Gtk::TreeView::append_column_editable() causes a compiler error. Works ok
+for non-editable columns though.
+
+Example:
+class ModelColumns : public Gtk::TreeModel::ColumnRecord
+{
+public:
+
+ ModelColumns(){add(m_col_d);}
+
+ Gtk::TreeModelColumn<double> m_col_d;
+};
+ModelColumns m_Columns;
+.
+.
+Gtk::TreeView m_TreeView;
+.
+.
+m_TreeView.append_column_editable("i", m_Columns.m_col_d);
+Error looks like this:
+
+/opt/gnome2/include/gtkmm-2.0/gtkmm/treeview.h: In method `void
+Gtk::TreeView::_auto_store_on_cellrenderer_text_edited_string<double>(const
+Glib::ustring &, const Glib::ustring &, int)':
+/opt/gnome2/include/gtkmm-2.0/gtkmm/treeview.h:1098: instantiated from
+`Gtk::TreeView_Private::_connect_auto_store_editable_signal_handler<double>(Gtk::TreeView
+*, Gtk::CellRenderer *, const Gtk::TreeModelColumn<double> &)'
+/opt/gnome2/include/gtkmm-2.0/gtkmm/treeview.h:914: instantiated from
+`Gtk::TreeView::append_column_editable<double>(const Glib::ustring &, const
+Gtk::TreeModelColumn<double> &)'
+test.C:156: instantiated from here
+/opt/gnome2/include/gtkmm-2.0/gtkmm/treeview.h:1044: `const class
+Glib::ustring' used where a floating point value was expected
+/opt/gnome2/include/gtkmm-2.0/gtkmm/treeview.h:1044: aggregate value used
+where a float was expected
+gmake: *** [test.o] Error 1
+
+Thanks.
+Liza
--__--__--
Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, liza trdlnk com
Cc:
Date: Wed, 8 Jan 2003 14:28:33 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 102853] Changed - TreeView::append_column_editable for double or float causes compiler error
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=102853
Changed by murrayc usa net
--- shadow/102853 Wed Jan 8 11:45:50 2003
+++ shadow/102853.tmp.12419 Wed Jan 8 14:28:33 2003
@@ -51,6 +51,11 @@
/opt/gnome2/include/gtkmm-2.0/gtkmm/treeview.h:1044: aggregate value used
where a float was expected
gmake: *** [test.o] Error 1
Thanks.
Liza
+
+------- Additional Comments From murrayc usa net 2003-01-08 14:28 -------
+Created an attachment (id=13428)
+treeview_row_draggable.patch
+
--__--__--
Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, liza trdlnk com
Cc:
Date: Wed, 8 Jan 2003 14:30:14 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 102853] Changed - TreeView::append_column_editable for double or float causes compiler error
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=102853
Changed by murrayc usa net
--- shadow/102853 Wed Jan 8 14:28:33 2003
+++ shadow/102853.tmp.13290 Wed Jan 8 14:30:14 2003
@@ -56,6 +56,15 @@
Liza
------- Additional Comments From murrayc usa net 2003-01-08 14:28 -------
Created an attachment (id=13428)
treeview_row_draggable.patch
+
+------- Additional Comments From murrayc usa net 2003-01-08 14:30 -------
+I think that the patch (to 2.2.0) would do what you want, but I don't
+think we can add the template specializations without breaking ABI.
+However, I'll make the change from strtol to strtod - then you might
+be able to add the specializations in your own code.
+
+And if not, well the template code should show you how to do this with
+the normal append_column() method.
--__--__--
_______________________________________________
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]