Completion
Provider
Interface
constructor
parent_
iface
name
activate
display
get_
priority
get_
title
is_
trigger
key_
activates
list_
alternates
populate_
async
populate_
finish
refilter
GJS API Reference
GtkSource-5
GtkSource
CompletionProviderInterface
Class CompletionProviderInterface
Hierarchy
CompletionProviderInterface
Index
Constructors
constructor
Properties
parent_
iface
name
Methods
activate
display
get_
priority
get_
title
is_
trigger
key_
activates
list_
alternates
populate_
async
populate_
finish
refilter
Constructors
constructor
new
Completion
Provider
Interface
(
)
:
GtkSource
.
CompletionProviderInterface
Returns
GtkSource
.
CompletionProviderInterface
Properties
parent_
iface
parent_
iface
:
TypeInterface
Static
name
name
:
string
Methods
activate
activate
(
self
:
GtkSource
.
CompletionProvider
, context
:
GtkSource
.
CompletionContext
, proposal
:
GtkSource
.
CompletionProposal
)
:
void
Parameters
self:
GtkSource
.
CompletionProvider
context:
GtkSource
.
CompletionContext
proposal:
GtkSource
.
CompletionProposal
Returns
void
display
display
(
self
:
GtkSource
.
CompletionProvider
, context
:
GtkSource
.
CompletionContext
, proposal
:
GtkSource
.
CompletionProposal
, cell
:
CompletionCell
)
:
void
Parameters
self:
GtkSource
.
CompletionProvider
context:
GtkSource
.
CompletionContext
proposal:
GtkSource
.
CompletionProposal
cell:
CompletionCell
Returns
void
get_
priority
get_
priority
(
self
:
GtkSource
.
CompletionProvider
, context
:
GtkSource
.
CompletionContext
)
:
number
Parameters
self:
GtkSource
.
CompletionProvider
context:
GtkSource
.
CompletionContext
Returns
number
get_
title
get_
title
(
self
:
GtkSource
.
CompletionProvider
)
:
string
Parameters
self:
GtkSource
.
CompletionProvider
Returns
string
is_
trigger
is_
trigger
(
self
:
GtkSource
.
CompletionProvider
, iter
:
Gtk
.
TextIter
, ch
:
string
)
:
boolean
Parameters
self:
GtkSource
.
CompletionProvider
iter:
Gtk
.
TextIter
ch:
string
Returns
boolean
key_
activates
key_
activates
(
self
:
GtkSource
.
CompletionProvider
, context
:
GtkSource
.
CompletionContext
, proposal
:
GtkSource
.
CompletionProposal
, keyval
:
number
, state
:
Gdk
.
ModifierType
)
:
boolean
Parameters
self:
GtkSource
.
CompletionProvider
context:
GtkSource
.
CompletionContext
proposal:
GtkSource
.
CompletionProposal
keyval:
number
state:
Gdk
.
ModifierType
Returns
boolean
list_
alternates
list_
alternates
(
self
:
GtkSource
.
CompletionProvider
, context
:
GtkSource
.
CompletionContext
, proposal
:
GtkSource
.
CompletionProposal
)
:
GtkSource
.
CompletionProposal
[]
Parameters
self:
GtkSource
.
CompletionProvider
context:
GtkSource
.
CompletionContext
proposal:
GtkSource
.
CompletionProposal
Returns
GtkSource
.
CompletionProposal
[]
populate_
async
populate_
async
(
self
:
GtkSource
.
CompletionProvider
, context
:
GtkSource
.
CompletionContext
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
self:
GtkSource
.
CompletionProvider
context:
GtkSource
.
CompletionContext
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
populate_
finish
populate_
finish
(
self
:
GtkSource
.
CompletionProvider
, result
:
AsyncResult
)
:
Gio
.
ListModel
Parameters
self:
GtkSource
.
CompletionProvider
result:
AsyncResult
Returns
Gio
.
ListModel
refilter
refilter
(
self
:
GtkSource
.
CompletionProvider
, context
:
GtkSource
.
CompletionContext
, model
:
Gio
.
ListModel
)
:
void
Parameters
self:
GtkSource
.
CompletionProvider
context:
GtkSource
.
CompletionContext
model:
Gio
.
ListModel
Returns
void
Completion
Provider
Interface
constructor
parent_
iface
name
activate
display
get_
priority
get_
title
is_
trigger
key_
activates
list_
alternates
populate_
async
populate_
finish
refilter
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtTb3VyY2VfNS5HdGtTb3VyY2UuQ29tcGxldGlvblByb3ZpZGVySW50ZXJmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuY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