Gtk2::MessageDialog title
- From: Zettai Muri <zettaimuri ymail com>
- To: gtk-perl-list gnome org
- Subject: Gtk2::MessageDialog title
- Date: Fri, 20 Nov 2009 20:01:27 -0800 (PST)
Hi All,
Is it possible to set the title of a MessageDialog?
I have the following:
sub show_duplicate_dialog
{
#
# A modal dialog. Note that the message is a printf-style format.
#
my($duplicate) = @_;
my($dialog) = Gtk2::MessageDialog->new (undef,
'destroy-with-parent',
'error', # message type
'ok', # which set of buttons?
#printf format:
"\"%s\" already
selected.",
$duplicate);
my($response) = $dialog->run;
$dialog->destroy;
}
But can't work out how to add a title to the dialog box that appears.
Many thanks,
ZM.
Win 1 of 4 Sony home entertainment packs thanks to Yahoo!7.
Enter now.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]