'''CORE WIDGETS''' These are the widgets you'll find available everywhere. These widgets comprise much of a Tk-based application. * [button] ''(standard button widget)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/button.gif] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/w_button.gif] [LV] Has someone considered finding a copy of these images and placing them on http://core.tcl.tk/ ? * [checkbutton] ''(standard checkbox widget)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/checkbutton.gif] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/w_checkbutton.gif] * [radiobutton] ''(radio button - a group of these can have one selected at a time)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/radiobutton.gif] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/w_radiobutton.gif] * [menubutton] ''(one button storing a menu)'' [slebetman] ''A menubutton is what Windows developers call combobox. Unfortunately, on Windows, [menubutton] does not look like a proper combobox so users will usually be confused by the [menubutton]. On other operating systems like SunOS and the Mac, the menubutton is exactly what the user expects.'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/menubutton.gif] * [label] ''(a text string)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/label.gif] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/w_label.gif] * [labelframe] ''(a frame wrapped in a border, with a label at the top)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/labelframe.gif] * [message] ''(a variation on the theme of labels; uncommon)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/message.gif] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/w_message.gif] * [frame] ''(a container for other widgets, but doesn't display anything itself)'' (No picture, as frames don't look very impressive. They're not meant to...) * [toplevel] ''(a container that doesn't live inside another widget, i.e. the window itself)'' (No picture, as toplevels don't look very impressive. They're not meant to...) * [panedwindow] ''(a container for widgets that lets the user proportion space between them.)'' [http://zipguy.012webpages.com/tcl/panedwin.jpg] * [menu] ''(accesses the '''real''', OS menu on some platforms)'' (A bit awkward to take a picture of this one... :^) * [scale] ''(for adjusting numeric values)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/scale.gif] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/w_scale.gif] * [scrollbar] ''(for adjusting scrollable widgets)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/scrollbar.gif] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/w_scrollbar.gif] * [listbox] ''(selection from a list)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/listbox.gif] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/w_listbox.gif] * [entry] ''(Single-line text entry)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/entry.gif] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/w_entry.gif] * [spinbox] ''(Numeric entry widget.)'' ''[MG] The spinbox can also be used for non-numerical items. If you give it a list of strings, it'll scroll through them all.'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/spinbox.gif] * [text] ''(Multi-line text entry, with text tagging, embeddable images, and more.)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/text.gif] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/w_text.gif] * [canvas] ''(A drawing surface for vector-based graphics, raster images, and so on.)'' [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/canvas.gif] '''ADDITIONAL WIDGETS''' - implemented by OS on some platforms * [tk_optionMenu] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/w_option.gif] * [tk_dialog] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/dialog_w.gif] * [tk_messageBox] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/messageBox_w.gif] * [tk_getOpenFile] Standard Tk on '''Unix''': [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/getOpenFile_tk.gif] Tk on Unix in '''Motif-emulation''' mode: [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/getOpenFile_motif.gif] Standard Tk on '''Windows''': [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/getOpenFile_win.gif] * [tk_getSaveFile] ''(looks very similar to the above dialogs...)'' * [tk_chooseColor] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/chooseColor_wpid.gif] [http://www.man.ac.uk/~zzcgudf/tcl/wikipix/chooseColor_w.jpg] * [tk_chooseDirectory] [http://zipguy.012webpages.com/tcl/choosedir.jpg] ---- '''TODO''' - Update for 8.5, add the [ttk] widgets button, checkbutton, combobox, entry, frame, label, labelframe, menubutton, notebook, progressbar, radiobutton, scrollbar, separator, sizegrip, style, treeview and demo how the look differs from the default widgets.]] [unnamed] I also think it might be a good idea to try and create screenshots that have the best look and feel possible, which to me means a standard gray/blue color theme. The somewhat unusual color choices may lead some to believe that Tk is ugly and won't fit in. This is a good place to put our best foot forward'' <> Widget | Dialog | GUI