libbismuth-1 Reference Manual
Packages
libbismuth-1
Bis
libbismuth-1
Description:
Content:
Namespaces:
Bis
Interfaces:
Swipeable
-
An interface for swipeable widgets.
Classes:
Album
-
An adaptive container acting like a box or a stack.
AlbumPage
-
An auxiliary class used by [class@Album].
Animation
-
A base class for animations.
AnimationTarget
-
Represents a value [ class@Animation] can animate.
Bin
-
A widget with one child.
CallbackAnimationTarget
-
An [ class@AnimationTarget] that calls a given callback during the animation.
Carousel
-
A paginated scrolling widget.
CarouselIndicatorDots
-
A dots indicator for [class@Carousel].
CarouselIndicatorLines
-
A lines indicator for [class@Carousel].
EnumListItem
-
`BisEnumListItem` is the type of items in a [class@EnumListModel].
EnumListModel
-
A [iface@Gio.
Hugger
-
A best fit container.
HuggerPage
-
An auxiliary class used by [class@Hugger] .
Lapel
-
An adaptive container acting like a box or an overlay.
Latch
-
A widget constraining its child to a given size.
LatchLayout
-
A layout manager constraining its children to a given size.
LatchScrollable
-
A scrollable [class@Latch].
PropertyAnimationTarget
-
An [ class@AnimationTarget] changing the value of a property of a [class@GObject.
SpringAnimation
-
A spring-based [class@Animation ].
SpringParams
-
Physical parameters of a spring for [ class@SpringAnimation].
SwipeTracker
-
A swipe tracker used in [ class@Carousel], [class@Lapel] and [class@Album].
TimedAnimation
-
A time-based [class@Animation].
Enums:
AlbumTransitionType
-
Describes the possible transitions in a [class@Album] widget.
AnimationState
-
Describes the possible states of an [class@Animation].
Easing
-
Describes the available easing functions for use with [class@TimedAnimation].
FoldThresholdPolicy
-
Determines when [ class@Lapel] and [class@Album] will fold.
HuggerTransitionType
-
Describes the possible transitions in a [class@Hugger] widget.
LapelFoldPolicy
-
Describes the possible folding behavior of a [class@Lapel] widget.
LapelTransitionType
-
Describes transitions types of a [class@Lapel] widget.
NavigationDirection
-
Describes the direction of a swipe navigation gesture.
Constants:
public
const
uint
DURATION_INFINITE
Indicates an [class@Animation] with an infinite duration.
public
const
int
MAJOR_VERSION
Bismuth major version component (e.
public
const
int
MICRO_VERSION
Bismuth micro version component (e.
public
const
int
MINOR_VERSION
Bismuth minor version component (e.
public
const
string
VERSION_S
Bismuth version, encoded as a string, useful for printing and concatenation.
Delegates:
public
delegate
void
AnimationTargetFunc
(
double
value)
Prototype for animation targets based on user callbacks.
Methods:
public
double
easing_ease
(
Easing
self,
double
value)
public
bool
get_enable_animations
(
Widget
widget)
Checks whether animations are enabled for
widget
.
public
uint
get_major_version
()
Returns the major version number of the Bismuth library.
public
uint
get_micro_version
()
Returns the micro version number of the Bismuth library.
public
uint
get_minor_version
()
Returns the minor version number of the Bismuth library.
public
void
init
()
Initializes Libbismuth.
public
bool
is_initialized
()
Use this function to check if libbismuth has been initialized with [ func@init].
public
double
lerp
(
double
a,
double
b,
double
t)
Computes the linear interpolation between
a
and
b
for
t
.