## button-drawfn-and-sizefn.api
#
# This api defines the argument to the button_look_from_drawfn_and_sizefn_g generic in:
#
#
src/lib/x-kit/widget/old/leaf/button-look-from-drawfn-and-sizefn-g.pkg# Compiled by:
#
src/lib/x-kit/widget/xkit-widget.sublibstipulate
package bst = button_shape_types; # button_shape_types is from
src/lib/x-kit/widget/old/leaf/button-shape-types.pkg package wa = widget_attribute_old; # widget_attribute_old is from
src/lib/x-kit/widget/old/lib/widget-attribute-old.pkgherein
# This api is implemented in:
#
#
src/lib/x-kit/widget/old/leaf/diamondbutton-drawfn-and-sizefn.pkg #
src/lib/x-kit/widget/old/leaf/roundbutton-drawfn-and-sizefn.pkg #
src/lib/x-kit/widget/old/leaf/boxbutton-drawfn-and-sizefn.pkg #
src/lib/x-kit/widget/old/leaf/arrowbutton-drawfn-and-sizefn.pkg #
api Button_Drawfn_And_Sizefn {
#
attributes: List( (wa::Name, wa::Type, wa::Value) ); # arrowbutton_drawfn_and_sizefn is the only one which has non-empty 'attributes' list.
#
make_button_drawfn_and_sizefn: (wa::Name -> wa::Value) -> (bst::Drawfn, bst::Sizefn); # arrowbutton_drawfn_and_sizefn is the only one which uses the supplied argument.
};
end;