// AccelGroupsFromObject is a wrapper around gtk_accel_groups_from_object(). func AccelGroupsFromObject(obj *glib.Object) *glib.SList { res := C.gtk_accel_groups_from_object((*C.GObject)(unsafe.Pointer(obj.Native()))) if res == nil { return nil } return (*glib.SList)(unsafe.Pointer(res)) }
// Activate is a wrapper around gtk_accel_group_activate(). func (v *AccelGroup) Activate(quark glib.Quark, acceleratable *glib.Object, key uint, mods gdk.ModifierType) bool { return gobool(C.gtk_accel_group_activate(v.native(), C.GQuark(quark), (*C.GObject)(unsafe.Pointer(acceleratable.Native())), C.guint(key), C.GdkModifierType(mods))) }
// AccelGroupsActivate is a wrapper around gtk_accel_groups_activate(). func AccelGroupsActivate(obj *glib.Object, key uint, mods gdk.ModifierType) bool { return gobool(C.gtk_accel_groups_activate((*C.GObject)(unsafe.Pointer(obj.Native())), C.guint(key), C.GdkModifierType(mods))) }