set_detail_func


Description:

[ Version ( since = "2.14" ) ]
public void set_detail_func (owned CalendarDetailFunc func)

Installs a function which provides Pango markup with detail information for each day.

Examples for such details are holidays or appointments. That information is shown below each day when show_details is set. A tooltip containing with full detail information is provided, if the entire text should not fit into the details area, or if show_details is not set.

The size of the details area can be restricted by setting the detail_width_chars and detail_height_rows properties.

Parameters:

this

a Calendar.

func

a function providing details for each day.

data

data to pass to func invokations.

destroy

a function for releasing data.