1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
use crate::StyleProvider;
use std::fmt;
glib::wrapper! {
#[doc(alias = "GtkStyleProperties")]
pub struct StyleProperties(Object<ffi::GtkStyleProperties, ffi::GtkStylePropertiesClass>) @implements StyleProvider;
match fn {
type_ => || ffi::gtk_style_properties_get_type(),
}
}
impl StyleProperties {
pub const NONE: Option<&'static StyleProperties> = None;
}
impl fmt::Display for StyleProperties {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str("StyleProperties")
}
}