Up
_gtkFontWeightSet
_gtkFontWeightSet defines the weight of a Font object.
Prototype : fun [ObjGtkFont I] ObjGtkFont
- ObjGtkFont : any Font object
- I : one of these following values :
- FONT_WEIGHT_THIN (100)
- FONT_WEIGHT_ULTRALIGHT (200)
- FONT_WEIGHT_LIGHT (300)
- FONT_WEIGHT_BOOK (380)
- FONT_WEIGHT_NORMAL (400)
- FONT_WEIGHT_MEDIUM (500)
- FONT_WEIGHT_SEMIBOLD (600)
- FONT_WEIGHT_BOLD (700)
- FONT_WEIGHT_ULTRABOLD (800)
- FONT_WEIGHT_HEAVY (900)
- FONT_WEIGHT_ULTRAHEAVY (1000)
- or another integer between 100 and 1000
- Return ObjGtkFont : the same Font object or nil
if an error occurs.
See also
Example