From 6130a97bfe1d90c7ecfa262ed245773d0536c399 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 30 Sep 2024 22:24:11 +0530 Subject: [PATCH] added doc link for custom tkinter widgets --- src/components/cards.js | 5 +++-- src/frameworks/customtk/sidebarWidgets.js | 24 +++++++++++------------ src/frameworks/tkinter/sidebarWidgets.js | 24 +++++++++++------------ 3 files changed, 27 insertions(+), 26 deletions(-) diff --git a/src/components/cards.js b/src/components/cards.js index 9598e9d..bc22736 100644 --- a/src/components/cards.js +++ b/src/components/cards.js @@ -4,7 +4,8 @@ import Draggable from "./utils/draggableDnd" import { GithubOutlined, GitlabOutlined, LinkOutlined, AudioOutlined, FileTextOutlined, DeleteFilled, - DeleteOutlined} from "@ant-design/icons" + DeleteOutlined, + GlobalOutlined} from "@ant-design/icons" import DraggableWrapper from "./draggable/draggable" import { Button } from "antd" @@ -20,7 +21,7 @@ export function SidebarWidgetCard({ name, img, url, license, widgetClass, innerR }else if(host === "gitlab.com"){ return }else{ - return + return } } diff --git a/src/frameworks/customtk/sidebarWidgets.js b/src/frameworks/customtk/sidebarWidgets.js index 1b73494..9759f5f 100644 --- a/src/frameworks/customtk/sidebarWidgets.js +++ b/src/frameworks/customtk/sidebarWidgets.js @@ -29,67 +29,67 @@ const CustomTkWidgets = [ { name: "Main window", img: MainWindowImage, - link: "https://github.com", + link: "https://customtkinter.tomschimansky.com/documentation/windows", widgetClass: MainWindow }, { name: "Top Level", img: TopLevelImage, - link: "https://github.com", + link: "https://customtkinter.tomschimansky.com/documentation/windows", widgetClass: TopLevel }, { name: "Frame", img: FrameImage, - link: "https://github.com", + link: "https://customtkinter.tomschimansky.com/documentation/widgets/frame", widgetClass: Frame }, { name: "Label", img: LabelImage, - link: "https://github.com", + link: "https://customtkinter.tomschimansky.com/documentation/widgets/label", widgetClass: Label }, { name: "Button", img: ButtonImage, - link: "https://github.com", + link: "https://customtkinter.tomschimansky.com/documentation/widgets/button", widgetClass: Button }, { name: "Entry", img: InputImage, - link: "https://github.com", + link: "https://customtkinter.tomschimansky.com/documentation/widgets/entry", widgetClass: Input }, { name: "Text", img: TextAreaImage, - link: "https://github.com", + link: "https://customtkinter.tomschimansky.com/documentation/widgets/textbox", widgetClass: Text }, { name: "CheckBox", img: CheckButtonImage, - link: "https://github.com", + link: "https://customtkinter.tomschimansky.com/documentation/widgets/checkbox", widgetClass: CheckBox }, { name: "Radio button", img: RadioButtonImage, - link: "https://github.com", + link: "https://customtkinter.tomschimansky.com/documentation/widgets/radiobutton", widgetClass: RadioButton }, { - name: "Scale", + name: "Slider", img: SliderImage, - link: "https://github.com", + link: "https://customtkinter.tomschimansky.com/documentation/widgets/slider", widgetClass: Slider }, { name: "Option Menu", img: DropDownImage, - link: "https://github.com", + link: "https://customtkinter.tomschimansky.com/documentation/widgets/optionmenu", widgetClass: OptionMenu }, // { diff --git a/src/frameworks/tkinter/sidebarWidgets.js b/src/frameworks/tkinter/sidebarWidgets.js index 2a36fae..4ff5250 100644 --- a/src/frameworks/tkinter/sidebarWidgets.js +++ b/src/frameworks/tkinter/sidebarWidgets.js @@ -29,73 +29,73 @@ const TkinterWidgets = [ { name: "Main window", img: MainWindowImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: MainWindow }, { name: "Top Level", img: TopLevelImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: TopLevel }, { name: "Frame", img: FrameImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: Frame }, { name: "Label", img: LabelImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: Label }, { name: "Button", img: ButtonImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: Button }, { name: "Entry", img: InputImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: Input }, { name: "Text", img: TextAreaImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: Text }, { name: "CheckBox", img: CheckButtonImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: CheckBox }, { name: "Radio button", img: RadioButtonImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: RadioButton }, { name: "Scale", img: SliderImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: Slider }, { name: "Option Menu", img: DropDownImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: OptionMenu }, { name: "Spinbox", img: SpinBoxImage, - link: "https://github.com", + link: "https://github.com/PaulleDemon/PyUIBuilder", widgetClass: SpinBox },