View Single Post
Old 10-06-2012, 01:59 PM   #29
baf
Addict
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 332
Karma: 1346560
Join Date: May 2012
Device: kt
Quote:
Originally Posted by leodevua View Post
Any ideas how to set gtk windows in background and foreground on KT? It will be helpful to put skype in background during reading.
I did a simple test and it seems that gtk+ widgets behave correctly in respect to hiding/showing windows.
Just call gtk_widget_hide() to hide window and later gtk_widget_show() when you want to restore it.

Attached you will find simple test program. When you click hide button window will disappear. To restore it send SIGINT or SIGUSR1 signal to it.
I just slightly modified this example.
Attached Files
File Type: zip gtk-signals.zip (6.4 KB, 47 views)
baf is offline