Towards the end of the function there is button with the label "Close". It currently points to a function that will kill the entire gtk program. However, this function (pin_io)) makes a popup window when called. When the "close" button is called, how do I make it only destroy the pin_io window and not the main gtk program?

Is this pin I/O window something that will be opened and closed periodically throughout the application's lifetime? If so, rather than creating and destroying the window each time, you may want to simply create it once, and from then on simply hide and show the widget.

Who is online

Users browsing this forum: Google [Bot] and 3 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum