diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c index 9774623b89..f7796d42e7 100644 --- a/gtk/gtktexttag.c +++ b/gtk/gtktexttag.c @@ -839,50 +839,165 @@ gtk_text_tag_class_init (GtkTextTagClass *klass) #define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (object_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, GTK_PARAM_READWRITE)) + /** + * GtkTextTag:background-set: + * + * Whether the `background` property is set. + */ ADD_SET_PROP ("background-set", PROP_BACKGROUND_SET, NULL, NULL); - + + /** + * GtkTextTag:background-full-height-set: + * + * Whether the `background-full-height` property is set. + */ ADD_SET_PROP ("background-full-height-set", PROP_BACKGROUND_FULL_HEIGHT_SET, NULL, NULL); + /** + * GtkTextTag:foreground-set: + * + * Whether the `foreground` property is set. + */ ADD_SET_PROP ("foreground-set", PROP_FOREGROUND_SET, NULL, NULL); + /** + * GtkTextTag:editable-set: + * + * Whether the `editable` property is set. + */ ADD_SET_PROP ("editable-set", PROP_EDITABLE_SET, NULL, NULL); + /** + * GtkTextTag:family-set: + * + * Whether the `family` property is set. + */ ADD_SET_PROP ("family-set", PROP_FAMILY_SET, NULL, NULL); + /** + * GtkTextTag:style-set: + * + * Whether the `style` property is set. + */ ADD_SET_PROP ("style-set", PROP_STYLE_SET, NULL, NULL); + /** + * GtkTextTag:variant-set: + * + * Whether the `variant` property is set. + */ ADD_SET_PROP ("variant-set", PROP_VARIANT_SET, NULL, NULL); + /** + * GtkTextTag:weight-set: + * + * Whether the `weight` property is set. + */ ADD_SET_PROP ("weight-set", PROP_WEIGHT_SET, NULL, NULL); + /** + * GtkTextTag:stretch-set: + * + * Whether the `stretch` property is set. + */ ADD_SET_PROP ("stretch-set", PROP_STRETCH_SET, NULL, NULL); + /** + * GtkTextTag:size-set: + * + * Whether the `size` property is set. + */ ADD_SET_PROP ("size-set", PROP_SIZE_SET, NULL, NULL); + /** + * GtkTextTag:scale-set: + * + * Whether the `scale` property is set. + */ ADD_SET_PROP ("scale-set", PROP_SCALE_SET, NULL, NULL); - + + /** + * GtkTextTag:justification-set: + * + * Whether the `justification` property is set. + */ ADD_SET_PROP ("justification-set", PROP_JUSTIFICATION_SET, NULL, NULL); - + + /** + * GtkTextTag:language-set: + * + * Whether the `language` property is set. + */ ADD_SET_PROP ("language-set", PROP_LANGUAGE_SET, NULL, NULL); + /** + * GtkTextTag:left-margin-set: + * + * Whether the `left-margin` property is set. + */ ADD_SET_PROP ("left-margin-set", PROP_LEFT_MARGIN_SET, NULL, NULL); + /** + * GtkTextTag:indent-set: + * + * Whether the `indent` property is set. + */ ADD_SET_PROP ("indent-set", PROP_INDENT_SET, NULL, NULL); + /** + * GtkTextTag:rise-set: + * + * Whether the `rise` property is set. + */ ADD_SET_PROP ("rise-set", PROP_RISE_SET, NULL, NULL); + /** + * GtkTextTag:pixels-above-lines-set: + * + * Whether the `pixels-above-lines` property is set. + */ ADD_SET_PROP ("pixels-above-lines-set", PROP_PIXELS_ABOVE_LINES_SET, NULL, NULL); + /** + * GtkTextTag:pixels-below-lines-set: + * + * Whether the `pixels-below-lines` property is set. + */ ADD_SET_PROP ("pixels-below-lines-set", PROP_PIXELS_BELOW_LINES_SET, NULL, NULL); + /** + * GtkTextTag:pixels-inside-wrap-set: + * + * Whether the `pixels-inside-wrap` property is set. + */ ADD_SET_PROP ("pixels-inside-wrap-set", PROP_PIXELS_INSIDE_WRAP_SET, NULL, NULL); + /** + * GtkTextTag:line-height-set: + * + * Whether the `line-height` property is set. + */ ADD_SET_PROP ("line-height-set", PROP_LINE_HEIGHT_SET, NULL, NULL); + /** + * GtkTextTag:strikethrough-set: + * + * Whether the `strikethrough` property is set. + */ ADD_SET_PROP ("strikethrough-set", PROP_STRIKETHROUGH_SET, NULL, NULL); - + + /** + * GtkTextTag:right-margin-set: + * + * Whether the `right-margin` property is set. + */ ADD_SET_PROP ("right-margin-set", PROP_RIGHT_MARGIN_SET, NULL, NULL); + /** + * GtkTextTag:underline-set: + * + * Whether the `underline` property is set. + */ ADD_SET_PROP ("underline-set", PROP_UNDERLINE_SET, NULL, NULL); /** @@ -892,8 +1007,18 @@ gtk_text_tag_class_init (GtkTextTagClass *klass) */ ADD_SET_PROP ("underline-rgba-set", PROP_UNDERLINE_RGBA_SET, NULL, NULL); + /** + * GtkTextTag:overline-set: + * + * Whether the `overline` property is set. + */ ADD_SET_PROP ("overline-set", PROP_OVERLINE_SET, NULL, NULL); + /** + * GtkTextTag:overline-rgba-set: + * + * Whether the `overline-rgba` property is set. + */ ADD_SET_PROP ("overline-rgba-set", PROP_OVERLINE_RGBA_SET, NULL, NULL); /** @@ -903,30 +1028,95 @@ gtk_text_tag_class_init (GtkTextTagClass *klass) */ ADD_SET_PROP ("strikethrough-rgba-set", PROP_STRIKETHROUGH_RGBA_SET, NULL, NULL); + /** + * GtkTextTag:wrap-mode-set: + * + * Whether the `wrap-mode` property is set. + */ ADD_SET_PROP ("wrap-mode-set", PROP_WRAP_MODE_SET, NULL, NULL); + /** + * GtkTextTag:tabs-set: + * + * Whether the `tabs` property is set. + */ ADD_SET_PROP ("tabs-set", PROP_TABS_SET, NULL, NULL); + /** + * GtkTextTag:invisible-set: + * + * Whether the `invisible` property is set. + */ ADD_SET_PROP ("invisible-set", PROP_INVISIBLE_SET, NULL, NULL); + /** + * GtkTextTag:paragraph-background-set: + * + * Whether the `paragraph-background` property is set. + */ ADD_SET_PROP ("paragraph-background-set", PROP_PARAGRAPH_BACKGROUND_SET, NULL, NULL); + /** + * GtkTextTag:fallback-set: + * + * Whether the `fallback` property is set. + */ ADD_SET_PROP ("fallback-set", PROP_FALLBACK_SET, NULL, NULL); + /** + * GtkTextTag:letter-spacing-set: + * + * Whether the `letter-spacing` property is set. + */ ADD_SET_PROP ("letter-spacing-set", PROP_LETTER_SPACING_SET, NULL, NULL); + /** + * GtkTextTag:font-features-set: + * + * Whether the `font-features` property is set. + */ ADD_SET_PROP ("font-features-set", PROP_FONT_FEATURES_SET, NULL, NULL); + /** + * GtkTextTag:allow-breaks-set: + * + * Whether the `allow-breaks` property is set. + */ ADD_SET_PROP ("allow-breaks-set", PROP_ALLOW_BREAKS_SET, NULL, NULL); + /** + * GtkTextTag:show-spaces-set: + * + * Whether the `show-spaces` property is set. + */ ADD_SET_PROP ("show-spaces-set", PROP_SHOW_SPACES_SET, NULL, NULL); + /** + * GtkTextTag:insert-hyphens-set: + * + * Whether the `insert-hyphens` property is set. + */ ADD_SET_PROP ("insert-hyphens-set", PROP_INSERT_HYPHENS_SET, NULL, NULL); + /** + * GtkTextTag:text-transform-set: + * + * Whether the `text-transform` property is set. + */ ADD_SET_PROP ("text-transform-set", PROP_TEXT_TRANSFORM_SET, NULL, NULL); + /** + * GtkTextTag:word-set: + * + * Whether the `word` property is set. + */ ADD_SET_PROP ("word-set", PROP_WORD_SET, NULL, NULL); + /** + * GtkTextTag:sentence-set: + * + * Whether the `sentence` property is set. + */ ADD_SET_PROP ("sentence-set", PROP_WORD_SET, NULL, NULL); }