Gtk2::Gdk::Selection(3) User Contributed Perl Documentation Gtk2::Gdk::Selection(3)NAME
Gtk2::Gdk::Selection
METHODS
Gtk2::Gdk::Selection->convert ($requestor, $selection, $target, $time_)
o $requestor (Gtk2::Gdk::Window)
o $selection (Gtk2::Gdk::Atom)
o $target (Gtk2::Gdk::Atom)
o $time_ (unsigned)
window or undef = Gtk2::Gdk::Selection->owner_get ($selection)
o $selection (Gtk2::Gdk::Atom)
window or undef = Gtk2::Gdk::Selection->owner_get_for_display ($display, $selection)
o $display (Gtk2::Gdk::Display)
o $selection (Gtk2::Gdk::Atom)
Since: gtk+ 2.2
boolean = Gtk2::Gdk::Selection->owner_set ($owner, $selection, $time_, $send_event)
o $owner (Gtk2::Gdk::Window or undef)
o $selection (Gtk2::Gdk::Atom)
o $time_ (unsigned)
o $send_event (boolean)
boolean = Gtk2::Gdk::Selection->owner_set_for_display ($display, $owner, $selection, $time_, $send_event)
o $display (Gtk2::Gdk::Display)
o $owner (Gtk2::Gdk::Window)
o $selection (Gtk2::Gdk::Atom)
o $time_ (unsigned)
o $send_event (boolean)
Since: gtk+ 2.2
(data, prop_type, prop_format) = Gtk2::Gdk::Selection->property_get ($requestor)
o $requestor (Gtk2::Gdk::Window)
Use Gtk2::Clipboard instead.
Gtk2::Gdk::Selection->send_notify ($requestor, $selection, $target, $property, $time_)
o $requestor (unsigned)
o $selection (Gtk2::Gdk::Atom)
o $target (Gtk2::Gdk::Atom)
o $property (Gtk2::Gdk::Atom)
o $time_ (unsigned)
Gtk2::Gdk::Selection->send_notify_for_display ($display, $requestor, $selection, $target, $property, $time_)
o $display (Gtk2::Gdk::Display)
o $requestor (unsigned)
o $selection (Gtk2::Gdk::Atom)
o $target (Gtk2::Gdk::Atom)
o $property (Gtk2::Gdk::Atom)
o $time_ (unsigned)
Since: gtk+ 2.2
SEE ALSO
Gtk2
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::Gdk::Selection(3)
Check Out this Related Man Page
Gtk2::GC(3) User Contributed Perl Documentation Gtk2::GC(3)NAME
Gtk2::GC
DESCRIPTION
These functions provide access to a shared pool of Gtk2::Gdk::GC objects. When a new Gtk2::Gdk::GC is needed, Gtk2::Gdk::GC::get is called
with the required depth, colormap and Gtk2::Gdk::GCValues. If a Gtk2::Gdk::GC with the required properties already exists then that is
returned. If not, a new Gtk2::Gdk::GC is created.
[From: http://developer.gnome.org/doc/API/2.0/gtk/gtk-Graphics-Contexts.html <http://developer.gnome.org/doc/API/2.0/gtk/gtk-Graphics-
Contexts.html>]
HIERARCHY
Glib::Object
+----Gtk2::Gdk::GC
+----Gtk2::GC
METHODS
gc = Gtk2::GC->get ($depth, $colormap, $values)
o $depth (integer)
o $colormap (Gtk2::Gdk::Colormap)
o $values (Gtk2::Gdk::GCValues) Values to match
$values is a hashref with keys and values as per "Gtk2::Gdk::GC->new" (see Gtk2::Gdk::GC).
Compatibility
Before version 1.200 of the Gtk2 perl module, it was necessary to call "Gtk2::GC::release()" on GCs obtained from "Gtk2::GC::get()". As of
version 1.200, this is no longer necessary; a GC will be released when the last perl reference goes away. Old-style code continues to
work, but "Gtk2::GC::release()" is deprecated.
SEE ALSO
Gtk2
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::GC(3)
Yes, I know I am re-inventing the wheel, but I thought this would be an interesting exercise for teaching myself C under Ubuntu Linux and Gnome.
I want a black background against which the .jpg images will be shown. I also want the screensaver to respond to keyboard events so that it can do... (1 Reply)
Ok i have taken your advised indented my code and i have managed to fix my problem but unfortuantely now another small one has arisen.
The problem is that executing my commands requires two presses of the ENTER key as opposed to the originally being pressed once as one would expect, for example... (1 Reply)
hey all, me again....having a problem with my code, where I essentially am trying to show a menu, have the user select an option (from 1 to 5), then display which selection they picked...
#!/bin/bash
# A LIST OF THE ERROR MESSAGES AND THE PROPER SYNTAX:
error_0="Correct amount of... (1 Reply)
Has anyone installed on the ZOTAC IONITX-A-U Atom 330 1.6GHz Dual-Core 441 NVIDIA ION Mini ITX platform?
If so, what if any, were the challneges that you had? What went smoothly
I want to get this board because it looks like a stellar system and perfect for Linux.
I'm quite curious about... (2 Replies)
ok im kinda stuck i have a bash script with 4 options
1. Create Script
2. Show Script
3 . Delete script
4. Exithow would i use an if statement for this? im not sure what test command i would use.
I know it would be like this (below) to display the script
if
then cat script1or for the... (10 Replies)
Hi gurus, i am trying to write simple perl script using win32 ole which will iterate over all M$ word paragraphs (any text that ends with a hard return) and print only those paragraphs that matches the specified condition. The problem is that I need to access font size property. It seems to me that... (0 Replies)