| Top |
| BonoboAppClient * | bonobo_app_client_new () |
| gint | bonobo_app_client_new_instance () |
| GValue * | bonobo_app_client_msg_send_valist () |
| GValue * | bonobo_app_client_msg_send_argv () |
| GValue * | bonobo_app_client_msg_send () |
BonoboAppClient *
bonobo_app_client_new (Bonobo_Application app_server);
app_server
: object reference to a Bonobo::Application; this
function takes ownership of this reference (use
bonobo_object_dup_ref() if you want to keep your own reference.)
Create an application client object connected to the remote (or local) Bonobo::Application object.
bonobo_application_register_unique().gint bonobo_app_client_new_instance (BonoboAppClient *app_client,int argc,char *argv[],CORBA_Environment *opt_env);
Ask the application server to emit a "new-instance" signal containing the specified string vector.
app_client |
a BonoboAppClient |
|
argc |
length of |
|
argv |
array of command-line arguments |
|
opt_env |
a CORBA_Environment, or |
GValue * bonobo_app_client_msg_send_valist (BonoboAppClient *app_client,const char *message,CORBA_Environment *opt_env,GType first_arg_type,va_list var_args);
GValue * bonobo_app_client_msg_send_argv (BonoboAppClient *app_client,const char *message,const GValue *argv[],CORBA_Environment *opt_env);
Like bonobo_app_client_msg_send(), except that it receives a single
argument vector instead of a variable number of arguments.
app_client |
client |
|
message |
message name |
|
argv |
|
GValue * bonobo_app_client_msg_send (BonoboAppClient *app_client,const char *message,CORBA_Environment *opt_env,GType first_arg_type,...);
Send a message to the application server. Takes a variable length
argument list of GType, value pairs, terminated with
G_TYPE_NONE. Values are direct C values, not GValues! Example:
GValue *retval;
retval = bonobo_app_client_msg_send (app_client, "openURL",
G_TYPE_STRING, "http://www.gnome.org",
G_TYPE_BOOLEAN, TRUE,
G_TYPE_NONE);