Yoda 0.11.5

Browser for Gemini Protocol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use gtk::Label;

pub trait Tab {
    fn tab(label: &str) -> Self;
}

impl Tab for Label {
    fn tab(label: &str) -> Self {
        Label::builder()
            .css_classes(["heading"])
            .label(label)
            .build()
    }
}