Re: Convertion SRC to UI: how to set min/max of GtkSpinButton
Tomaž Vajngerl wrote > In Glade, if you go to "General settings" for a spin button, there is > an option "Adjustment". Thanks a lot. It works great :) Laurent BP - LibreOffice 4.1.1.2 -- View this message in context: http://nabble.documentfoundation.org/Convertion-SRC-to-UI-how-to-set-min-max-of-GtkSpinButton-tp4081532p4081542.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Convertion SRC to UI: how to set min/max of GtkSpinButton
Hi, On Tue, Nov 5, 2013 at 4:41 PM, Laurent BP wrote: > Hello, > > I'm on the way to convert impswfdialog.src to UI. I'm following the how-to > from Caolan > https://wiki.documentfoundation.org/Development/WidgetLayout#HOWTO:_Step_by_step_dialog_conversion > > I've got a pb with a GtkSpinButton which must have a minimum value of 1 and > maximum value of 100. How to set these min/max? > This page in the wiki explains several points about GtkSpinButton > https://wiki.documentfoundation.org/Development/WidgetLayout#MetricFields.2C_NumericFields_and_MetricBox > but nothing about min/max. In Glade, if you go to "General settings" for a spin button, there is an option "Adjustment". If you click this one, you get an option to select and "adjustment" or add a new one, just add a new one. Adjustments have all the settings for spin button you need like min/max and inc/dec steps. > Thanks for your help. > > Laurent BP Regards, Tomaž ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Convertion SRC to UI: how to set min/max of GtkSpinButton
Hello, I'm on the way to convert impswfdialog.src to UI. I'm following the how-to from Caolan https://wiki.documentfoundation.org/Development/WidgetLayout#HOWTO:_Step_by_step_dialog_conversion I've got a pb with a GtkSpinButton which must have a minimum value of 1 and maximum value of 100. How to set these min/max? This page in the wiki explains several points about GtkSpinButton https://wiki.documentfoundation.org/Development/WidgetLayout#MetricFields.2C_NumericFields_and_MetricBox but nothing about min/max. Thanks for your help. Laurent BP - LibreOffice 4.1.1.2 -- View this message in context: http://nabble.documentfoundation.org/Convertion-SRC-to-UI-how-to-set-min-max-of-GtkSpinButton-tp4081532.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice