Gtk2::UniqueBackend (3)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
Gtk2::UniqueBackend - IPC backend used by libunique
DESCRIPTION
Gkt2::UniqueBackend is the base, abstract class implemented by the different IPC mechanisms used by Gtk2::Unique. Each Gtk2::UniqueApp instance creates a Gkt2::UniqueBackend to request the name or to send messages.
HIERARCHY
Glib::Object
+----Gtk2::UniqueBackend
METHODS
uniquebackend = Gtk2::UniqueBackend->create
Creates a Gkt2::UniqueBackend using the default backend defined at compile time. You can override the default backend by setting the UNIQUE_BACKEND environment variable with the name of the desired backend.
string = $backend->get_name
$backend->set_name ($name)
o $name (string)
boolean = $backend->request_name
Requests the name set using "Gtk2::set_name()" and this backend.
screen = $backend->get_screen
$backend->set_screen ($screen)
o $screen (Gtk2::Gdk::Screen)
uniqueresponse = $backend->send_message ($command_id, $message_data, $time_)
o $command_id (integer)
o $message_data (Gtk2::UniqueMessageData or undef)
o $time_ (integer)
Sends command_id, and optionally message_data, to a running instance using backend.
string = $backend->get_startup_id
$backend->set_startup_id ($startup_id)
o $startup_id (string)
integer = $backend->get_workspace
Retrieves the current workspace.
ENUMS AND FLAGS
enum Gtk2::UniqueResponse
o 'invalid' / 'UNIQUE_RESPONSE_INVALID'
o 'ok' / 'UNIQUE_RESPONSE_OK'
o 'cancel' / 'UNIQUE_RESPONSE_CANCEL'
o 'fail' / 'UNIQUE_RESPONSE_FAIL'
o 'passthrough' / 'UNIQUE_RESPONSE_PASSTHROUGH'
SEE ALSO
Gtk2::Unique, Glib::Object
COPYRIGHT
Copyright (C) 2009-2010 by Emmanuel Rodriguez