View Single Post
Old 10-06-2012, 01:30 PM   #30
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by baf View Post
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.
I like it! Thanks. (Lucky 7's karma to you. )
geekmaster is offline