| CodeSlayer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
#include <codeslayer/codeslayer-menubar.h> struct CodeSlayerMenuBar; GtkWidget * codeslayer_menubar_new (GtkWidget *window,CodeSlayerGroups *groups,CodeSlayerPreferences *preferences,CodeSlayerSettings *settings); void codeslayer_menubar_save_editor (CodeSlayerMenuBar *menubar); void codeslayer_menubar_save_all_editors (CodeSlayerMenuBar *menubar); void codeslayer_menubar_close_editor (CodeSlayerMenuBar *menubar); void codeslayer_menubar_quit_application (CodeSlayerMenuBar *menubar); void codeslayer_menubar_undo (CodeSlayerMenuBar *menubar); void codeslayer_menubar_redo (CodeSlayerMenuBar *menubar); void codeslayer_menubar_cut (CodeSlayerMenuBar *menubar); void codeslayer_menubar_copy (CodeSlayerMenuBar *menubar); void codeslayer_menubar_paste (CodeSlayerMenuBar *menubar); void codeslayer_menubar_delete (CodeSlayerMenuBar *menubar); void codeslayer_menubar_select_all (CodeSlayerMenuBar *menubar); void codeslayer_menubar_to_uppercase (CodeSlayerMenuBar *menubar); void codeslayer_menubar_to_lowercase (CodeSlayerMenuBar *menubar); void codeslayer_menubar_copy_lines (CodeSlayerMenuBar *menubar); void codeslayer_menubar_show_preferences (CodeSlayerMenuBar *menubar); void codeslayer_menubar_find (CodeSlayerMenuBar *menubar); void codeslayer_menubar_replace (CodeSlayerMenuBar *menubar); void codeslayer_menubar_find_next (CodeSlayerMenuBar *menubar); void codeslayer_menubar_find_previous (CodeSlayerMenuBar *menubar); void codeslayer_menubar_find_projects (CodeSlayerMenuBar *menubar); void codeslayer_menubar_fullscreen_window (CodeSlayerMenuBar *menubar); void codeslayer_menubar_show_side_pane (CodeSlayerMenuBar *menubar); void codeslayer_menubar_show_bottom_pane (CodeSlayerMenuBar *menubar); void codeslayer_menubar_draw_spaces (CodeSlayerMenuBar *menubar); void codeslayer_menubar_refresh_groups (CodeSlayerMenuBar *menubar,CodeSlayerGroups *groups); void codeslayer_menubar_group_changed (CodeSlayerMenuBar *menubar,const gchar *group_name); void codeslayer_menubar_new_group (CodeSlayerMenuBar *menubar,const gchar *group_name); void codeslayer_menubar_rename_group (CodeSlayerMenuBar *menubar,const gchar *group_name); void codeslayer_menubar_remove_group (CodeSlayerMenuBar *menubar); void codeslayer_menubar_sync_with_notebook (CodeSlayerMenuBar *menubar,GtkWidget *notebook); void codeslayer_menubar_sync_with_panes (CodeSlayerMenuBar *menubar,gboolean show_side_pane,gboolean show_bottom_pane); void codeslayer_menubar_add_tools_item (CodeSlayerMenuBar *menubar,GtkWidget *item); GtkAccelGroup * codeslayer_menubar_get_accel_group (CodeSlayerMenuBar *menubar); void codeslayer_menubar_add_projects (CodeSlayerMenuBar *menubar,GSList *files); void codeslayer_menubar_show_plugins (CodeSlayerMenuBar *menubar); void codeslayer_menubar_find_incremental (CodeSlayerMenuBar *menubar); void codeslayer_menubar_remove_tools_item (CodeSlayerMenuBar *menubar,GtkWidget *item); void codeslayer_menubar_tools_add_item (CodeSlayerMenuBarTools *menubar_tools,GtkWidget *item); void codeslayer_menubar_tools_remove_item (CodeSlayerMenuBarTools *menubar_tools,GtkWidget *item); void codeslayer_menubar_sync_projects_with_editor (CodeSlayerMenuBar *menubar,gboolean sync_projects_with_editor); void codeslayer_menubar_scan_external_changes (CodeSlayerMenuBar *menubar);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkMenuShell +----GtkMenuBar +----CodeSlayerMenuBar
"add-projects" :No Hooks"close-editor" :No Hooks"copy" :No Hooks"copy-lines" :No Hooks"cut" :No Hooks"del" :No Hooks"draw-spaces" :No Hooks"find" :No Hooks"find-incremental" :No Hooks"find-next" :No Hooks"find-previous" :No Hooks"find-projects" :No Hooks"fullscreen-window" :No Hooks"group-changed" :No Hooks"new-group" :No Hooks"paste" :No Hooks"quit-application" :No Hooks"redo" :No Hooks"remove-group" :No Hooks"rename-group" :No Hooks"replace" :No Hooks"save-all-editors" :No Hooks"save-editor" :No Hooks"scan-external-changes" :No Hooks"select-all" :No Hooks"show-bottom-pane" :No Hooks"show-plugins" :No Hooks"show-preferences" :No Hooks"show-side-pane" :No Hooks"sync-projects-with-editor" :No Hooks"to-lowercase" :No Hooks"to-uppercase" :No Hooks"undo" :No Hooks
GtkWidget * codeslayer_menubar_new (GtkWidget *window,CodeSlayerGroups *groups,CodeSlayerPreferences *preferences,CodeSlayerSettings *settings);
Creates a new CodeSlayerMenuBar.
|
the main application window. |
|
a CodeSlayerGroups. |
|
a CodeSlayerPreferences. |
|
a CodeSlayerSettings. |
Returns : |
a new CodeSlayerMenuBar. |
void codeslayer_menubar_save_editor (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_save_all_editors (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_close_editor (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_quit_application (CodeSlayerMenuBar *menubar);
void codeslayer_menubar_undo (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_redo (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_cut (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_copy (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_paste (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_delete (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_select_all (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_to_uppercase (CodeSlayerMenuBar *menubar);
void codeslayer_menubar_to_lowercase (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_copy_lines (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_show_preferences (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_find (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_replace (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_find_next (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_find_previous (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_find_projects (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_fullscreen_window
(CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_show_side_pane (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_show_bottom_pane (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_draw_spaces (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_refresh_groups (CodeSlayerMenuBar *menubar,CodeSlayerGroups *groups);
|
a CodeSlayerMenuBar. |
|
a CodeSlayerGroups. |
void codeslayer_menubar_group_changed (CodeSlayerMenuBar *menubar,const gchar *group_name);
|
a CodeSlayerMenuBar. |
|
the group name. |
void codeslayer_menubar_new_group (CodeSlayerMenuBar *menubar,const gchar *group_name);
|
a CodeSlayerMenuBar. |
|
the group name. |
void codeslayer_menubar_rename_group (CodeSlayerMenuBar *menubar,const gchar *group_name);
|
a CodeSlayerMenuBar. |
|
the group name. |
void codeslayer_menubar_remove_group (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_sync_with_notebook (CodeSlayerMenuBar *menubar,GtkWidget *notebook);
Update the sensitivity of editor related menu items based on the current state of the notebook CodeSlayerEditor widgets.
|
a CodeSlayerMenuBar. |
|
a CodeSlayerNotebook. |
void codeslayer_menubar_sync_with_panes (CodeSlayerMenuBar *menubar,gboolean show_side_pane,gboolean show_bottom_pane);
Update the sensitivity of view related menu items based on the current state of the bottom and side pane.
|
a CodeSlayerMenuBar. |
|
if TRUE then the side pane is shown |
|
if TRUE then the bottom pane is shown |
void codeslayer_menubar_add_tools_item (CodeSlayerMenuBar *menubar,GtkWidget *item);
|
a CodeSlayerMenuBar. |
|
a GtkMenuItem. |
GtkAccelGroup * codeslayer_menubar_get_accel_group (CodeSlayerMenuBar *menubar);
void codeslayer_menubar_add_projects (CodeSlayerMenuBar *menubar,GSList *files);
|
a CodeSlayerMenuBar. |
|
a list of GFile. |
void codeslayer_menubar_show_plugins (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_find_incremental (CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
void codeslayer_menubar_remove_tools_item (CodeSlayerMenuBar *menubar,GtkWidget *item);
|
a CodeSlayerMenuBar. |
|
a GtkMenuItem. |
void codeslayer_menubar_tools_add_item (CodeSlayerMenuBarTools *menubar_tools,GtkWidget *item);
|
a CodeSlayerMenuBarTools. |
|
a GtkWidget. |
void codeslayer_menubar_tools_remove_item (CodeSlayerMenuBarTools *menubar_tools,GtkWidget *item);
|
a CodeSlayerMenuBarTools. |
|
a GtkWidget. |
void codeslayer_menubar_sync_projects_with_editor (CodeSlayerMenuBar *menubar,gboolean sync_projects_with_editor);
|
a CodeSlayerMenuBar. |
|
is TRUE if the projects should be synced with the editor. |
void codeslayer_menubar_scan_external_changes
(CodeSlayerMenuBar *menubar);
|
a CodeSlayerMenuBar. |
"add-projects" signalvoid user_function (CodeSlayerMenuBar *codeslayermenubar,
gpointer arg1,
gpointer user_data) : No Hooks
"close-editor" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::close-editor signal is a request to close the active editor.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"copy" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::copy signal is a request to copy the selected text.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"copy-lines" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
The ::copy-lines signal enables the (Ctrl + Shift + Down) keystroke to copy the currently selected lines.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"cut" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::cut signal is a request to cut the selected text.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"del" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::del signal is a request to delete the selected text.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"draw-spaces" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::draw-spaces signal is a request to show the invisible characters in the editors.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"find" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::find signal is a request to open up the notebook search.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"find-incremental" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::find-incremental signal is a request to find the value using the notebook search with the incremental turned on.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"find-next" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::find-next signal is a request to find the next value using the notebook search.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"find-previous" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::find-previous signal is a request to find the previous value using the notebook search.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"find-projects" signalvoid user_function (CodeSlayerMenuBar *menu,
gchar *arg1,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::find-projects signal is a request to open up the search dialog.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"fullscreen-window" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::fullscreen-window signal is a request to open up the search dialog.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"group-changed" signalvoid user_function (CodeSlayerMenuBar *menu,
gchar *arg1,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::group-changed signal is a request for the active group to be changed.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"new-group" signalvoid user_function (CodeSlayerMenuBar *menu,
gchar *arg1,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::new-group signal is a request to create a new group.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"paste" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::paste signal is a request to paste the selected text.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"quit-application" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::quit-application signal is a request to close the application.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"redo" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::redo signal is a request to redo the last change.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"remove-group" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::remove-group signal is a request to remove the active group.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"rename-group" signalvoid user_function (CodeSlayerMenuBar *menu,
gchar *arg1,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::rename-group signal is a request to rename the active group.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"replace" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::replace signal is a request to open up the notebook search.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"save-all-editors" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::save-all-editors signal is a request to save all the open editors.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"save-editor" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::save-editor signal is a request to save the active editor.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"scan-external-changes" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::scan-external-changes signal is a request to scan for changes outside editor.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"select-all" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::select-all signal is a request to select all the text.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"show-bottom-pane" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::show-side-pane signal is a request to open up the bottom pane.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"show-plugins" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::show-plugins signal is a request to open up the plugins dialog.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"show-preferences" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::show-preferences signal is a request to open up the preferences dialog.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"show-side-pane" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::show-side-pane signal is a request to open up the side pane.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"sync-projects-with-editor" signalvoid user_function (CodeSlayerMenuBar *menu,
gboolean arg1,
gpointer user_data) : No Hooks
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"to-lowercase" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
The ::to-lowercase signal enables the (Ctrl + L) keystroke to lowercase the selected text.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"to-uppercase" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
The ::to-uppercase signal enables the (Ctrl + U) keystroke to uppercase the selected text.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |
"undo" signalvoid user_function (CodeSlayerMenuBar *menu,
gpointer user_data) : No Hooks
Note: for internal use only.
The ::undo signal is a request to undo the last change.
|
the menu that received the signal |
|
user data set when the signal handler was connected. |