Struct bitcoin_qt::Intro
source · pub struct Intro { /* private fields */ }
Expand description
| Introduction screen (pre-GUI startup). | | Allows the user to choose a data directory, | in which the wallet and block chain will | be stored. |
Implementations§
source§impl Intro
impl Intro
pub fn request_check(&mut self)
pub fn new( parent: *mut u32, blockchain_size_gb: Option<i64>, chain_state_size_gb: Option<i64> ) -> Self
pub fn get_data_directory(&mut self) -> String
pub fn set_data_directory(&mut self, data_dir: &String)
pub fn get_prune_mib(&self) -> i64
sourcepub fn show_if_needed(
&mut self,
did_show_intro: &mut bool,
prune_mib: &mut i64
) -> bool
pub fn show_if_needed( &mut self, did_show_intro: &mut bool, prune_mib: &mut i64 ) -> bool
| Determine data directory. Let the user | choose if the current one doesn’t exist. | | Let the user configure additional preferences | such as pruning. | | ———– | @note | | do NOT call global gArgs.GetDataDirNet() | before calling this function, this | will cause the wrong path to be cached. | | ———– | @return | | true if a data directory was selected, | false if the user cancelled the selection | dialog. |
pub fn set_status( &mut self, status: i32, message: &String, bytes_available: u64 )
pub fn update_free_space_label(&mut self)
pub fn on_data_directory_text_changed(&mut self, data_dir_str: &String)
pub fn on_data_dir_default_clicked(&mut self)
pub fn on_data_dir_custom_clicked(&mut self)
pub fn start_thread(&mut self)
pub fn check_path(&mut self, data_dir: &String)
pub fn get_path_to_check(&mut self) -> String
pub fn update_prune_labels(&mut self, prune_checked: bool)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Intro
impl !Send for Intro
impl !Sync for Intro
impl Unpin for Intro
impl UnwindSafe for Intro
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