Common functions for various parts of gtkui to use.
Associates magnet links to Deluge.
| Parameter: | overwrite (bool) – if this is True, the current setting will be overwritten |
|---|---|
| Returns: | True if association was set |
| Return type: | bool |
This effectively moves itr plus it’s children to be a child of parent in treestore
| Parameters: |
|
|---|
Shows a dialog with header as the header text and type_str as the type text. The type of spinbutton (int or float) is determined by default type.
| Parameters: |
|
|---|---|
| Returns: | None, int or float from spinbutton depending on default. None is returned if the user clicks on Cancel. |
| Return type: | None, int or float |
| Raises TypeError: | |
if default is not of type int or float |
|