Class: GtkSource::Style
- Inherits:
-
Object
- Object
- GtkSource::Style
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#apply(tag) ⇒ nil
This function modifies the [classGtk.TextTag] properties that are related to the Gtk::SourceStyle properties.
-
#background ⇒ String
Background.
- #background=(background) ⇒ String
- #background_set=(background_set) ⇒ Boolean
-
#background_set? ⇒ Boolean
Background-set.
- #bold=(bold) ⇒ Boolean
-
#bold? ⇒ Boolean
Bold.
- #bold_set=(bold_set) ⇒ Boolean
-
#bold_set? ⇒ Boolean
Bold-set.
-
#copy ⇒ GtkSource::Style
Creates a copy of style, that is a new Gtk::SourceStyle instance which has the same attributes set.
-
#foreground ⇒ String
Foreground.
- #foreground=(foreground) ⇒ String
- #foreground_set=(foreground_set) ⇒ Boolean
-
#foreground_set? ⇒ Boolean
Foreground-set.
- #italic=(italic) ⇒ Boolean
-
#italic? ⇒ Boolean
Italic.
- #italic_set=(italic_set) ⇒ Boolean
-
#italic_set? ⇒ Boolean
Italic-set.
-
#line_background ⇒ String
Line-background.
- #line_background=(line_background) ⇒ String
- #line_background_set=(line_background_set) ⇒ Boolean
-
#line_background_set? ⇒ Boolean
Line-background-set.
-
#pango_underline ⇒ Pango::Underline
Pango-underline.
- #pango_underline=(pango_underline) ⇒ Pango::Underline
-
#scale ⇒ String
Scale.
- #scale=(scale) ⇒ String
- #scale_set=(scale_set) ⇒ Boolean
-
#scale_set? ⇒ Boolean
Scale-set.
- #strikethrough=(strikethrough) ⇒ Boolean
-
#strikethrough? ⇒ Boolean
Strikethrough.
- #strikethrough_set=(strikethrough_set) ⇒ Boolean
-
#strikethrough_set? ⇒ Boolean
Strikethrough-set.
-
#underline_color ⇒ String
Underline-color.
- #underline_color=(underline_color) ⇒ String
- #underline_color_set=(underline_color_set) ⇒ Boolean
-
#underline_color_set? ⇒ Boolean
Underline-color-set.
- #underline_set=(underline_set) ⇒ Boolean
-
#underline_set? ⇒ Boolean
Underline-set.
-
#weight ⇒ Pango::Weight
Weight.
- #weight=(weight) ⇒ Pango::Weight
- #weight_set=(weight_set) ⇒ Boolean
-
#weight_set? ⇒ Boolean
Weight-set.
Instance Method Details
#apply(tag) ⇒ nil
This function modifies the [classGtk.TextTag] properties that are related to the Gtk::SourceStyle properties. Other [classGtk.TextTag] properties are left untouched.
If style is non-nil, applies style to tag.
If style is nil, the related *-set properties of [classGtk.TextTag] are set to false.
#background ⇒ String
Returns background.
#background=(background) ⇒ String
#background_set=(background_set) ⇒ Boolean
#background_set? ⇒ Boolean
Returns background-set.
#bold=(bold) ⇒ Boolean
#bold? ⇒ Boolean
Returns bold.
#bold_set=(bold_set) ⇒ Boolean
#bold_set? ⇒ Boolean
Returns bold-set.
#copy ⇒ GtkSource::Style
Creates a copy of style, that is a new Gtk::SourceStyle instance which has the same attributes set. when you are done with it.
#foreground ⇒ String
Returns foreground.
#foreground=(foreground) ⇒ String
#foreground_set=(foreground_set) ⇒ Boolean
#foreground_set? ⇒ Boolean
Returns foreground-set.
#italic=(italic) ⇒ Boolean
#italic? ⇒ Boolean
Returns italic.
#italic_set=(italic_set) ⇒ Boolean
#italic_set? ⇒ Boolean
Returns italic-set.
#line_background ⇒ String
Returns line-background.
#line_background=(line_background) ⇒ String
#line_background_set=(line_background_set) ⇒ Boolean
#line_background_set? ⇒ Boolean
Returns line-background-set.
#pango_underline ⇒ Pango::Underline
Returns pango-underline.
#pango_underline=(pango_underline) ⇒ Pango::Underline
#scale ⇒ String
Returns scale.
#scale=(scale) ⇒ String
#scale_set=(scale_set) ⇒ Boolean
#scale_set? ⇒ Boolean
Returns scale-set.
#strikethrough=(strikethrough) ⇒ Boolean
#strikethrough? ⇒ Boolean
Returns strikethrough.
#strikethrough_set=(strikethrough_set) ⇒ Boolean
#strikethrough_set? ⇒ Boolean
Returns strikethrough-set.
#underline_color ⇒ String
Returns underline-color.
#underline_color=(underline_color) ⇒ String
#underline_color_set=(underline_color_set) ⇒ Boolean
#underline_color_set? ⇒ Boolean
Returns underline-color-set.
#underline_set=(underline_set) ⇒ Boolean
#underline_set? ⇒ Boolean
Returns underline-set.
#weight ⇒ Pango::Weight
Returns weight.
#weight=(weight) ⇒ Pango::Weight
#weight_set=(weight_set) ⇒ Boolean
#weight_set? ⇒ Boolean
Returns weight-set.