gnome-control-center/capplets/theme-switcher/signals.c-20981
Jonathan Blandford 724309cdfb This will switch themes. You need themes for it to compile so you
need to edit the gnome-core/capplets/Makefile.am and
gnome-core/configure.in to get this to compile.  If you do, it's
pretty cool...
1998-09-23 02:39:17 +00:00

14 lines
350 B
Text

#include "da.h"
void
signal_apply_theme(GtkWidget *widget)
{
GdkEventClient rcevent;
rcevent.type = GDK_CLIENT_EVENT;
rcevent.window = widget->window;
rcevent.send_event = TRUE;
rcevent.message_type = gdk_atom_intern("_GTK_READ_RCFILES", FALSE);
rcevent.data_format = 8;
gdk_event_send_clientmessage_toall((GdkEvent *)&rcevent);
}