GNOME coding questions




I wanna send an event to all the panels, to reload themself, re-render them
images on menus, and to reload config files. (Maybe a restart event...)

 I found an event-sender routin at the control-center:
{
  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);
}

 What event can I say to the panel? Is this the right way?

--

- - Shooby Ban - bansz@szif.hu - http://lsc.kva.hu -- Linux Supporting Center - -
      - - Szabolcs Ban - http://listen.to/shooby - SZIF ComputerCentre - -



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]