view release on metacpan or search on metacpan
lib/auto/TT2/Play/Area/public/codemirror/mode/idl/idl.js view on Meta::CPAN
'ulon64arr', 'ulonarr', 'ulong', 'ulong64', 'uniq',
'unsharp_mask', 'usersym', 'value_locate', 'variance', 'vector',
'vector_field', 'vel', 'velovect', 'vert_t3d', 'voigt',
'volume', 'voronoi', 'voxel_proj', 'wait', 'warp_tri',
'watershed', 'wdelete', 'wf_draw', 'where', 'widget_base',
'widget_button', 'widget_combobox', 'widget_control',
'widget_displaycontextmenu', 'widget_draw',
'widget_droplist', 'widget_event', 'widget_info',
'widget_label', 'widget_list',
'widget_propertysheet', 'widget_slider', 'widget_tab',
'widget_table', 'widget_text',
view all matches for this distribution
view release on metacpan or search on metacpan
demos/bitmaps/about.xpm
demos/bitmaps/bold.xbm
demos/bitmaps/capital.xbm
demos/bitmaps/centerj.xbm
demos/bitmaps/code.xpm
demos/bitmaps/combobox.xbm
demos/bitmaps/combobox.xpm
demos/bitmaps/drivea.xbm
demos/bitmaps/drivea.xpm
demos/bitmaps/exit.xpm
demos/bitmaps/filebox.xbm
demos/bitmaps/filebox.xpm
tests/widgetTestClass1.tcl
tests/cleanup/cleanup.tcl
tests/cleanup/files
tests/general/api.tcl
tests/general/cmderror.tcl
tests/general/combobox.tcl
tests/general/dirbox.tcl
tests/general/draw.tcl
tests/general/event0.tcl
tests/general/filebox.tcl
tests/general/files
view all matches for this distribution
view release on metacpan or search on metacpan
demos/biglist.tcl view on Meta::CPAN
$::entryCmd $w.entry1 -width 24
# Threat Level: label + menubutton
label $w.label2 -text "Threat Level:" -anchor w -background $Priv(bg)
if {$::tile} {
ttk::combobox $w.mb2 -values {Severe High Elevated Guarded Low} \
-state readonly -width [string length "Elevated"]
} else {
menubutton $w.mb2 -indicatoron yes -menu $w.mb2.m \
-width [string length Elevated] -relief raised
menu $w.mb2.m -tearoff no
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Tcl/pTk/Facelift.pm view on Meta::CPAN
$cw->Advertise('entry' => $be);
my %ignoreConfigSpecs = ();
$cw->ConfigSpecs(
%ignoreConfigSpecs,
'DEFAULT' => ['combobox']
);
}
view all matches for this distribution
view release on metacpan or search on metacpan
_collapse_cond_unroll_pairs ../dbix-class/lib/DBIx/Class/Storage/DBIHacks.pm /^sub _collapse_cond_unroll_pairs {$/;" s file:
_collapse_hash ../html-formhandler/lib/HTML/FormHandler/Params.pm /^sub _collapse_hash {$/;" s file:
_column_from_storage ../dbix-class/lib/DBIx/Class/FilterColumn.pm /^sub _column_from_storage {$/;" s class:FilterColumn
_column_to_storage ../dbix-class/lib/DBIx/Class/FilterColumn.pm /^sub _column_to_storage {$/;" s class:FilterColumn
_columns_comprise_identifying_set ../dbix-class/lib/DBIx/Class/Storage/DBIHacks.pm /^sub _columns_comprise_identifying_set {$/;" s file:
_combobox_defaults ../HTML-FormFu/lib/HTML/FormFu/Element/ComboBox.pm /^sub _combobox_defaults {$/;" s class:ComboBox
_command2action ../Catalyst-Runtime/lib/Catalyst/Dispatcher.pm /^sub _command2action {$/;" s class:Dispatcher
_common_construction ../Catalyst-Controller-HTML-FormFu/lib/Catalyst/Controller/HTML/FormFu.pm /^sub _common_construction {$/;" s class:FormFu
_comp_names ../Catalyst-Runtime/lib/Catalyst.pm /^sub _comp_names {$/;" s class:Catalyst
_comp_names_search_prefixes ../Catalyst-Runtime/lib/Catalyst.pm /^sub _comp_names_search_prefixes {$/;" s class:Catalyst
_comp_search_prefixes ../Catalyst-Runtime/lib/Catalyst.pm /^sub _comp_search_prefixes {$/;" s class:Catalyst
view all matches for this distribution
view release on metacpan or search on metacpan
share/js/jquery-ui.js view on Meta::CPAN
// Create button
this.button = $( "<span>", {
tabindex: this.options.disabled ? -1 : 0,
id: this.ids.button,
role: "combobox",
"aria-expanded": "false",
"aria-autocomplete": "list",
"aria-owns": this.ids.menu,
"aria-haspopup": "true",
title: this.element.attr( "title" )
view all matches for this distribution
view release on metacpan or search on metacpan
share/js/jquery-ui.js view on Meta::CPAN
// Create button
this.button = $( "<span>", {
tabindex: this.options.disabled ? -1 : 0,
id: this.ids.button,
role: "combobox",
"aria-expanded": "false",
"aria-autocomplete": "list",
"aria-owns": this.ids.menu,
"aria-haspopup": "true",
title: this.element.attr( "title" )
view all matches for this distribution
view release on metacpan or search on metacpan
t/02_Options_Basic.t view on Meta::CPAN
#################################################################
## Name: 02_Options_Basic.t
##
## Purpose: Tests all Basic operations - those that implement
## "standard" Tk options, or redefine them. There are a few
## additional ones that configure the appearance of the combobox.
##
## Tested Options: (also tests -mode)
## -arrowbitmap
## -arrowimage
## -background
view all matches for this distribution
view release on metacpan or search on metacpan
0.23 Thu Feb 06 19:09:21 CET 2014
o Improved widget Tk::Optionbox - Widget now supports a automatically created 'dummy' entry at the top
of the selection list, that will 'clear the value of the attached variable.
(Usable to clear also an attached label in case of emulating a combobox...
---------------------------------------------------------------
TODO: Still some more work needed on the tests ...
view all matches for this distribution
view release on metacpan or search on metacpan
position.
Bugs:
menus can work even if one releases the button before choosing
the menu item - just put ! in Menubutton.pm:271.)
but with this basic_demo shows problems with popdown selection boxes.
Even without this a combobox is posted below the window.
"Real" menubars post menus with bad sensitivity, like comboboxes.
$Foo->Icon() hangs
1.04:
Support new font selection API.
Rework the logic of font selection.
Rework the calculation of a rendered text string length. Now the
view all matches for this distribution
view release on metacpan or search on metacpan
pTk/mTk/generic/tkOption.c view on Meta::CPAN
bestPtr = &tsdPtr->defaultMatch;
/*
* For megawidget support, we want to have some widget options masquerade
* as options for other widgets. For example, a combobox has a button in
* it; this button ought to pick up the *Button.background, etc., options.
* But because the class of the widget is Combobox, our normal search
* won't get that option.
*
* To work around this, the option name field syntax was extended to allow
view all matches for this distribution
view release on metacpan or search on metacpan
########################################################
=head1 CLASS Tui::Dropbox
This widget is sometimes also known als a combobox. When it
recieved the focus, a listbox will dropdown where the user can make
a choice. The only restriction is that the dropbox MUST fit into the
Form where it is used when used within a form.
Inherits from L<CLASS Tui::Widget>.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/UI/Dialog/Backend/XDialog.pm view on Meta::CPAN
$self->{'_opts'}->{'nocrwrap'} = $cfg->{'nocrwrap'} || 0;
# --buttons-style default|icon|text
$self->{'_opts'}->{'buttonsstyle'} = $cfg->{'buttonsstyle'} || 'default';
# --fixed-font (tailbox, textbox, and editbox)
$self->{'_opts'}->{'fixedfont'} = $cfg->{'fixedfont'} || 0;
# --editable (combobox)
$self->{'_opts'}->{'editable'} = $cfg->{'editable'} || 0;
# --time-stamp | --date-stamp (logbox)
$self->{'_opts'}->{'timestamp'} = $cfg->{'timestamp'} || 0;
$self->{'_opts'}->{'datestamp'} = $cfg->{'datestamp'} || 0;
# --reverse (logbox)
lib/UI/Dialog/Backend/XDialog.pm view on Meta::CPAN
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#: Public Methods
#:
# --combobox <text> <height> <width> <item1> ... <itemN>
#:+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: display a dropdown list that's editable
sub combobox {
my $self = shift();
my $caller = (caller(1))[3] || 'main';
$caller = ($caller =~ /^UI\:\:Dialog\:\:Backend\:\:/) ? ((caller(2))[3]||'main') : $caller;
if ($_[0] && $_[0] eq 'caller') {
shift(); $caller = shift();
}
my $args = $self->_pre($caller,@_);
my $fmt = $self->prepare_format($args);
$fmt = $self->append_format_base($args,$fmt);
$fmt = $self->append_format($fmt,'--separate-output --combobox {{text}} {{height}} {{width}} {{list}}');
my $command = $self->prepare_command
( $args, $fmt,
text => $self->make_kvt($args,$args->{'text'}),
);
view all matches for this distribution
view release on metacpan or search on metacpan
t/ua_mock.json view on Meta::CPAN
[{"txn_num":0,"class":"Mojo::Transaction::HTTP","response":{"body":"HTTP/1.1 200 OK\r\nContent-Type: text/html; charset=Windows-1251\r\nExpires: Thu, 19 Nov 1981 08:52:00 GMT\r\nX-Powered-CMS: Bitrix Site Manager (DEMO)\r\nStrict-Transport-Security: ...
view all matches for this distribution
view release on metacpan or search on metacpan
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/hoverintent.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/index.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/no-auto-height.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/sortable.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/categories.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/combobox.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/custom-data.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/default.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/folding.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/images/jquery_32x32.png
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/images/jqueryui_32x32.png
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Win32/GUI/XMLBuilder.pm view on Meta::CPAN
}
}
=item <Combobox>
Generate a combobox with drop down items specified with the <Items> elements. In addition
to standard attributes for Win32::GUI::Combobox there is also a 'dropdown' attribute that
automatically sets the 'pushstyle' to 'WS_VISIBLE()|0x3|WS_VSCROLL()|WS_TABSTOP()'. In 'dropdown'
mode an <Item> element has the additional attribute 'default'.
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
$self->{-parent}->Select($self->{-index});
}
###############################################################################
# (@)PACKAGE:Win32::GUI::Combobox
# Create and manipulate combobox controls
#
package Win32::GUI::Combobox;
@ISA = qw(
Win32::GUI
Win32::GUI::WindowProps
}
}
###############################################################################
# (@)PACKAGE:Win32::GUI::ComboboxEx
# Create and manipulate extended combobox controls
#
package Win32::GUI::ComboboxEx;
@ISA = qw(
Win32::GUI::Combobox
);
view all matches for this distribution
view release on metacpan or search on metacpan
- Added GetComboText, GetComboContents, GetListText and GetListContents
to allow easy extraction of data from list and combo boxes.
- Added 'eg\fonts.pl' to show the new functionality. This script opens
the Notepad "Font" dialog and prints to stdout the contents of the Font
combobox.
- Fixed bug in SendMessage (and others), where the return value was lost
Caused by a missing OUTPUT tag.
- Added IsKeyPressed function. Suggested by Rudi Farkas.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Wx/DemoModules/wxChoice.pm view on Meta::CPAN
package Wx::DemoModules::wxChoice;
use strict;
use base qw(Wx::DemoModules::lib::BaseModule Class::Accessor::Fast);
use Wx qw(:combobox wxNOT_FOUND);
use Wx::Event qw(EVT_CHOICE);
__PACKAGE__->mk_accessors( qw(choice) );
sub styles {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Wx/Perl/DbLinker/Wxform.pm view on Meta::CPAN
'Wx::TextCtrl' => sub { my ( $self, $w, $id ) = @_; return $w->GetValue; },
'Wx::ToggleButton' =>
sub { my ( $self, $w, $id ) = @_; return $w->GetValue; },
'Wx::ComboBox' => sub {
my ( $self, $w, $id ) = @_;
return $self->_get_combobox_selectedvalue($id);
},
'Wx::ListBox' => sub {
my ( $self, $w, $id ) = @_;
return $self->_get_combobox_selectedvalue($id);
},
'Wx::CheckBox' => sub {
my ( $self, $w, $id ) = @_;
return $w->IsChecked;
},
lib/Wx/Perl/DbLinker/Wxform.pm view on Meta::CPAN
my ( $self, $w, $id ) = @_;
return $w->IsChecked;
},
'Wx::ListCtrl' => sub {
my ( $self, $w, $id ) = @_;
$self->_get_combobox_selectedvalue($id);
},
);
private log => my %log;
lib/Wx/Perl/DbLinker/Wxform.pm view on Meta::CPAN
init => 0
}
);
}
sub _get_combobox_selectedvalue {
my ( $self, $id ) = @_;
my $ido = id $self;
confess($log{$id }->error("id undef")) unless ( defined $id );
my $w = $self->_datawidgets( $id );
lib/Wx/Perl/DbLinker/Wxform.pm view on Meta::CPAN
( $pos == wxNOT_FOUND )
? undef
: $datawidgets_value{ $ido }->{$id}->{$pos};
}
$log{ $ido }->debug( "_get_combobox_selectedvalue: found "
. ( defined $x ? $x : " undef" ) );
return $x;
}
sub _set_spinbutton {
view all matches for this distribution
view release on metacpan or search on metacpan
Constant.xs view on Meta::CPAN
r( wxCAP_ROUND ); // pen
r( wxCAP_PROJECTING ); // pen
r( wxCAP_BUTT ); // pen
r( wxCB_SIMPLE ); // combobox
r( wxCB_DROPDOWN ); // combobox
r( wxCB_READONLY ); // combobox comboctrl
r( wxCB_SORT ); // combobox comboctrl
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
r( wxCC_SPECIAL_DCLICK ); // comboctrl
r( wxCC_STD_BUTTON ); // comboctrl
r( wxCP_DEFAULT_STYLE ); // collapsiblepane
r( wxCP_NO_TLW_RESIZE ); // collapsiblepane
Constant.xs view on Meta::CPAN
r( wxOR_REVERSE ); // dc
r( wxOutRegion ); // region
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
r( wxODCB_DCLICK_CYCLES ); // ownerdrawncombobox
r( wxODCB_STD_CONTROL_PAINT ); // ownerdrawncombobox
r( wxODCB_PAINTING_CONTROL ); // ownerdrawncombobox
r( wxODCB_PAINTING_SELECTED ); // ownerdrawncombobox
#endif
break;
case 'P':
#if WXPERL_W_VERSION_LT( 2, 7, 0 )
r( wxPROCESS_ENTER );
Constant.xs view on Meta::CPAN
r( wxTOOL_STYLE_BUTTON ); // toolbar
r( wxTOOL_STYLE_CONTROL ); // toolbar
r( wxTOOL_STYLE_SEPARATOR ); // toolbar
r( wxTELETYPE ); // font
r( wxTE_PROCESS_ENTER ); // textctrl combobox comboctrl
r( wxTE_PROCESS_TAB ); // textctrl
r( wxTE_MULTILINE ); // textctrl
r( wxTE_NOHIDESEL ); // textctrl
r( wxTE_NO_VSCROLL ); // textctrl
r( wxTE_PASSWORD ); // textctrl
view all matches for this distribution
view release on metacpan or search on metacpan
lib/YuiRestClient/App.pm view on Meta::CPAN
widget_controller => $self->{widget_controller},
filter => $filter
});
}
sub combobox {
my ($self, $filter) = @_;
return YuiRestClient::Widget::ComboBox->new({
widget_controller => $self->{widget_controller},
filter => $filter
});
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ePortal/HTML/List.pm view on Meta::CPAN
############################################################################
sub add_cb { #09/11/01 12:44
############################################################################
my ($self, %p) = @_;
# add combobox
$p{class} ||= 'dlgfield';
$p{name} ||= 'list_cb';
$self->{action_bar} = 1;
$self->{cb_label} = $p{label};
$self->{cb} = \%p;
view all matches for this distribution
view release on metacpan or search on metacpan
htpl-parse.c view on Meta::CPAN
printcode("}\n");
nesting = 0;
RETURN(1)
}
int parse_htpl_combobox(stack, untag)
int untag;
STR stack; {
TOKEN token;
static done = 0;
htpl-parse.c view on Meta::CPAN
static int htpl_locations[] = { 17, 18, 30, 39, 46, 56, 63, -1, 12, 21, 37, 61, -1, 25, 43, 59, 62, 65, -1, 9, 27, 33, 54, 57, -1, 1, 2, 7, 41, 44, 48, 52, -1, 13, 19, 22, 23, 26, 42, 49, 64, -1, 11, 31, 38, 47, 50, 58, -1, 3, 8, 14, 24, 29, ...
static int htpl_shortcuts[] = { 0, 8, 13, 19, 25, 33, 42, 49, 60, 68 };
static struct hash_t htpl_hash = {htpl_table,
htpl_locations, htpl_shortcuts};
static parser funs[] = { parse_htpl_assert, parse_htpl_auth, parse_htpl_auth_create, parse_htpl_break, parse_htpl_call, parse_htpl_case, parse_htpl_catch, parse_htpl_class, parse_htpl_cleanup, parse_htpl_clsutils, parse_htpl_combobox, parse_h...
int n;
parser fun;
n = search_hash(&htpl_hash, token, 0);
if (n < 0) RETURN(0)
fun = funs[n];
view all matches for this distribution
view release on metacpan or search on metacpan
devel/entry-text-index.pl view on Meta::CPAN
# $vbox->pack_start ($button, 0, 0, 0);
# }
# {
# my $button = Gtk2::CheckButton->new_with_label ('Child Sensitive');
# Glib::Ex::ConnectProperties->new
# ([$combobox, 'sensitive'],
# [$button, 'active']);
# $button->show;
# $vbox->pack_start ($button, 0, 0, 0);
# }
view all matches for this distribution
view release on metacpan or search on metacpan
examples/Elementary/combobox.pl view on Meta::CPAN
my $bx = pEFL::Elm::Box->add($win);
$bx->size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
$win->resize_object_add($bx);
$bx->show();
my $combobox = pEFL::Elm::Combobox->add($win);
$combobox->size_hint_weight_set(EVAS_HINT_EXPAND,0);
$combobox->size_hint_align_set(EVAS_HINT_FILL,0);
$combobox->part_text_set("guide", "A simple list");
$bx->pack_end($combobox);
$combobox->show();
my $itc = pEFL::Elm::GenlistItemClass->new();
$itc->item_style("default");
$itc->text_get(\&_text_get);
$itc->state_get(\&_state_get);
# TODO: filter_get functionality not yet implemented
#$itc->filter_get(\&_filter_get);
my $i;
for ($i=0;$i< 10; $i++) {
$combobox->item_append($itc,$i,undef,ELM_GENLIST_ITEM_NONE,undef,$i*10);
}
$combobox->smart_callback_add("clicked",\&_combobox_clicked_cb, undef);
$combobox->smart_callback_add("selected",\&_combobox_selected_cb, undef);
$combobox->smart_callback_add("dismissed",\&_combobox_dismissed_cb, undef);
$combobox->smart_callback_add("expanded",\&_combobox_expanded_cb, undef);
$combobox->smart_callback_add("item,pressed",\&_combobox_item_pressed_cb, undef);
$win->resize(300,500);
$win->show();
examples/Elementary/combobox.pl view on Meta::CPAN
# TODO: Not implemented yet :-S
sub _filter_get {
}
sub _combobox_clicked_cb {
my ($data,$obj,$event_info) = @_;
}
sub _combobox_selected_cb {
my ($data,$obj,$event_info) = @_;
my $item = pEFL::ev_info2obj($event_info, "ElmGenlistItemPtr");
print "'selected' callback is called. (selected item : " . $item->text_get . ")\n";
}
sub _combobox_dismissed_cb {
my ($data,$obj,$event_info) = @_;
}
sub _combobox_expanded_cb {
my ($data,$obj,$event_info) = @_;
}
sub _combobox_item_pressed_cb {
my ($data,$obj,$event_info) = @_;
my $item = pEFL::ev_info2obj($event_info, "ElmGenlistItemPtr");
my $text = $item->text_get();
print "'item,pressed' callback is called. (selected item : $text)\n";
$obj->text_set($text);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/wxPerl/Constructors/doc.pod view on Meta::CPAN
style => 0,
validator => Wx::wxDefaultValidator(),
name => wxComboBoxNameStr,
);
http://wxwidgets.org/manuals/stable/wx_wxcombobox.html
=head2 wxPerl::Dialog
wxPerl::Dialog->new(
$parent,
view all matches for this distribution