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: LspMessageType

No 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 LspMessageActionItem

The list of actions the user can select, like ‘Ok’, ‘Cancel’, ‘Build’, etc. Can be null if 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_length1 argument.
The data is owned by the caller of the method.
actions_length1

Type: gint

No description available.

_callback_

Type: GAsyncReadyCallback

No 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.