GObject.InitiallyUnowned
GObject.Object
Gtk.Object
GtkSource.Completion
Import line: | GtkSource = imports.gi.GtkSource; |
GIR File: | GtkSource-2.0.gir |
C documentation: | GtkSourceCompletion |
Class : | Completion |
Extends: | Gtk.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
accelerators : Number
|
GtkSource.Completion | |
auto_complete_delay : Number
|
GtkSource.Completion | |
flags : Number
read only
|
Gtk.Object | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
parent : Gtk.Object
read only
|
GtkSource.Completion | |
parent_instance : GObject.InitiallyUnowned
read only
|
Gtk.Object | |
priv : GtkSource.CompletionPrivate
read only
|
GtkSource.Completion | |
proposal_page_size : Number
|
GtkSource.Completion | |
provider_page_size : Number
|
GtkSource.Completion | |
qdata : GLib.Data
|
GObject.InitiallyUnowned | |
ref_count : Number
|
GObject.InitiallyUnowned | |
remember_info_visibility : Boolean
|
GtkSource.Completion | |
select_on_show : Boolean
|
GtkSource.Completion | |
show_headers : Boolean
|
GtkSource.Completion | |
show_icons : Boolean
|
GtkSource.Completion | |
user_data : void*
|
Gtk.Object | |
view : GtkSource.View
|
GtkSource.Completion |
Method / Constructor | Defined By | |
---|---|---|
new GtkSource.Completion
(Object properties)
Create a new GtkSource.Completion
Create a new GtkSource.Completion
|
||
Create a new GtkSource.Completion
Create a new GtkSource.Completion
|
||
|
GtkSource.Completion | |
GtkSource.Completion.utils_get_word_iter
(Buffer source_buffer, TextIter current, TextIter start_word, TextIter end_word)
:
String
|
GtkSource.Completion | |
GtkSource.Completion | ||
|
GtkSource.Completion | |
|
GtkSource.Completion | |
GtkSource.Completion.utils_replace_current_word
(Buffer source_buffer, String text, Number len)
:
none
Replaces the current word in the GtkSourceBuffer with the new word.
Replaces the current word in the GtkSourceBuffer with the new word.
|
GtkSource.Completion | |
GtkSource.Completion.utils_replace_word
(Buffer source_buffer, TextIter iter, String text, Number len)
:
none
|
GtkSource.Completion | |
add_provider
(CompletionProvider provider)
:
Boolean
Add a new GtkSourceCompletionProvider to the completion object.
Add a new GtkSourceCompletionProvider to the completion object. This will add a reference provider, so make sure to unref your own copy when you no longer need it. is provided, it will be set with the error and FALSE is returned.
|
GtkSource.Completion | |
block_interactive
()
:
none
Block interactive completion.
Block interactive completion. This can be used to disable interactive completion when inserting or deleting text from the buffer associated with the completion. Use gtk_source_completion_unblock_interactive to enable interactive completion again.
|
GtkSource.Completion | |
create_context
(TextIter position)
:
GtkSource.CompletionContext
Create a new GtkSourceCompletionContext for completion.
Create a new GtkSourceCompletionContext for completion. The position at which the completion using the new context will consider completion can be provider by position. If position is NULL, the current cursor position will be used. is a 'floating' reference, so if you invoke gtk_source_completion_show with this context you don't need to unref it.
|
GtkSource.Completion | |
destroy
()
:
none
|
Gtk.Object | |
Gtk.Object | ||
Gtk.Object | ||
get_info_window
()
:
GtkSource.CompletionInfo
The info widget is the window where the completion displays optional extra information of the proposal.
The info widget is the window where the completion displays optional extra information of the proposal. associated with completion.
|
GtkSource.Completion | |
get_user_data
()
:
void*
|
Gtk.Object | |
get_view
()
:
void*
The GtkSourceView associated with completion.
The GtkSourceView associated with completion.
|
GtkSource.Completion | |
hide
()
:
none
Hides the completion if it is active (visible).
Hides the completion if it is active (visible).
|
GtkSource.Completion | |
move_window
(TextIter iter)
:
none
Move the completion window to a specific iter.
Move the completion window to a specific iter.
|
GtkSource.Completion | |
remove_data
(String key)
:
none
|
Gtk.Object | |
remove_data_by_id
(Number data_id)
:
none
|
Gtk.Object | |
remove_no_notify
(String key)
:
none
|
Gtk.Object | |
remove_no_notify_by_id
(Number key_id)
:
none
|
Gtk.Object | |
remove_provider
(CompletionProvider provider)
:
Boolean
Remove provider from the completion.
Remove provider from the completion. is provided, it will be set with the error and FALSE is returned.
|
GtkSource.Completion | |
Gtk.Object | ||
Gtk.Object | ||
Gtk.Object | ||
Gtk.Object | ||
set_user_data
(void* data)
:
none
|
Gtk.Object | |
sink
()
:
none
|
Gtk.Object | |
unblock_interactive
()
:
none
Unblock interactive completion.
Unblock interactive completion. This can be used after using gtk_source_completion_block_interactive to enable interactive completion again.
|
GtkSource.Completion |
Event | Defined By | |
---|---|---|
activate_proposal (Completion self)
:
none
|
GtkSource.Completion | |
destroy (Object self)
:
none
|
Gtk.Object | |
hide (Completion self)
:
none
|
GtkSource.Completion | |
|
GtkSource.Completion | |
|
GtkSource.Completion | |
populate_context (Completion self, CompletionContext object)
:
none
|
GtkSource.Completion | |
show (Completion self)
:
none
|
GtkSource.Completion |
Class / Namespace | Method / Signal / Properties |
---|---|
GtkSource.CompletionContext
Property |
completion : GtkSource.Completion
|
GtkSource.View
Property |
completion : GtkSource.Completion
read only
|
GtkSource.View
Method |
get_completion
()
:
GtkSource.Completion
Gets the GtkSourceCompletion associated with view.
|