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|
This effectively moves itr plus it’s children to be a child of parent in treestore
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.
None, int or float from spinbutton depending on default. None is returned if the user clicks on Cancel.
None, int or float
if default is not of type int or float