ActionGroupProtocol

public protocol ActionGroupProtocol : ObjectProtocol, BuildableProtocol

Actions are organised into groups. An action group is essentially a map from names to GtkAction objects.

All actions that would make sense to use in a particular context should be in a single group. Multiple action groups may be used for a particular user interface. In fact, it is expected that most nontrivial applications will make use of multiple groups. For example, in an application that can edit multiple documents, one group holding global actions (e.g. quit, about, new), and one group per document holding actions that act on that document (eg. save, cut/copy/paste, etc). Each window’s menus would be constructed from a combination of two action groups.

Accelerators ##

Accelerators are handled by the GTK+ accelerator map. All actions are assigned an accelerator path (which normally has the form <Actions>/group-name/action-name) and a shortcut is associated with this accelerator path. All menuitems and toolitems take on this accelerator path. The GTK+ accelerator map code makes sure that the correct shortcut is displayed next to the menu item.

GtkActionGroup as GtkBuildable #

The GtkActionGroup implementation of the GtkBuildable interface accepts GtkAction objects as <child> elements in UI definitions.

Note that it is probably more common to define actions and action groups in the code, since they are directly related to what the code can do.

The GtkActionGroup implementation of the GtkBuildable interface supports a custom <accelerator> element, which has attributes named “key“ and “modifiers“ and allows to specify accelerators. This is similar to the <accelerator> element of GtkWidget, the main difference is that it doesn’t allow you to specify a signal.

A GtkDialog UI definition fragment.

<object class="GtkActionGroup" id="actiongroup">
  <child>
      <object class="GtkAction" id="About">
          <property name="name">About</property>
          <property name="stock_id">gtk-about</property>
          <signal handler="about_activate" name="activate"/>
      </object>
      <accelerator key="F1" modifiers="GDK_CONTROL_MASK | GDK_SHIFT_MASK"/>
  </child>
</object>

The ActionGroupProtocol protocol exposes the methods and properties of an underlying GtkActionGroup instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, see ActionGroup. Alternatively, use ActionGroupRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying GtkActionGroup instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • action_group_ptr Default implementation

    Typed pointer to the underlying GtkActionGroup instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GtkActionGroup instance.

    Declaration

    Swift

    var action_group_ptr: UnsafeMutablePointer<GtkActionGroup>! { get }
  • Required Initialiser for types conforming to ActionGroupProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)
  • gActionGroupPointer Extension method

    Typed pointer to the underlying GActionGroup instance.

    Declaration

    Swift

    @inlinable
    var gActionGroupPointer: UnsafeMutablePointer<GActionGroup>! { get }

ActionGroup Class

  • Bind a ActionGroupPropertyName source property to a given target object.

    Declaration

    Swift

    @discardableResult
    @inlinable
    func bind<Q, T>(property source_property: ActionGroupPropertyName, to target: T, _ target_property: Q, flags f: BindingFlags = .default, transformFrom transform_from: @escaping GLibObject.ValueTransformer = { $0.transform(destValue: $1) }, transformTo transform_to: @escaping GLibObject.ValueTransformer = { $0.transform(destValue: $1) }) -> BindingRef! where Q : PropertyNameProtocol, T : ObjectProtocol

    Parameters

    source_property

    the source property to bind

    target

    the target object to bind to

    target_property

    the target property to bind to

    flags

    the flags to pass to the Binding

    transform_from

    ValueTransformer to use for forward transformation

    transform_to

    ValueTransformer to use for backwards transformation

    Return Value

    binding reference or nil in case of an error

  • get(property:) Extension method

    Get the value of a ActionGroup property

    Declaration

    Swift

    @inlinable
    func get(property: ActionGroupPropertyName) -> GLibObject.Value

    Parameters

    property

    the property to get the value for

    Return Value

    the value of the named property

  • set(property:value:) Extension method

    Set the value of a ActionGroup property. Note that this will only have an effect on properties that are writable and not construct-only!

    Declaration

    Swift

    @inlinable
    func set(property: ActionGroupPropertyName, value v: GLibObject.Value)

    Parameters

    property

    the property to get the value for

    Return Value

    the value of the named property

