Beispiel #1
0
//void                 pango_font_description_set_gravity       (PangoFontDescription *desc,
//							       PangoGravity          gravity);
func (v *FontDescription) SetGravity(gravity Gravity) {
	C.pango_font_description_set_gravity(v.native(), (C.PangoGravity)(gravity))
}
Beispiel #2
0
func (self *FontDescription) SetGravity(pango_Gravity int) {
	C.pango_font_description_set_gravity(self.object, C.PangoGravity(pango_Gravity))
}