| Author |
collabsible widgets structure : please save my sleep !!!
|
|
| Free News 2005-05-30, 8:58 pm |
| THE NEED : a scrollable panel looking like the Komodo "start page" (this the
closest example of what I want to do) - could be also defined as "tree of
group of widgets"
THE PROBLEMS :
- IWidgets : found collapsable widgets from the "incoming" folder in
sourceforge : DOESN'T EXPAND to fill the container width (actually expands
when there is no scrollbars in the container window)
- treectrl : kind of ok, but I am to new to Tk to get my head aroud it -
and so far the examples I saw don't match exactly my needs
- Tix : CANT COMPILE !!!!! - is there any binaries out there ???
pleas help me !!!
| |
| Jeff Hobbs 2005-05-31, 4:01 am |
| Free News wrote:
> THE NEED : a scrollable panel looking like the Komodo "start page" (this the
> closest example of what I want to do) - could be also defined as "tree of
> group of widgets"
You can also use BWidgets to do this, using ScrollableFrame.
This is what the Komodo GUI Builder property sheets use.
--
Jeff Hobbs, The Tcl Guy
http://www.ActiveState.com/, a division of Sophos
| |
| Free News 2005-05-31, 4:01 am |
| is it ok to mix BWidgets and IWidgets ?
"Jeff Hobbs" <jeffh@removethis.activestate.com> wrote in message
news:YJ-dnWsYAr1ZQwbfRVn-qA@novus-tele.net...
> Free News wrote:
>
> You can also use BWidgets to do this, using ScrollableFrame.
> This is what the Komodo GUI Builder property sheets use.
>
> --
> Jeff Hobbs, The Tcl Guy
> http://www.ActiveState.com/, a division of Sophos
| |
| Jeff Hobbs 2005-05-31, 4:01 am |
| Free News wrote:
> is it ok to mix BWidgets and IWidgets ?
Sure, they should mix just fine, but is it necessary?
Jeff
[color=darkred]
> "Jeff Hobbs" <jeffh@removethis.activestate.com> wrote in message
> news:YJ-dnWsYAr1ZQwbfRVn-qA@novus-tele.net...
>
| |
| Free News 2005-05-31, 4:02 pm |
| thanks jeff
my real need is to edit parameters stored in an xml file. the collapsable
widget concept was just right for me as I could pile the up in a hirarchic
structure and edit the related parameters in edit widgets.
now I will try to adopt a layout close to the komodo startup page. to do so
I am using Bidgets and simple tk widgets - I'll see where it goes...
jean-marc
"Jeff Hobbs" <jeffh@removethis.activestate.com> wrote in message
news:Cf6dnVQ8L9N-awbfRVn-ug@novus-tele.net...[color=darkred]
> Free News wrote:
>
> Sure, they should mix just fine, but is it necessary?
>
> Jeff
>
| |
| Jeff Hobbs 2005-06-01, 3:58 am |
| Free News wrote:
> my real need is to edit parameters stored in an xml file. the collapsable
> widget concept was just right for me as I could pile the up in a hirarchic
> structure and edit the related parameters in edit widgets.
>
> now I will try to adopt a layout close to the komodo startup page. to do so
> I am using Bidgets and simple tk widgets - I'll see where it goes...
I would think that a tree widget is what you really want.
You mentioned that treectrl was a bit too complex (and if
you are starting off, I understand that). The BWidget
tree widget does have edit capabilities, and may be the
most appropriate for XML hierarchical node display.
--
Jeff Hobbs, The Tcl Guy
http://www.ActiveState.com/, a division of Sophos
| |
| Free News 2005-06-03, 9:08 am |
| I finally got something working the way I wanted, using a Bwidget
ScrolledFrmae with the option constrained width turned ON (that was the
trick I was after - thanks)
two procs do the job, one tocreate the mother window, and a recursive one to
create the blocks (each with a header and a body that can contain a list of
blocks) - an array stores the each individual attributes.
..ActiveState.com/, a division of Sophos
|
|
|
|