Gapp

 view release on metacpan or  search on metacpan

lib/Gapp/Menu.pm  view on Meta::CPAN

    my ( $self ) = @_;
   
    for my $i ( $self->children ) {
        if ( $i->visible_func ) {
            $i->visible_func->( $i ) ? $i->show_all : $i->hide
        }
        
    }
}

sub popup {
    my ( $self, @args ) = @_;
    
    $self->run_visible_funcs;
    $self->gobject->popup( @args );
}


__END__

=pod

=head1 NAME

Gapp::Menu - Menu Widget

lib/Gapp/Object.pm  view on Meta::CPAN

=over 4

=item isa: ArrayRef|Undef

=item default: undef

=back

If C<args> is set, the contents of the ArrayRef will be passed into the
constructor when the Gtk+ widget is instantiated. The example below will create
a popup window instead of a standard toplevel window.

 Gapp::Window->new( args => [ 'popup' ] );

=item B<gclass>

=over 4

=item isa: ClassName

=item required: lazy

=back



( run in 1.792 second using v1.01-cache-2.11-cpan-364913b4093 )