For Programmers: Free Programming Magazines  


Home > Archive > Tcl > June 2006 > How to delete panes from a BWidget PanedWindow?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to delete panes from a BWidget PanedWindow?
William J Giddings

2006-06-25, 7:06 pm

Unlike the Tk core paned window, the BWidgets version has no ready way
to delete panes. Is there a way round this?

WJG
Robert Heller

2006-06-25, 7:06 pm

At Sun, 25 Jun 2006 23:08:46 GMT William J Giddings <giddings@freeuk.com> wrote:

>
> Unlike the Tk core paned window, the BWidgets version has no ready way
> to delete panes. Is there a way round this?


You could modify the source to add a method.

>
> WJG
>


--
Robert Heller -- 978-544-6933
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk

EKB

2006-06-26, 8:04 am


William J Giddings wrote:
> Unlike the Tk core paned window, the BWidgets version has no ready way
> to delete panes. Is there a way round this?
>
> WJG


It does have a method, "delete" (I'm using BWidget 1.7). From the man
page:

pathName delete page ?destroyframe?
Deletes the page page. If destroyframe is 1 (the default), the frame
associated to page is destroyed. If destroyframe is 0, the frame is not
destroyed and is reused by further call to insert with the same page.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com