GTK+ 3.22 File Dialog shortcuts

2017-06-25 Thread Carsten Mattner
How can I configure the list of shortcuts in the left pane in file dialogs? I need my personal shortcuts first and if possible remove preset ones like Home...Videos and also mount points if I can. ___ gtk-list mailing list gtk-list@gnome.org

Re: gtk_container_remove may generate some noise for a GC

2017-06-25 Thread Paul Davis
On Sun, Jun 25, 2017 at 1:56 PM, Stefan Salewski wrote: > > action. And GTK is single threaded? Is that already preparation for a > multi-threaded GTK4? > like most GUI toolkits that had deep origins in the X Window world, GTK is single threaded. there is support for multiple

gtk_container_remove may generate some noise for a GC

2017-06-25 Thread Stefan Salewski
https://github.com/GNOME/gtk/blob/master/gtk/gtkcontainer.c void gtk_container_remove (GtkContainer *container,   GtkWidget*widget) {   g_return_if_fail (GTK_IS_CONTAINER (container));   g_return_if_fail (GTK_IS_WIDGET (widget));   g_object_ref (container);   g_object_ref

Re: g_object_add_toggle_ref

2017-06-25 Thread Stefan Salewski
On Sun, 2017-06-25 at 10:59 +0100, Emmanuele Bassi wrote: > I very much doubt anybody here has knowledge of toggle reference and > language bindings. Yes, I guess that is true, the original authors seems all to be retired. For IRC or devel list, I fear situation is not really better, and I do not

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 =