:right-sidebar: True SimplePermission =================================================================== .. currentmodule:: gi.repository.Gio .. class:: SimplePermission(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gio.Permission`, :class:`~gi.repository.GObject.Object` :Constructors: :: SimplePermission(**properties) new(allowed:bool) -> Gio.Permission Constructors ------------ .. rst-class:: interim-class .. class:: SimplePermission :no-index: .. classmethod:: new(allowed: bool) -> ~gi.repository.Gio.Permission Creates a new :obj:`~gi.repository.Gio.Permission` instance that represents an action that is either always or never allowed. .. versionadded:: 2.26 :param allowed: :const:`True` if the action is allowed