Method
AstalRiverLayoutset_layout_demand_callback
Declaration
void
astal_river_layout_set_layout_demand_callback (
AstalRiverLayout* self,
AstalRiverLayoutDemandCallback callback,
gpointer user_data,
GDestroyNotify destroy_notify
)
Parameters
callback-
Type:
AstalRiverLayoutDemandCallbackThe callback to be called when a layout demand is made.
user_data-
Type:
gpointerUser data to be passed to the callback.
The argument can be NULL.The data is owned by the caller of the method. destroy_notify-
Type:
GDestroyNotifyA function to destroy the user data when it is no longer needed.