DataBookCursorLoadLocaleFunc


Description:

[ CCode ( has_target = false ) ]
[ Version ( since = "3.12" ) ]
public delegate bool DataBookCursorLoadLocaleFunc (DataBookCursor cursor, out string locale) throws Error

Method type for EDataBookCursorClass.load_locale

Fetches the locale setting from cursor's addressbook

If the locale setting has changed, the cursor must reload any internal locale specific data and ensure that comparisons of sort keys will function properly in the new locale.

Upon locale changes, the implementation need not worry about updating it's current cursor state, the cursor state will be reset automatically for you.

Parameters:

cursor

an DataBookCursor

locale

return location to store the newly loaded locale

Returns:

true on Success, otherwise false is returned if any error occurred and throws is set to reflect the error which occurred.


Namespace: E