Array
| From: | Alexander Benatti | Date: | Mon, 12 Mar 2001 13:19:45 +0000 |
| Subject: | Array | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-695@lists.php.net to get a copy of this message | ||
How can i convert this array to PHP?
my @menu_items = ( { path => '/_File',
type => '<Branch>' },
{ path => '/File/_New',
accelerator => '<control>N',
callback => \&print_hello },
{ path => '/File/_Open',
accelerator => '<control>O',
callback => \&print_hello },
{ path => '/File/_Save',
accelerator => '<control>S',
callback => \&print_hello },
{ path => '/File/Save _As' },
{ path => '/File/sep1',
type => '<Separator>' },
{ path => '/File/Quit',
callback => sub { Gtk->exit( 0 ); } },
{ path => '/_Options',
type => '<Branch>' },
{ path => '/Options/Test' },
{ path => '/_Help',
type => '<LastBranch>' },
{ path => '/_Help/About' } );