You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdenetwork/ksirc/puke/ppushbt.pm

31 lines
501 B

&::PukeSendMessage($PUKE_WIDGET_LOAD,
$PUKE_CONTROLLER,
$PWIDGET_PUSHBT,
"ppushbt.so",
sub { my %ARG = %{shift()};
if($ARG{'iArg'} == 1){
print "*E* PPushButton Load failed!\n";
}
}
);
package PPushButton;
@ISA = qw(PButton);
use strict;
sub new {
my $class = shift;
my $self = $class->SUPER::new($class, @_);
$self->{widgetType} = $::PWIDGET_PUSHBT;
if($class eq 'PPushButton'){
$self->create();
}
return $self;
}
package main;