Gtkmm-forge digest, Vol 1 #1079 - 8 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. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es (gtkmm (bugzilla.gnome.org))
   2. [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es (gtkmm (bugzilla.gnome.org))
   3. [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es (gtkmm (bugzilla.gnome.org))
   4. [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es (gtkmm (bugzilla.gnome.org))
   5. [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es (gtkmm (bugzilla.gnome.org))
   6. [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es (gtkmm (bugzilla.gnome.org))
   7. [Bug 334148] New: Bool field inside treeview does not appear correctly (gtkmm (bugzilla.gnome.org))
   8. [Bug 334148] Bool field inside treeview does not appear correctly (gtkmm (bugzilla.gnome.org))

--__--__--

Message: 1
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 10 Mar 2006 03:02:05 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D329333
 gtkmm | TreeView | Ver: 2.8.x





------- Comment #24 from baltasarq yahoo es  2006-03-10 08:02 UTC -------
> Maybe the existing API is the best we can do for now.  I suppose there'=
s
> nothing stopping us from adding an alternate set_text API if we come up=
 with a
> better way in the future.

I'm unsure of whether to say this again or not, but perhaps the problem w=
ith
the API comes from the fact that there are actually two widgets in one, a=
nd
that we could better create a ListViewText and a GridText

All right, all right, I will never do that again.

Salud !

Baltasar


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 2
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 10 Mar 2006 07:34:55 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D329333
 gtkmm | TreeView | Ver: 2.8.x


baltasarq yahoo es changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
  Attachment #59917|0                           |1
        is obsolete|                            |
  Attachment #60993|0                           |1
        is obsolete|                            |




------- Comment #25 from baltasarq yahoo es  2006-03-10 12:34 UTC -------
Created an attachment (id=3D61029)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D61029&action=3Dview)
Modifications to the listviewtext example

Modifications to the example, including the new ListViewText component wi=
th the
g_return_if_fail macros.
* Now using just append() for the StringGrid instead of naming the first =
column
(more homogenous).
* append() now returns an int with the number of row.

Nice to know about developers.gnome.org/doc, everything is there, includi=
ng
style guides. It would have been interesting to know before. I would have=
 used
the Gnome's style guidelines from the beginning.

The last point is that there are various places in which operator new is
called. This means that an standard exception (bad_alloc) is thrown ... s=
hould
I change this in order to capture the NULL pointer returned with g_return=
...,
using new(std::nothrow), or should I leave it the way it is now ?

Salud !

Baltasar


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 3
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 10 Mar 2006 09:17:23 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D329333
 gtkmm | TreeView | Ver: 2.8.x





------- Comment #26 from jonner  2006-03-10 14:17 UTC -------
I'll defer to Murray on the 'new' issue (although I don't think std::noth=
row is
currently used in gtkmm). =20

One more minor style issue I just noticed:  There's just a couple places =
in the
code that still use tabs instead of spaces for indenting.

And here's another proposal to consider:  There's currently a single
ListViewText constructor where the user can specify a number of columns. =
 After
construction, the application must go through and set all of the column t=
itles
one-by-one or else they'll be set to column#X.  What if we add an overloa=
ded
constructor like this:

ListViewText::ListViewText(std::vector<Glib::ustring> columnNames,
  bool isEditable,  const Gtk::SelectionMode& mode);

Then the column titles would all be set immediately upon construction and=
 we
wouldn't need to set them to a temporary string first and then reset them=
.  I
think a vector<string> works better in this case than it does in the set_=
text()
case (see comment #22) because here we don't have to worry about matching=
 the
size of the vector to the number of columns -- we just set the number of
columns to the size of the vector. =20

And (hopefully) my final note: I think I'd rather have the data (i.e. the=
 model
and columns members) be protected instead of private so that subclasses c=
an
access them if they need to.

Overall It's coming along nicely.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 4
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 10 Mar 2006 09:32:03 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D329333
 gtkmm | TreeView | Ver: 2.8.x





------- Comment #27 from Murray Cumming  2006-03-10 14:31 UTC -------
I'd rather avoid using vector<>, or any specific API in the constructor. =
We
don't do it elsewhere. Let's leave the constructor as it is for now.

I agree about the protected column members.

Don't worry about making the last few changes. I'll go over it all when I
commit it.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 5
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 10 Mar 2006 12:49:49 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D329333
 gtkmm | TreeView | Ver: 2.8.x


baltasarq yahoo es changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
  Attachment #61029|0                           |1
        is obsolete|                            |




------- Comment #28 from baltasarq yahoo es  2006-03-10 17:49 UTC -------
Created an attachment (id=3D61047)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D61047&action=3Dview)
ListViewText example of use

I have extended  the example so no a [big] button can be pressed in order=
 to
report about the selected rows.

* Now the private part of ListViewText is protected
* Removed all tabs I found from files

Includes the example itself and the ListViewText class.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 6
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 10 Mar 2006 12:52:02 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D329333
 gtkmm | TreeView | Ver: 2.8.x





------- Comment #29 from baltasarq yahoo es  2006-03-10 17:52 UTC -------
Hi !

> I agree about the protected column members.
 Done.

> Don't worry about making the last few changes. I'll go over it all when=
 I
> commit it.

  Well, I hope I dealt with all of them. It's probably easier for me than=
 for
you to change anything in these files.=20

  Salud !

  Baltasar


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 7
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 10 Mar 2006 13:04:28 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 334148] New: Bool field inside treeview does not appear correctly

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D334148
 gtkmm | TreeView | Ver: 2.0

           Summary: Bool field inside treeview does not appear correctly
           Product: gtkmm
           Version: 2.0
          Platform: Other
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: TreeView
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: lcdjunges yahoo com br
         QAContact: gtkmm-forge lists sourceforge net
                CC: cedric gustin gmail com
     GNOME version: Unspecified
   GNOME milestone: Unspecified


[What]
A simple gtkmmm application show true or false inside the treeview widget=
 when
compile in Windows. This problem is not verified under GNU/Linux.=20

[Expected]
Show the correct form of toggle mark (apply mark)

[Libs]
  Platform: Microsoft Windows 2000
  gtk+ 2.2.4
  gtkmm 2.0.1
  g++ 3.2.3=20
  mingw 5.0.2

[Reproduce]
   compile application with :

   g++ -o teste.exe  bug_bool.cpp list_glade.cpp  `pkg-config --cflags --=
libs
'gtkmm-2.0'` -I.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 8
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 10 Mar 2006 13:14:19 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 334148] Bool field inside treeview does not appear correctly

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D334148
 gtkmm | TreeView | Ver: 2.0





------- Comment #1 from Luis Carlos Dill Junges  2006-03-10 18:14 UTC ---=
----
Created an attachment (id=3D61049)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D61049&action=3Dview)
sample application

.tar with appropriate files to reproduce error


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



--__--__--

_______________________________________________
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]