diff options
author | Adam Hooper <adamh@src.gnome.org> | 2004-03-30 00:36:40 +0800 |
---|---|---|
committer | Adam Hooper <adamh@src.gnome.org> | 2004-03-30 00:36:40 +0800 |
commit | 3a4910096aaf0a3aa807f1c5c54178a11443bf50 (patch) | |
tree | 02cfda6ee8261c5f9b9a8defdec15deac6c96783 /embed/ephy-command-manager.c | |
parent | 9fb5753f5269d9ce94a0815660dfc907c6d96cdf (diff) | |
download | gsoc2013-epiphany-3a4910096aaf0a3aa807f1c5c54178a11443bf50.tar gsoc2013-epiphany-3a4910096aaf0a3aa807f1c5c54178a11443bf50.tar.gz gsoc2013-epiphany-3a4910096aaf0a3aa807f1c5c54178a11443bf50.tar.bz2 gsoc2013-epiphany-3a4910096aaf0a3aa807f1c5c54178a11443bf50.tar.lz gsoc2013-epiphany-3a4910096aaf0a3aa807f1c5c54178a11443bf50.tar.xz gsoc2013-epiphany-3a4910096aaf0a3aa807f1c5c54178a11443bf50.tar.zst gsoc2013-epiphany-3a4910096aaf0a3aa807f1c5c54178a11443bf50.zip |
Documented EphyCommandManager
Diffstat (limited to 'embed/ephy-command-manager.c')
-rw-r--r-- | embed/ephy-command-manager.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/embed/ephy-command-manager.c b/embed/ephy-command-manager.c index 2f9375d9e..9161b7a8c 100644 --- a/embed/ephy-command-manager.c +++ b/embed/ephy-command-manager.c @@ -57,6 +57,15 @@ ephy_command_manager_base_init (gpointer g_class) if (!initialized) { +/** + * EphyCommandManager::command-changed: + * @manager: + * @command: The command whose avalability has changed + * + * The ::command-changed signal is emitted when @command has changed from being + * available to unavailable, or vice-versa. The new availability can be tested + * with ephy_command_manager_can_do_command(). + **/ g_signal_new ("command_changed", EPHY_TYPE_COMMAND_MANAGER, G_SIGNAL_RUN_FIRST, @@ -71,6 +80,13 @@ ephy_command_manager_base_init (gpointer g_class) } } +/** + * ephy_command_manager_do_command: + * @manager: an #EphyCommandManager + * @command: the command + * + * Performs @command. + **/ void ephy_command_manager_do_command (EphyCommandManager *manager, const char *command) @@ -79,6 +95,15 @@ ephy_command_manager_do_command (EphyCommandManager *manager, iface->do_command (manager, command); } +/** + * ephy_command_manager_can_do_command: + * @manager: an #EphyCommandManager + * @command: the command + * + * Returns %TRUE if @command can be performed. + * + * Return value: %TRUE if @command can be performed. + **/ gboolean ephy_command_manager_can_do_command (EphyCommandManager *manager, const char *command) |