Hello,
I am trying to write a GTK theme selector (Yes, a revolutionary idea, I
know) using PyGTK. However, I'm having trouble figuring out how to make
all the currently running apps refresh their theme to reflect the
changed theme. I located a C program that does this. The relevant code
from it (I think) is this: 
------
GdkEventClient event;
event.type = GDK_CLIENT_EVENT;
event.send_event = TRUE;
event.window = NULL;
event.message_type = gdk_atom_intern("_GTK_READ_RCFILES", FALSE);
event.data_format = 8;
gdk_event_send_clientmessage_toall((GdkEvent *)&event);
------
I can't for anything figure out how to implement this in pygtk. It
doesn't look like the gdk_event_send_client_message_toall function is
available in pygtk, and I'm not sure how to do that GdkEventClient stuff
either. Any help would be appreciated. If this is documented somewhere
please just point me in the right direction. Thanks

Mike Benfield
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to