view release on metacpan or search on metacpan
lib/App/GUI/Cellgraph.pm view on Meta::CPAN
The fifth section works almost like the first. It is a store for single
colors, that loads or stores the currently highlighted color. The only
difference is that there is no C<New> button, since every saved color
will always get a new name.
=head2 Menu
The upmost menu bar has only three very simple menus.
Please not that each menu shows which key combination triggers the same
command and while hovering over an menu item you see a short help text
the left status bar field.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GUI/Harmonograph.pm view on Meta::CPAN
on the right side. They can be saved and loaded from a file via the
settings menu. Configuration are the general settings of this program,
which are mostly saved colors and paths were to store images and settings.
When browsing the main menu, help texts about the highlighted item
also appears in the status bar. The Menu can be completely navigated with
the keyboard. Just hold Alt and use the direction keys (up, down, left
and right) or the highlighted letters. When holding the Alt key you can
also see which Alt + letter combinations trigger which button.
lib/App/GUI/Harmonograph.pm view on Meta::CPAN
If you push the I<INI> button you safe the current settings into
"/home/user/images/h/beauty_5.ini". This file can later be loaded via
settings menu to restore the current state of all buttons in the tabs.
=head2 Menu
The upmost menu bar has only three very simple menus.
Please not that each menu shows which key combination triggers the same
command and while hovering over an menu item you see a short help text
the left status bar field.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GUI/Juliagraph.pm view on Meta::CPAN
=head2 Mouse
The drawing board responds to three types of clicks. A left click moves
the visible section. Double click means zoom in and right click is zoom out.
=head2 Menu
The upmost menu bar has only three very simple menus.
Please not that each menu shows which key combination triggers the same
command and while hovering over an menu item you see a short help text
the left status bar field.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GUI/Notepad.pm view on Meta::CPAN
Created with the valuable assistance of Adam Kennedy E<lt>cpan@aliasE<gt>
=head1 SEE ALSO
L<App::GUI::Notepad::Frame>, L<App::GUI::Notepad::MenuBar>
=head1 COPYRIGHT
Copyright (c) 2005 Ben Marsh, Adam Kennedy. All rights reserved.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Guiio.pm view on Meta::CPAN
use App::Guiio::Setup ;
use App::Guiio::Dialogs ;
use App::Guiio::Elements ;
use App::Guiio::Menues ;
use App::Guiio::Actions ;
use App::Guiio::Undo ;
use App::Guiio::Io ;
use App::Guiio::Ascii ;
use App::Guiio::Options ;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MFILE/WWW.pm view on Meta::CPAN
=head2 dbrowser
The C<dbrowser> primitive is like C<dform>, except that it displays a set
of data objects and enables the user to "browse" the dataset using arrow keys.
Like C<dform>, the primitive includes "miniMenu" functionality through which
the user can potentially trigger actions that take the current object as input.
=head2 dcallback
The C<dcallback> primitive is useful for cases when none of the other primitives
are appropriate for displaying a given type of object, and no interactivity is
needed beyond that provided by miniMenu. The C<dcallback> primitive writes the
target title and miniMenu to the screen, along with a "dcallback" div in
between, which it populates by calling the callback function. Since the callback
function part of the target definition, it can be app-specific.
=head2 dform
The C<dform> primitive is used to implement forms consisting of read-only
fields (for viewing data), read-write fields (for entering data), or a
combination of both. A "miniMenu" can be defined, allowing the user to trigger
actions that take the current object as input.
=head2 dmenu
lib/App/MFILE/WWW.pm view on Meta::CPAN
=head2 drowselect
The C<drowselect> primitive takes an array of strings, displays them vertically
as a list, and allows the user to choose one and perform an action on it. Actions
are defined via a C<miniMenu>. The currently-selected item is displayed in
reverse-video.
=head2 dtable
The C<dtable> primitive is similar to C<dbrowser> in that it takes a set of
objects and allows the user to choose one and perform actions on it via a
C<miniMenu>. Unlike C<dbrowser>, however, it display the objects in table form.
The currently-selected object is displayed in reverse video.
=head1 JAVASCRIPT UNIT TESTS
view all matches for this distribution
view release on metacpan or search on metacpan
example/assemble-example.com view on Meta::CPAN
my $with_cms;
GetOptions ( with_cms => \$with_cms );
my %args = (
helpers => {
activeMenu => sub {
my ($context, $menu) = @_;
if( $context->{'active-menu'} && $context->{'active-menu'} eq $menu ) {
return 'class=active';
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
script/midgen view on Meta::CPAN
if (-e $midgenrc) {
$config = $json->decode(read_file($midgenrc));
}
#######
# Start of Menu
#######
use Getopt::Long;
Getopt::Long::Configure('bundling');
use Pod::Usage;
my $help = 0;
view all matches for this distribution
view release on metacpan or search on metacpan
root/js/ext-3.3.1/ext-all.js view on Meta::CPAN
* Ext JS Library 3.3.1
* Copyright(c) 2006-2010 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
(function(){var h=Ext.util,k=Ext.each,g=true,i=false;h.Observable=function(){var l=this,m=l.events;if(l.listeners){l.on(l.listeners);delete l.listeners}l.events=m||{}};h.Observable.prototype={filterOptRe:/^(?:scope|delay|buffer|single)$/,fireEvent:fu...
/* SWFObject v2.2 <http://code.google.com/p/swfobject/>
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
var swfobject=function(){var F="undefined",t="object",U="Shockwave Flash",Y="ShockwaveFlash.ShockwaveFlash",s="application/x-shockwave-flash",T="SWFObjectExprInst",z="onreadystatechange",Q=window,l=document,v=navigator,V=false,W=[i],q=[],P=[],K=[],n,...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Mowyw.pm view on Meta::CPAN
# print Dumper $meta;
my $key = strip_ws(p_expect($tokens, "UNMATCHED", $meta));
my @words = split /\s+/, $key;
p_expect($tokens, "TAG_END", $meta);
my $menu_fn = shift @words;
# print "\nMenu: '$menu_fn'\n";
$menu_fn = get_include_filename('menu', $menu_fn, $meta->{FILES}->[-1]);
# print "Menu after frobbing: '$menu_fn'\n";
my $m = my_dclone($meta);
push @{$m->{ITEMS}}, @words;
unshift @{$m->{FILES}}, $menu_fn;
return parse_file($menu_fn, $m);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Music/ChordPro/Wx/Main_wxg.pm view on Meta::CPAN
$self = $self->SUPER::new( $parent, $id, $title, $pos, $size, $style, $name );
$self->SetSize($self->ConvertDialogSizeToPixels(Wx::Size->new(401, 311)));
# Menu Bar
$self->{main_menubar} = Wx::MenuBar->new();
use constant wxID_HELP_ChordPro => Wx::NewId();
use constant wxID_HELP_Config => Wx::NewId();
use constant wxID_HELP_EXAMPLE => Wx::NewId();
my $wxglade_tmp_menu;
$wxglade_tmp_menu = Wx::Menu->new();
$wxglade_tmp_menu->Append(wxID_NEW, _T("New"), _T("Create a new ChordPro document"));
$wxglade_tmp_menu->Append(wxID_OPEN, _T("Open...\tCtrl-O"), _T("Open an existing ChordPro file"));
$wxglade_tmp_menu->AppendSeparator();
$wxglade_tmp_menu->Append(wxID_PREVIEW, _T("Preview\tCtrl-P"), _T("Format and preview"));
$wxglade_tmp_menu->Append(wxID_SAVE, _T("Save...\tCtrl-S"), _T("Save the current ChordPro file"));
$wxglade_tmp_menu->AppendSeparator();
$wxglade_tmp_menu->Append(wxID_EXIT, _T("Exit"), _T("Close window and exit"));
$self->{main_menubar}->Append($wxglade_tmp_menu, _T("File"));
$wxglade_tmp_menu = Wx::Menu->new();
$wxglade_tmp_menu->Append(wxID_UNDO, _T("Undo"), "");
$wxglade_tmp_menu->Append(wxID_REDO, _T("Redo"), "");
$wxglade_tmp_menu->AppendSeparator();
$wxglade_tmp_menu->Append(wxID_CUT, _T("Cut"), "");
$wxglade_tmp_menu->Append(wxID_COPY, _T("Copy"), "");
$wxglade_tmp_menu->Append(wxID_PASTE, _T("Paste"), "");
$wxglade_tmp_menu->Append(wxID_DELETE, _T("Delete"), "");
$wxglade_tmp_menu->AppendSeparator();
$wxglade_tmp_menu->Append(wxID_PREFERENCES, _T("Preferences..."), _T("Preferences"));
$self->{main_menubar}->Append($wxglade_tmp_menu, _T("Edit"));
$wxglade_tmp_menu = Wx::Menu->new();
$wxglade_tmp_menu->Append(wxID_HELP_ChordPro, _T("ChordPro file format"), _T("Help about the ChordPro file format"));
$wxglade_tmp_menu->Append(wxID_HELP_Config, _T("ChordPro config files"), _T("Help about the config files"));
$wxglade_tmp_menu->AppendSeparator();
$wxglade_tmp_menu->Append(wxID_HELP_EXAMPLE, _T("Insert song example"), _T("Insert an example song into the editor window"));
$wxglade_tmp_menu->AppendSeparator();
$wxglade_tmp_menu->Append(wxID_ABOUT, _T("About"), _T("About WxChordPro"));
$self->{main_menubar}->Append($wxglade_tmp_menu, _T("Help"));
$self->SetMenuBar($self->{main_menubar});
# Menu Bar end
$self->{f_main_statusbar} = $self->CreateStatusBar(1);
$self->{t_source} = Wx::TextCtrl->new($self, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE);
$self->__set_properties();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ChordPro/Wx/Main.pm view on Meta::CPAN
class => "examples" ),
1, " example.cho " );
}
method OnExpertLineEndings($event) {
$state{vieweol} = wxTheApp->GetTopWindow->GetMenuBar->FindItem($event->GetId)->IsChecked;
if ( $state{mode} eq "editor" ) {
$self->{p_editor}->{t_editor}->SetViewEOL($state{vieweol});
}
}
method OnExpertWhiteSpace($event) {
$state{viewws} = wxTheApp->GetTopWindow->GetMenuBar->FindItem($event->GetId)->IsChecked;
if ( $state{mode} eq "editor" ) {
$self->{p_editor}->{t_editor}->SetViewWhiteSpace($state{viewws});
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
public/css/side-menu.css view on Meta::CPAN
font-size: 110%;
color: #fff;
margin: 0;
}
/* -- Dynamic Button For Responsive Menu -------------------------------------*/
/*
The button to open/close the Menu is custom-made and not part of Pure. Here's
how it works:
*/
/*
`.menu-link` represents the responsive menu toggle that shows/hides on
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Netdisco/Web/Plugin.pm view on Meta::CPAN
Additional Device Details
=item *
Admin Menu function (job control, manual topology, pseudo devices)
=back
See L<https://github.com/netdisco/netdisco/wiki/Web-Plugins> for details.
view all matches for this distribution
view release on metacpan or search on metacpan
bin/nostray view on Meta::CPAN
HTMLDivElement, HTMLDListElement, HTMLFieldSetElement,
HTMLFontElement, HTMLFormElement, HTMLFrameElement, HTMLFrameSetElement,
HTMLHeadElement, HTMLHeadingElement, HTMLHRElement, HTMLHtmlElement,
HTMLIFrameElement, HTMLImageElement, HTMLInputElement, HTMLIsIndexElement,
HTMLLabelElement, HTMLLayerElement, HTMLLegendElement, HTMLLIElement,
HTMLLinkElement, HTMLMapElement, HTMLMenuElement, HTMLMetaElement,
HTMLModElement, HTMLObjectElement, HTMLOListElement, HTMLOptGroupElement,
HTMLOptionElement, HTMLParagraphElement, HTMLParamElement, HTMLPreElement,
HTMLQuoteElement, HTMLScriptElement, HTMLSelectElement, HTMLStyleElement,
HtmlTable, HTMLTableCaptionElement, HTMLTableCellElement, HTMLTableColElement,
HTMLTableElement, HTMLTableRowElement, HTMLTableSectionElement,
HTMLTextAreaElement, HTMLTitleElement, HTMLUListElement, HTMLVideoElement,
Iframe, IframeShim, Image, Int16Array, Int32Array, Int8Array,
Insertion, InputValidator, JSON, Keyboard, Locale, LN10, LN2, LOG10E, LOG2E,
MAX_VALUE, MIN_VALUE, Mask, Math, MenuItem, MessageChannel, MessageEvent, MessagePort,
MoveAnimation, MooTools, Native, NEGATIVE_INFINITY, Number, Object, ObjectRange, Option,
Options, OverText, PI, POSITIVE_INFINITY, PeriodicalExecuter, Point, Position, Prototype,
RangeError, Rectangle, ReferenceError, RegExp, ResizeAnimation, Request, RotateAnimation,
SQRT1_2, SQRT2, ScrollBar, ScriptEngine, ScriptEngineBuildVersion,
ScriptEngineMajorVersion, ScriptEngineMinorVersion, Scriptaculous, Scroller,
bin/nostray view on Meta::CPAN
HTMLLayerElement : false,
HTMLLegendElement : false,
HTMLLIElement : false,
HTMLLinkElement : false,
HTMLMapElement : false,
HTMLMenuElement : false,
HTMLMetaElement : false,
HTMLModElement : false,
HTMLObjectElement : false,
HTMLOListElement : false,
HTMLOptGroupElement : false,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Office/CMS/Database.pm view on Meta::CPAN
use App::Office::CMS::Database::Asset;
use App::Office::CMS::Database::Content;
use App::Office::CMS::Database::Design;
use App::Office::CMS::Database::Event;
use App::Office::CMS::Database::Menu;
use App::Office::CMS::Database::Page;
use App::Office::CMS::Database::Site;
use App::Office::CMS::Util::Config;
use App::Office::CMS::Util::Logger;
lib/App/Office/CMS/Database.pm view on Meta::CPAN
);
has menu =>
(
is => 'rw',
isa => Any, # 'App::Office::CMS::Database::Menu',
);
has page =>
(
is => 'rw',
lib/App/Office/CMS/Database.pm view on Meta::CPAN
$self -> asset(App::Office::CMS::Database::Asset -> new(db => $self) );
$self -> content(App::Office::CMS::Database::Content -> new(db => $self) );
$self -> design(App::Office::CMS::Database::Design -> new(db => $self) );
$self -> event(App::Office::CMS::Database::Event -> new(db => $self) );
$self -> logger(App::Office::CMS::Util::Logger -> new(db => $self) );
$self -> menu(App::Office::CMS::Database::Menu -> new(db => $self) );
$self -> page(App::Office::CMS::Database::Page -> new(db => $self) );
$self -> simple(DBIx::Simple -> new($self -> dbh) );
$self -> site(App::Office::CMS::Database::Site -> new(db => $self) );
return $self;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/PLab/ImageApp.pm view on Meta::CPAN
]
);
my $i;
$w-> {uname} = $uname;
$i = $w-> {ini} = $w-> {iniFile}-> section( $uname.$::application->name);
$w-> {keyMappings} = { map { $_ => Prima::AbstractMenu-> translate_shortcut( eval($i-> {$_})); }
grep { m/^Key_/ } keys %$i };
$i->{"Color_$_"} = eval( $i->{"Color_$_"}) for keys %$colors;
my @rc = split ' ', $i->{WindowRect};
my @ac = $::application-> rect;
$ac[3] -= $::application-> get_system_value( sv::YMenu) * 3 + $::application-> get_system_value( sv::YTitleBar);
$rc[0] = 0 if $rc[0] >= $ac[2];
$rc[1] = 0 if $rc[1] >= $ac[3];
$rc[3] = $ac[3] if $rc[3] >= $ac[3];
$w-> rect(@rc);
$w-> {cypherMask} = ( lc $w->{ini}->{SerType} eq 'long') ? 3 : 2;
lib/App/PLab/ImageApp.pm view on Meta::CPAN
hint => 'Set default value for a key',
onClick => sub {
my $kl = $nbpages-> KeyList;
my ( $item, $lev) = $kl-> get_item( $kl-> focusedItem);
return unless $item;
$nbpages-> KeySelector-> key( Prima::AbstractMenu-> translate_shortcut(
$w-> opt_keys()-> {$kl-> get_item_text( $item)}-> [0]));
},
] );
$nbpages-> KeyList-> focusedItem(0);
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/PerlTidy/Tk.pm view on Meta::CPAN
sub create_menu {
my ($self) = @_;
my $main_menu = $self->{top}->Menu();
my $file_menu = $main_menu->cascade(-label => 'File', -underline => 0);
$file_menu->command(-label => 'Open Perl File', -command => sub { $self->show_open(); }, -underline => 0);
#$file_menu->command(-label => 'Load Config', -command => sub { $self->load_config(); }, -underline => 0);
$file_menu->command(-label => 'Save Config', -command => sub { $self->save_config(); }, -underline => 0);
view all matches for this distribution
view release on metacpan or search on metacpan
t/oddmuse-namespaces.pl view on Meta::CPAN
print $q->end_form() . $q->end_div();
PrintFooter();
}
}
push(@MyAdminCode, \&NamespacesMenu);
sub NamespacesMenu {
my ($id, $menuref, $restref) = @_;
push(@$menuref,
ScriptLink('action=namespaces',
T('Namespaces'),
'namespaces'));
view all matches for this distribution
view release on metacpan or search on metacpan
public/css/envui.css view on Meta::CPAN
.menuBackground {
background: #c0c0c0;
text-align: left;
}
.dropDownMenu a {
color: #FFF;
}
.dropDownMenu,
.dropDownMenu ul {
list-style: none;
margin: 0;
padding: 0;
}
.dropDownMenu li {
position: relative;
}
.dropDownMenu a {
padding: 10px 20px;
display: block;
text-decoration: none;
}
.dropDownMenu a:hover {
background: green;
}
/* Level 1 Drop Down */
.dropDownMenu > li {
display: inline-block;
vertical-align: top;
margin-left: -4px; /* solve the 4 pixels spacing between list-items */
}
.dropDownMenu > li:first-child {
margin-left: 0;
}
/* Level 2 */
.dropDownMenu ul {
box-shadow: 2px 2px 15px 0 rgba(0,0,0, 0.5);
}
.dropDownMenu > li > ul {
text-align: left;
display: none;
background: #c0c0c0;
position: absolute;
top: 100%;
public/css/envui.css view on Meta::CPAN
width: 240px;
z-index: 999999;
}
/* Level 3 */
.dropDownMenu > li > ul > li > ul {
text-align: left;
display: none;
background: #c0c0c0;
position: absolute;
left: 100%;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/SeismicUnixGui/script/L_SU.pl view on Meta::CPAN
V 0.2.0 Jan 12 2018: removed all Config::Simple dependencies
V 0.3.0 May 14, 2018: refactored into L_SU.pm and L_SU.pl
0
Fall 2018
V 0.3.1 makes Run = Save and Run
Moves SaveAs to L_SU Menu and removes Save button
V 0.3.2 has 4 flow panels
V 0.3.3 has dragNdrop deactivated to stabilize version
lib/App/SeismicUnixGui/script/L_SU.pl view on Meta::CPAN
MB3 goes to superflow bindings
=cut
$main_href->{_superflow_select} = $top_menu_frame->Menubutton(
-text => 'Tools',
-font => $arial_16,
-height => $var->{_1_character},
-width => $var->{_6_characters},
-padx => $var->{_five_pixels},
lib/App/SeismicUnixGui/script/L_SU.pl view on Meta::CPAN
-activebackground => $var->{_my_dark_grey},
-relief => 'flat'
);
my $top_menu_bar =
( $main_href->{_superflow_select} )->Menu( -font => $arial_16 );
$top_menu_bar->bind(
'<ButtonRelease-3>' => [ \&_L_SU_superflow_bindings, 'get_help' ], );
=head2 Top menu frame icon
lib/App/SeismicUnixGui/script/L_SU.pl view on Meta::CPAN
Advice for installation of software
=cut
$main_href->{_help_menubutton} = $top_menu_frame->Menubutton(
-text => 'Help',
-font => $arial_16,
-width => $var->{_6_characters},
-height => $var->{_1_character},
-background => $var->{_my_yellow},
lib/App/SeismicUnixGui/script/L_SU.pl view on Meta::CPAN
-activebackground => $var->{_my_dark_grey},
-relief => 'flat',
);
my $side_menu_bar_right =
( $main_href->{_help_menubutton} )->Menu( -font => $arial_16 );
( $main_href->{_help_menubutton} )->configure( -menu => $side_menu_bar_right );
my @Help_option;
$Help_option[0] = $help_menubutton_type->{_About};
lib/App/SeismicUnixGui/script/L_SU.pl view on Meta::CPAN
contains side menus
1. for files
=cut
$main_href->{_file_menubutton} = $side_menu_frame->Menubutton(
-text => 'Flow',
-font => $arial_16,
-height => $var->{_1_character},
-relief => 'flat',
-background => $var->{_my_yellow},
lib/App/SeismicUnixGui/script/L_SU.pl view on Meta::CPAN
-activeforeground => $var->{_my_white},
-activebackground => $var->{_my_dark_grey},
);
my $side_menu_bar_left =
( $main_href->{_file_menubutton} )->Menu( -font => $arial_16 );
( $main_href->{_file_menubutton} )->configure( -menu => $side_menu_bar_left );
# ( $main_href->{_file_menubutton} )->separator;
my @File_option;
view all matches for this distribution
view release on metacpan or search on metacpan
share/public/slides.js view on Meta::CPAN
self.root.find('.slide').on('click', function(e) { return self._handle_click(e) });
},
_public_ui_html: (
'<div class="slides-sidebar">'+
' <div class="slides-corner">'+
' <button class="slides-sidebar-btn" type="button" data-method="togglemenu" title="Menu">'+
' <div class="bar bar1"></div><div class="bar bar2"></div><div class="bar bar3"></div>'+
' </button>'+
' <div class="slides-notify"></div>'+
' </div>'+
' <div class="ui"><div class="ui-inner">'+
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/SourcePlot.pm view on Meta::CPAN
on_error => 'croak');
my $dt = $strp->parse_datetime($DATE);
my $monthEnt = $months[$dt->month() - 1];
my $mb = $topFrame->Menubutton(
-text => $monthEnt,
-relief => 'raised',
-width => 10);
foreach $name (@months) {
lib/App/SourcePlot.pm view on Meta::CPAN
# place the telescope menuButton
$topFrame->Label(-text => 'Telescope:')->grid(-column => 0, -row => 0);
my $f = $topFrame->Frame()->grid(-column => 1, -row => 0, -padx => 10, -pady => 5, -sticky => 'w');
my $f2 = $topFrame->Frame()->grid(-column => 1, -row => 1, -padx => 10, -pady => 5, -sticky => 'w');
$tb = $f->Menubutton(
-text => $telEnt,
-relief => 'raised',
-width => 15,
)->pack(-side => 'left');
$tb->cascade(-label => 'A - C', -underline => 0);
lib/App/SourcePlot.pm view on Meta::CPAN
$tb->cascade(-label => 'S - U', -underline => 0);
$tb->cascade(-label => 'V - X', -underline => 0);
$tb->cascade(-label => 'Y - Z', -underline => 0);
my $cm = $tb->cget('-menu');
my $ac = $cm->Menu;
my $df = $cm->Menu;
my $gi = $cm->Menu;
my $jl = $cm->Menu;
my $mo = $cm->Menu;
my $pr = $cm->Menu;
my $su = $cm->Menu;
my $vx = $cm->Menu;
my $yz = $cm->Menu;
$tb->entryconfigure('A - C', -menu => $ac);
$tb->entryconfigure('D - F', -menu => $df);
$tb->entryconfigure('G - I', -menu => $gi);
$tb->entryconfigure('J - L', -menu => $jl);
lib/App/SourcePlot.pm view on Meta::CPAN
$topFrame->Label(
-text => 'y-axis:',
)->grid(-column => 0, -row => 4, -padx => 5, -pady => 5);
my $yEnt = $Y_AXIS;
my $yb = $topFrame->Menubutton(
-text => $yEnt,
-relief => 'raised',
-width => 15);
foreach $name (@axes) {
$yb->command(
lib/App/SourcePlot.pm view on Meta::CPAN
# place the x-axis menuButton
$topFrame->Label(
-text => 'x-axis:',
)->grid(-column => 0, -row => 3, -padx => 5, -pady => 5);
my $xEnt = $X_AXIS;
my $xb = $topFrame->Menubutton(
-text => $xEnt,
-relief => 'raised',
-width => 15,
);
foreach $name (@axes) {
lib/App/SourcePlot.pm view on Meta::CPAN
$topFrame->Label(
-text => 'Epoc:',
)->grid(-column => 0, -row => 3, -padx => 5, -pady => 5);
my $epocEnt = $source->is_blank() ? $Epocs[0] : $source->epoc();
my $epocB = $topFrame->Menubutton(
-text => $epocEnt,
-relief => 'raised',
-width => 15,
);
lib/App/SourcePlot.pm view on Meta::CPAN
},
)->pack(-side => 'left');
$balloon->attach($newBut, -balloonmsg => "Press to manually\nadd a source");
# create the planet button
my $planBut = $manipF->Menubutton(
-text => 'Planets',
-width => 7,
-relief => 'raised',
);
{
view all matches for this distribution
view release on metacpan or search on metacpan
share/res/js/bootstrap.js view on Meta::CPAN
$parent = getParent($this)
isActive = $parent.hasClass('open')
clearMenus()
if (!isActive) {
if ('ontouchstart' in document.documentElement) {
// if mobile we we use a backdrop because click events don't delegate
$('<div class="dropdown-backdrop"/>').insertBefore($(this)).on('click', clearMenus)
}
$parent.toggleClass('open')
}
$this.focus()
share/res/js/bootstrap.js view on Meta::CPAN
.focus()
}
}
function clearMenus() {
$('.dropdown-backdrop').remove()
$(toggle).each(function () {
getParent($(this)).removeClass('open')
})
}
share/res/js/bootstrap.js view on Meta::CPAN
/* APPLY TO STANDARD DROPDOWN ELEMENTS
* =================================== */
$(document)
.on('click.dropdown.data-api', clearMenus)
.on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
.on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
.on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
}(window.jQuery);
view all matches for this distribution
view release on metacpan or search on metacpan
local/lib/perl5/Module/ScanDeps.pm view on Meta::CPAN
if (/->\s*setPalette/g) {
push @modules,
map { "Tk/$_.pm" }
qw( Button Canvas Checkbutton Entry
Frame Label Labelframe Listbox
Menubutton Menu Message Radiobutton
Scale Scrollbar Spinbox Text );
}
return \@modules;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/TimeTracker/Gtk3StatusIcon.pm view on Meta::CPAN
exit 0;
}
}
Gtk3->init;
my $menu = Gtk3::Menu->new();
my $task = get_current_task();
my $icon = Gtk3::StatusIcon->new_from_file($ICONS{$task->{status}});
my @items;
for my $line ($task->{lines}->@*) {
my $item = Gtk3::MenuItem->new($line);
$item->signal_connect( activate => sub {
Clipboard->copy($item->get_label) if $task->{status} eq 'busy';
} );
$menu->append($item);
push(@items, $item);
}
my $quit = Gtk3::ImageMenuItem->new_from_stock('gtk-quit');
$quit->signal_connect( activate => sub { Gtk3->main_quit } );
$menu->append($quit);
$menu->show_all();
$icon->signal_connect( 'activate' => sub { $menu->popup_at_pointer } );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Tk/Deparse.pm view on Meta::CPAN
}
sub create_menu {
my ($self) = @_;
my $main_menu = $self->{top}->Menu();
my $file_menu = $main_menu->cascade(-label => 'File', -underline => 0);
#$file_menu->command(-label => 'Open Perl File', -command => sub { $self->show_open(); }, -underline => 0);
$file_menu->command(-label => 'Quit (Ctrl-q)', -command => sub { $self->exit_app(); }, -underline => 0);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/USBKeyCopyCon.pm view on Meta::CPAN
use Moose;
use Gtk2 -init;
use Glib qw(TRUE FALSE);
use Gtk2::SimpleMenu;
use App::USBKeyCopyCon::Chrome;
use Net::DBus;
use Net::DBus::GLib;
lib/App/USBKeyCopyCon.pm view on Meta::CPAN
my @menu_entries = (
# name, stock id, label
[ "FileMenu", undef, "_File" ],
[ "EditMenu", undef, "_Edit" ],
[ "HelpMenu", undef, "_Help" ],
# name, stock id, label, accelerator, tooltip, action
[ "New", 'gtk-new', "_New master key", "<control>N", "Re-read the master key", 'file_new' ],
[ "Quit", 'gtk-quit', "_Quit", "<control>Q", "Quit", 'file_quit' ],
[ "Prefs", 'gtk-preferences', "_Preferences", "<control>E", "About", 'edit_preferences' ],
[ "About", 'gtk-about', "_About", "<control>A", "About", 'help_about' ],
);
my $menu_ui = "<ui>
<menubar name='MenuBar'>
<menu action='FileMenu'>
<menuitem action='New'/>
<menuitem action='Quit'/>
</menu>
<menu action='EditMenu'>
<menuitem action='Prefs'/>
</menu>
<menu action='HelpMenu'>
<menuitem action='About'/>
</menu>
</menubar>
</ui>";
lib/App/USBKeyCopyCon.pm view on Meta::CPAN
$ui->insert_action_group($actions, 0);
$self->app_win->add_accel_group($ui->get_accel_group);
$ui->add_ui_from_string ($menu_ui);
return $ui->get_widget('/MenuBar');
}
sub build_key_rack {
my $self = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Validation/Automation/Web.pm view on Meta::CPAN
}
elsif($content =~ /Authentication\s+Failure/i) {
$self->web_msg("Authentication Failure!");
return 0;
}
elsif($content =~ /launchMenu\((.*)\)\;/) {
(( $req_string = $1 ) =~ s/^\'(.*)\'$/$1/ );
($web_server,$web_server_ip,$web_port,$app_server,$user,$menu_tokens,
$auto_tokens, $site, $zone, $slif_flag ) = split /','/,$req_string;
$menu_url
= "http://$web_server_ip:$web_port/LoginIWS_Servlet/Menu?webserver";
$menu_url .= "=$web_server&webport=$web_port&appserver=$app_server&user";
$menu_url .= "$user&menuTokens=$menu_tokens&autoTokens=$auto_tokens&site";
$menu_url .= "=$site&zone=$zone&SLIflag=$slif_flag&code=x9y8z70D0";
$mech->get( $menu_url );
view all matches for this distribution