TAILIEUCHUNG - The Perl/Tk Pocket Reference

The Perl/Tk Pocket Reference is a companion volume to Learning Perl/Tk, an O'Reilly Animal Guide. Learning Perl/Tk is a tutorial for Perl/Tk, the extension to Perl for creating graphical user interfaces. With Tk, Perl programs can be window-based rather than command-line based, with buttons, entry fields, listboxes, menus, scrollbars, balloons, tables, dialogs, and more. And Perl/Tk programs run on UNIX and Windows-based computers. This small book is a handy reference guide geared toward the advanced Perl/Tk programmer | Perl Tk Pocket Reference for Perl Tk - Perl Tk Perl Tk designed and created by Nick Ing-Simmons nick@ Pocket Reference contents written by Steve Lidie Contents 1. General Perl Tk Widget Information. 2 2. Perl Tk Special Variables . 5 3. Widget Scroll Commands. 5 4. The Canvas Widget . 6 5. The Entry Widget. 11 6. The Listbox Widget. 12 7. The Menu Widget. 13 8. The Text Widget. 15 9. Other Standard Widgets. 18 10. Perl Tk Widgets . .24 11. Composite and Derived 12. 13. Window 14. The Window 15. Bindings and Virtual 16. Geometry Management .53 17. 18. Other Perl Tk Rev. Conventions fixed denotes literal text. this means variable text . things you must fill in. word is a keyword . a word with a special meaning. . denotes an optional part. 1. General Perl Tk Widget Information All Perl Tk programs must have a use Tk statement. To use special Perl Tk widgets like Dialog a use Tk Dialog statement is required. All widgets are created with widget parent- widgetClass -option value . where widgetClass is the name of the class of widget desired eg. Button and parent is the Perl Tk widget reference of the new widget s parent. The Perl object reference is stored in widget which becomes a child of parent creating the widget hierarchy. All widget creation commands can have the optional Name resourceName parameter to associate a resource database name with the widget. Every Perl Tk program requires a main window the topmost widget in the hierarchy created with mw MainWindow- new The following command creates a new button widget b and uses the grid geometry manager to map it b mw- Button -text Hello World - grid Widget configuration options may be passed in the creation method. Options begin with a - and are usually followed by a value an integer or string sometimes a Perl scalar array hash or code reference. After creation options .

TÀI LIỆU MỚI ĐĂNG
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.