error dialog not centered
- From: Beast <beast ldap or id>
- To: "gtk-perl-list gnome org" <gtk-perl-list gnome org>
- Subject: error dialog not centered
- Date: Thu, 16 Mar 2006 18:55:06 +0700
I have these following code:
...
sub cb_ok {
my $self = shift;
...
my $dialog = Gtk2::MessageDialog->new($self, 'modal', 'error', 'ok',
$message);
$dialog->set_position('center-on-parent');
}
But it behave like I wanted.
1. The error pop-up did not center in their parrent, but seems on
top-left of screen.
2. How to make the "OK" button centered (presently it right alignment)?
3. How to remove the icon on the "OK" button?
--
--beast
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]