#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) | |||
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 |
) |
GnomeClient* Gnome::UI::Client::gobj | ( | ) | [inline] |
Provides access to the underlying C GtkObject.
const GnomeClient* Gnome::UI::Client::gobj | ( | ) | const [inline] |
Provides access to the underlying C GtkObject.
static Client* Gnome::UI::Client::master_client | ( | ) | [static] |
Glib::ustring Gnome::UI::Client::get_config_prefix | ( | ) |
Glib::ustring Gnome::UI::Client::get_global_config_prefix | ( | ) |
void Gnome::UI::Client::set_global_config_prefix | ( | const Glib::ustring & | prefix | ) |
GnomeClientFlags Gnome::UI::Client::get_flags | ( | ) |
void Gnome::UI::Client::set_restart_style | ( | GnomeRestartStyle | style | ) |
void Gnome::UI::Client::set_priority | ( | guint | priority | ) |
void Gnome::UI::Client::set_restart_command | ( | gint | argc, | |
char ** | argv | |||
) |
void Gnome::UI::Client::set_restart_command | ( | const Glib::ArrayHandle< Glib::ustring > & | argv | ) |
void Gnome::UI::Client::set_discard_command | ( | gint | argc, | |
char ** | argv | |||
) |
void Gnome::UI::Client::set_discard_command | ( | const Glib::ArrayHandle< Glib::ustring > & | argv | ) |
void Gnome::UI::Client::set_resign_command | ( | gint | argc, | |
char ** | argv | |||
) |
void Gnome::UI::Client::set_resign_command | ( | const Glib::ArrayHandle< Glib::ustring > & | argv | ) |
void Gnome::UI::Client::set_shutdown_command | ( | gint | argc, | |
char ** | argv | |||
) |
void Gnome::UI::Client::set_shutdown_command | ( | const Glib::ArrayHandle< Glib::ustring > & | argv | ) |
void Gnome::UI::Client::set_current_directory | ( | const Glib::ustring & | dir | ) |
void Gnome::UI::Client::set_environment | ( | const Glib::ustring & | name, | |
const Glib::ustring & | value | |||
) |
void Gnome::UI::Client::set_clone_command | ( | gint | argc, | |
char ** | argv | |||
) |
void Gnome::UI::Client::set_clone_command | ( | const Glib::ArrayHandle< Glib::ustring > & | argv | ) |
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_user_id | ( | const Glib::ustring & | user_id | ) |
void Gnome::UI::Client::save_any_dialog | ( | Gtk::Dialog & | dialog | ) |
void Gnome::UI::Client::save_error_dialog | ( | Gtk::Dialog & | dialog | ) |
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::flush | ( | ) |
void Gnome::UI::Client::connect_to_session_manager | ( | ) |
bool Gnome::UI::Client::is_connected | ( | ) |
void Gnome::UI::Client::disconnect | ( | ) |
void Gnome::UI::Client::set_id | ( | const Glib::ustring & | client_id | ) |
Glib::ustring Gnome::UI::Client::get_id | ( | ) | const |
Glib::ustring Gnome::UI::Client::get_previous_id | ( | ) | const |
Glib::ustring Gnome::UI::Client::get_desktop_id | ( | ) | const |
void Gnome::UI::Client::request_interaction | ( | GnomeDialogType | dialog, | |
GnomeInteractFunction | func, | |||
gpointer | client_data | |||
) |
static void Gnome::UI::Client::gnome_interaction_key_return | ( | gint | key, | |
bool | cancel_shutdown | |||
) | [static] |
Glib::SignalProxy5< bool,int,SaveStyle,bool,InteractStyle,bool > Gnome::UI::Client::signal_save_yourself | ( | ) |
bool save_yourself(int phase, SaveStyle save_style, bool shutdown, InteractStyle interact_style, bool fast)
Glib::SignalProxy0< void > Gnome::UI::Client::signal_die | ( | ) |
void die()
Glib::SignalProxy0< void > Gnome::UI::Client::signal_save_complete | ( | ) |
void save_complete()
Glib::SignalProxy0< void > Gnome::UI::Client::signal_shutdown_cancelled | ( | ) |
void shutdown_cancelled()
Glib::SignalProxy1< void,bool > Gnome::UI::Client::signal_connect | ( | ) |
void connect(bool restarted)
Glib::SignalProxy0< void > Gnome::UI::Client::signal_disconnect | ( | ) |
void disconnect()
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. |