Hey everyone. I'm creating a DNS master/slave server set up.
I have the configurations all done I believe, the master has the required zone file, and the named.conf file has the allow transfer and allow query stuff set. The slave has it's own configs set.
My question is that when initially... (1 Reply)
I'm having some trouble getting a POC of GPFS up and running. I've read a couple install guides including a couple IBM pdfs but I'm getting stumped on something I think is fairly fundamental.... I'm trying to do this all on a single 795, right now only the VIOs have HBAs so all LUNs are pointed to... (3 Replies)
hi
I am trying iconv on my linux machine for conversion of RUSSIAN to ENGLISH, but i am not able to get exact result.
i want to know what initial setting in linux machine we need to do to get desired output
I created sample russian file using google translate in CP866 endcoding
and full... (5 Replies)
i would like to ask about unix with active directory..actually my situation is at ny place there already have dns server in unix based,i want to implement an active directory to the network..from what i read about active directory we have to used bind dns...some say that bind could not handle in... (1 Reply)
I have a system model 505 p server. I am trying to virtualize my server. My network admin has given me 10 IP addresses (with the DNS already updated with names that map onto each ip). E.g.: IP1 maps to m1.lab, IP2 maps to m2.lab, etc
I have been following the redpaper "Integrated Virtualization... (0 Replies)
Gtk2::ImageView::Tool::Selector(3pm) User Contributed Perl Documentation Gtk2::ImageView::Tool::Selector(3pm)NAME
Gtk2::ImageView::Tool::Selector - Image tool for selecting rectangular regions
HIERARCHY
Glib::Object
+----Gtk2::ImageView::Tool::Selector
INTERFACES
Gtk2::ImageView::Tool
DESCRIPTION
Gtk2::ImageView::Tool::Selector is a tool for selecting areas of an image. It is useful for cropping an image, for example. The tool is an
implementor of the Gtk2::ImageView::Tool inteface which means that it can be plugged into a Gtk2::ImageView by using the
Gtk2::ImageView::Tool::set_tool() method.
Gtk2::ImageView::Tool::Selector changes the default display of the Gtk2::ImageView. It darkens down the unselected region of the image
which provides a nice effect and makes it clearer what part of the image that is currently selected. Unfortunately, this effect is somewhat
incompatible with how Gtk2::ImageView::Nav behaves because that widget will show the image without darkening it.
The tool also changes the default behaviour of the mouse. When a Gtk2::ImageView::Tool::Selector is set on a Gtk2::ImageView, mouse presses
do not "grab" the image and you cannot scroll by dragging. Instead mouse presses and dragging is used to resize and move the selection
rectangle. When the mouse drags the selection rectangle to the border of the widget, the view autoscrolls which is a convenient way for a
user to position the selection.
Please note that Gtk2::ImageView::Tool::Selector draws the image in two layers. One darkened and the selection rectangle in normal
luminosity. Because it uses two draw operations instead one one like Gtk2::ImageView::Tool::Dragger does, it is significantly slower than
that tool. Therefore, it makes sense for a user of this library to set the interpolation to GDK_INTERP_NEAREST when using this tool to
ensure that performance is acceptable to the users of the program.
Zoom bug
There is a small bug in Gtk2::ImageView::Tool::Selector that becomes apparent when the zoom factor is greater than about 30. The edge of
the selection rectangle may in that case intersect a pixel.
The bug is caused by bug 389832 in gdk-pixbuf. There is no way to solve this bug on Gtk2::ImageView's level (but if someone knows how, I'd
really like to know).
METHODS
tool = Gtk2::ImageView::Tool::Selector->new ($view)
o $view (Gtk2::ImageView)
Returns a new selector tool for the specified view with the following default values:
selection : (0, 0) - [0, 0]
rectangle = $selector->get_selection
Returns a Gtk2::Gdk::Rectangle with the current selection. If either the width or the height of the selection is zero, then nothing is
selected and undef is returned. See "selection-changed" for an example.
$selector->set_selection ($rect)
o $rect (Gtk2::Gdk::Rectangle)
Sets the selection rectangle for the tool. Setting this attribute will cause the widget to immidiately repaint itself if its view is
realized.
This method does nothing under the following circumstances:
If the views pixbuf is undef.
If rect is wider or taller than the size of the pixbuf
If rect equals the current selection rectangle.
If the selection falls outside the pixbufs area, its position is moved so that it is within the pixbuf.
Calling this method causes the ::selection-changed signal to be emitted.
The default selection is (0,0) - [0,0].
selector : a Gtk2::ImageView::Tool::Selector
rect : Selection rectangle in image space coordinates.
PROPERTIES
'view' (Gtk2::ImageView : default undef : writable / construct-only)
Image View to navigate
SIGNALS
selection-changed (Gtk2::ImageView::Tool::Selector)
SEE ALSO
Gtk2::ImageView, Glib::Object
COPYRIGHT
Copyright (C) 2007 by Jeffrey Ratcliffe.
This software is licensed under the GPL-3; see Gtk2::ImageView for a full notice.
perl v5.14.2 2011-11-16 Gtk2::ImageView::Tool::Selector(3pm)