#include <client.h>
Inheritance diagram for Gnome::UI::Client:
Public Member Functions | |
virtual | ~Client () |
GnomeClient * | gobj () |
Provides access to the underlying C GtkObject. | |
const GnomeClient * | gobj () const |
Provides access to the underlying C GtkObject. | |
Client (bool connect_to_session_manager=true) | |
Glib::ustring | get_config_prefix () |
Glib::ustring | get_global_config_prefix () |
void | set_global_config_prefix (const Glib::ustring &prefix) |
GnomeClientFlags | get_flags () |
void | set_restart_style (GnomeRestartStyle style) |
void | set_priority (guint priority) |
void | set_restart_command (gint argc, char **argv) |
void | set_restart_command (const Glib::ArrayHandle< Glib::ustring > &argv) |
void | set_discard_command (gint argc, char **argv) |
void | set_discard_command (const Glib::ArrayHandle< Glib::ustring > &argv) |
void | set_resign_command (gint argc, char **argv) |
void | set_resign_command (const Glib::ArrayHandle< Glib::ustring > &argv) |
void | set_shutdown_command (gint argc, char **argv) |
void | set_shutdown_command (const Glib::ArrayHandle< Glib::ustring > &argv) |
void | set_current_directory (const Glib::ustring &dir) |
void | set_environment (const Glib::ustring &name, const Glib::ustring &value) |
void | set_clone_command (gint argc, char **argv) |
void | set_clone_command (const Glib::ArrayHandle< Glib::ustring > &argv) |
void | set_process_id (pid_t pid) |
void | set_program (const Glib::ustring &program) |
void | set_user_id (const Glib::ustring &user_id) |
void | save_any_dialog (Gtk::Dialog &dialog) |
void | save_error_dialog (Gtk::Dialog &dialog) |
void | request_phase_2 () |
void | request_save (SaveStyle save_style, bool shutdown, InteractStyle interact_style, bool fast, bool global) |
void | flush () |
void | connect_to_session_manager () |
bool | is_connected () |
void | disconnect () |
void | set_id (const Glib::ustring &client_id) |
Glib::ustring | get_id () const |
Glib::ustring | get_previous_id () const |
Glib::ustring | get_desktop_id () const |
void | request_interaction (GnomeDialogType dialog, GnomeInteractFunction func, gpointer client_data) |
Glib::SignalProxy5< bool, int, SaveStyle, bool, InteractStyle, bool > | signal_save_yourself () |
Glib::SignalProxy0< void > | signal_die () |
Glib::SignalProxy0< void > | signal_save_complete () |
Glib::SignalProxy0< void > | signal_shutdown_cancelled () |
Glib::SignalProxy1< void, bool > | signal_connect () |
Glib::SignalProxy0< void > | signal_disconnect () |
Static Public Member Functions | |
static Client * | master_client () |
static void | gnome_interaction_key_return (gint key, bool cancel_shutdown) |
Protected Member Functions | |
virtual bool | on_save_yourself (int phase, SaveStyle save_style, bool shutdown, InteractStyle interact_style, bool fast) |
virtual void | on_die () |
virtual void | on_save_complete () |
virtual void | on_shutdown_cancelled () |
virtual void | on_connect (bool restarted) |
virtual void | on_disconnect () |
Related Functions | |
(Note that these are not member functions.) | |
Gnome::UI::Client * | wrap (GnomeClient *object, bool take_copy=false) |
virtual Gnome::UI::Client::~Client | ( | ) | [virtual] |
Gnome::UI::Client::Client | ( | bool | connect_to_session_manager = true |
) |
void Gnome::UI::Client::connect_to_session_manager | ( | ) |
void Gnome::UI::Client::disconnect | ( | ) |
void Gnome::UI::Client::flush | ( | ) |
Glib::ustring Gnome::UI::Client::get_config_prefix | ( | ) |
Glib::ustring Gnome::UI::Client::get_desktop_id | ( | ) | const |
GnomeClientFlags Gnome::UI::Client::get_flags | ( | ) |
Glib::ustring Gnome::UI::Client::get_global_config_prefix | ( | ) |
Glib::ustring Gnome::UI::Client::get_id | ( | ) | const |
Glib::ustring Gnome::UI::Client::get_previous_id | ( | ) | const |
static void Gnome::UI::Client::gnome_interaction_key_return | ( | gint | key, | |
bool | cancel_shutdown | |||
) | [static] |
const GnomeClient* Gnome::UI::Client::gobj | ( | ) | const [inline] |
GnomeClient* Gnome::UI::Client::gobj | ( | ) | [inline] |
bool Gnome::UI::Client::is_connected | ( | ) |
static Client* Gnome::UI::Client::master_client | ( | ) | [static] |
virtual void Gnome::UI::Client::on_connect | ( | bool | restarted | ) | [protected, virtual] |
virtual void Gnome::UI::Client::on_die | ( | ) | [protected, virtual] |
virtual void Gnome::UI::Client::on_disconnect | ( | ) | [protected, virtual] |
virtual void Gnome::UI::Client::on_save_complete | ( | ) | [protected, virtual] |
virtual bool Gnome::UI::Client::on_save_yourself | ( | int | phase, | |
SaveStyle | save_style, | |||
bool | shutdown, | |||
InteractStyle | interact_style, | |||
bool | fast | |||
) | [protected, virtual] |
virtual void Gnome::UI::Client::on_shutdown_cancelled | ( | ) | [protected, virtual] |
void Gnome::UI::Client::request_interaction | ( | GnomeDialogType | dialog, | |
GnomeInteractFunction | func, | |||
gpointer | client_data | |||
) |
void Gnome::UI::Client::request_phase_2 | ( | ) |
void Gnome::UI::Client::request_save | ( | SaveStyle | save_style, | |
bool | shutdown, | |||
InteractStyle | interact_style, | |||
bool | fast, | |||
bool | global | |||
) |
void Gnome::UI::Client::save_any_dialog | ( | Gtk::Dialog & | dialog | ) |
void Gnome::UI::Client::save_error_dialog | ( | Gtk::Dialog & | dialog | ) |
void Gnome::UI::Client::set_clone_command | ( | const Glib::ArrayHandle< Glib::ustring > & | argv | ) |
void Gnome::UI::Client::set_clone_command | ( | gint | argc, | |
char ** | argv | |||
) |
void Gnome::UI::Client::set_current_directory | ( | const Glib::ustring & | dir | ) |
void Gnome::UI::Client::set_discard_command | ( | const Glib::ArrayHandle< Glib::ustring > & | argv | ) |
void Gnome::UI::Client::set_discard_command | ( | gint | argc, | |
char ** | argv | |||
) |
void Gnome::UI::Client::set_environment | ( | const Glib::ustring & | name, | |
const Glib::ustring & | value | |||
) |
void Gnome::UI::Client::set_global_config_prefix | ( | const Glib::ustring & | prefix | ) |
void Gnome::UI::Client::set_id | ( | const Glib::ustring & | client_id | ) |
void Gnome::UI::Client::set_priority | ( | guint | priority | ) |
void Gnome::UI::Client::set_process_id | ( | pid_t | pid | ) |
void Gnome::UI::Client::set_program | ( | const Glib::ustring & | program | ) |
void Gnome::UI::Client::set_resign_command | ( | const Glib::ArrayHandle< Glib::ustring > & | argv | ) |
void Gnome::UI::Client::set_resign_command | ( | gint | argc, | |
char ** | argv | |||
) |
void Gnome::UI::Client::set_restart_command | ( | const Glib::ArrayHandle< Glib::ustring > & | argv | ) |
void Gnome::UI::Client::set_restart_command | ( | gint | argc, | |
char ** | argv | |||
) |
void Gnome::UI::Client::set_restart_style | ( | GnomeRestartStyle | style | ) |
void Gnome::UI::Client::set_shutdown_command | ( | const Glib::ArrayHandle< Glib::ustring > & | argv | ) |
void Gnome::UI::Client::set_shutdown_command | ( | gint | argc, | |
char ** | argv | |||
) |
void Gnome::UI::Client::set_user_id | ( | const Glib::ustring & | user_id | ) |
Glib::SignalProxy1< void,bool > Gnome::UI::Client::signal_connect | ( | ) |
Glib::SignalProxy0< void > Gnome::UI::Client::signal_die | ( | ) |
Glib::SignalProxy0< void > Gnome::UI::Client::signal_disconnect | ( | ) |
Glib::SignalProxy0< void > Gnome::UI::Client::signal_save_complete | ( | ) |
Glib::SignalProxy5< bool,int,SaveStyle,bool,InteractStyle,bool > Gnome::UI::Client::signal_save_yourself | ( | ) |
Glib::SignalProxy0< void > Gnome::UI::Client::signal_shutdown_cancelled | ( | ) |
Gnome::UI::Client * wrap | ( | GnomeClient * | object, | |
bool | take_copy = false | |||
) | [related] |
object | The C instance | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |