StackSwitcher
open class StackSwitcher : Box, StackSwitcherProtocolThe GtkStackSwitcher widget acts as a controller for a
GtkStack; it shows a row of buttons to switch between
the various pages of the associated stack widget.
All the content for the buttons comes from the child properties
of the GtkStack; the button visibility in a GtkStackSwitcher
widget is controlled by the visibility of the child in the
GtkStack.
It is possible to associate multiple GtkStackSwitcher widgets
with the same GtkStack widget.
The GtkStackSwitcher widget was added in 3.10.
CSS nodes
GtkStackSwitcher has a single CSS node named stackswitcher and style class .stack-switcher.
When circumstances require it, GtkStackSwitcher adds the .needs-attention style class to the widgets representing the stack pages.
The StackSwitcher type acts as a reference-counted owner of an underlying GtkStackSwitcher instance.
It provides the methods that can operate on this data type through StackSwitcherProtocol conformance.
Use StackSwitcher as a strong reference or owner of a GtkStackSwitcher instance.
- 
                  
                  Designated initialiser from the underlying `C` data type.This creates an instance without performing an unbalanced retain i.e., ownership is transferred to the StackSwitcherinstance.DeclarationSwift @inlinable public init(_ op: UnsafeMutablePointer<GtkStackSwitcher>)Parametersoppointer to the underlying object 
- 
                  
                  Designated initialiser from a constant pointer to the underlying Cdata type. This creates an instance without performing an unbalanced retain i.e., ownership is transferred to theStackSwitcherinstance.DeclarationSwift @inlinable public init(_ op: UnsafePointer<GtkStackSwitcher>)Parametersoppointer to the underlying object 
- 
                  
                  Optional initialiser from a non-mutating gpointerto the underlyingCdata type. This creates an instance without performing an unbalanced retain i.e., ownership is transferred to theStackSwitcherinstance.DeclarationSwift @inlinable override public init!(gpointer op: gpointer?)Parametersopgpointer to the underlying object 
- 
                  
                  Optional initialiser from a non-mutating gconstpointerto the underlyingCdata type. This creates an instance without performing an unbalanced retain i.e., ownership is transferred to theStackSwitcherinstance.DeclarationSwift @inlinable override public init!(gconstpointer op: gconstpointer?)Parametersoppointer to the underlying object 
- 
                  
                  Optional initialiser from a constant pointer to the underlying Cdata type. This creates an instance without performing an unbalanced retain i.e., ownership is transferred to theStackSwitcherinstance.DeclarationSwift @inlinable public init!(_ op: UnsafePointer<GtkStackSwitcher>?)Parametersoppointer to the underlying object 
- 
                  
                  Optional initialiser from the underlying Cdata type. This creates an instance without performing an unbalanced retain i.e., ownership is transferred to theStackSwitcherinstance.DeclarationSwift @inlinable public init!(_ op: UnsafeMutablePointer<GtkStackSwitcher>?)Parametersoppointer to the underlying object 
- 
                  
                  Designated initialiser from the underlying Cdata type. Will retainGtkStackSwitcher. i.e., ownership is transferred to theStackSwitcherinstance.DeclarationSwift @inlinable public init(retaining op: UnsafeMutablePointer<GtkStackSwitcher>)Parametersoppointer to the underlying object 
- 
                  
                  Reference intialiser for a related type that implements StackSwitcherProtocolWill retainGtkStackSwitcher.DeclarationSwift @inlinable public init<T>(stackSwitcher other: T) where T : StackSwitcherProtocolParametersotheran instance of a related type that implements StackSwitcherProtocol
- 
                  
                  Unsafe typed initialiser. Do not use unless you know the underlying data type the pointer points to conforms to StackSwitcherProtocol.DeclarationSwift @inlinable override public init<T>(cPointer p: UnsafeMutablePointer<T>)ParameterscPointerpointer to the underlying object 
- 
                  
                  Unsafe typed, retaining initialiser. Do not use unless you know the underlying data type the pointer points to conforms to StackSwitcherProtocol.DeclarationSwift @inlinable override public init<T>(retainingCPointer cPointer: UnsafeMutablePointer<T>)ParameterscPointerpointer to the underlying object 
- 
                  
                  Unsafe untyped initialiser. Do not use unless you know the underlying data type the pointer points to conforms to StackSwitcherProtocol.DeclarationSwift @inlinable override public init(raw p: UnsafeRawPointer)Parameterspraw pointer to the underlying object 
- 
                  
                  Unsafe untyped, retaining initialiser. Do not use unless you know the underlying data type the pointer points to conforms to StackSwitcherProtocol.DeclarationSwift @inlinable override public init(retainingRaw raw: UnsafeRawPointer)
- 
                  
                  Unsafe untyped initialiser. Do not use unless you know the underlying data type the pointer points to conforms to StackSwitcherProtocol.DeclarationSwift @inlinable public required init(raw p: UnsafeMutableRawPointer)Parameterspmutable raw pointer to the underlying object 
- 
                  
                  Unsafe untyped, retaining initialiser. Do not use unless you know the underlying data type the pointer points to conforms to StackSwitcherProtocol.DeclarationSwift @inlinable required public init(retainingRaw raw: UnsafeMutableRawPointer)Parametersrawmutable raw pointer to the underlying object 
- 
                  
                  Unsafe untyped initialiser. Do not use unless you know the underlying data type the pointer points to conforms to StackSwitcherProtocol.DeclarationSwift @inlinable override public init(opaquePointer p: OpaquePointer)Parameterspopaque pointer to the underlying object 
- 
                  
                  Unsafe untyped, retaining initialiser. Do not use unless you know the underlying data type the pointer points to conforms to StackSwitcherProtocol.DeclarationSwift @inlinable override public init(retainingOpaquePointer p: OpaquePointer)Parameterspopaque pointer to the underlying object 
- 
                  
                  Create a new GtkStackSwitcher.DeclarationSwift @inlinable public init()
 View on GitHub
            View on GitHub
           Install in Dash
            Install in Dash
           StackSwitcher Class Reference
      StackSwitcher Class Reference