Gtkmm-forge digest, Vol 1 #1066 - 14 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 330535] GKeyFile not wrapped (glibmm (bugzilla.gnome.org))
   2. [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?) (gtkmm (bugzilla.gnome.org))
   3. [Bug 330945] IconTheme::list_icons (gtkmm (bugzilla.gnome.org))
   4. [Bug 331746] Only generate Makefiles if feature is enabled (gtkmm (bugzilla.gnome.org))
   5. [Bug 329333] A convenient wrapper of TreeView for simple ListBox'es (gtkmm (bugzilla.gnome.org))
   6. [Bug 330535] GKeyFile not wrapped (glibmm (bugzilla.gnome.org))
   7. [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?) (gtk+ (bugzilla.gnome.org))
   8. [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?) (gtkmm (bugzilla.gnome.org))
   9. [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?) (gtkmm (bugzilla.gnome.org))
  10. [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?) (gtkmm (bugzilla.gnome.org))
  11. [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?) (gtkmm (bugzilla.gnome.org))
  12. [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?) (gtkmm (bugzilla.gnome.org))
  13. [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?) (gtkmm (bugzilla.gnome.org))
  14. [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?) (gtkmm (bugzilla.gnome.org))

--__--__--

Message: 1
To: gtkmm-forge lists sourceforge net
From: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Wed, 22 Feb 2006 03:16:59 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 330535] GKeyFile not wrapped

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=3D330535
 glibmm | general | Ver: 2.9.x


Murray Cumming changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
           Keywords|                            |API




------- Comment #7 from Murray Cumming  2006-02-22 08:16 UTC -------
You probably don't want to hear this right now, but I just remembered tha=
t this
has missed the API freeze for GNOME 2.14, so it could only be released in=
 a
stable version of glibmm in about 6 months's time. I'll branch glibmm soo=
n
after GNOME 2.14, so I can commit this. In theory, we can ask for a
freeze-break but I  don't think that's a good idea, because we wouldn't h=
ave
enough time to get feedback on the new API.

(GNOME 2.14 will have glibmm (and glib) 2.10 and gtkmm (and GTK+) 2.8.)

I'll investigate the "Value is not a template" issue at that time.

Many thanks and well done.


--=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: Wed, 22 Feb 2006 03:22:38 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?)

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=3D332125
 gtkmm | general | Ver: 2.8.x


Murray Cumming changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
                 CC|                            |murrayc murrayc com




------- Comment #2 from Murray Cumming  2006-02-22 08:22 UTC -------
Isn't this a GTK+ question?


--=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: Wed, 22 Feb 2006 03:30:54 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 330945] IconTheme::list_icons

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=3D330945
 gtkmm | general | Ver: unspecified


Murray Cumming changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
                 CC|                            |murrayc murrayc com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from Murray Cumming  2006-02-22 08:30 UTC -------
I've added a list_icons() method overload in cvs HEAD (for gtkmm 2.10), a=
nd
corrected the documentation. For now, you can use the C API (with all the
GList* and g_free fun), which allows you to specify a NULL gchar*. Thanks=
.


--=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: Wed, 22 Feb 2006 03:35:07 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 331746] Only generate Makefiles if feature is enabled

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=3D331746
 gtkmm | build | Ver: 2.8.x


Murray Cumming changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
                 CC|                            |murrayc murrayc com




------- Comment #2 from Murray Cumming  2006-02-22 08:35 UTC -------
OK.


--=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: Wed, 22 Feb 2006 04:42:38 -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 #59331|0                           |1
        is obsolete|                            |




------- Comment #17 from baltasarq yahoo es  2006-02-22 09:42 UTC -------
Created an attachment (id=3D59917)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D59917&action=3Dview)
Implementation of the listviewtext component

After diving into gtkmm source, the following changes have applied:
- only two characters for indentation (all format changes applied now)
- columns are editable if the user indicates so in the constructor=20


--=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: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Wed, 22 Feb 2006 07:21:58 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 330535] GKeyFile not wrapped

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=3D330535
 glibmm | general | Ver: 2.9.x





------- Comment #8 from Rob Page  2006-02-22 12:21 UTC -------
Heh, not to worry, atleast it's done and written now, and if I'd known I =
might
not have written it, so it might have turned out better in the long run. =
:)


--=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: "gtk+ (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Wed, 22 Feb 2006 07:46:20 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?)

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=3D332125
 gtk+ | general | Ver: 2.8.x


jonner changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
         AssignedTo|gtkmm-                      |gtk-bugs gtk org
                   |forge lists sourceforge net |
          Component|general                     |general
            Product|gtkmm                       |gtk+
          QAContact|gtkmm-                      |gtk-bugs gtk org
                   |forge lists sourceforge net |




------- Comment #3 from jonner  2006-02-22 12:46 UTC -------
Yeah, it probably is.  I'll forward it to gtk+.  I'll try to translate th=
e test
case to plain GTK+ soon. =20


--=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: Wed, 22 Feb 2006 09:35:05 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?)

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=3D332125
 gtkmm | general | Ver: 2.8.x


