mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Add Gtk.Scale mark syntax
This commit is contained in:
parent
83d11ccb8c
commit
5a782c653b
12 changed files with 242 additions and 5 deletions
|
@ -212,6 +212,21 @@ The template type is `Gtk.ListItem <https://docs.gtk.org/gtk4/class.ListItem.htm
|
|||
}
|
||||
|
||||
|
||||
.. _Syntax ExtScaleMarks:
|
||||
|
||||
Gtk.Scale Marks
|
||||
---------------
|
||||
|
||||
.. rst-class:: grammar-block
|
||||
|
||||
ExtScaleMarks = 'marks' '[' (ExtScaleMark),* ']'
|
||||
ExtScaleMark = 'mark' '(' ( '-' | '+' )? <value::ref:`NUMBER<Syntax NUMBER>`> ( ',' <position::ref:`IDENT<Syntax IDENT>`> ( ',' :ref:`StringValue<Syntax StringValue>` )? )? ')'
|
||||
|
||||
Valid in `Gtk.Scale <https://docs.gtk.org/gtk4/class.Scale.html>`_.
|
||||
|
||||
The ``marks`` block defines the marks on a scale. A single ``mark`` has up to three arguments: a value, an optional position, and an optional label. The position can be ``left``, ``right``, ``top``, or ``bottom``. The label may be translated.
|
||||
|
||||
|
||||
.. _Syntax ExtSizeGroupWidgets:
|
||||
|
||||
Gtk.SizeGroup Widgets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue