SeparatorMenuItemRef

public struct SeparatorMenuItemRef : SeparatorMenuItemProtocol, GWeakCapturing

The GtkSeparatorMenuItem is a separator used to group items within a menu. It displays a horizontal line with a shadow to make it appear sunken into the interface.

CSS nodes

GtkSeparatorMenuItem has a single CSS node with name separator.

The SeparatorMenuItemRef type acts as a lightweight Swift reference to an underlying GtkSeparatorMenuItem instance. It exposes methods that can operate on this data type through SeparatorMenuItemProtocol conformance. Use SeparatorMenuItemRef only as an unowned reference to an existing GtkSeparatorMenuItem instance.

  • ptr
    Untyped pointer to the underlying `GtkSeparatorMenuItem` instance.
    

    For type-safe access, use the generated, typed pointer separator_menu_item_ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

SeparatorMenuItem Class