Method

GtkCalendarset_detail_func

since: 2.14

Declaration [src]

void
gtk_calendar_set_detail_func (
  GtkCalendar* calendar,
  GtkCalendarDetailFunc func,
  gpointer data,
  GDestroyNotify destroy
)

Description [src]

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.

Available since: 2.14

Parameters

func

Type: GtkCalendarDetailFunc

A function providing details for each day.

data

Type: gpointer

Data to pass to func invokations.

The argument can be NULL.
The data is owned by the caller of the method.
destroy

Type: GDestroyNotify

A function for releasing data.