SimpleActionGroup

open class SimpleActionGroup(pointer: <Error class: unknown class><<Error class: unknown class>>) : ActionGroup, ActionMap

GSimpleActionGroup is a hash table filled with iface@Gio.Action objects, implementing the iface@Gio.ActionGroup and iface@Gio.ActionMap interfaces.

Skipped during bindings generation

  • parameter entries: ActionEntry

Since

2.28

Constructors

Link copied to clipboard
constructor()

Creates a new, empty, #GSimpleActionGroup.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val gioActionGroupPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val gioActionMapPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gioSimpleActionGroupPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun actionAdded(actionName: String)

Emits the signal@Gio.ActionGroup::action-added signal on @action_group.

Link copied to clipboard
open fun actionEnabledChanged(actionName: String, enabled: Boolean)

Emits the signal@Gio.ActionGroup::action-enabled-changed signal on @action_group.

Link copied to clipboard
open fun actionRemoved(actionName: String)

Emits the signal@Gio.ActionGroup::action-removed signal on @action_group.

Link copied to clipboard
open fun actionStateChanged(actionName: String, state: <Error class: unknown class>)

Emits the signal@Gio.ActionGroup::action-state-changed signal on @action_group.

Link copied to clipboard
open fun activateAction_(actionName: String, parameter: <Error class: unknown class>? = null)

Activate the named action within @action_group.

Link copied to clipboard
open fun addAction(action: Action)

Adds an action to the @action_map.

Link copied to clipboard
open fun changeActionState(actionName: String, value: <Error class: unknown class>)

Request for the state of the named action within @action_group to be changed to @value.

Link copied to clipboard
open fun connectActionAdded(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (actionName: String) -> Unit): <Error class: unknown class>

Signals that a new action was just added to the group.

Link copied to clipboard
open fun connectActionEnabledChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (actionName: String, enabled: Boolean) -> Unit): <Error class: unknown class>

Signals that the enabled status of the named action has changed.

Link copied to clipboard
open fun connectActionRemoved(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (actionName: String) -> Unit): <Error class: unknown class>

Signals that an action is just about to be removed from the group.

Link copied to clipboard
open fun connectActionStateChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (actionName: String, <Error class: unknown class>) -> Unit): <Error class: unknown class>

Signals that the state of the named action has changed.

Link copied to clipboard
open fun getActionEnabled(actionName: String): Boolean

Checks if the named action within @action_group is currently enabled.

Link copied to clipboard
open fun getActionParameterType(actionName: String): <Error class: unknown class>?

Queries the type of the parameter that must be given when activating the named action within @action_group.

Link copied to clipboard
open fun getActionState(actionName: String): <Error class: unknown class>?

Queries the current state of the named action within @action_group.

Link copied to clipboard
open fun getActionStateHint(actionName: String): <Error class: unknown class>?

Requests a hint about the valid range of values for the state of the named action within @action_group.

Link copied to clipboard
open fun getActionStateType(actionName: String): <Error class: unknown class>?

Queries the type of the state of the named action within

Link copied to clipboard
open fun hasAction(actionName: String): Boolean

Checks if the named action exists within @action_group.

Link copied to clipboard
open fun insert(action: Action)

Adds an action to the action group.

Link copied to clipboard
open fun listActions(): List<String>

Lists the actions contained within @action_group.

Link copied to clipboard
open fun lookup(actionName: String): Action

Looks up the action with the name @action_name in the group.

Link copied to clipboard
open fun lookupAction(actionName: String): Action?

Looks up the action with the name @action_name in @action_map.

Link copied to clipboard
open fun remove(actionName: String)

Removes the named action from the action group.

Link copied to clipboard
open fun removeAction(actionName: String)

Removes the named action from the action map.