config: add documentation
This commit is contained in:
parent
6916f03e94
commit
fe80440f38
36 changed files with 620 additions and 199 deletions
|
|
@ -1,3 +1,12 @@
|
|||
//! Knobs for changing the status text.
|
||||
|
||||
/// Sets the status text.
|
||||
///
|
||||
/// The status text is displayed at the right end of the bar.
|
||||
///
|
||||
/// The status text should be specified in [pango][pango] markup language.
|
||||
///
|
||||
/// [pango]: https://docs.gtk.org/Pango/pango_markup.html
|
||||
pub fn set_status(status: &str) {
|
||||
get!().set_status(status);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue