Class: GtkSource::SnippetChunk
- Inherits:
-
GObject::InitiallyUnowned
- Object
- GObject::InitiallyUnowned
- GtkSource::SnippetChunk
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#context ⇒ GtkSource::SnippetContext
Context.
- #context=(context) ⇒ GtkSource::SnippetContext
-
#copy ⇒ GtkSource::SnippetChunk
Copies the source snippet.
-
#focus_position ⇒ Integer
Focus-position.
- #focus_position=(focus_position) ⇒ Integer
-
#initialize ⇒ GtkSource::SnippetChunk
constructor
Create a new
GtkSourceSnippetChunkthat can be added to a [classSnippet]. -
#spec ⇒ String
Spec.
- #spec=(spec) ⇒ String
-
#text ⇒ String
Text.
- #text=(text) ⇒ String
-
#text_set ⇒ Boolean
Gets the [propertySnippetChunk:text-set] property.
- #text_set=(text_set) ⇒ Boolean
-
#text_set? ⇒ Boolean
Text-set.
-
#tooltip_text ⇒ String
Tooltip-text.
- #tooltip_text=(tooltip_text) ⇒ String
Constructor Details
#initialize ⇒ GtkSource::SnippetChunk
Create a new GtkSourceSnippetChunk that can be added to
a [classSnippet].
Instance Method Details
#context ⇒ GtkSource::SnippetContext
Returns context.
#context=(context) ⇒ GtkSource::SnippetContext
#copy ⇒ GtkSource::SnippetChunk
Copies the source snippet.
#focus_position ⇒ Integer
Returns focus-position.
#focus_position=(focus_position) ⇒ Integer
#spec ⇒ String
Returns spec.
#spec=(spec) ⇒ String
#text ⇒ String
Returns text.
#text=(text) ⇒ String
#text_set ⇒ Boolean
Gets the [propertySnippetChunk:text-set] property.
This is typically set when the user has edited a snippet chunk.
#text_set=(text_set) ⇒ Boolean
#text_set? ⇒ Boolean
Returns text-set.
#tooltip_text ⇒ String
Returns tooltip-text.