forked from aparoksha/adwaita-swift
Export Libadwaita types used in public functions
One doesn't have to import Libadwaita unless they want to use an unimplemented widget
This commit is contained in:
parent
503cf3a191
commit
8911cc8f42
@ -92,12 +92,16 @@
|
|||||||
|
|
||||||
## Typealiases
|
## Typealiases
|
||||||
|
|
||||||
|
- [Alignment](typealiases/Alignment.md)
|
||||||
- [Body](typealiases/Body.md)
|
- [Body](typealiases/Body.md)
|
||||||
|
- [Edge](typealiases/Edge.md)
|
||||||
- [GTUIApplicationWindow](typealiases/GTUIApplicationWindow.md)
|
- [GTUIApplicationWindow](typealiases/GTUIApplicationWindow.md)
|
||||||
- [GTUIWindow](typealiases/GTUIWindow.md)
|
- [GTUIWindow](typealiases/GTUIWindow.md)
|
||||||
|
- [Icon](typealiases/Icon.md)
|
||||||
- [MenuBuilder](typealiases/MenuBuilder.md)
|
- [MenuBuilder](typealiases/MenuBuilder.md)
|
||||||
- [MenuContent](typealiases/MenuContent.md)
|
- [MenuContent](typealiases/MenuContent.md)
|
||||||
- [Scene](typealiases/Scene.md)
|
- [Scene](typealiases/Scene.md)
|
||||||
- [SceneBuilder](typealiases/SceneBuilder.md)
|
- [SceneBuilder](typealiases/SceneBuilder.md)
|
||||||
|
- [Transition](typealiases/Transition.md)
|
||||||
|
|
||||||
This file was generated by [SourceDocs](https://github.com/eneko/SourceDocs)
|
This file was generated by [SourceDocs](https://github.com/eneko/SourceDocs)
|
||||||
5
Documentation/Reference/typealiases/Alignment.md
Normal file
5
Documentation/Reference/typealiases/Alignment.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
**TYPEALIAS**
|
||||||
|
|
||||||
|
# `Alignment`
|
||||||
|
|
||||||
|
The alignment for a widget.
|
||||||
5
Documentation/Reference/typealiases/Edge.md
Normal file
5
Documentation/Reference/typealiases/Edge.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
**TYPEALIAS**
|
||||||
|
|
||||||
|
# `Edge`
|
||||||
|
|
||||||
|
The edges of a widget.
|
||||||
5
Documentation/Reference/typealiases/Icon.md
Normal file
5
Documentation/Reference/typealiases/Icon.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
**TYPEALIAS**
|
||||||
|
|
||||||
|
# `Icon`
|
||||||
|
|
||||||
|
An icon.
|
||||||
5
Documentation/Reference/typealiases/Transition.md
Normal file
5
Documentation/Reference/typealiases/Transition.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
**TYPEALIAS**
|
||||||
|
|
||||||
|
# `Transition`
|
||||||
|
|
||||||
|
A transition for a stack.
|
||||||
@ -126,3 +126,12 @@ extension View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// The alignment for a widget.
|
||||||
|
public typealias Alignment = Libadwaita.Alignment
|
||||||
|
/// The edges of a widget.
|
||||||
|
public typealias Edge = Libadwaita.Edge
|
||||||
|
/// An icon.
|
||||||
|
public typealias Icon = Libadwaita.Icon
|
||||||
|
/// A transition for a stack.
|
||||||
|
public typealias Transition = Libadwaita.Transition
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user