Re: Can I implement such a function with gtk?



On Fri, 2007-04-06 at 01:01 +0800, Kun Niu wrote:
Dear all,

I found that there's a function called gtk_window_iconify.
I tried to add it to my delete_event function.
It worked well for me.
But I have a request that after delete_event is triggered. The minimized
window should disppear from my system toolbar(for example, at the bottom of
the screen on Windows and at the top of the screen on Gnome at present
release) and appear as a status icon.

Can I find such an example?

http://marcin.af.gliwice.pl/if-then-else-20070121143245 -- this gives
examples in python, but it uses standard gtk api (introduced in GTK
2.10).  If you want to support older versions of GTK, take a look at the
tray stuff in libegg

Michael




Thanks in advance and look forward to your reply.

Sincerely,
Kun
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





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