diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-02 08:38:52 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-02 11:27:11 +0800 |
commit | 793e57e24ca2ac458baa0897ad971dfbf08e8291 (patch) | |
tree | baf73cba7ce97485e03502d4eab2f551120bfb7e /doc/reference/shell/tmpl | |
parent | 9379111ae48dd0e9eaea3fcdd14593414a60c115 (diff) | |
download | gsoc2013-evolution-793e57e24ca2ac458baa0897ad971dfbf08e8291.tar.gz gsoc2013-evolution-793e57e24ca2ac458baa0897ad971dfbf08e8291.tar.zst gsoc2013-evolution-793e57e24ca2ac458baa0897ad971dfbf08e8291.zip |
Add private virtual methods to EShellWindowClass.
So Anjal can override what it needs to for its own purpose.
Also makes the EShellWindow design a little cleaner.
Methods added:
GtkWidget * (*construct_menubar) (EShellWindow *shell_window);
GtkWidget * (*construct_toolbar) (EShellWindow *shell_window);
GtkWidget * (*construct_sidebar) (EShellWindow *shell_window);
GtkWidget * (*construct_content) (EShellWindow *shell_window);
GtkWidget * (*construct_taskbar) (EShellWindow *shell_window);
EShellView * (*create_shell_view) (EShellWindow *shell_window,
const gchar *view_name);
Also added some new GObject properties to help decouple actions from
internal EShellWindow widgets created by these methods:
EShellWindow:sidebar-visible
EShellWindow:switcher-visible
EShellWindow:taskbar-visible
EShellWindow:toolbar-visible
Diffstat (limited to 'doc/reference/shell/tmpl')
-rw-r--r-- | doc/reference/shell/tmpl/e-alert.sgml | 173 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/e-error.sgml | 19 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/e-shell-taskbar.sgml | 9 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/e-shell-window.sgml | 92 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/eshell-unused.sgml | 31 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/shell-actions.sgml | 4 |
6 files changed, 307 insertions, 21 deletions
diff --git a/doc/reference/shell/tmpl/e-alert.sgml b/doc/reference/shell/tmpl/e-alert.sgml new file mode 100644 index 0000000000..d61c8a5888 --- /dev/null +++ b/doc/reference/shell/tmpl/e-alert.sgml @@ -0,0 +1,173 @@ +<!-- ##### SECTION Title ##### --> +User Alert Handling + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### MACRO E_ALERT_INFO ##### --> +<para> + +</para> + + + +<!-- ##### MACRO E_ALERT_INFO_PRIMARY ##### --> +<para> + +</para> + + + +<!-- ##### MACRO E_ALERT_WARNING ##### --> +<para> + +</para> + + + +<!-- ##### MACRO E_ALERT_WARNING_PRIMARY ##### --> +<para> + +</para> + + + +<!-- ##### MACRO E_ALERT_ERROR ##### --> +<para> + +</para> + + + +<!-- ##### MACRO E_ALERT_ERROR_PRIMARY ##### --> +<para> + +</para> + + + +<!-- ##### MACRO E_ALERT_ASK_FILE_EXISTS_OVERWRITE ##### --> +<para> + +</para> + + + +<!-- ##### MACRO E_ALERT_NO_SAVE_FILE ##### --> +<para> + +</para> + + + +<!-- ##### MACRO E_ALERT_NO_LOAD_FILE ##### --> +<para> + +</para> + + + +<!-- ##### STRUCT EAlert ##### --> +<para> + +</para> + + +<!-- ##### FUNCTION e_alert_new ##### --> +<para> + +</para> + +@tag: +@arg0: +@Varargs: +@Returns: + + +<!-- ##### FUNCTION e_alert_newv ##### --> +<para> + +</para> + +@tag: +@arg0: +@ap: +@Returns: + + +<!-- ##### FUNCTION e_alert_free ##### --> +<para> + +</para> + +@alert: + + +<!-- ##### FUNCTION e_alert_new_dialog ##### --> +<para> + +</para> + +@parent: +@alert: +@Returns: + + +<!-- ##### FUNCTION e_alert_new_dialog_for_args ##### --> +<para> + +</para> + +@parent: +@tag: +@arg0: +@Varargs: +@Returns: + + +<!-- ##### FUNCTION e_alert_run_dialog ##### --> +<para> + +</para> + +@parent: +@alert: +@Returns: + + +<!-- ##### FUNCTION e_alert_run_dialog_for_args ##### --> +<para> + +</para> + +@parent: +@tag: +@arg0: +@Varargs: +@Returns: + + +<!-- ##### FUNCTION e_alert_dialog_count_buttons ##### --> +<para> + +</para> + +@dialog: +@Returns: + + diff --git a/doc/reference/shell/tmpl/e-error.sgml b/doc/reference/shell/tmpl/e-error.sgml deleted file mode 100644 index 0aaf3e01c6..0000000000 --- a/doc/reference/shell/tmpl/e-error.sgml +++ /dev/null @@ -1,19 +0,0 @@ -<!-- ##### SECTION Title ##### --> -Error Dialog Functions - -<!-- ##### SECTION Short_Description ##### --> - - -<!-- ##### SECTION Long_Description ##### --> -<para> - -</para> - -<!-- ##### SECTION See_Also ##### --> -<para> - -</para> - -<!-- ##### SECTION Stability_Level ##### --> - - diff --git a/doc/reference/shell/tmpl/e-shell-taskbar.sgml b/doc/reference/shell/tmpl/e-shell-taskbar.sgml index 6aa90f1c72..f1bbdf02ef 100644 --- a/doc/reference/shell/tmpl/e-shell-taskbar.sgml +++ b/doc/reference/shell/tmpl/e-shell-taskbar.sgml @@ -77,3 +77,12 @@ EShellTaskbar @shell_taskbar: +<!-- ##### FUNCTION e_shell_taskbar_get_activity_count ##### --> +<para> + +</para> + +@shell_taskbar: +@Returns: + + diff --git a/doc/reference/shell/tmpl/e-shell-window.sgml b/doc/reference/shell/tmpl/e-shell-window.sgml index 0020ae1eb8..33a5928476 100644 --- a/doc/reference/shell/tmpl/e-shell-window.sgml +++ b/doc/reference/shell/tmpl/e-shell-window.sgml @@ -43,6 +43,26 @@ EShellWindow </para> +<!-- ##### ARG EShellWindow:sidebar-visible ##### --> +<para> + +</para> + +<!-- ##### ARG EShellWindow:switcher-visible ##### --> +<para> + +</para> + +<!-- ##### ARG EShellWindow:taskbar-visible ##### --> +<para> + +</para> + +<!-- ##### ARG EShellWindow:toolbar-visible ##### --> +<para> + +</para> + <!-- ##### ARG EShellWindow:ui-manager ##### --> <para> @@ -172,6 +192,78 @@ EShellWindow @group_name: +<!-- ##### FUNCTION e_shell_window_get_sidebar_visible ##### --> +<para> + +</para> + +@shell_window: +@Returns: + + +<!-- ##### FUNCTION e_shell_window_set_sidebar_visible ##### --> +<para> + +</para> + +@shell_window: +@sidebar_visible: + + +<!-- ##### FUNCTION e_shell_window_get_switcher_visible ##### --> +<para> + +</para> + +@shell_window: +@Returns: + + +<!-- ##### FUNCTION e_shell_window_set_switcher_visible ##### --> +<para> + +</para> + +@shell_window: +@switcher_visible: + + +<!-- ##### FUNCTION e_shell_window_get_taskbar_visible ##### --> +<para> + +</para> + +@shell_window: +@Returns: + + +<!-- ##### FUNCTION e_shell_window_set_taskbar_visible ##### --> +<para> + +</para> + +@shell_window: +@taskbar_visible: + + +<!-- ##### FUNCTION e_shell_window_get_toolbar_visible ##### --> +<para> + +</para> + +@shell_window: +@Returns: + + +<!-- ##### FUNCTION e_shell_window_set_toolbar_visible ##### --> +<para> + +</para> + +@shell_window: +@toolbar_visible: + + <!-- ##### FUNCTION e_shell_window_register_new_item_actions ##### --> <para> diff --git a/doc/reference/shell/tmpl/eshell-unused.sgml b/doc/reference/shell/tmpl/eshell-unused.sgml index 9478259742..96fc342b98 100644 --- a/doc/reference/shell/tmpl/eshell-unused.sgml +++ b/doc/reference/shell/tmpl/eshell-unused.sgml @@ -70,6 +70,30 @@ EActivityHandler e-config-upgrade +<!-- ##### SECTION ./tmpl/e-error.sgml:Long_Description ##### --> +<para> + +</para> + + +<!-- ##### SECTION ./tmpl/e-error.sgml:See_Also ##### --> +<para> + +</para> + + +<!-- ##### SECTION ./tmpl/e-error.sgml:Short_Description ##### --> + + + +<!-- ##### SECTION ./tmpl/e-error.sgml:Stability_Level ##### --> + + + +<!-- ##### SECTION ./tmpl/e-error.sgml:Title ##### --> +Error Dialog Functions + + <!-- ##### SECTION ./tmpl/e-shell-common.sgml:Long_Description ##### --> <para> @@ -770,6 +794,13 @@ intelligent @window: +<!-- ##### MACRO E_SHELL_WINDOW_ACTION_SHOW_STATUSBAR ##### --> +<para> + +</para> + +@window: + <!-- ##### MACRO E_SUMMARY_STORAGE_NAME ##### --> <para> diff --git a/doc/reference/shell/tmpl/shell-actions.sgml b/doc/reference/shell/tmpl/shell-actions.sgml index ff50f7ac45..539cdb017a 100644 --- a/doc/reference/shell/tmpl/shell-actions.sgml +++ b/doc/reference/shell/tmpl/shell-actions.sgml @@ -193,7 +193,7 @@ Shell Actions @window: -<!-- ##### MACRO E_SHELL_WINDOW_ACTION_SHOW_STATUSBAR ##### --> +<!-- ##### MACRO E_SHELL_WINDOW_ACTION_SHOW_SWITCHER ##### --> <para> </para> @@ -201,7 +201,7 @@ Shell Actions @window: -<!-- ##### MACRO E_SHELL_WINDOW_ACTION_SHOW_SWITCHER ##### --> +<!-- ##### MACRO E_SHELL_WINDOW_ACTION_SHOW_TASKBAR ##### --> <para> </para> |