1 // This file was generated by gir (https://github.com/gtk-rs/gir) 2 // from gir-files (https://github.com/gtk-rs/gir-files) 3 // DO NOT EDIT 4 5 use crate::StyleProvider; 6 use std::fmt; 7 8 glib::wrapper! { 9 #[doc(alias = "GtkStyleProperties")] 10 pub struct StyleProperties(Object<ffi::GtkStyleProperties, ffi::GtkStylePropertiesClass>) @implements StyleProvider; 11 12 match fn { 13 type_ => || ffi::gtk_style_properties_get_type(), 14 } 15 } 16 17 impl StyleProperties {} 18 19 pub const NONE_STYLE_PROPERTIES: Option<&StyleProperties> = None; 20 21 impl fmt::Display for StyleProperties { fmt(&self, f: &mut fmt::Formatter) -> fmt::Result22 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { 23 f.write_str("StyleProperties") 24 } 25 } 26