FBP
view release on metacpan or search on metacpan
t/03_simple.t view on Meta::CPAN
$combo->choices,
'"one" "two" "a\'b" "c\\"d \\\\\\""',
'->choices',
);
is( scalar($combo->items), 4, 'Scalar ->items' );
is_deeply(
[ $combo->items ],
[ 'one', 'two', "a'b", 'c"d \\"' ],
'->items',
);
is( $combo->OnCombobox, 'on_combobox', '->OnCombobox' );
# Line properties
my $line = $fbp->find_first(
isa => 'FBP::StaticLine',
);
isa_ok( $line, 'FBP::StaticLine' );
is( $line->id, 'wxID_ANY', '->id' );
is( $line->name, 'm_staticline1', '->name' );
is( $line->enabled, '1', '->enabled' );
is( $line->pos, '', '->pos' );
t/data/simple.fbp view on Meta::CPAN
<property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="value">Combo!</property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnCombobox">on_combobox</event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
( run in 0.432 second using v1.01-cache-2.11-cpan-39bf76dae61 )