Gjsify LogoGjsify Logo

Interface CellRendererSpin_ConstructProps

Hierarchy

Index

Properties

adjustment?: Gtk.Adjustment

The adjustment that holds the value of the spinbutton. This must be non-%NULL for the cell renderer to be editable.

align_set?: boolean
alignment?: Pango.Alignment

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 GtkCellRenderer, on the other hand, sets the horizontal alignment of the whole text.

attributes?: Pango.AttrList
background?: string
background_rgba?: Gdk.RGBA

Background color as a GdkRGBA

background_set?: boolean
cell_background?: string
cell_background_rgba?: Gdk.RGBA

Cell background as a GdkRGBA

cell_background_set?: boolean
climb_rate?: number

The acceleration rate when you hold down a button.

digits?: number

The number of decimal places to display.

editable?: boolean
editable_set?: boolean
ellipsize?: EllipsizeMode

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 %PANGO_ELLIPSIZE_NONE turns off ellipsizing. See the wrap-width property for another way of making the text fit into a given width.

ellipsize_set?: boolean
family?: string
family_set?: boolean
font?: string
font_desc?: FontDescription
foreground?: string
foreground_rgba?: Gdk.RGBA

Foreground color as a GdkRGBA

foreground_set?: boolean
height?: number
is_expanded?: boolean
is_expander?: boolean
language?: string
language_set?: boolean
markup?: string
max_width_chars?: number

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 GtkCellLayout and all of the cell's siblings have received their natural width.

placeholder_text?: string

The text that will be displayed in the GtkCellRenderer if GtkCellRendererText:editable is %TRUE and the cell is empty.

rise?: number
rise_set?: boolean
scale?: number
scale_set?: boolean
sensitive?: boolean
single_paragraph_mode?: boolean
size?: number
size_points?: number
size_set?: boolean
stretch?: Stretch
stretch_set?: boolean
strikethrough?: boolean
strikethrough_set?: boolean
style?: Pango.Style
style_set?: boolean
text?: string
underline?: Underline
underline_set?: boolean
variant?: Pango.Variant
variant_set?: boolean
visible?: boolean
weight?: number
weight_set?: boolean
width?: number
width_chars?: number

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.

wrap_mode?: Pango.WrapMode

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.

wrap_width?: number

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.

xalign?: number
xpad?: number
yalign?: number
ypad?: number

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method