feat: added sidebar widget drop

fix: corrected color picker value, drag and drop
This commit is contained in:
paul
2024-09-22 12:39:03 +05:30
parent a440b46e9b
commit 740a5400f8
13 changed files with 164 additions and 158 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,41 @@
import Widget from "../../canvas/widgets/base"
import ButtonWidget from "./assets/widgets/button.png"
const TkinterSidebar = [
{
name: "Main window",
img: ButtonWidget,
link: "https://github.com",
widgetClass: Widget
},
{
name: "Top Level",
img: ButtonWidget,
link: "https://github.com",
widgetClass: Widget
},
{
name: "Frame",
img: ButtonWidget,
link: "https://github.com",
widgetClass: Widget
},
{
name: "Button",
img: ButtonWidget,
link: "https://github.com",
widgetClass: Widget
},
{
name: "Input",
img: ButtonWidget,
link: "https://github.com",
widgetClass: Widget
},
]
export default TkinterSidebar