added doc link for custom tkinter widgets

This commit is contained in:
paul
2024-09-30 22:24:11 +05:30
parent 10b6e2872a
commit 6130a97bfe
3 changed files with 27 additions and 26 deletions

View File

@@ -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 <GitlabOutlined />
}else{
return <LinkOutlined />
return <GlobalOutlined />
}
}

View File

@@ -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
},
// {

View File

@@ -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
},