Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Home

cdhigh edited this page · 2 revisions
Clone this wiki locally

1.Introduce

    The program is a addin of VB6(Visual Basic 6), It allow you design
    your GUI layout of Tkinter (it's a standard GUI library of Python)in VB6 
    Integrated Development Environment.
    The addin VisualTkinter will generate python code of GUI framework
    for you. the only thing you need to do is add your logical code
    in Callbacks of GUI framework.
    The addin supports multi-languages. English, Chinese included now.

2. List of VB Controls Supported

  2.1 Label
    Has same appearance and behavior in Tkinter.
  2.2 TextBox
    If the property MultiLine=False, the addin generate code for widget
    'Entry' of Tkinter, otherwise for widget 'Text'.
  2.3 Frame
    Similar to widget LabelFrame of Tkinter. It can be container of other
    widget.
  2.4 CommandButton
    It represent the widget Button of Tkinter.
    You can also add a '&' befor a corresponding letter to make a keyboard
    shortcut like 'Alt-letter', the addin generate code for shortcurts too.
  2.5 CheckBox
    Similar to widget Checkbutton.
  2.6 OptionButton
    Similar to widget Radiobutton.
  2.7 ComboBox
    If the menu 'Use TTK library' checked, it translate to widget Combobox
    of TTK, otherwise, it translate to widget OptionMenu of Tkinter.
  2.8 ListBox
    Similar to widget Listbox of tkinter. you can add list of text in IDE.
  2.9 HScrollBar, VScrollBar
    The widget Scrollbar of tkinter.
  2.10 Slider
    Similar to widget Scale of tkinter.
  2.11 PictureBox
    It tranlate to Canvas.
  2.12 Menu
    Has same appearance and behavior in Tkinter.
    you can create a separator by setting the caption of menuitem to '-'.
    Add a keyboard shortcut by using format of '&+letter'.
  ===================================================
  Adding the component 'Microsoft Windows Common Controls 6.0' to toolbox 
  of VB IDE to support the other controls.
  ====================================================
  2.13 ProgressBar
    Similar to widget Progressbar of TTK library.
  2.14 TreeView
    Similar to widget Treeview of TTK library.
  2.15 TabStrip
    Similar to widget Notebook of TTK libray.
  -----------------------------------------------------
  2.16 CommonDialog
    if the form has this control, then the addin will create code for 
    import modules filedialog, simpledialog, colorchooser.    
Something went wrong with that request. Please try again.