Re: gtk_dialog_get_action_area() deprecation

2017-01-28 Thread Richard Shann
On Sat, 2016-12-31 at 20:11 +, Emmanuele Bassi wrote: > consider using a small > CSS fragment shipped with your own application, if you want to change > the appearance of your UI, instead of hardcoding a space. > > Especially now that the CSS system is documented and extremely > powerful.

Re: gtk_dialog_get_action_area() deprecation

2017-01-01 Thread Richard Shann
On Sat, 2016-12-31 at 20:10 +, Emmanuele Bassi wrote: > Hi; > > On 31 December 2016 at 16:03, Richard Shann wrote: > > On Sat, 2016-12-31 at 15:44 +, Emmanuele Bassi wrote: > >> Hi; > >> > >> > >> Deprecations will only impact you if you want to update the code

Re: gtk_dialog_get_action_area() deprecation

2016-12-31 Thread Eric Cashon via gtk-app-devel-list
Hi Emmanuele, I see the style property "action-area-border" in the documentation for the Dialog. Still learning how to use CSS effectively and am using GTK3.18 currently which has a different CSS syntax than the newer GTK versions. Figure I will still use a few deprecated functions so I

Re: gtk_dialog_get_action_area() deprecation

2016-12-31 Thread Emmanuele Bassi
Hi; It's part of every widget's API reference page, at: https://developer.gnome.org/gtk3/stable Ciao, Emmanuele. On Sat, 31 Dec 2016 at 20:28, Phil Wolff wrote: > Perhaps you could provide a link to that documentation? > > > > > > On 12/31/2016 12:11 PM, Emmanuele

Re: gtk_dialog_get_action_area() deprecation

2016-12-31 Thread Phil Wolff
Perhaps you could provide a link to that documentation? On 12/31/2016 12:11 PM, Emmanuele Bassi wrote: Especially now that the CSS system is documented and extremely powerful. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: gtk_dialog_get_action_area() deprecation

2016-12-31 Thread Emmanuele Bassi
Hi; On 31 December 2016 at 18:31, Eric Cashon via gtk-app-devel-list wrote: > I like the gtk_dialog_get_action_area() function. It makes it easy to set > something like the border width of the container. Since you're using GTK+ 3, you should really consider

Re: gtk_dialog_get_action_area() deprecation

2016-12-31 Thread Emmanuele Bassi
Hi; On 31 December 2016 at 16:03, Richard Shann wrote: > On Sat, 2016-12-31 at 15:44 +, Emmanuele Bassi wrote: >> Hi; >> >> >> Deprecations will only impact you if you want to update the code base >> to the next major API bump. > > Yes, it is to be ready for GTK4

Re: gtk_dialog_get_action_area() deprecation

2016-12-31 Thread Eric Cashon via gtk-app-devel-list
I like the gtk_dialog_get_action_area() function. It makes it easy to set something like the border width of the container. action_area=gtk_dialog_get_action_area(GTK_DIALOG(dialog)); gtk_container_set_border_width(GTK_CONTAINER(action_area), 20); Maybe no big deal and can be done

Re: gtk_dialog_get_action_area() deprecation

2016-12-31 Thread Emmanuele Bassi
Hi; Deprecations will only impact you if you want to update the code base to the next major API bump. Since you don't have or want to commit resources to do so, you can keep using the deprecated API in the same major API version. If you want to avoid deprecation warnings, you can use the various

Re: gtk_dialog_get_action_area() deprecation

2016-12-31 Thread Richard Shann
On Sat, 2016-12-31 at 10:05 +, Gergely Polonkai wrote: > It would be helpful to see your exact use case. If you put only > buttons in your GtkBox, you will be fine with gtk_dialog_add_button(). > If you add other, more complex widgets, there might be a design flaw > in your application.

Re: gtk_dialog_get_action_area() deprecation

2016-12-31 Thread Gergely Polonkai
It would be helpful to see your exact use case. If you put only buttons in your GtkBox, you will be fine with gtk_dialog_add_button(). If you add other, more complex widgets, there might be a design flaw in your application. Solutions in between might be OK, but without knowing what you want to