Пример #1
0
func (self *FontDescription) ToString() string {
	s := C.pango_font_description_to_string(self.object)

	if s != nil {
		return gobject.GoString(unsafe.Pointer(s))
	}
	return ""
}
Пример #2
0
//char *                pango_font_description_to_string   (const PangoFontDescription  *desc);
func (v *FontDescription) ToString() string {
	c := C.pango_font_description_to_string(v.native())
	return C.GoString((*C.char)(c))
}