Home > Archive > PerlTk > August 2004 > Komodo GUI Editor and _very_ few widgets?
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 |
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.
| |
| sandor 2004-07-30, 3:57 am |
| 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.
| |
| Michael Carman 2004-07-30, 3:56 pm |
| 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
| |
|
| sandorpatocs@netscape.net (sandor) wrote in message news:<e52b0bd5.0407292018.282bb387@posting.google.com>...
> edw@gmx.at (edw) wrote in message news:<84ea18d7.0407291353.457b2158@posting.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.
| |
| embalism 2004-08-06, 8:28 pm |
| 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 experience with other GUI WYSIWYG builders for Perl or Perl/Tk?
I really really really want a Perl GUI Builder that is just like Visual Basic. Anyone know of anything like this?
Thanks.
embalism |
|
|
|
|