orb.attribute_editor.attribute_editor module¶
- class orb.attribute_editor.attribute_editor.AttributeEditor(*args, **kwargs)¶
Bases:
BoxLayout
- alias¶
StringProperty(defaultvalue=u’’, **kw) Property that represents a string value.
- Parameters:
- defaultvalue: string, defaults to ‘’
Specifies the default value of the property.
- channel¶
The currently selected channel object.
- clear()¶
Clear the selection.
- exclude_from_balanced_ratio(active, widget)¶
Callback for when the ‘exclude from balanced ratio’ checkbox is ticked.
- Parameters:
active (field) – whether to activate or deactivate exclude from balanced ratio.
- fee_base_msat_changed(val)¶
Invoked whenever the fee base rate is changed.
- fee_rate_milli_msat_changed(val, *args)¶
Invoked whenever the fee rate is changed.
- identity_pubkey¶
StringProperty(defaultvalue=u’’, **kw) Property that represents a string value.
- Parameters:
- defaultvalue: string, defaults to ‘’
Specifies the default value of the property.
- max_htlc_msat_changed(val)¶
Invoked whenever the max HTLC is changed.
- min_htlc_changed(val)¶
Invoked whenever the min HTLC is changed.
- on_balanced_ratio(ratio)¶
Callback for when the balance ratio field is modified.
- Parameters:
ratio (field) – the desired ratio, between 0 and 1
- on_channel(inst, channel)¶
Invoked whenever a channel is selected.
- pay_through_channel(active, widget)¶
Callback for when the ‘pay through channel’ checkbox is ticked.
- Parameters:
active (field) – whether to activate or deactivate paying through channel.
- populate_earned()¶
- populate_fees()¶
- populate_helped_earn()¶
- populate_profit()¶
- populate_rest(c)¶
Populate fields when using the REST API.
- time_lock_delta_changed(val)¶
Invoked whenever timelock delta is changed.
- class orb.attribute_editor.attribute_editor.DrawerList(**kwargs)¶
Bases:
MDList
- class orb.attribute_editor.attribute_editor.ItemDrawer(**kwargs)¶
Bases:
OneLineIconListItem
- class orb.attribute_editor.attribute_editor.MyMDCheckbox(**kwargs)¶
Bases:
MDCheckbox
Custom MDCheckbox implementation. The hopes is to disable clicking which is a lot harder than it sounds.
- Parameters:
MDCheckbox (MDCheckbox) – The checkbox object.
- on_touch_down(event)¶
Invoked whenever the checkbox is clicked by the user.
- Returns:
Whether to propagate events.
- Return type:
bool