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:
AstalRiverLayoutDemandCallback
The callback to be called when a layout demand is made.
user_data
-
Type:
gpointer
User 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:
GDestroyNotify
A function to destroy the user data when it is no longer needed.