SwiftGUI 0.12.0__tar.gz → 0.12.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {swiftgui-0.12.0 → swiftgui-0.12.1}/PKG-INFO +1 -1
- {swiftgui-0.12.0 → swiftgui-0.12.1}/pyproject.toml +1 -1
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/TextField.py +7 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/LICENSE +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/README.md +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Base.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/BasePopup.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Canvas_Elements/Arc.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Canvas_Elements/Bitmap.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Canvas_Elements/Element.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Canvas_Elements/Image.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Canvas_Elements/Line.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Canvas_Elements/Oval.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Canvas_Elements/Polygon.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Canvas_Elements/Rectangle.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Canvas_Elements/Text.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Canvas_Elements/_Base.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Canvas_Elements/__init__.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Colors.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Combined_Elements/BaseCombinedElement.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Combined_Elements/Calendar.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Combined_Elements/Console.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Combined_Elements/Form.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Combined_Elements/MultistateButton.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Compat.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Debug.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/DecoratorKeys.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/ElementFlags.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Events.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Examples/AllElements.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Examples/AllThemes.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Examples/GlobalOptionBrowser.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Examples/Previews.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Examples/__init__.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Exceptions.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extended_Elements/ColorChooserButton.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extended_Elements/ComboboxMapping.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extended_Elements/FileBrowseButton.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extended_Elements/Image.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extended_Elements/ImageButton.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extended_Elements/PythonConsole.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extended_Elements/Separator.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extended_Elements/Spacer.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extended_Elements/TabFrame.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extended_Elements/Table.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extras/SwiftGUI.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Extras/__init__.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Files/ConfigFile.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Files/ConfigurationEditor.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Files/DictFile.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Files/ProgramDirectory.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Files/__init__.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Fonts.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/GlobalOptions.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/KeyFunctions.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Literals.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Popups/ElementPopup.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Popups/ListPicker.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Popups/SmallPopups.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Popups/TooltipPopup.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Popups/VirtualKeyboard.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Popups/__init__.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Themes/FourColors.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Themes/Thematic.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Themes/_BaseTheme.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Themes/__init__.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Tools.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Tooltips.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Utilities/Images.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Utilities/Threads.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Validate/Base.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Validate/Common.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Validate/Regex.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Validate/__init__.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Button.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Canvas.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Checkbox.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Combobox.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Frame.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/GridFrame.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Input.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/LabelFrame.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Listbox.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Notebook.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Progressbar.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Radiobutton.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Scale.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Scrollbar.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Spinbox.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/TKContainer.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Text.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Widget_Elements/Treeview.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/Windows.py +0 -0
- {swiftgui-0.12.0 → swiftgui-0.12.1}/src/SwiftGUI/__init__.py +0 -0
|
@@ -274,6 +274,13 @@ class TextField(MixinElementWithValue, BaseWidget, MixinScrollbar):
|
|
|
274
274
|
|
|
275
275
|
@_forced_value_change
|
|
276
276
|
def set_value(self, val:Any):
|
|
277
|
+
# Todo: For some reason, this function is called twice on updates.
|
|
278
|
+
# This should be investigated further.
|
|
279
|
+
# The second call can be None, which is why the None-check below is necessary atm.
|
|
280
|
+
|
|
281
|
+
if val is None:
|
|
282
|
+
return
|
|
283
|
+
|
|
277
284
|
self._apply_value(val)
|
|
278
285
|
self.tk_widget.delete("1.0","end")
|
|
279
286
|
self.tk_widget.insert("1.0",val)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|