Completion
Provider
Interface
constructor
parent
Iface
name
activate
display
get
Priority
get
Title
is
Trigger
key
Activates
list
Alternates
populate
Async
populate
Finish
refilter
NODE-GTK 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:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtTb3VyY2VfNS5HdGtTb3VyY2UuQ29tcGxldGlvblByb3ZpZGVySW50ZXJmYWNlLmh0bWwjY29uc3RydWN0b3IiL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