Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

collabsible widgets structure : please save my sleep !!!
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 !!!



Report this thread to moderator Post Follow-up to this message
Old Post
Free News
05-31-05 01:58 AM


Re: collabsible widgets structure : please save my sleep !!!
Free News wrote:
> THE NEED : a scrollable panel looking like the Komodo "start page" (this t
he
> 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

Report this thread to moderator Post Follow-up to this message
Old Post
Jeff Hobbs
05-31-05 09:01 AM


Re: collabsible widgets structure : please save my sleep !!!
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



Report this thread to moderator Post Follow-up to this message
Old Post
Free News
05-31-05 09:01 AM


Re: collabsible widgets structure : please save my sleep !!!
Free News wrote:
> is it ok to mix BWidgets and IWidgets ?

Sure, they should mix just fine, but is it necessary?

Jeff

> "Jeff Hobbs" <jeffh@removethis.activestate.com> wrote in message
> news:YJ-dnWsYAr1ZQwbfRVn-qA@novus-tele.net...
> 

Report this thread to moderator Post Follow-up to this message
Old Post
Jeff Hobbs
05-31-05 09:01 AM


Re: collabsible widgets structure : please save my sleep !!!
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...
> Free News wrote: 
>
> Sure, they should mix just fine, but is it necessary?
>
> Jeff
> 



Report this thread to moderator Post Follow-up to this message
Old Post
Free News
05-31-05 09:02 PM


Re: collabsible widgets structure : please save my sleep !!!
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 s
o
> 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

Report this thread to moderator Post Follow-up to this message
Old Post
Jeff Hobbs
06-01-05 08:58 AM


Re: collabsible widgets structure : please save my sleep !!!
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



Report this thread to moderator Post Follow-up to this message
Old Post
Free News
06-03-05 02:08 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Tcl archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:37 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.