gnope php gtk gui gnope.org  

tray icon or windows toolbar

 
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners
View previous topic :: View next topic  
Author Message
Taliesin



Joined: 03 Sep 2006
Posts: 3

PostPosted: Sun Sep 03, 2006 10:08 am    Post subject: tray icon or windows toolbar Reply with quote

Hi to all.

It is possible with php-gtk2 to create an tray icon when the window is iconify or, better, to create a windows toolbar (like media player)?

Another question: how could I intercept the iconify method?

Thanx
Back to top
cweiske



Joined: 08 Dec 2005
Posts: 454
Location: Leipzig/Germany

PostPosted: Sun Sep 03, 2006 6:55 pm    Post subject: Reply with quote

Currently not. But Gtk 2.10 has a native systray class, so when php-gtk gets updated to support gtk 2.10, it will be possible.
Back to top
Taliesin



Joined: 03 Sep 2006
Posts: 3

PostPosted: Mon Sep 04, 2006 9:26 am    Post subject: Reply with quote

Thanx for the answer.

Is there a way to intercept when a user click on the iconify button, when the window is open?
Back to top
cweiske



Joined: 08 Dec 2005
Posts: 454
Location: Leipzig/Germany

PostPosted: Mon Sep 04, 2006 10:52 am    Post subject: Reply with quote

I don't know, use Dev_Inspector to view all signals and try to find a matching one. It could be state-changed, but that's a guess.
Back to top
Taliesin



Joined: 03 Sep 2006
Posts: 3

PostPosted: Mon Sep 04, 2006 5:28 pm    Post subject: Reply with quote

ok, thanx Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.