8 More Discussions You Might Find Interesting
1. Linux
Hello
I am using linux machine. I need Icon tray in this. "Icon Tray" contains all the icons which we open in the workspace.
As such, these icons appear at the bottom (similar to windows i.e.when we open internetexplorer, Word, XLs, these icons appear in the bottom)
I have to open so many... (3 Replies)
Discussion started by: nehashine
3 Replies
2. Hardware
Recently the rear fan assembly of one of our T2000 servers went faulty. I could replace it immediately with the one from a currently powered off standby machine. But now this one has to be replaced.
So I got a quote from our supplier who charges EUR 776 for a new spare part or EUR 405 (all... (0 Replies)
Discussion started by: hergp
0 Replies
3. Solaris
d240 media tray(domain C) is which is connected to SUNFIRE 6800 (DOMAIN C),automatically restarting.remaining domains A and B are working fine..why i dont know..with out human intervention this domain is restarting automatically for 3 to 4 days in a day..plz solve this problem.why like this going... (4 Replies)
Discussion started by: tv.praveenkumar
4 Replies
4. AIX
Hi,
I experience some issues with my new print queues that I created in AIX (smitty). This following print queue is dedicated to print on tray 1 and the user have to put the paper manually, the jobs should be executed without separator page.
But when we print on this queue, the job is executed... (1 Reply)
Discussion started by: imad77
1 Replies
5. AIX
Is it possible to specify the tray you would like to print to in AIX? We are using the laserjet 4+ driver. Thanks in advance (0 Replies)
Discussion started by: zuessh
0 Replies
6. UNIX for Advanced & Expert Users
Hello All,
Could anyone help me how to selecting the trays in unix .
Thanks,
Amit kul (3 Replies)
Discussion started by: amit kul
3 Replies
7. UNIX for Dummies Questions & Answers
I have a unix based app that I'm trying to print to an HP Laserjet 4050n but it keeps defaulting to Tray 1. I need it to print to Tray 3. When I print to the printer from a windows based app it prints to the correct tray specified.
It was printing ok previously but I had to to a cold reset... (1 Reply)
Discussion started by: tnix
1 Replies
8. UNIX for Advanced & Expert Users
I have a HP laserjet 9000 printer on a Sun Solaris server.
I try to print using lp command to different trays. But it gives an error. The command that i used is lp -dprinter_queue -otray2 file_name (1 Reply)
Discussion started by: avinashrm
1 Replies
LEARN ABOUT DEBIAN
gtk2::traymanager
TrayManager(3pm) User Contributed Perl Documentation TrayManager(3pm)
NAME
Gtk2::TrayManager - Perl bindings for EggTrayManager
SYNOPSIS
use Gtk2 -init;
use Gtk2::TrayManager;
my $screen = Gtk2::Gdk::Screen->get_default;
if (Gtk2::TrayManager->check_running($screen)) {
print STDERR "A tray manager is already running, sorry!
";
exit 256;
}
my $tray = Gtk2::TrayManager->new;
$tray->manage_screen($screen);
$tray->set_orientation('vertical');
$tray->signal_connect('tray_icon_added', sub {
# $_[1] is a Gtk2::Socket
});
$tray->signal_connect('tray_icon_removed', sub {
# $_[1] is a Gtk2::Socket
});
ABSTRACT
The EggTrayManager library is used internally by GNOME to implement the server-side of the Notification Area (or system tray) protocol.
Gtk2::TrayManager allows you to create notification area applications using Gtk2-Perl.
METHODS
$running = Gtk2::TrayManager->check_running($screen);
This method returns a boolean value indicating whether another program is already managing notifications for the given Gtk2::Gdk::Screen.
If this method returns a false value, then you should give way to the application that is already running.
$tray = Gtk2::TrayManager->new;
This creates a tray manager object.
$tray->manage_screen($screen);
This tells the tray to manage notifications for the Gtk2::Gdk::Screen referenced by $screen.
$tray->set_orientation($orientation);
This method tells the tray whether icons are to be arranged vertically or horizontally. $orientation may be either '"vertical"' or
'"horizontal"'.
$title = $tray->get_child_title($child);
This method returns a string containing the title of the icon defined by $child.
SIGNALS
"tray_icon_added"
Emitted when a client plug (eg one created by Gtk2::TrayIcon) wants to connect. For callbacks connected to this signal, @_ will have
the form
@_ = (
bless( {}, 'Gtk2::TrayManager' ),
bless( {}, 'Gtk2::Socket' )
);
"tray_icon_added"
Emitted when a client plug has disconnected. For callbacks connected to this signal, @_ will have the form
@_ = (
bless( {}, 'Gtk2::TrayManager' ),
bless( {}, 'Gtk2::Socket' )
);
"message_sent", "message_removed"
The Freedesktop.org specification includes support for "balloon messages", but these are not currently implemented in EggTrayManager.
"lost_selection"
As a rule, compliant applications should check to for an already running manager, and give way to it if it finds one. However, it is
possible that your application might have its X selection forcibly removed; this signal is emitted if this should happen.
SEE ALSO
Glib, Gtk, Gtk2::TrayIcon and the System Tray spec at http://www.freedesktop.org/Standards/systemtray-spec
<http://www.freedesktop.org/Standards/systemtray-spec>.
AUTHOR
Christian Borup <borup at cpan dot org>. Nagging and documentation by Gavin Brown <gavin.brown@uk.com>
COPYRIGHT AND LICENSE
Copyright 2004 by the gtk2-perl team.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA.
perl v5.14.2 2004-09-09 TrayManager(3pm)