Callbacks

  ComboRowGetEnumValueNameFunc (value, *user_data)
  ComboRowGetNameFunc (item, *user_data)

Details

Handy.ComboRowGetEnumValueNameFunc(value, *user_data)
Parameters:
Returns:

a newly allocated displayable name that represents value

Return type:

str

Called for combo rows that are bound to an enumeration with Handy.ComboRow.set_for_enum() for each value from that enumeration.

Handy.ComboRowGetNameFunc(item, *user_data)
Parameters:
Returns:

a newly allocated displayable name that represents item

Return type:

str

Called for combo rows that are bound to a Gio.ListModel with Handy.ComboRow.bind_name_model() for each item that gets added to the model.