added an API to allow for sub-pixel sizes in spinbuttons connected to a
2003-10-01 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpunitmenu.[ch]: * libgimpwidgets/gimpwidgets.c: added an API to allow for sub-pixel sizes in spinbuttons connected to a GimpUnitMenu. Make GimpUnitMenu emit "unit-changed" when the unit is changed programmatically. * libgimpwidgets/gimpsizeentry.[ch}: added a similar API here. Make GimpSizeEntry emit "unit-changed" when the unit is changed programmatically. The other signals will need similar changes. * plug-ins/common/gauss_rle.c * plug-ins/common/gauss_iir.c * app/widgets/gimpstrokeeditor.c: use the new API.
This commit is contained in:

committed by
Sven Neumann

parent
1667acd36d
commit
2f855afa6a
@ -150,6 +150,7 @@ gimp_size_entry_get_refval
|
||||
gimp_size_entry_set_refval
|
||||
gimp_size_entry_get_unit
|
||||
gimp_size_entry_set_unit
|
||||
gimp_size_entry_set_pixel_digits
|
||||
gimp_size_entry_grab_focus
|
||||
<SUBSECTION Standard>
|
||||
GIMP_SIZE_ENTRY
|
||||
@ -169,6 +170,8 @@ GimpUnitMenu
|
||||
gimp_unit_menu_new
|
||||
gimp_unit_menu_set_unit
|
||||
gimp_unit_menu_get_unit
|
||||
gimp_unit_menu_get_pixel_digits
|
||||
gimp_unit_menu_set_pixel_digits
|
||||
<SUBSECTION Standard>
|
||||
GIMP_UNIT_MENU
|
||||
GIMP_IS_UNIT_MENU
|
||||
|
@ -215,6 +215,15 @@ gimp_coordinates_new()
|
||||
@unit:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_size_entry_set_pixel_digits ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@gse:
|
||||
@digits:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_size_entry_grab_focus ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -110,6 +110,24 @@ gimp_coordinates_new()
|
||||
@gum:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_unit_menu_get_pixel_digits ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@menu:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_unit_menu_set_pixel_digits ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@menu:
|
||||
@digits:
|
||||
|
||||
|
||||
<!-- ##### SIGNAL GimpUnitMenu::unit-changed ##### -->
|
||||
<para>
|
||||
This signal is emitted whenever the user selects a #GimpUnit from the
|
||||
|
Reference in New Issue
Block a user