Re: Close button in GtkNotebook

2017-05-29 Thread Augusto Fraga Giachero
Hi Eric, I was doing something similar with what you have proposed, it works but the end result differs from what I've observed on other gnome applications (Nautilus, Gedit etc...). I want my application to be as consistent and theme agnostic as possible. But the central idea of your implemen

Re: Close button in GtkNotebook

2017-05-29 Thread Stefan Salewski
On Sun, 2017-05-28 at 16:08 -0300, Augusto Fraga Giachero wrote: > I've been playing with Glade and GtkNotebook for while, and I > couldn't > figure a way to enable the close button on the tabs I guess what you want is what gedit does with the tabs? The gedit code has been modified a few times in

Re: Close button in GtkNotebook

2017-05-28 Thread Eric Cashon via gtk-app-devel-list
Hi Augusto, This doesn't use glade but it might help out. You can add a label and button to a box and add it to the notebook tab. In the button "clicked" callback you can us the notebook pointer if you need that variable. If you want to be able to really customize the look and size of the bu