ClientTypeHandler
Description:
[ CCode ( instance_pos = 3.9 ) ]
public delegate bool ClientTypeHandler (Menuitem newitem, Menuitem parent, Client client)
public delegate bool ClientTypeHandler (Menuitem newitem, Menuitem parent, Client client)
The type handler is called when a dbusmenu item is created with a matching type as setup in add_type_handler
Return value: TRUE if the type has been handled. FALSE if this function was somehow unable to handle it.
Parameters:
| newitem |
The Menuitem that was created |
| parent |
The parent of |
| client |
A pointer to the Client |
| user_data |
The data you gave us |
Namespace: Dbusmenu
Package: dbusmenu-glib-0.4