setting X11 window title/class/resource
- From: Drew Hess <drew hess gmail com>
 
- To: gtkmm-list gnome org
 
- Subject: setting X11 window title/class/resource
 
- Date: Mon, 20 Dec 2004 23:37:19 -0800
 
Hi,
There's a really neat utility called evrouter
(http://www.bedroomlan.org/~alexios/coding_evrouter.html) that allows
you to map /dev/input/event* device events to X11 keys or button
presses.
I'd like to use evrouter to enable a shuttle/jog controller in my
gtkmm app.  However, evrouter relies on standard X11 window title,
class and/or resource names to identify the window in which an input
event takes place.  It appears that Window::set_title() doesn't set
any of these, nor does set_wmclass().
It looks like this is true of all gtk(mm) apps; is that right?  What's
the most straightfoward way to get enough X11 context from a gtkmm
Window to set its X11 window title?
thanks
d
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]