MenuBarClassProtocol
public protocol MenuBarClassProtocol
The MenuBarClassProtocol
protocol exposes the methods and properties of an underlying GtkMenuBarClass
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 MenuBarClass
.
Alternatively, use MenuBarClassRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkMenuBarClass
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
GtkMenuBarClass
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkMenuBarClass
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkMenuBarClass>! { get }
-
Required Initialiser for types conforming to
MenuBarClassProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
parentClass
Extension methodUndocumented
Declaration
Swift
@inlinable var parentClass: GtkMenuShellClass { get }