Talk:Window creation: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 21:
:I agree and have flagged the page for clarification so anyone better suited than I can see this. There are also many types of windows: translucent, borderless, fullscreen, etc. This page definitely needs a concrete definition. --[[User:Macawm|macawm]] 16:01, 24 January 2007 (EST)
::I don't think including widgets in the coding example is appropriate in this case. I ''could'' see the above example as a part of a new "Program Template" class, similar to "Programming Tasks". I would fully support the creation of such a class. Heck, I'd do it myself right now if I wasn't already half-asleep and afraid of screwing it up.
 
::For this task, I would want to stick to the basics. I've never had the courage to try GUI programming in anything but VB; the programming examples described in this article have illuminated how to get started. Adding in a lot of code for additional widgets would make the code more difficult to read for beginners.
::: On the other hand, there's never going to be TCL/Tk code for "just creating a window" since that is automatic and implied in the use of Tk in the first place. The single line '''pack [label .l -text "Hello"]''' would create a window and a label and place the label in the window and display the window on the screen. I don't know what it would even mean to "just create a window" without actually doing anything with it. [[User:Sgeier|Sgeier]] 20:20, 30 January 2007 (EST)
 
::This also illuminates why it's important to start categorizing programming tasks. There should be a task for adding each kind of generic widget, but that would overpopulate the existing programming tasks. --[[User:Short Circuit|Short Circuit]] 23:32, 25 January 2007 (EST)
 
::Perhaps I should have been more clear as to which aspect of the quote I was agreeing with, sorry. I was simply pointing out that I feel this task needs a specific, singular definition. For example, how to create a basic window with a few properties such as a title, a size, and supports resizing. That is all. --[[User:Macawm|macawm]] 10:49, 26 January 2007 (EST)
 
Anonymous user