summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-03-26 13:26:52 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-03-26 13:26:52 +0100
commitd8bf0f12b39f052055da0108e5f87fb82f1b2eb3 (patch)
tree42b44e70e22d3fac1b47d72d4feda768cd4b7453 /doc
parentaab53d3b4456ac4190c6b8482998f86b5ddef9bb (diff)
downloadportato-d8bf0f12b39f052055da0108e5f87fb82f1b2eb3.tar.gz
portato-d8bf0f12b39f052055da0108e5f87fb82f1b2eb3.tar.bz2
portato-d8bf0f12b39f052055da0108e5f87fb82f1b2eb3.zip
Cleaned up hooks
Diffstat (limited to 'doc')
-rw-r--r--doc/Hooks16
1 files changed, 7 insertions, 9 deletions
diff --git a/doc/Hooks b/doc/Hooks
index e0469e9..647dd56 100644
--- a/doc/Hooks
+++ b/doc/Hooks
@@ -7,7 +7,7 @@ Called: When emerge or every other command given by e.g. the synccmd preference
Parameters:
- string[] packages: Packages to emerge (includes "world", "system").
- string[] command: The exact command to execute.
- - portato.gui.wrapper.Console console: The console the output will be written to.
+ - vte.Console console: The console the output will be written to.
- function(string) -> None title_update: Function which updates the console title in the GUIs.
Return if override: Nothing
@@ -23,12 +23,10 @@ Parameters:
Return if override: Nothing
Comment: This uses an extra hook as emerge is started in an extra thread and thus all plugins being wanting to come "after" will be called while emerge is still running.
-open_ebuild:
-------------
-Called: When an ebuild window is opened.
-Parameters:
- - portato.backend.Package package: The current package whose is going to be displayed.
- - Window parent: The parent window. Exact type depends on the frontend.
+main:
+-----
+Called: When the main routine is being entered. Everything in the application is done inside this main routine. Hooks connecting "after" will be run, when the application is shutdown.
+Parameters: None
+Return if override: Nothing
-Return if override: Window-object which can be called by the frontends. Please see the explicit code to see what is expected.
-Comment: If you want to override - do this only for ONE specific frontend.
+Comment: DO NOT OVERRIDE :)