Method
LspClientask_message_async
Declaration
void
lsp_client_ask_message_async (
LspClient* self,
LspMessageType type,
const gchar* message,
LspMessageActionItem* actions,
gint actions_length1,
GAsyncReadyCallback _callback_,
void* _callback__target
)
Description
The show message request allows to pass actions and to wait for an answer from the client.
Parameters
type-
Type:
LspMessageTypeNo description available.
message-
Type:
const gchar*No description available.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. actions-
Type: An array of
LspMessageActionItemThe list of actions the user can select, like ‘Ok’, ‘Cancel’, ‘Build’, etc. Can be
nullif you just want to wait for a response from the editor after showing a message.The argument can be NULL.The length of the array is specified in the actions_length1argument.The data is owned by the caller of the method. actions_length1-
Type:
gintNo description available.
_callback_-
Type:
GAsyncReadyCallbackNo description available.
The argument can be NULL. _callback__target-
Type:
void*No description available.
The argument can be NULL.The data is owned by the caller of the method.