Expand description
Collection of common methods and types.
Modules§
- expression 🔒
- Collection of common expressions.
- expression_
list_ 🔒model - grouping_
list_ 🔒model - key_
bindings 🔒 - Helpers to add key bindings to widgets.
- location 🔒
- Location API.
- macros 🔒
- Collection of macros.
- matrix 🔒
- Collection of methods related to the Matrix specification.
- media 🔒
- Collection of methods for media.
- notifications 🔒
- placeholder_
object 🔒 - single_
item_ 🔒list_ model - sourceview 🔒
- Collection of methods for interacting with
GtkSourceView
. - string 🔒
- Helper traits and methods for strings.
- template_
callbacks 🔒 - Collection of GTK template callbacks.
- toast 🔒
- Macros and methods to display toasts in the interface.
Structs§
- Abortable
Handle 🔒 - A wrapper around
JoinHandle
that aborts the future if it is dropped before the task ends. - Bound
Construct Only Object - Wrapper to manage a bound construct-only object.
- Bound
Object - Wrapper to manage a bound object.
- Bound
Object 🔒Inner - Inner to manage a bound object.
- Bound
Object Weak Ref - Wrapper to manage a bound object.
- Counted
Ref - A counted reference.
- Inner
Counted 🔒Ref - Ongoing
Async Action - Helper type to keep track of ongoing async actions that can succeed in different functions.
- Tokio
Drop - A type that requires the tokio runtime to be running when dropped.
- Weak
Ongoing Async Action - A weak reference to an
OngoingAsyncAction
.
Enums§
- Async
Action 🔒 - An async action.
- Data
Type 🔒 - The type of data.
- File
- A wrapper around several sources of files.
- Loading
State - The state of a resource that can be loaded.
Statics§
- EMOJI_
REGEX 🔒 - Regex that matches a string that only includes emojis.
- TMP_DIR 🔒
- The directory where to put temporary files.
Traits§
- Child
Property 🔒Ext - Extensions trait for types with a
child
property. - IsABin 🔒
- Helper trait to implement for widgets that subclass
AdwBin
, to be able to use theChildPropertyExt
trait.
Functions§
- bool_
to_ 🔒accessible_ tristate - Convert the given checked
bool
to aGtkAccessibleTristate
. - freplace 🔒
- Replace variables in the given string with the given dictionary.
- save_
data_ 🔒to_ tmp_ file - Save the given data to a temporary file.