SnippetChunk
Object Hierarchy:
GtkSource.SnippetChunk
GtkSource.SnippetChunk
GtkSource.SnippetChunk
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->GtkSource.SnippetChunk
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Description:
[ CCode ( type_id = "gtk_source_snippet_chunk_get_type ()" ) ]public class SnippetChunk : InitiallyUnowned
A chunk of text within the source snippet.
The `GtkSourceSnippetChunk` represents a single chunk of text that may or may not be an edit point within the snippet. Chunks that are an
edit point (also called a tab stop) have the [property@SnippetChunk:focus-position] property set.
Content:
Properties:
Creation methods:
Methods:
public SnippetChunk copy ()
Copies the source snippet.
public unowned SnippetContext get_context ()
Gets the context for the snippet insertion.
public int get_focus_position ()
Gets the [property@SnippetChunk:focus-position].
public unowned string ? get_spec ()
Gets the specification for the chunk.
public unowned string get_text ()
Gets the [property@SnippetChunk:text] property.
public bool get_text_set ()
Gets the [property@SnippetChunk:text-set] property.
public unowned string get_tooltip_text ()
public void set_context (SnippetContext context)
public void set_focus_position (int focus_position)
Sets the [property@SnippetChunk:focus-position] property.
public void set_spec (string spec)
Sets the specification for the chunk.
public void set_text (string text)
Sets the text for the snippet chunk.
public void set_text_set (bool text_set)
Sets the [property@SnippetChunk:text-set] property.
public void set_tooltip_text (string tooltip_text)
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref