Beispiel #1
0
func (self *FontDescription) Merget(descToMerge *FontDescription, replaceExisting bool) {
	b := gobject.GBool(replaceExisting)
	defer b.Free()

	if descToMerge == nil {
		C.pango_font_description_merge(self.object, nil, *((*C.gboolean)(b.GetPtr())))
		return
	}
	C.pango_font_description_merge(self.object, descToMerge.object, *((*C.gboolean)(b.GetPtr())))
}
Beispiel #2
0
//void pango_font_description_merge        (PangoFontDescription       *desc,
//					  const PangoFontDescription *desc_to_merge,
//					  gboolean                    replace_existing);
func (v *FontDescription) Merge(desc_to_merge *FontDescription, replace_existing bool) {
	C.pango_font_description_merge(v.native(), desc_to_merge.native(), gbool(replace_existing))
}