Owen Taylor changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
                 CC|                            |otaylor redhat com
         AssignedTo|gtk-bugs gtk org            |gtkmm-
                   |                            |forge lists sourceforge =
net
          Component|general                     |general
            Product|gtk+                        |gtkmm
          QAContact|gtk-bugs gtk org            |gtkmm-
                   |                            |forge lists sourceforge =
net




------- Comment #4 from Owen Taylor  2006-02-22 14:35 UTC -------
This is mixing together completely unrelated quantities. Reassigning
back to to gtkmm for closing or maybe there is some documentation=20
improvement needed there.


--=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: 9
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Wed, 22 Feb 2006 09:37:26 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?)

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=3D332125
 gtkmm | general | Ver: 2.8.x





------- Comment #5 from Owen Taylor  2006-02-22 14:37 UTC -------
(To add  another comment, the fact that the pixel for your display was
close enough to a RGBA value to just shift is entirely coincidental ...
if you had a 16 bit display you'd have to extract out and shift around
subfields, and it gets worse from there. You really want to form the
value passed to gdk_pixbuf_fill() from the RGB fields of the color,
not the pixel.)


--=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: 10
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Wed, 22 Feb 2006 09:52:49 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?)

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=3D332125
 gtkmm | general | Ver: 2.8.x





------- Comment #6 from jonner  2006-02-22 14:52 UTC -------
[Like I said, I don't really understand the concept of what a 'pixel' is
supposed to represent]

Just to clarify, you're saying that the pixel field of GdkColor is depend=
ent on
my display, but the pixel argument for gdk_pixbuf_fill is not?  These are=
 two
different concepts? =20

Could you give a brief layman's overview of what pixel means in these two=
 cases
are so that I can add something to the documentation?


--=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: 11
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Wed, 22 Feb 2006 10:41:32 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?)

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=3D332125
 gtkmm | general | Ver: 2.8.x





------- Comment #7 from Owen Taylor  2006-02-22 15:41 UTC -------
gdk_pixbuf_fill() is documented in the C documentation. The pixel in
GdkColor is just the value that will be stored into display memory,
more or less. (Usually, nowdays, things in GTK+ use *unallocated* colors,
which means that the pixel field is just left as zero.) Also see the
C docs for GdkColro.


--=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: 12
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Wed, 22 Feb 2006 11:51:42 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?)

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=3D332125
 gtkmm | general | Ver: 2.8.x





------- Comment #8 from jonner  2006-02-22 16:51 UTC -------
I have looked at the C documentation for these functions, but unfortunate=
ly it
didn't really tell me much.  Yes, the gdk_pixbuf_fill() argument is descr=
ibed
decently in the documentation, but the fact that it's named 'pixel' and i=
s the
same type (guint32) led me initially (and wrongly) to believe that it was
analogous to the pixel concept in GdkColor.

For GdkColor, the closest the API documentation gets to describing a pixe=
l that
I could find is the following:

guint32 pixel;  For allocated colors, the value used to draw this color o=
n the
screen.

This tells me almost nothing and merely begs a lot of questions in my min=
d.=20
Now that I dig into the source a bit more though, I found this comment in
gdkcolor.h, which I can't find in the API documentation anywhere (and pos=
sibly
should be added, since it clears up a few questions for me):

/* The color type.
 *   A color consists of red, green and blue values in the
 *    range 0-65535 and a pixel value. The pixel value is highly
 *    dependent on the depth and colormap which this color will
 *    be used to draw into. Therefore, sharing colors between
 *    colormaps is a bad idea.
 */
struct _GdkColor
{
...
};


So am I right in concluding that a pixel value is not useful outside of
GdkColor- and GdkColormap-related functions?  Or are there other places t=
his
value could be used?

Also, does pixel have a particular format, or is it supposed to be treate=
d as
an opaque type that shouldn't be examined by the application?

I apologize for taking up so much of your time on such a seemingly simple
misunderstanding, but colormaps and allocating colors is one of those thi=
ngs
that baffled me when I started learning gtk, and it seems I still don't h=
ave a
good handle on 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: 13
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Wed, 22 Feb 2006 12:00:09 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?)

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=3D332125
 gtkmm | general | Ver: 2.8.x





------- Comment #9 from Murray Cumming  2006-02-22 17:00 UTC -------
get_pixel() is implemented like so:

guint Color::get_pixel() const
{
  return gobject_->pixel;
}

_If_ GdkCOlor::pixel is private and useless then we should deprecate this
method. I have no idea - it's before my time.


--=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: 14
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Wed, 22 Feb 2006 12:11:27 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 332125] Gdk::Color::get_pixel() needs to be shifted 8 bits (?)

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=3D332125
 gtkmm | general | Ver: 2.8.x





------- Comment #10 from Owen Taylor  2006-02-22 17:11 UTC -------
Well, the pixel value is interpretable using values you can return
from GdkVisual ... it's has a defined structure and isn't opaque
in that sense. And you might want it if you were manipulating screen=20
data directly with GdkImage. But it's not useful for most uses of
GdkColor these days.

If  you really want to understand the details of visuals, colormaps,
pixel values and so forth, please look at the documentation for X.
(Most Linux distributions provide it in Postscript form, possibly as an
optional package.)


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