From 8d08fa859cd2629100da93c089a116e0a76dca3f Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 10 Sep 2009 20:25:46 +0300 Subject: Remove a couple of references to EphyCommandManager --- doc/reference/tmpl/ephy-command-manager.sgml | 115 --------------------------- 1 file changed, 115 deletions(-) delete mode 100644 doc/reference/tmpl/ephy-command-manager.sgml (limited to 'doc/reference') diff --git a/doc/reference/tmpl/ephy-command-manager.sgml b/doc/reference/tmpl/ephy-command-manager.sgml deleted file mode 100644 index 3f13ca145..000000000 --- a/doc/reference/tmpl/ephy-command-manager.sgml +++ /dev/null @@ -1,115 +0,0 @@ - -EphyCommandManager - - -Performs commands, such as cut/copy/paste - - - -An #EphyCommandManager is an interface to an #EphyEmbed which is used to perform -commands, such as cut/copy/paste. To perform any command, use -ephy_command_manager_do_command(). To test the availability of a command, use -ephy_command_manager_can_do_command(). The availability of commands depends on -the selection and actions previously performed in the #EphyEmbed. For instance, -%cmd_copy is only available if text has been selected; %cmd_undo is only -available if the user has a text input focused and has typed or erased some of -its text. - - - -Copying selected text in an #EphyEmbed -#]]> -# - -static void -copy_selected_text (EphyEmbed *embed) -{ - EphyCommandManager *manager; - - manager = EPHY_COMMAND_MANAGER (embed); - g_return_if_fail (EPHY_IS_COMMAND_MANAGER (manager)); - - if (!ephy_command_manager_can_do_command (manager, "cmd_copy")) return; - - ephy_command_manager_do_command (manager, "cmd_copy"); -}]]> - - - - -The #EphyCommandManager interface can perform any command which is defined in -Mozilla. However, for purposes of abstraction, only a certain subset of commands -should be used: - -Available Commands -cmd_copy -Copies selected text - -cmd_cut -Cuts selected text. - -cmd_paste -Pastes text from the clipboard (for example, into a text entry) - - -cmd_undo -Undoes the last action (for example, typing text into a text -entry - -cmd_redo -Redoes previously %undone actions (for example, in a -text entry) - - - - - - - - - - - - - - - - - - - - - - -@ephycommandmanager: the object which received the signal. -@arg1: - - - - - - -@base_iface: -@do_command: -@can_do_command: -@command_changed: - - - - - - -@manager: -@command: - - - - - - - -@manager: -@command: -@Returns: - - -- cgit v1.2.3