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

Komodo GUI Editor and _very_ few widgets?
Hi!

I'm using Komodo GUI editor to make my perl guis. Now I just wondered,
if there are only 14 TK widgets and 6 perl widgets avail. This renders
Komodo's GUI editor useless. Any idea of other widgets to integrate to
Komodo?
I'd need stuff like a directory tree, intelligent drop down for
selecting drive letters in windows and so on.
Can anyone help on this?

Thanx,
edw.

Report this thread to moderator Post Follow-up to this message
Old Post
edw
07-30-04 01:56 AM


Re: Komodo GUI Editor and _very_ few widgets?
edw@gmx.at (edw) wrote in message news:<84ea18d7.0407291353.457b2158@posting.google.com>...

> Hi!
>
> I'm using Komodo GUI editor to make my perl guis. Now I just wondered,
> if there are only 14 TK widgets and 6 perl widgets avail. This renders
> Komodo's GUI editor useless. Any idea of other widgets to integrate to
> Komodo?
> I'd need stuff like a directory tree, intelligent drop down for
> selecting drive letters in windows and so on.
> Can anyone help on this?
>
> Thanx,
> edw.

perl/Tk comes with a DirTree widget that present the user with a
collapsible tree of directories.  You would need some additional
widgets to select different drives on Win32.

By "drop down" I assume you are referring to a Combobox-type of widget
- an entry field with a button that opens a scrolled list of options
displayed below the entry field.  For something similar to the HTML
"select" widget, your choices from CPAN are:
- BrowseEntry (most widely used?)
- JComboBox (my personal favorite)
- MatchEntry (sort of; need to provide your own button)

I don't know of a comprehensive catalog but the Tk widget demo is
fairly complete.  I suggest you search CPAN for the type of widget you
are looking for.    I've had pretty good success.

Keep in mind that perl/tk is a toolkit that you can use to build new,
more complex widgets.  If a specific widget does not exist, chances
are you can use existing widgets to craft it.  The Mastering Perl/Tk
book covers how to do that.

Report this thread to moderator Post Follow-up to this message
Old Post
sandor
07-30-04 08:57 AM


Re: Komodo GUI Editor and _very_ few widgets?
sandorpatocs@netscape.net (sandor) wrote:
> edw@gmx.at (edw) wrote: 
>
> perl/Tk comes with a DirTree widget that present the user with a
> collapsible tree of directories.  You would need some additional
> widgets to select different drives on Win32.

Tk::DirSelect (available on CPAN) provides a cross-platform directory
selection dialog that supports Win32 drives. (The lastest pTk supports
the native dialog, so this module isn't needed there.)

If you want something embedded (that is, not a dialog) take a p at
the source. Tk::DirSelect is just a DirTree + a BrowseEntry. It should
be easy to adapt something from it.

-mjc

Report this thread to moderator Post Follow-up to this message
Old Post
Michael Carman
07-30-04 08:56 PM


Re: Komodo GUI Editor and _very_ few widgets?
sandorpatocs@netscape.net (sandor) wrote in message news:<e52b0bd5.0407292018.282bb387@post
ing.google.com>...
> edw@gmx.at (edw) wrote in message news:<84ea18d7.0407291353.457b2158@posti
ng.google.com>... 
>
> perl/Tk comes with a DirTree widget that present the user with a
> collapsible tree of directories.  You would need some additional

Yup, thats true. Found it already. But how do I include this into
Komodo GUI builder?

> widgets to select different drives on Win32.

That's what I'd need a dropdown/select widget for :-) Poll all drives
and put them in there manually. Maybe even write a generic drive
selection widget.

> By "drop down" I assume you are referring to a Combobox-type of widget
> - an entry field with a button that opens a scrolled list of options
> displayed below the entry field.  For something similar to the HTML
> "select" widget, your choices from CPAN are:
> - BrowseEntry (most widely used?)
> - JComboBox (my personal favorite)
> - MatchEntry (sort of; need to provide your own button)

That's a good starting point. Thanx a lot. Just still got to figure
out, how to integrate into Komodo once more...

> I don't know of a comprehensive catalog but the Tk widget demo is
> fairly complete.  I suggest you search CPAN for the type of widget you
> are looking for.    I've had pretty good success.
>
> Keep in mind that perl/tk is a toolkit that you can use to build new,
> more complex widgets.  If a specific widget does not exist, chances
> are you can use existing widgets to craft it.  The Mastering Perl/Tk
> book covers how to do that.

Thanx for your help. If I cant get it to work, I'll kick Komodo GUI
builder after designing a rough plot of my UI ... sorry to say.

cheers
edw.

Report this thread to moderator Post Follow-up to this message
Old Post
edw
07-30-04 08:56 PM


Re: Re: Komodo GUI Editor and _very_ few widgets?
edw,

  I have been trying to cope with the same problems using Komodo GUI builder
. Did you figure out how to include more widgets?

  I have pretty much given up on the Komodo Gui Builder. Do you have any exp
erience with other GUI WYSIWYG builders for Perl or Perl/Tk? 

  I really really really want a Perl GUI Builder that is just like Visual Ba
sic. Anyone know of anything like this? 

  Thanks. 


embalism

Report this thread to moderator Post Follow-up to this message
Old Post
embalism
08-07-04 01:28 AM


Sponsored Links




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

PerlTk 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 04:29 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.