perl-Gtk2-Ex-Xor-22-alt4.1.i586.rpm


Advertisement

Description

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

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Gtk2-Ex-Xor-22-alt4.1.i586.rpm
Package name perl-Gtk2-Ex-Xor
Package version 22
Package release alt4.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 130.90 KB
Installed size 130.90 KB
This is support code shared by `Gtk2::Ex::CrossHair' and
`Gtk2::Ex::Lasso'.
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
natively.
=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
that.
=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
`Goo::Canvas'.
=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.
=back

Alternatives

Package Version Architecture Repository
perl-Gtk2-Ex-Xor-22-alt4.1.x86_64.rpm 22 x86_64 Autoimports
perl-Gtk2-Ex-Xor - - -

Requires

Name Value
/usr/share/perl5 -
perl(Glib.pm) >= 1.240
perl(Glib/Ex/SignalIds.pm) -
perl(Glib/Object/Subclass.pm) -
perl(Gtk2.pm) >= 1.200
perl(Gtk2/Ex/GdkBits.pm) >= 38.0
perl(Gtk2/Ex/KeySnooper.pm) >= 3.0
perl(Gtk2/Ex/SyncCall.pm) >= 12.0
perl(Gtk2/Ex/WidgetBits.pm) >= 31.0
perl(Gtk2/Ex/WidgetCursor.pm) >= 5.0
perl(Gtk2/Ex/WidgetEvents.pm) >= 21.0
perl(List/Util.pm) -
perl(Locale/Messages.pm) -
perl(POSIX.pm) -
perl(Scalar/Util.pm) >= 1.180
perl(Tie/RefHash/Weak.pm) >= 0.050
perl(constant.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Gtk2/Ex/CrossHair.pm) = 22.0
perl(Gtk2/Ex/Lasso.pm) = 22.0
perl(Gtk2/Ex/Xor.pm) = 22.0
perl-Gtk2-Ex-Xor = 22-alt4.1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Gtk2-Ex-Xor-22-alt4.1.i586.rpm
Source Package perl-Gtk2-Ex-Xor-22-alt4.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus i586 autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/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

Files

Path
/usr/share/doc/perl-Gtk2-Ex-Xor-22/COPYING
/usr/share/doc/perl-Gtk2-Ex-Xor-22/Changes
/usr/share/doc/perl-Gtk2-Ex-Xor-22/README
/usr/share/doc/perl-Gtk2-Ex-Xor-22/examples/cross-area.pl
/usr/share/doc/perl-Gtk2-Ex-Xor-22/examples/cross-builder.pl
/usr/share/doc/perl-Gtk2-Ex-Xor-22/examples/cross-label.pl
/usr/share/doc/perl-Gtk2-Ex-Xor-22/examples/cross-textview.pl
/usr/share/doc/perl-Gtk2-Ex-Xor-22/examples/lasso-area.pl
/usr/share/doc/perl-Gtk2-Ex-Xor-22/examples/lasso-builder.pl
/usr/share/perl5/Gtk2/
/usr/share/perl5/Gtk2/Ex/CrossHair.pm
/usr/share/perl5/Gtk2/Ex/Lasso.pm
/usr/share/perl5/Gtk2/Ex/Xor.pm

See Also

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