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 #GtkCalendar: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 #GtkCalendar:show-details is not set.

The size of the details area can be restricted by setting the #GtkCalendar:detail-width-chars and #GtkCalendar:detail-height-rows properties.

class Calendar
void
setDetailFunc
(,
void* data
,
GDestroyNotify destroy
)

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