RadioActionEntryProtocol
public protocol RadioActionEntryProtocol
GtkRadioActionEntry
structs are used with
gtk_action_group_add_radio_actions()
to construct groups of radio actions.
The RadioActionEntryProtocol
protocol exposes the methods and properties of an underlying GtkRadioActionEntry
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 RadioActionEntry
.
Alternatively, use RadioActionEntryRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkRadioActionEntry
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
GtkRadioActionEntry
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkRadioActionEntry
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkRadioActionEntry>! { get }
-
Required Initialiser for types conforming to
RadioActionEntryProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
name
Extension methodThe name of the action.
Declaration
Swift
@inlinable var name: UnsafePointer<gchar>! { get set }
-
stockID
Extension methodThe stock id for the action, or the name of an icon from the icon theme.
Declaration
Swift
@inlinable var stockID: UnsafePointer<gchar>! { get set }
-
label
Extension methodThe label for the action. This field should typically be marked for translation, see
gtk_action_group_set_translation_domain()
.Declaration
Swift
@inlinable var label: UnsafePointer<gchar>! { get set }
-
accelerator
Extension methodThe accelerator for the action, in the format understood by
gtk_accelerator_parse()
.Declaration
Swift
@inlinable var accelerator: UnsafePointer<gchar>! { get set }
-
tooltip
Extension methodThe tooltip for the action. This field should typically be marked for translation, see
gtk_action_group_set_translation_domain()
.Declaration
Swift
@inlinable var tooltip: UnsafePointer<gchar>! { get set }
-
value
Extension methodThe value to set on the radio action. See
gtk_radio_action_get_current_value()
.Declaration
Swift
@inlinable var value: gint { get set }