WindowHints
public struct WindowHints : OptionSet
Used to indicate which fields of a GdkGeometry struct should be paid
attention to. Also, the presence/absence of GDK_HINT_POS,
GDK_HINT_USER_POS, and GDK_HINT_USER_SIZE is significant, though they don’t
directly refer to GdkGeometry fields. GDK_HINT_USER_POS will be set
automatically by GtkWindow if you call gtk_window_move().
GDK_HINT_USER_POS and GDK_HINT_USER_SIZE should be set if the user
specified a size/position using a –geometry command-line argument;
gtk_window_parse_geometry() automatically sets these flags.
-
The corresponding value of the raw type
Declaration
Swift
public var rawValue: UInt32 -
The equivalent raw Int value
Declaration
Swift
@inlinable public var intValue: Int { get set } -
The equivalent raw
gintvalueDeclaration
Swift
@inlinable public var int: gint { get set } -
The equivalent underlying
GdkWindowHintsenum valueDeclaration
Swift
@inlinable public var value: GdkWindowHints { get set } -
Creates a new instance with the specified raw value
Declaration
Swift
@inlinable public init(rawValue: UInt32) -
Creates a new instance with the specified
GdkWindowHintsenum valueDeclaration
Swift
@inlinable public init(_ enumValue: GdkWindowHints) -
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger -
indicates that the program has positioned the window
Declaration
Swift
public static let pos: WindowHints -
min size fields are set
Declaration
Swift
public static let minSize: WindowHints -
max size fields are set
Declaration
Swift
public static let maxSize: WindowHints -
base size fields are set
Declaration
Swift
public static let baseSize: WindowHints -
aspect ratio fields are set
Declaration
Swift
public static let aspect: WindowHints -
resize increment fields are set
Declaration
Swift
public static let resizeInc: WindowHints -
window gravity field is set
Declaration
Swift
public static let winGravity: WindowHints -
indicates that the window’s position was explicitly set by the user
Declaration
Swift
public static let userPos: WindowHints -
indicates that the window’s size was explicitly set by the user
Declaration
Swift
public static let userSize: WindowHints
View on GitHub
Install in Dash
WindowHints Structure Reference