Struct bitcoin_qt::NetworkStyle
source · pub struct NetworkStyle { /* private fields */ }
Expand description
| Coin network-specific GUI style information |
Implementations§
source§impl NetworkStyle
impl NetworkStyle
pub fn get_app_name(&self) -> &String
pub fn get_app_icon(&self) -> &QIcon
pub fn get_tray_and_window_icon(&self) -> &QIcon
pub fn get_title_add_text(&self) -> &String
sourcepub fn new(
app_name: &String,
icon_color_hue_shift: i32,
icon_color_saturation_reduction: i32,
title_add_text: *const u8
) -> Self
pub fn new( app_name: &String, icon_color_hue_shift: i32, icon_color_saturation_reduction: i32, title_add_text: *const u8 ) -> Self
| titleAddText needs to be const char* | for tr() |
sourcepub fn instantiate(&mut self, network_id: &String) -> *const NetworkStyle
pub fn instantiate(&mut self, network_id: &String) -> *const NetworkStyle
| Get style associated with provided | network id, or 0 if not known |
Auto Trait Implementations§
impl RefUnwindSafe for NetworkStyle
impl Send for NetworkStyle
impl Sync for NetworkStyle
impl Unpin for NetworkStyle
impl UnwindSafe for NetworkStyle
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more