Re: X instance name



You can use $window->set_wmclass ($wmclass_name, $wmclass_class) for
this.
http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/Window.html#_window_set_wmclass_

But the documentation recommends to avoid this function for special
reasons, see:
http://library.gnome.org/devel/gtk/stable/GtkWindow.html#gtk-window-set-wmclass

If you want to check the current values of a window you can use the tool
'xprop'. You have to look for WM_CLASS(STRING).
I've quickly checked some of the windows gscan2pdf creates and I can't
see any difference to other applications here.

Regards
Mario

Am Montag, den 30.11.2009, 10:06 +0100 schrieb Jeffrey Ratcliffe:
Does anyone know how to set the X instance name from Perl?

There's a bug[1] open against gscan2pdf and I haven't a clue what I
can do about it.

Regards

Jeff

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554023
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list





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