This sample contains the following files:
imagelist.tcl
a reusable widget that can be imported into any vTcl project
imagelist_project.tcl
the project that is used to edit the megawidget, its children,
and the code for the megawidget
imagelist_test.tcl
a test project that demonstrates the use of an image list
==============================================================
Here is how the "imagelist.tcl" file was created:
- open the imagelist_project.tcl file in Visual Tcl
- to create the megawidget, select the "MegaWidget" in the widget
tree, create a compound, name it "Image List" and select all
the procedures in the ::imagelist namespace
- to save the megawidget, select "Save Compounds" from the
Compounds menu and save as "imagelist.tcl"
Here is how to use the test project:
- open it in vTcl
- switch to TEST mode
- type in a path in the entry box; this path must contain .jpg images
- click on "View"
- now go to the command console, and try a few commands:
ImageList1 configure
ImageList1 cget -directory
ImageList1 configure -background red
NOTE: you need to have the TableList package installed in order to run
this sample. You can get TableList from www.nemethi.de
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
tcl/tkGUI开发工具vtcl (444个子文件)
main.tcl.bak 15KB
ChangeLog 56KB
configure 1KB
title.gif 7KB
title_small.gif 3KB
icons.gif 2KB
dragicon.gif 1015B
icon_labelentry.gif 961B
dragfile.gif 953B
icon_tixScrolledHList.gif 947B
icon_BwCombobox.gif 947B
scrolledcanvas.gif 942B
icon_entryfield.gif 941B
icon_spinint.gif 938B
scrolledframe.gif 938B
icon_scrolledtext.gif 937B
scrollframe.gif 934B
spintime.gif 934B
compoundcontainer.gif 932B
spinbox.gif 932B
spinbox.gif 930B
icon_combobox.gif 929B
pack_img.gif 929B
icon_mclistbox.gif 926B
icon_scrolledlistbox.gif 924B
icon_tixScrolledListBox.gif 924B
icon_table.gif 924B
delete_tag.gif 924B
mgr_grid.gif 924B
paste.gif 923B
icon_incrCombobox.gif 920B
icon_arrowbutton.gif 920B
replace.gif 920B
icon_BwTabnotebook.gif 920B
icon_text.gif 919B
mgr_pack.gif 919B
copy.gif 918B
tablelist.gif 918B
icon_scrolledhtml.gif 917B
icon_frame.gif 916B
icon_entry.gif 915B
icon_feedback.gif 913B
icon_scrollbar_h.gif 913B
icon_scrollbar_v.gif 913B
save.gif 913B
mgr_place.gif 913B
icon_toolbar.gif 910B
icon_BwPanedWindowHoriz.gif 909B
tixPanedWindowHoriz.gif 909B
panedwindowhoriz.gif 909B
refresh.gif 908B
icon_buttonbox.gif 908B
icon_toplevel.gif 907B
icon_canvas.gif 906B
icon_hierbox.gif 905B
icon_optionmenu.gif 905B
icon_button.gif 904B
icon_listbox.gif 904B
icon_tabnotebook.gif 902B
icon_menu.gif 902B
icon_dateentry.gif 902B
tree.gif 902B
icon_radiobox.gif 901B
inswidg.gif 901B
show.gif 901B
open.gif 901B
icon_scale_h.gif 901B
icon_BwProgressbar.gif 901B
icon_hierarchy.gif 901B
icon_scale_v.gif 900B
scrolledwindow.gif 900B
search.gif 898B
icon_checkbox.gif 898B
icon_notebook.gif 898B
barchart.gif 898B
icon_BwPanedWindow.gif 897B
cut.gif 896B
icon_menubutton.gif 896B
listbox.gif 896B
icon_tixLabelFrame.gif 895B
icon_incrLabelFrame.gif 895B
icon_tabset.gif 894B
icon_tixSelect.gif 893B
icon_tixNoteBook.gif 892B
srchfwd.gif 892B
add.gif 891B
icon_tixComboBox.gif 891B
icon_graph.gif 891B
srchbak.gif 890B
icon_progressbar.gif 890B
panedwindowhoriz.gif 890B
icon_BwLabelFrame.gif 887B
titleframe.gif 887B
free.gif 887B
icon_calendar.gif 886B
new.gif 884B
hide.gif 883B
icon_tixMeter.gif 883B
icon_tixLabelEntry.gif 882B
icon_checkbutton.gif 881B
共 444 条
- 1
- 2
- 3
- 4
- 5
资源评论
- wit20072012-08-05下载了,可惜还是不会应用!
- qq3596274692014-06-16下载了,可惜还是不会应用!
- LiJia_JJ2015-05-05下载了,可惜还是不会应用! 版本和当前的TCL好像不一致
- 无羡_2018-03-19不错 可以用 谢谢楼猪
ifrance
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功