ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> komodo-discuss
komodo-discuss
RE: [Komodo-discuss] Re-activate menu
by Jeff Hobbs other posts by this author
Apr 25 2005 10:51PM messages near this date
view in the new Beta List Site
[Komodo-discuss] Re-activate menu | [Komodo-discuss] can not run this thread?
I have a menu option disabled and I want to re-active it...

    Here's the code:

            $menuitem1-> configure( -state => 'normal', );

    Here's the error generated:

    Tk::Error: Can't set -state to `active' for Tk::Menu=HASH(0x3d5ef14):
unknown option "-state" ...

A menu is the larger widget comprised of items - you should be
using the entryconfigure method of the $menu, as noted here:

http://aspn.activestate.com/ASPN/Perl/Products/ActivePerl/site/lib/Tk/Menu.htm
l

  Jeff Hobbs
  http://www.ActiveState.com/, a division of Sophos 


_______________________________________________
Komodo-discuss mailing list
Komodo-discuss@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
Thread:
Dupuis Dominic
Jeff Hobbs

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved