fixed display name in treeview
This commit is contained in:
@@ -6,6 +6,7 @@ import { TkinterWidgetBase } from "./base"
|
||||
class Button extends TkinterWidgetBase{
|
||||
|
||||
static widgetType = "button"
|
||||
static displayName = "Button"
|
||||
|
||||
constructor(props) {
|
||||
super(props)
|
||||
|
||||
@@ -8,6 +8,8 @@ import { TkinterWidgetBase } from "./base"
|
||||
export class CheckBox extends TkinterWidgetBase{
|
||||
|
||||
static widgetType = "check_button"
|
||||
static displayName = "Check Box"
|
||||
|
||||
constructor(props) {
|
||||
super(props)
|
||||
|
||||
@@ -5,6 +5,7 @@ import {TkinterBase} from "./base"
|
||||
class Frame extends TkinterBase{
|
||||
|
||||
static widgetType = "frame"
|
||||
static displayName = "Frame"
|
||||
|
||||
constructor(props) {
|
||||
super(props)
|
||||
|
||||
@@ -6,6 +6,7 @@ import { TkinterWidgetBase } from "./base"
|
||||
export class Input extends TkinterWidgetBase{
|
||||
|
||||
static widgetType = "entry"
|
||||
static displayName = "Entry"
|
||||
|
||||
constructor(props) {
|
||||
super(props)
|
||||
|
||||
@@ -7,6 +7,7 @@ import { TkinterWidgetBase } from "./base"
|
||||
class Label extends TkinterWidgetBase{
|
||||
|
||||
static widgetType = "label"
|
||||
static displayName = "Label"
|
||||
|
||||
|
||||
constructor(props) {
|
||||
|
||||
@@ -6,6 +6,7 @@ import { TkinterBase } from "./base"
|
||||
class MainWindow extends TkinterBase{
|
||||
|
||||
static widgetType = "main_window"
|
||||
static displayName = "Main Window"
|
||||
|
||||
constructor(props) {
|
||||
super(props)
|
||||
|
||||
@@ -7,6 +7,7 @@ import { convertObjectToKeyValueString } from "../../../utils/common"
|
||||
class OptionMenu extends TkinterWidgetBase{
|
||||
|
||||
static widgetType = "option_menu"
|
||||
static displayName = "Option Menu"
|
||||
|
||||
constructor(props) {
|
||||
super(props)
|
||||
|
||||
@@ -7,6 +7,8 @@ import {TkinterBase, TkinterWidgetBase} from "./base"
|
||||
class Slider extends TkinterWidgetBase{
|
||||
|
||||
static widgetType = "scale"
|
||||
static displayName = "Scale"
|
||||
|
||||
// FIXME: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use
|
||||
constructor(props) {
|
||||
super(props)
|
||||
|
||||
@@ -8,6 +8,7 @@ import {TkinterBase, TkinterWidgetBase} from "./base"
|
||||
class SpinBox extends TkinterWidgetBase{
|
||||
|
||||
static widgetType = "spin_box"
|
||||
static displayName = "Spin Box"
|
||||
|
||||
constructor(props) {
|
||||
super(props)
|
||||
|
||||
@@ -5,6 +5,8 @@ import Tools from "../../../canvas/constants/tools"
|
||||
class TopLevel extends Widget{
|
||||
|
||||
static widgetType = "toplevel"
|
||||
static displayName = "Top Level"
|
||||
|
||||
|
||||
constructor(props) {
|
||||
super(props)
|
||||
|
||||
Reference in New Issue
Block a user