ActionGroup signals

  • Connect a Swift signal handler to the given, typed ActionGroupSignalName signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func connect(signal s: ActionGroupSignalName, flags f: ConnectFlags = ConnectFlags(0), handler h: @escaping SignalHandler) -> Int

    Parameters

    signal

    The signal to connect

    flags

    The connection flags to use

    data

    A pointer to user data to provide to the callback

    destroyData

    A GClosureNotify C function to destroy the data pointed to by userData

    handler

    The Swift signal handler (function or callback) to invoke on the given signal

    Return Value

    The signal handler ID (always greater than 0 for successful connections)

  • Connect a C signal handler to the given, typed ActionGroupSignalName signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func connect(signal s: ActionGroupSignalName, flags f: ConnectFlags = ConnectFlags(0), data userData: gpointer!, destroyData destructor: GClosureNotify? = nil, signalHandler h: @escaping GCallback) -> Int

    Parameters

    signal

    The signal to connect

    flags

    The connection flags to use

    data

    A pointer to user data to provide to the callback

    destroyData

    A GClosureNotify C function to destroy the data pointed to by userData

    signalHandler

    The C function to be called on the given signal

    Return Value

    The signal handler ID (always greater than 0 for successful connections)

  • The connect-proxy signal is emitted after connecting a proxy to an action in the group. Note that the proxy may have been connected to a different action before.

    This is intended for simple customizations for which a custom action class would be too clumsy, e.g. showing tooltips for menuitems in the statusbar.

    GtkUIManager proxies the signal and provides global notification just before any action is connected to a proxy, which is probably more convenient to use.

    Note

    This represents the underlying connect-proxy signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onConnectProxy(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ActionGroupRef, _ action: ActionRef, _ proxy: WidgetRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    action

    the action

    proxy

    the proxy

    handler

    The signal handler to call Run the given callback whenever the connectProxy signal is emitted

  • connectProxySignal Extension method

    Typed connect-proxy signal for using the connect(signal:) methods

    Declaration

    Swift

    static var connectProxySignal: ActionGroupSignalName { get }
  • The disconnect-proxy signal is emitted after disconnecting a proxy from an action in the group.

    GtkUIManager proxies the signal and provides global notification just before any action is connected to a proxy, which is probably more convenient to use.

    Note

    This represents the underlying disconnect-proxy signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onDisconnectProxy(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ActionGroupRef, _ action: ActionRef, _ proxy: WidgetRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    action

    the action

    proxy

    the proxy

    handler

    The signal handler to call Run the given callback whenever the disconnectProxy signal is emitted

  • disconnectProxySignal Extension method

    Typed disconnect-proxy signal for using the connect(signal:) methods

    Declaration

    Swift

    static var disconnectProxySignal: ActionGroupSignalName { get }
  • The post-activate signal is emitted just after the action in the action_group is activated

    This is intended for GtkUIManager to proxy the signal and provide global notification just after any action is activated.

    Note

    This represents the underlying post-activate signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onPostActivate(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ActionGroupRef, _ action: ActionRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    action

    the action

    handler

    The signal handler to call Run the given callback whenever the postActivate signal is emitted

  • postActivateSignal Extension method

    Typed post-activate signal for using the connect(signal:) methods

    Declaration

    Swift

    static var postActivateSignal: ActionGroupSignalName { get }
  • The pre-activate signal is emitted just before the action in the action_group is activated

    This is intended for GtkUIManager to proxy the signal and provide global notification just before any action is activated.

    Note

    This represents the underlying pre-activate signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onPreActivate(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ActionGroupRef, _ action: ActionRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    action

    the action

    handler

    The signal handler to call Run the given callback whenever the preActivate signal is emitted

  • preActivateSignal Extension method

    Typed pre-activate signal for using the connect(signal:) methods

    Declaration

    Swift

    static var preActivateSignal: ActionGroupSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::accel-group signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyAccelGroup(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ActionGroupRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyAccelGroup signal is emitted

  • notifyAccelGroupSignal Extension method

    Typed notify::accel-group signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyAccelGroupSignal: ActionGroupSignalName { get }
  • onNotifyName(flags:handler:) Extension method

    The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::name signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyName(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ActionGroupRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyName signal is emitted

  • notifyNameSignal Extension method

    Typed notify::name signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyNameSignal: ActionGroupSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::sensitive signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifySensitive(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ActionGroupRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifySensitive signal is emitted

  • notifySensitiveSignal Extension method

    Typed notify::sensitive signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifySensitiveSignal: ActionGroupSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::visible signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyVisible(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ActionGroupRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyVisible signal is emitted

  • notifyVisibleSignal Extension method

    Typed notify::visible signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyVisibleSignal: ActionGroupSignalName { get }

ActionGroup Class: ActionGroupProtocol extension (methods and fields)

  • add(action:) Extension method

    Adds an action object to the action group. Note that this function does not set up the accel path of the action, which can lead to problems if a user tries to modify the accelerator of a menuitem associated with the action. Therefore you must either set the accel path yourself with gtk_action_set_accel_path(), or use gtk_action_group_add_action_with_accel (..., NULL).

    add_action is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func add<ActionT>(action: ActionT) where ActionT : ActionProtocol
  • Adds an action object to the action group and sets up the accelerator.

    If accelerator is nil, attempts to use the accelerator associated with the stock_id of the action.

    Accel paths are set to &lt;Actions&gt;/group-name/action-name.

    add_action_with_accel is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func addActionWithAccel<ActionT>(action: ActionT, accelerator: UnsafePointer<gchar>? = nil) where ActionT : ActionProtocol
  • This is a convenience function to create a number of actions and add them to the action group.

    The “activate” signals of the actions are connected to the callbacks and their accel paths are set to &lt;Actions&gt;/group-name/action-name.

    add_actions is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func addActions(entries: UnsafePointer<GtkActionEntry>!, nEntries: Int, userData: gpointer! = nil)
  • This variant of gtk_action_group_add_actions() adds a GDestroyNotify callback for user_data.

    add_actions_full is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func addActionsFull(entries: UnsafePointer<GtkActionEntry>!, nEntries: Int, userData: gpointer! = nil, destroy: GDestroyNotify? = nil)
  • This is a convenience routine to create a group of radio actions and add them to the action group.

    The “changed” signal of the first radio action is connected to the on_change callback and the accel paths of the actions are set to &lt;Actions&gt;/group-name/action-name.

    add_radio_actions is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func addRadioActions(entries: UnsafePointer<GtkRadioActionEntry>!, nEntries: Int, value: Int, onChange: GCallback?, userData: gpointer! = nil)
  • This variant of gtk_action_group_add_radio_actions() adds a GDestroyNotify callback for user_data.

    add_radio_actions_full is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func addRadioActionsFull(entries: UnsafePointer<GtkRadioActionEntry>!, nEntries: Int, value: Int, onChange: GCallback?, userData: gpointer! = nil, destroy: GDestroyNotify?)
  • This is a convenience function to create a number of toggle actions and add them to the action group.

    The “activate” signals of the actions are connected to the callbacks and their accel paths are set to &lt;Actions&gt;/group-name/action-name.

    add_toggle_actions is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func addToggleActions(entries: UnsafePointer<GtkToggleActionEntry>!, nEntries: Int, userData: gpointer! = nil)
  • This variant of gtk_action_group_add_toggle_actions() adds a GDestroyNotify callback for user_data.

    add_toggle_actions_full is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func addToggleActionsFull(entries: UnsafePointer<GtkToggleActionEntry>!, nEntries: Int, userData: gpointer! = nil, destroy: GDestroyNotify? = nil)
  • getAccelGroup() Extension method

    Gets the accelerator group.

    get_accel_group is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func getAccelGroup() -> AccelGroupRef!
  • getAction(actionName:) Extension method

    Looks up an action in the action group by name.

    get_action is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func getAction(actionName: UnsafePointer<gchar>!) -> ActionRef!
  • getName() Extension method

    Gets the name of the action group.

    get_name is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func getName() -> String!
  • getSensitive() Extension method

    Returns true if the group is sensitive. The constituent actions can only be logically sensitive (see gtk_action_is_sensitive()) if they are sensitive (see gtk_action_get_sensitive()) and their group is sensitive.

    get_sensitive is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func getSensitive() -> Bool
  • getVisible() Extension method

    Returns true if the group is visible. The constituent actions can only be logically visible (see gtk_action_is_visible()) if they are visible (see gtk_action_get_visible()) and their group is visible.

    get_visible is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func getVisible() -> Bool
  • listActions() Extension method

    Lists the actions in the action group.

    list_actions is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func listActions() -> GLib.ListRef!
  • remove(action:) Extension method

    Removes an action object from the action group.

    remove_action is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func remove<ActionT>(action: ActionT) where ActionT : ActionProtocol
  • set(accelGroup:) Extension method

    Sets the accelerator group to be used by every action in this group.

    set_accel_group is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func set(accelGroup: AccelGroupRef? = nil)
  • set(accelGroup:) Extension method

    Sets the accelerator group to be used by every action in this group.

    set_accel_group is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func set<AccelGroupT>(accelGroup: AccelGroupT?) where AccelGroupT : AccelGroupProtocol
  • set(sensitive:) Extension method

    Changes the sensitivity of action_group

    set_sensitive is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func set(sensitive: Bool)
  • Sets a function to be used for translating the label and tooltip of GtkActionEntrys added by gtk_action_group_add_actions().

    If you’re using gettext(), it is enough to set the translation domain with gtk_action_group_set_translation_domain().

    set_translate_func is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func setTranslateFunc(func: GtkTranslateFunc?, data: gpointer! = nil, notify: GDestroyNotify?)
  • setTranslation(domain:) Extension method

    Sets the translation domain and uses g_dgettext() for translating the label and tooltip of GtkActionEntrys added by gtk_action_group_add_actions().

    If you’re not using gettext() for localization, see gtk_action_group_set_translate_func().

    set_translation_domain is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func setTranslation(domain: UnsafePointer<gchar>? = nil)
  • set(visible:) Extension method

    Changes the visible of action_group.

    set_visible is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func set(visible: Bool)
  • translate(string:) Extension method

    Translates a string using the function set with gtk_action_group_set_translate_func(). This is mainly intended for language bindings.

    translate_string is deprecated: This method is deprecated.

    Declaration

    Swift

    @available(*, deprecated)
    @inlinable
    func translate(string: UnsafePointer<gchar>!) -> String!
  • accelGroup Extension method

    Gets the accelerator group.

    get_accel_group is deprecated: This method is deprecated.

    Declaration

    Swift

    @inlinable
    var accelGroup: AccelGroupRef! { get nonmutating set }
  • name Extension method

    A name for the action.

    name is deprecated: This method is deprecated.

    Declaration

    Swift

    @inlinable
    var name: String! { get }
  • sensitive Extension method

    Whether the action group is enabled.

    sensitive is deprecated: This method is deprecated.

    Declaration

    Swift

    @inlinable
    var sensitive: Bool { get nonmutating set }
  • visible Extension method

    Whether the action group is visible.

    visible is deprecated: This method is deprecated.

    Declaration

    Swift

    @inlinable
    var visible: Bool { get nonmutating set }
  • parent Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var parent: GObject { get }