Re: a need for accessing the internal number for Gtk2::Gdk::Atom
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: a need for accessing the internal number for Gtk2::Gdk::Atom
- Date: Tue, 20 Jan 2009 21:28:37 +0100
csincock-gmail wrote:
I'm writing a simple standalone systray application using gtk2-perl.
In the process I've discovered a few shortcomings in the current
bindings. One (the most important) of these is that to implement the
protocol described by the freedesktop systray spec, my application
needs to send a client-message event containing an actual atom number
(as opposed to the wrapper object used by the perl bindings), but the
Gtk2::Gdk::Atom class currently has no way to access the internal
number. The ICCCM standards require (for example) passing atom numbers
in client-event messages. Therefore I believe adding an accessor for
the internal number is warranted. I don't see any way this can be done
automatically by the bindings, because the contents of the 'data' field
of the client messages is not strongly typed but is defined more by
conventions (eg ICCCM).
chris provided a patch for this in
<http://bugzilla.gnome.org/show_bug.cgi?id=566884>, following Kevin's
suggestion. The patch is now committed.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]