Perl bindings for libunique / Raising the already running window



Hi all,

I am using the Perl bindings for libunique
(http://git.gnome.org/browse/perl-Gtk2-Unique/) in one of my programs.
When sending a message to the already running application the main
window of that application is raised and focused.

$app->send_message_by_name('foo', text => $text);

Is there any way to prevent raising and focusing the window?

There is an example attached to this mail (source:
http://search.cpan.org/~potyl/Gtk2-Unique-0.05/lib/Gtk2/Unique.pm). 

Steps to reproduce:
terminal1: perl ./unique.pl
terminal2 perl./unique.pl hello

-> The main window of the already running app is raised and focused.

Regards
Mario

Attachment: unique.pl
Description: Perl program



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]