Calendar.setDetailFunc

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.

class Calendar
void
setDetailFunc

Parameters

func GtkCalendarDetailFunc

a function providing details for each day.

data void*

data to pass to func invokations.

destroy GDestroyNotify

a function for releasing data.

Meta

Since

2.14