pub struct CoinControlDialog { /* private fields */ }
Expand description

Implementations§

source§

impl CoinControlDialog

source

pub fn new( coin_control: &mut CoinControl, model: *mut WalletModel, platform_style: *const PlatformStyle, parent: *mut u32 ) -> Self

source

pub fn button_box_clicked(&mut self, button: *mut u32)

| ok button |

source

pub fn button_select_all_clicked(&mut self)

| (un)select all |

source

pub fn show_menu(&mut self, point: &u32)

| context menu |

source

pub fn copy_amount(&mut self)

| context menu action: copy amount |

source

pub fn copy_label(&mut self)

| context menu action: copy label |

source

pub fn copy_address(&mut self)

| context menu action: copy address |

source

pub fn copy_transaction_outpoint(&mut self)

| context menu action: copy transaction | id and vout index |

source

pub fn lock_coin(&mut self)

| context menu action: lock coin |

source

pub fn unlock_coin(&mut self)

| context menu action: unlock coin |

source

pub fn clipboard_quantity(&mut self)

| copy label “Quantity” to clipboard |

source

pub fn clipboard_amount(&mut self)

| copy label “Amount” to clipboard |

source

pub fn clipboard_fee(&mut self)

| copy label “Fee” to clipboard |

source

pub fn clipboard_after_fee(&mut self)

| copy label “After fee” to clipboard |

source

pub fn clipboard_bytes(&mut self)

| copy label “Bytes” to clipboard |

source

pub fn clipboard_low_output(&mut self)

| copy label “Dust” to clipboard |

source

pub fn clipboard_change(&mut self)

| copy label “Change” to clipboard |

source

pub fn sort_view(&mut self, column: i32, order: u32)

| treeview: sort |

source

pub fn header_section_clicked(&mut self, logical_index: i32)

| treeview: clicked on header |

source

pub fn radio_tree_mode(&mut self, checked: bool)

| toggle tree mode |

source

pub fn radio_list_mode(&mut self, checked: bool)

| toggle list mode |

source

pub fn view_item_changed(&mut self, item: *mut u32, column: i32)

| checkbox clicked by user |

source

pub fn update_label_locked(&mut self)

| shows count of locked unspent outputs |

source

pub fn update_labels( &mut self, coin_control: &mut CoinControl, model: *mut WalletModel, dialog: *mut u32 )

| static because also called from sendcoinsdialog |

source

pub fn change_event(&mut self, e: *mut u32)

source

pub fn update_view(&mut self)

Trait Implementations§

source§

impl Drop for CoinControlDialog


source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,

§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> StaticUpcast<T> for T

§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V