question on ttk::notebook restrictions



The documentation at http://tktable.sourceforge.net/tile/doc/notebook.html#SECTid8231dd8

says that a child window in a ttk::notebook must be a direct child of the notebook. Experimentation seems to show this is false. What's correct? I really don't want the restriction unless I absolutely have to have it.

In other words, is it ok to do something like this or will this cease to work when 8.5 and ttk get out of beta?

ttk::notebook .notebook
frame .frame1
frame .frame2
..notebook add .frame1 -text "Tab 1"
..notebook add .frame2 -text "Tab 2"


--
Bryan Oakley
http://www.tclscripting.com
.



Relevant Pages

  • Re: Newbie PM question
    ... I was able to create an old-style notebook ... and it filled the client area correctly. ... client area of my frame. ... msg to WinDefDlgProcto get the current ...
    (comp.os.os2.programmer.misc)
  • Re: JInternalFrame and Action Listeners for the parent window
    ... Is an internal frame listener the best option? ... >> and that opens up another child window of the parent frame but I cant ... And the GUI as ...
    (comp.lang.java.gui)
  • Re: child view and menu
    ... The way this is done is that you have a CMultiDocTemplate which specifies the document ... Or do you mean you want a menu in EACH child window, and all are the same type? ... case, you would not SetMenu in the view, you would SetMenu to the parent of the view, the ... MDI Child Frame. ...
    (microsoft.public.vc.mfc)
  • Fatal trap 12: page fault while in kernel mode
    ... While copying a few directories from one machine to my new notebook (tar ... Fatal trap 12: page fault while in kernel mode ... #16 0xc0807f47 in syscall (frame= ...
    (freebsd-stable)
  • Re: question on ttk::notebook restrictions
    ... says that a child window in a ttk::notebook must be a direct child of ... is valid as long as $'s parent is an ancestor of ${master} ... all slaves are direct children of the notebook; ...
    (comp.lang.tcl)