perl-Gtk2-Ex-Xor - Helpers for Gtk2 widgets

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports x86_64
Package filename perl-Gtk2-Ex-Xor-23-alt1.x86_64.rpm
Package name perl-Gtk2-Ex-Xor
Package version 23
Package release alt1
Package architecture x86_64
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 131.08 KB
Installed size 131.08 KB
This is support code shared by `Gtk2::Ex::CrossHair' and
Both those add-ons draw using an "xor" onto the pixels in a widget (hence
the dist name), using a value that flips between the widget background and
the cross or lasso line colour.  Drawing like this is fast and portable,
though doing it as an add-on can potentially clash with what the widget does
=over 4
=item *
A single dominant background colour is assumed.  Often shades of grey or
similar will end up with a contrasting line but there's no guarantee of
=item *
The background colour is taken from the widget `Gtk2::Style' "bg" for
normal widgets, or from "base" for text widgets `Gtk2::Entry' and
`Gtk2::TextView'.  `Goo::Canvas' is recognised as using "base" too.
=item *
Expose events are watched and xoring redone, though it assumes the widget
will redraw only the exposed region, as opposed to a full window redraw.
Clipping in a redraw is usually what you want, especially if the display
might not have the X double-buffering extension.
=item *
For multi-window widgets it's necessary to figure out which subwindow is the
one to draw on.  The xoring recognises the "bin" window of `Gtk2::Layout'
(which includes `Gnome2::Canvas'), the "text" subwindow of
`Gtk2::TextView', and the secret subwindows of `Gtk2::Entry' and
=item *
The SyncCall mechanism is used to protect against flooding the server with
more drawing than it can keep up with.  Each motion event would only result
in a few drawing requests, but it's still easy to overload the server if it
sends a lot of motions or if it's not very fast at drawing wide lines.  The
effect of SyncCall is to delay further drawing until hearing back from the
server that the previous has completed.


Package Version Architecture Repository
perl-Gtk2-Ex-Xor-23-alt1.i586.rpm 23 i586 Autoimports
perl-Gtk2-Ex-Xor - - -


Name Value
/usr/share/perl5 -
perl( >= 1.240
perl(Glib/Ex/ -
perl(Glib/Object/ -
perl( >= 1.200
perl(Gtk2/Ex/ >= 38.0
perl(Gtk2/Ex/ >= 3.0
perl(Gtk2/Ex/ >= 12.0
perl(Gtk2/Ex/ >= 31.0
perl(Gtk2/Ex/ >= 5.0
perl(Gtk2/Ex/ >= 21.0
perl(List/ -
perl(Locale/ -
perl( -
perl(Scalar/ >= 1.180
perl(Tie/RefHash/ >= 0.050
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(Gtk2/Ex/ = 23.0
perl(Gtk2/Ex/ = 23.0
perl(Gtk2/Ex/ = 23.0
perl-Gtk2-Ex-Xor = 23-alt1


Type URL
Binary Package perl-Gtk2-Ex-Xor-23-alt1.x86_64.rpm
Source Package perl-Gtk2-Ex-Xor-23-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] x86_64 autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Gtk2-Ex-Xor rpm package:
    # sudo apt-get install perl-Gtk2-Ex-Xor



See Also

Package Description
perl-Gtk2-NotificationBubble-0.01-alt8_29.x86_64.rpm Perl module interface to the EggNotificationBubble library
perl-Gtk2-Notify-0.05-alt9_38.x86_64.rpm Perl interface to libnotify
perl-Gtk2-Phat-0.08-alt3_20.x86_64.rpm Perl interface to the Phat widget collection
perl-Gtk2-SourceView2-0.10-alt4.1.x86_64.rpm Enhanced source code editor widget
perl-Gtk2-TrayManager-0.05-alt3_20.x86_64.rpm Perl bindings for EggTrayManager
perl-Gtk2-WebKit-0.09-alt9_17.x86_64.rpm Web content engine library for Gtk2
perl-Gzip-Faster-0.21-alt1.1.x86_64.rpm gzip and gunzip, without the fuss
perl-Gzip-RandomAccess-0.92-alt2.1.x86_64.rpm extract arbitrary bits of a gzip stream
perl-HTML-Bare-0.02-alt4.1.x86_64.rpm A minimal HTML parser / schema checker / pretty-printer using C internally
perl-HTML-Content-Extractor-0.17-alt4.1.x86_64.rpm Recieving a main text of publication from HTML page and main media content that is bound to the tex
perl-HTML-GenerateUtil-1.20-alt4.1.x86_64.rpm Routines useful when generating HTML output
perl-HTML-MyHTML-1.02-alt3.1.x86_64.rpm Fast HTML Parser using Threads with no outside dependencies
perl-HTML-Strip-2.10-alt5_13.x86_64.rpm Perl extension for stripping HTML markup from text
perl-HTML-TagReader-1.11-alt3.1.x86_64.rpm Perl extension module for reading html/sgml/xml files
perl-HTML-TagReader-scripts-1.11-alt3.1.x86_64.rpm HTML-TagReader scripts