Exemple #1
0
//PangoWeight          pango_font_description_get_weight        (const PangoFontDescription *desc) G_GNUC_PURE;
func (v *FontDescription) GetWeight() Weight {
	c := C.pango_font_description_get_weight(v.native())
	return Weight(c)
}
Exemple #2
0
func (self *FontDescription) GetWeight() int {
	return int(C.pango_font_description_get_weight(self.object))
}