Gnome2::Client

Section: User Contributed Perl Documentation (3pm)
Updated: 2009-03-15
Index Return to Main Contents
 

NAME

Gnome2::Client - wrapper for GnomeClient  

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gnome2::Client

 

METHODS

 

client = Gnome2::Client->new

 

client = Gnome2::Client->new_without_connection

 

$client->add_static_arg (...)

... (list)
 

$client->set_clone_command (...)

... (list)
 

string = $client->get_config_prefix

 

$client->connect

 

boolean = $client->connected

 

$client->set_current_directory ($dir)

$dir (string)
 

string = $client->get_desktop_id

 

$client->set_discard_command (...)

... (list)
 

$client->disconnect

 

$client->set_environment ($name, $value)

$name (string)
$value (string)
 

clientflags = $client->get_flags

 

$client->flush

 

string = $client->get_global_config_prefix

 

$client->set_global_config_prefix ($prefix)

$prefix (string)
 

string = $client->get_id

 

Gnome2::Client->interaction_key_return ($key, $cancel_shutdown)

$key (integer)
$cancel_shutdown (boolean)
 

client = Gnome2::Client->master

 

string = $client->get_previous_id

 

$client->set_priority ($priority)

$priority (integer)
 

$client->request_interaction ($dialog_type, $function, $data=undef)

$dialog_type (Gnome2::DialogType)
$function (scalar)
$data (scalar)
 

$client->request_phase_2

 

$client->request_save ($save_style, $shutdown, $interact_style, $fast, $global)

$save_style (Gnome2::SaveStyle)
$shutdown (boolean)
$interact_style (Gnome2::InteractStyle)
$fast (boolean)
$global (boolean)
 

$client->set_resign_command (...)

... (list)
 

$client->set_restart_command (...)

... (list)
 

$client->set_restart_style ($style)

$style (Gnome2::RestartStyle)
 

$client->save_any_dialog ($dialog)

$dialog (Gtk2::Dialog)
 

$client->save_error_dialog ($dialog)

$dialog (Gtk2::Dialog)
 

$client->set_shutdown_command (...)

... (list)
 

SIGNALS

boolean = save-yourself (Gnome2::Client, integer, Gnome2::SaveStyle, boolean, Gnome2::InteractStyle, boolean)
die (Gnome2::Client)
save-complete (Gnome2::Client)
shutdown-cancelled (Gnome2::Client)
connect (Gnome2::Client, boolean)
disconnect (Gnome2::Client)
 

ENUMS AND FLAGS

 

flags Gnome2::ClientFlags

'is-connected' / 'GNOME_CLIENT_IS_CONNECTED'
'restarted' / 'GNOME_CLIENT_RESTARTED'
'restored' / 'GNOME_CLIENT_RESTORED'
 

enum Gnome2::DialogType

'error' / 'GNOME_DIALOG_ERROR'
'normal' / 'GNOME_DIALOG_NORMAL'
 

enum Gnome2::InteractStyle

'none' / 'GNOME_INTERACT_NONE'
'errors' / 'GNOME_INTERACT_ERRORS'
'any' / 'GNOME_INTERACT_ANY'
 

enum Gnome2::RestartStyle

'if-running' / 'GNOME_RESTART_IF_RUNNING'
'anyway' / 'GNOME_RESTART_ANYWAY'
'immediately' / 'GNOME_RESTART_IMMEDIATELY'
'never' / 'GNOME_RESTART_NEVER'
 

enum Gnome2::SaveStyle

'global' / 'GNOME_SAVE_GLOBAL'
'local' / 'GNOME_SAVE_LOCAL'
'both' / 'GNOME_SAVE_BOTH'
 

SEE ALSO

Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object  

COPYRIGHT

Copyright (C) 2003-2004 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2 for a full notice.


 

Index

NAME
HIERARCHY
METHODS
client = Gnome2::Client->new
client = Gnome2::Client->new_without_connection
$client->add_static_arg (...)
$client->set_clone_command (...)
string = $client->get_config_prefix
$client->connect
boolean = $client->connected
$client->set_current_directory ($dir)
string = $client->get_desktop_id
$client->set_discard_command (...)
$client->disconnect
$client->set_environment ($name, $value)
clientflags = $client->get_flags
$client->flush
string = $client->get_global_config_prefix
$client->set_global_config_prefix ($prefix)
string = $client->get_id
Gnome2::Client->interaction_key_return ($key, $cancel_shutdown)
client = Gnome2::Client->master
string = $client->get_previous_id
$client->set_priority ($priority)
$client->request_interaction ($dialog_type, $function, $data=undef)
$client->request_phase_2
$client->request_save ($save_style, $shutdown, $interact_style, $fast, $global)
$client->set_resign_command (...)
$client->set_restart_command (...)
$client->set_restart_style ($style)
$client->save_any_dialog ($dialog)
$client->save_error_dialog ($dialog)
$client->set_shutdown_command (...)
SIGNALS
ENUMS AND FLAGS
flags Gnome2::ClientFlags
enum Gnome2::DialogType
enum Gnome2::InteractStyle
enum Gnome2::RestartStyle
enum Gnome2::SaveStyle
SEE ALSO
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 19:49:22 GMT, April 27, 2011