Example #1
0
func (v *GObject) ForceFloating() {
	C.g_object_force_floating((*C.GObject)(v.ptr))
}
Example #2
0
File: glib.go Project: vvanpo/gotk3
// ForceFloating is a wrapper around g_object_force_floating().
func (v *Object) ForceFloating() {
	C.g_object_force_floating(v.GObject)
}
Example #3
0
/*
This function is intended for #GObject implementations to re-enforce
a [floating][floating-ref] object reference. Doing this is seldom
required: all #GInitiallyUnowneds are created with a floating reference
which usually just needs to be sunken by calling g_object_ref_sink().
*/
func (self *TraitObject) ForceFloating() {
	C.g_object_force_floating(self.CPointer)
	return
}