Re: Can I get GTK_RESPONSE_ACCEPT/REJECT from modal dialog by glade.

2017-06-25 Thread michinari.nukazawa
Hi To do this, you need to set the "Response ID" property on the buttons you add in the action area. It works. Thank you! I love glade, this is good visual gui editor. (I favorite feature is undo/redo.) glade 3.18.3 in Ubuntu16.04 is not recent. :)

Re: Can I get GTK_RESPONSE_ACCEPT/REJECT from modal dialog by glade.

2017-06-25 Thread Tristan Van Berkom
Hi > On Jun 25, 2017, at 5:40 PM, michinari.nukazawa > wrote: > > Hello. > I develop vecterion vector graphics editor in GTK3/cairo. > https://github.com/MichinariNukazawa/vecterion_vge > I try porting the "New Document" dialog to xml file by glade from C code. >

Can I get GTK_RESPONSE_ACCEPT/REJECT from modal dialog by glade.

2017-06-25 Thread michinari.nukazawa
Hello. I develop vecterion vector graphics editor in GTK3/cairo. https://github.com/MichinariNukazawa/vecterion_vge I try porting the "New Document" dialog to xml file by glade from C code. ``` GtkDialogFlags flags = GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT; dialog =