Re: Segmentation fault
- From: mariakvelasco@xxxxxxxxx
- Date: Mon, 7 Jan 2008 12:28:22 -0800 (PST)
On Jan 7, 12:05 pm, smallpond <smallp...@xxxxxxxx> wrote:
On Jan 7, 1:05 pm, mariakvela...@xxxxxxxxx wrote:
Hello all,
I am writing a program that displays a dialog box (using MainWindow)
where the user can enter some information and then click on either an
OK button or Cancel button.
When the user clicks OK or Cancel, the program is suppose to display a
message dialog (MessageDialog) displaying an appropriate message;
however, on Linux and Solaris machines, the program exits with a
Segmentation fault message.
This is message dialog portion of the program
my $dialog = MessageDialog->new( {
title => $self->get_string_source()->get_string('Dialog','title'),
message => $message,
default_button => $self->get_string('button_ok'),
buttons => [ $self->get_string('button_ok') ],
icon => $self->get_config()->get_integration_icon(),});
$dialog->show();
$dialog->get_main()->waitWindow();
Can anyone help me out with this problem.
Thanks so much!
Are you trying to mix Gtk and Tk?- Hide quoted text -
- Show quoted text -
Sorry, I should have specified this, MessageDialog is not from Gtk, it
is a package that I just named MessageDialog, which basically is the
portion of the code that creates a dialog box(using MainWindow) that
displays a message.
Hope that made sense.
.
- Follow-Ups:
- Re: Segmentation fault
- From: Usenetserver
- Re: Segmentation fault
- From: smallpond
- Re: Segmentation fault
- References:
- Segmentation fault
- From: mariakvelasco
- Re: Segmentation fault
- From: smallpond
- Segmentation fault
- Prev by Date: Re: Segmentation fault
- Next by Date: Re: Segmentation fault
- Previous by thread: Re: Segmentation fault
- Next by thread: Re: Segmentation fault
- Index(es):
Relevant Pages
|