Is there an example how to catch the event when I click the icon on taskbar with right button of the

Posted by Gtker on Stack Overflow See other posts from Stack Overflow or by Gtker
Published on 2010-05-03T04:06:34Z Indexed on 2010/05/03 4:18 UTC
Read the original article Hit count: 307

Filed under:
|
#include <gtk/gtk.h> 

int main( int argc, char *argv[]) 
{ 
  GtkWidget *window; 

  gtk_init(&argc, &argv); 

  window = gtk_window_new(GTK_WINDOW_TOPLEVEL); 
  gtk_widget_show(window); 

  gtk_main(); 

  return 0; 
} 

The above can pop up a window and a corresponding icon on taskbar.

I googled a lot but can't find any article that handles this problem.

So any information is greatly appreciated!

© Stack Overflow or respective owner

Related posts about c

    Related posts about gtk