示例#1
0
文件: pango.go 项目: pauldub/go-gtk3
func (self *FontDescription) GetFamily() string {
	s := C.pango_font_description_get_family(self.object)
	if s != nil {
		return gobject.GoString(unsafe.Pointer(s))
	}
	return ""
}
示例#2
0
//const char          *pango_font_description_get_family        (const PangoFontDescription *desc) G_GNUC_PURE;
func (v *FontDescription) GetFamily() string {
	c := C.pango_font_description_get_family(v.native())
	return C.GoString((*C.char)(c))
}