Glade 3 Standard Button Layout

Posted by Peter on Stack Overflow See other posts from Stack Overflow or by Peter
Published on 2010-04-27T23:18:08Z Indexed on 2010/04/27 23:23 UTC
Read the original article Hit count: 501

Filed under:
|
|
|

Hey,

I want to create a dialog using Glade 3 (or gtk and Python). In Glade 2 if you wanted to create a dialog box there was an option to set a "standard button layout" which would automatically create an Ok button and a Cancel button which return either gtk.RESPONSE_OK or gtk.REPONSE_CANCEL. This feature has not been reimplmented in Glade 3.

How can I create a dialog which will have ok and cancel buttons which return the correct response?

Cheers,

Pete

© Stack Overflow or respective owner

Related posts about glade

Related posts about gtk