[gtkmm] Gtkmm-forge digest, Vol 1 #488 - 5 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #488 - 5 msgs
- Date: Sat, 09 Aug 2003 20:10:18 -0700
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 118922] Changed - TreeModelColumns cannot be of type "UNSIGNED SHORT" (bugzilla-daemon widget gnome org)
2. [Bug 118922] Changed - TreeModelColumns cannot be of type "UNSIGNED SHORT" (bugzilla-daemon widget gnome org)
3. [Bug 118922] Changed - TreeModelColumns cannot be of type "UNSIGNED SHORT" (bugzilla-daemon widget gnome org)
4. [Bug 118922] Changed - TreeModelColumns cannot be of type "UNSIGNED SHORT" (bugzilla-daemon widget gnome org)
5. [Bug 93412] Changed - gtkmm2 cvs fails to link on Mac OS 10.2 (bugzilla-daemon widget gnome org)
--__--__--
Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Sat, 9 Aug 2003 05:52:35 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 118922] Changed - TreeModelColumns cannot be of type "UNSIGNED SHORT"
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=118922
Changed by martin-ml hippogriff de
--- shadow/118922 Fri Aug 8 12:57:38 2003
+++ shadow/118922.tmp.9137 Sat Aug 9 05:52:35 2003
@@ -164,6 +164,48 @@
of type `gchararray' from value of type `glibmm__CustomBoxed_t'
------- Additional Comments From martin-ml hippogriff de 2003-08-08 12:57 -------
Created an attachment (id=19038)
test_treeview_unsigned_short_2.cc
+
+------- Additional Comments From martin-ml hippogriff de 2003-08-09 05:52 -------
+> - Is this a bug?
+
+First test case: no: use of gtk(mm) functions (here for setting up
+custom GValue type) before instantiating Gtk::Main is not allowed.
+
+Second test case: not really: use of custom GValue types is perfectly
+legal. However it is not possible to automatically create a
+TreeViewColumn from TreeView::append_column(). Instead, the
+TreeViewColumn has to be created manually and a function for
+displaying data has to be provided with
+TreeViewColumn::set_cell_data_func(). After that, the column can be
+appended directly with the appropriate TreeView::append_column() overload.
+
+
+> - Otherwise: Why not? Can error messages be triggered at compile time?
+
+First test case: No.
+
+Second test case: In theory. The TreeView::append_column(const
+Glib::ustring& title, const TreeModelColumn<ColumnType>& model_column)
+overload should fail if the TreeModelColumn uses a custom GValue type.
+A compile-time-check can be added using some template magic with
+template specializations for all supported types. The corresponding
+TreeView::append_column_editable() overload already fails to compile
+if the type is not supported. A run-time-check might be easier and
+cleaner to implement (somehow check Value<the_type>::value_type()).
+
+
+> - Otherwise: Where shall we document this behaviour?
+
+First test case: Already documented in
+file:///usr/local/share/doc/gtkmm-2.0/docs/reference/html/classGtk_1_1TreeModelColumnRecord.html
+
+Second test case:
+file:///usr/local/share/doc/gtkmm-2.0/docs/tutorial/html/ch08s02.html#id2962983
+and
+file:///usr/local/share/doc/gtkmm-2.0/docs/reference/html/classGtk_1_1TreeView.html#a25
+should mention that TreeViewModelColumns that use custom GValue types
+can not be used this way. The standard GValue types have to be listed
+somewhere.
--__--__--
Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Sat, 9 Aug 2003 08:31:29 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 118922] Changed - TreeModelColumns cannot be of type "UNSIGNED SHORT"
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=118922
Changed by martin-ml hippogriff de
--- shadow/118922 Sat Aug 9 05:52:35 2003
+++ shadow/118922.tmp.5062 Sat Aug 9 08:31:29 2003
@@ -206,6 +206,22 @@
file:///usr/local/share/doc/gtkmm-2.0/docs/tutorial/html/ch08s02.html#id2962983
and
file:///usr/local/share/doc/gtkmm-2.0/docs/reference/html/classGtk_1_1TreeView.html#a25
should mention that TreeViewModelColumns that use custom GValue types
can not be used this way. The standard GValue types have to be listed
somewhere.
+
+------- Additional Comments From martin-ml hippogriff de 2003-08-09 08:31 -------
+> > - Otherwise: Why not? Can error messages be triggered at compile time?
+>
+> First test case: No.
+>
+> Second test case: In theory. The TreeView::append_column(const
+> Glib::ustring& title, const TreeModelColumn<ColumnType>& model_column)
+> overload should fail if the TreeModelColumn uses a custom GValue type.
+
+I was wrong here. It is also possible to set the cell data function
+with TreeViewColumn::set_cell_data_func() after the column has been
+created with the TreeView::append_column(const
+Glib::ustring& title, const TreeModelColumn<ColumnType>& model_column)
+overload. The TreeViewColumn doesn't have to be created manually.
+=> We only need to improve the documentation. I will attach a patch.
--__--__--
Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Sat, 9 Aug 2003 08:42:22 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 118922] Changed - TreeModelColumns cannot be of type "UNSIGNED SHORT"
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=118922
Changed by martin-ml hippogriff de
--- shadow/118922 Sat Aug 9 08:31:29 2003
+++ shadow/118922.tmp.9337 Sat Aug 9 08:42:22 2003
@@ -222,6 +222,11 @@
I was wrong here. It is also possible to set the cell data function
with TreeViewColumn::set_cell_data_func() after the column has been
created with the TreeView::append_column(const
Glib::ustring& title, const TreeModelColumn<ColumnType>& model_column)
overload. The TreeViewColumn doesn't have to be created manually.
=> We only need to improve the documentation. I will attach a patch.
+
+------- Additional Comments From martin-ml hippogriff de 2003-08-09 08:42 -------
+Created an attachment (id=19059)
+gtkmm2-improve_treeview_docs.diff: Proposed documentation additions.
+
--__--__--
Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Sat, 9 Aug 2003 08:45:15 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 118922] Changed - TreeModelColumns cannot be of type "UNSIGNED SHORT"
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=118922
Changed by martin-ml hippogriff de
--- shadow/118922 Sat Aug 9 08:42:22 2003
+++ shadow/118922.tmp.10833 Sat Aug 9 08:45:15 2003
@@ -227,6 +227,17 @@
=> We only need to improve the documentation. I will attach a patch.
------- Additional Comments From martin-ml hippogriff de 2003-08-09 08:42 -------
Created an attachment (id=19059)
gtkmm2-improve_treeview_docs.diff: Proposed documentation additions.
+
+------- Additional Comments From martin-ml hippogriff de 2003-08-09 08:45 -------
+The only problem I see after improving the documentation of
+TreeView::append_column is that I find it quite difficult to track
+down the runtime error
+
+(a.out:1163): GLib-GObject-WARNING **: unable to set property `text'
+of type `gchararray' from value of type `glibmm__CustomBoxed_t'
+
+to an incorrect use of this function. Maybe we should cite the error
+message?
--__--__--
Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: max quendi de
Date: Sat, 9 Aug 2003 22:11:09 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93412] Changed - gtkmm2 cvs fails to link on Mac OS 10.2
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=93412
Changed by julian jabber org
--- shadow/93412 Thu Aug 7 08:44:53 2003
+++ shadow/93412.tmp.19055 Sat Aug 9 22:11:09 2003
@@ -394,6 +394,11 @@
------- Additional Comments From julian jabber org 2003-08-06 11:09 -------
Well, without the patch I get the same error. :)
------- Additional Comments From murrayc usa net 2003-08-07 08:44 -------
Is that really the same patch that you used before?
+
+------- Additional Comments From julian jabber org 2003-08-09 22:11 -------
+Sorry, was moving. No, it's not the same patch. It's the latest patch
+the Debian maintainer has.. maybe he removed the workaround in the new
+version. I'll look at the older version of the patch.
--__--__--
_______________________________________________
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]