SuperclassesDocumented SubclassesDirect Slotsalign-setThe align-set property of type :boolean (Read / Write) Whether this tag affects the alignment mode. Default value: false alignmentThe alignment property of type pango-alignment (Read / Write)
Specifies how to align the lines of text with respect to each other. Note that
this property describes how to align the lines of text in case there are several of them. The xalign property of gtk-cell-renderer, on the other hand, sets the horizontal alignment of the whole text. Default value: :left attributesThe attributes property of type pango-attr-list (Read / Write) A list of style attributes to apply to the text of the renderer. backgroundThe background property of type :string (Write) Background color as a string. Default value: nil background-gdkThe background-gdk property of type gdk-color (Read / Write) Background color. Warning: The background-gdk property has been deprecated since
version 3.4 and should not be used in newly written code. Use the background-rgba property instead. background-rgbaThe background-rgba property of type gdk-rgba (Read / Write) Background color. background-setThe background-set property of type :boolean (Read / Write) Whether this tag affects the background color. Default value: false editableThe editable property of type :boolean (Read / Write) Whether the text can be modified by the user. Default value: false editable-setThe editable-set property of type :boolean (Read / Write) Whether this tag affects text editability. Default value: false ellipsizeThe ellipsize property of type pango-ellipsize-mode (Read / Write)
Specifies the preferred place to ellipsize the string, if the cell renderer
does not have enough room to display the entire string. Setting it to :none turns off ellipsizing. See the wrap-width property for another way of making the text fit into a given width. Default value: :none ellipsize-setThe ellipsize-set property of type :boolean (Read / Write) Whether this tag affects the ellipsize mode. Default value: false familyThe family property of type :string (Read / Write) Name of the font family, e.g. Sans, Helvetica, Times, Monospace. Default value: nil family-setThe family-set property of type :boolean (Read / Write) Whether this tag affects the font family. Default value: false fontThe font property of type :string (Read / Write) Font description as a string, e.g. "Sans Italic 12". Default value: nil foregroundThe foreground property of type :string (Write) Foreground color as a string. Default value: nil foreground-gdkThe foreground-gdk property of type gdk-color (Read / Write) Foreground color. Warning: The foreground-gdk property has been deprecated since
version 3.4 and should not be used in newly written code. Use the foreground-rgba property instead. foreground-rgbaThe foreground-rgba property of type gdk-rgba (Read / Write) Foreground color. foreground-setThe foreground-set property of type :boolean (Read / Write) Whether this tag affects the foreground color. Default value: false languageThe language property of type :string (Read / Write)
The language this text is in, as an ISO code. Pango can use this as a hint
when rendering the text. If you do not understand this parameter, you probably do not need it. Default value: nil language-setThe language-set property of type :boolean (Read / Write) Whether this tag affects the language the text is rendered as. Default value: false markupThe markup property of type :string (Write) Marked up text to render. Default value: nil max-width-charsThe max-width-chars property of type :int (Read / Write)
The desired maximum width of the cell, in characters. If this property is
set to -1, the width will be calculated automatically. For cell renderers that
ellipsize or wrap text. This property controls the maximum reported width of
the cell. The cell should not receive any greater allocation unless it is set to expand in its gtk-cell-layout and all of the cell's siblings have received their natural width. Allowed values: >= -1 Default value: -1 placeholder-textThe placeholder-text property of type :string (Read / Write) The text that will be displayed in the gtk-cell-renderer if editable is true and the cell is empty. Default value: nil riseThe rise property of type :int (Read / Write) Offset of text above the baseline, below the baseline if rise is negative. Allowed values: >= -2147483647 Default value: 0 rise-setThe rise-set property of type :boolean (Read / Write) Whether this tag affects the rise. Default value: false scaleThe scale property of type :double (Read / Write) Font scaling factor. Allowed values: >= 0 Default value: 1 scale-setThe scale-set property of type :boolean (Read / Write) Whether this tag scales the font size by a factor. Default value: false single-paragraph-modeThe single-paragraph-mode property of type :boolean (Read / Write) Whether to keep all text in a single paragraph. Default value: false sizeThe size property of type :int (Read / Write) Font size. Allowed values: >= 0 Default value: 0 size-pointsThe size-points property of type :double (Read / Write) Font size in points. Allowed values: >= 0 Default value: 0 size-setThe size-set property of type :boolean (Read / Write) Whether this tag affects the font size. Default value: false stretchThe stretch property of type pango-stretch (Read / Write) Font stretch. Default value: :normal stretch-setThe stretch-set property of type :boolean (Read / Write) Whether this tag affects the font stretch. Default value: false strikethroughThe strikethrough property :boolean (Read / Write) Whether to strike through the text. Default value: false strikethrough-setThe strikethrough-set property of type :boolean (Read / Write) Whether this tag affects strikethrough. Default value: false styleThe style property of type pango-style (Read / Write) Font style. Default value: :normal style-setThe style-set property of type :boolean (Read / Write) Whether this tag affects the font style. Default value: false textThe text property of type :string (Read / Write) Text to render. Default value: nil underlineThe underline property of type pango-underline (Read / Write) Style of underline for this text. Default value: :none underline-setThe underline-set property of type :boolean (Read / Write) Whether this tag affects underlining. Default value: false variantThe variant property of type pango-variant (Read / Write) Font variant. Default value: :normal variant-setThe variant-set property of type :boolean (Read / Write) Whether this tag affects the font variant. Default value: false weightThe weight property of type :int (Read / Write) Font weight. Allowed values: >= 0 Default value: 400 weight-setThe weight-set property of type :boolean (Read / Write) Whether this tag affects the font weight. Default value: false width-charsThe width-chars property of type :int (Read / Write)
The desired width of the cell, in characters. If this property is set to -1,
the width will be calculated automatically, otherwise the cell will request either 3 characters or the property value, whichever is greater. Allowed values: >= -1 Default value: -1 wrap-modeThe wrap-mode property of type pango-wrap-mode (Read / Write)
Specifies how to break the string into multiple lines, if the cell renderer
does not have enough room to display the entire string. This property has no effect unless the wrap-width property is set. Default value: :char wrap-widthThe wrap-width property of type :int (Read / Write)
Specifies the minimum width at which the text is wrapped. The wrap-mode property can be used to influence at what character positions the line breaks can be placed. Setting wrap-width to -1 turns wrapping off. Allowed values: >= -1 Default value: -1 Details A gtk-cell-renderer-text object renders a given text in its cell,
using the font, color and style information provided by its properties. The text will be ellipsized if it is too long and the ellipsize
property allows it. If the mode property is :editable, the gtk-cell-renderer-text allows to edit its text using a gtk-entry
widget. Signal Details The "edited" signal
lambda (renderer path text) :run-last The signal is emitted after renderer has been edited. It is the responsibility of the application to update the model and store text at the position indicated by path. - renderer
- The gtk-cell-renderer-text object which received the signal.
- path
- A string with the path identifying the edited cell.
- text
- A string with the new text.
|
| Slot Access FunctionsInherited Slot Access FunctionsSee also |