1 /* multiterm.h generated by valac 0.34.9, the Vala compiler, do not modify */ 2 3 4 #ifndef __MULTITERM_H__ 5 #define __MULTITERM_H__ 6 7 #include <glib.h> 8 #include <glib-object.h> 9 #include <stdlib.h> 10 #include <string.h> 11 #include <gtk/gtk.h> 12 #include <geanyplugin.h> 13 #include <vte/vte.h> 14 15 G_BEGIN_DECLS 16 17 18 #define MULTI_TERM_TYPE_CONFIG (multi_term_config_get_type ()) 19 #define MULTI_TERM_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MULTI_TERM_TYPE_CONFIG, MultiTermConfig)) 20 #define MULTI_TERM_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MULTI_TERM_TYPE_CONFIG, MultiTermConfigClass)) 21 #define MULTI_TERM_IS_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MULTI_TERM_TYPE_CONFIG)) 22 #define MULTI_TERM_IS_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MULTI_TERM_TYPE_CONFIG)) 23 #define MULTI_TERM_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MULTI_TERM_TYPE_CONFIG, MultiTermConfigClass)) 24 25 typedef struct _MultiTermConfig MultiTermConfig; 26 typedef struct _MultiTermConfigClass MultiTermConfigClass; 27 typedef struct _MultiTermConfigPrivate MultiTermConfigPrivate; 28 29 #define MULTI_TERM_TYPE_SHELL_CONFIG (multi_term_shell_config_get_type ()) 30 #define MULTI_TERM_SHELL_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MULTI_TERM_TYPE_SHELL_CONFIG, MultiTermShellConfig)) 31 #define MULTI_TERM_SHELL_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MULTI_TERM_TYPE_SHELL_CONFIG, MultiTermShellConfigClass)) 32 #define MULTI_TERM_IS_SHELL_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MULTI_TERM_TYPE_SHELL_CONFIG)) 33 #define MULTI_TERM_IS_SHELL_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MULTI_TERM_TYPE_SHELL_CONFIG)) 34 #define MULTI_TERM_SHELL_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MULTI_TERM_TYPE_SHELL_CONFIG, MultiTermShellConfigClass)) 35 36 typedef struct _MultiTermShellConfig MultiTermShellConfig; 37 typedef struct _MultiTermShellConfigClass MultiTermShellConfigClass; 38 39 #define MULTI_TERM_TYPE_CONTEXT_MENU (multi_term_context_menu_get_type ()) 40 #define MULTI_TERM_CONTEXT_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MULTI_TERM_TYPE_CONTEXT_MENU, MultiTermContextMenu)) 41 #define MULTI_TERM_CONTEXT_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MULTI_TERM_TYPE_CONTEXT_MENU, MultiTermContextMenuClass)) 42 #define MULTI_TERM_IS_CONTEXT_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MULTI_TERM_TYPE_CONTEXT_MENU)) 43 #define MULTI_TERM_IS_CONTEXT_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MULTI_TERM_TYPE_CONTEXT_MENU)) 44 #define MULTI_TERM_CONTEXT_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MULTI_TERM_TYPE_CONTEXT_MENU, MultiTermContextMenuClass)) 45 46 typedef struct _MultiTermContextMenu MultiTermContextMenu; 47 typedef struct _MultiTermContextMenuClass MultiTermContextMenuClass; 48 typedef struct _MultiTermContextMenuPrivate MultiTermContextMenuPrivate; 49 50 #define MULTI_TERM_TYPE_NOTEBOOK (multi_term_notebook_get_type ()) 51 #define MULTI_TERM_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MULTI_TERM_TYPE_NOTEBOOK, MultiTermNotebook)) 52 #define MULTI_TERM_NOTEBOOK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MULTI_TERM_TYPE_NOTEBOOK, MultiTermNotebookClass)) 53 #define MULTI_TERM_IS_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MULTI_TERM_TYPE_NOTEBOOK)) 54 #define MULTI_TERM_IS_NOTEBOOK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MULTI_TERM_TYPE_NOTEBOOK)) 55 #define MULTI_TERM_NOTEBOOK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MULTI_TERM_TYPE_NOTEBOOK, MultiTermNotebookClass)) 56 57 typedef struct _MultiTermNotebook MultiTermNotebook; 58 typedef struct _MultiTermNotebookClass MultiTermNotebookClass; 59 typedef struct _MultiTermNotebookPrivate MultiTermNotebookPrivate; 60 61 #define MULTI_TERM_TYPE_TERMINAL (multi_term_terminal_get_type ()) 62 #define MULTI_TERM_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MULTI_TERM_TYPE_TERMINAL, MultiTermTerminal)) 63 #define MULTI_TERM_TERMINAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MULTI_TERM_TYPE_TERMINAL, MultiTermTerminalClass)) 64 #define MULTI_TERM_IS_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MULTI_TERM_TYPE_TERMINAL)) 65 #define MULTI_TERM_IS_TERMINAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MULTI_TERM_TYPE_TERMINAL)) 66 #define MULTI_TERM_TERMINAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MULTI_TERM_TYPE_TERMINAL, MultiTermTerminalClass)) 67 68 typedef struct _MultiTermTerminal MultiTermTerminal; 69 typedef struct _MultiTermTerminalClass MultiTermTerminalClass; 70 typedef struct _MultiTermShellConfigPrivate MultiTermShellConfigPrivate; 71 72 #define MULTI_TERM_TYPE_TAB_LABEL (multi_term_tab_label_get_type ()) 73 #define MULTI_TERM_TAB_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MULTI_TERM_TYPE_TAB_LABEL, MultiTermTabLabel)) 74 #define MULTI_TERM_TAB_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MULTI_TERM_TYPE_TAB_LABEL, MultiTermTabLabelClass)) 75 #define MULTI_TERM_IS_TAB_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MULTI_TERM_TYPE_TAB_LABEL)) 76 #define MULTI_TERM_IS_TAB_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MULTI_TERM_TYPE_TAB_LABEL)) 77 #define MULTI_TERM_TAB_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MULTI_TERM_TYPE_TAB_LABEL, MultiTermTabLabelClass)) 78 79 typedef struct _MultiTermTabLabel MultiTermTabLabel; 80 typedef struct _MultiTermTabLabelClass MultiTermTabLabelClass; 81 typedef struct _MultiTermTabLabelPrivate MultiTermTabLabelPrivate; 82 typedef struct _MultiTermTerminalPrivate MultiTermTerminalPrivate; 83 84 struct _MultiTermConfig { 85 GTypeInstance parent_instance; 86 volatile int ref_count; 87 MultiTermConfigPrivate * priv; 88 GKeyFile* kf; 89 }; 90 91 struct _MultiTermConfigClass { 92 GTypeClass parent_class; 93 void (*finalize) (MultiTermConfig *self); 94 }; 95 96 struct _MultiTermContextMenu { 97 GtkMenu parent_instance; 98 MultiTermContextMenuPrivate * priv; 99 }; 100 101 struct _MultiTermContextMenuClass { 102 GtkMenuClass parent_class; 103 }; 104 105 struct _MultiTermNotebook { 106 GtkNotebook parent_instance; 107 MultiTermNotebookPrivate * priv; 108 MultiTermConfig* cfg; 109 }; 110 111 struct _MultiTermNotebookClass { 112 GtkNotebookClass parent_class; 113 }; 114 115 struct _MultiTermShellConfig { 116 GTypeInstance parent_instance; 117 volatile int ref_count; 118 MultiTermShellConfigPrivate * priv; 119 MultiTermConfig* _cfg; 120 }; 121 122 struct _MultiTermShellConfigClass { 123 GTypeClass parent_class; 124 void (*finalize) (MultiTermShellConfig *self); 125 }; 126 127 struct _MultiTermTabLabel { 128 GtkHBox parent_instance; 129 MultiTermTabLabelPrivate * priv; 130 GtkLabel* label; 131 }; 132 133 struct _MultiTermTabLabelClass { 134 GtkHBoxClass parent_class; 135 }; 136 137 struct _MultiTermTerminal { 138 GtkFrame parent_instance; 139 MultiTermTerminalPrivate * priv; 140 VteTerminal* terminal; 141 }; 142 143 struct _MultiTermTerminalClass { 144 GtkFrameClass parent_class; 145 }; 146 147 148 gpointer multi_term_config_ref (gpointer instance); 149 void multi_term_config_unref (gpointer instance); 150 GParamSpec* multi_term_param_spec_config (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); 151 void multi_term_value_set_config (GValue* value, gpointer v_object); 152 void multi_term_value_take_config (GValue* value, gpointer v_object); 153 gpointer multi_term_value_get_config (const GValue* value); 154 GType multi_term_config_get_type (void) G_GNUC_CONST; 155 MultiTermConfig* multi_term_config_new (const gchar* filename); 156 MultiTermConfig* multi_term_config_construct (GType object_type, const gchar* filename); 157 gboolean multi_term_config_store (MultiTermConfig* self); 158 void multi_term_config_store_eventually (MultiTermConfig* self); 159 void multi_term_config_reload (MultiTermConfig* self); 160 const gchar* multi_term_config_get_filename (MultiTermConfig* self); 161 gboolean multi_term_config_get_show_tabs (MultiTermConfig* self); 162 void multi_term_config_set_show_tabs (MultiTermConfig* self, gboolean value); 163 gchar* multi_term_config_get_external_terminal (MultiTermConfig* self); 164 void multi_term_config_set_external_terminal (MultiTermConfig* self, const gchar* value); 165 gchar* multi_term_config_get_location (MultiTermConfig* self); 166 void multi_term_config_set_location (MultiTermConfig* self, const gchar* value); 167 gpointer multi_term_shell_config_ref (gpointer instance); 168 void multi_term_shell_config_unref (gpointer instance); 169 GParamSpec* multi_term_param_spec_shell_config (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); 170 void multi_term_value_set_shell_config (GValue* value, gpointer v_object); 171 void multi_term_value_take_shell_config (GValue* value, gpointer v_object); 172 gpointer multi_term_value_get_shell_config (const GValue* value); 173 GType multi_term_shell_config_get_type (void) G_GNUC_CONST; 174 GList* multi_term_config_get_shell_configs (MultiTermConfig* self); 175 GType multi_term_context_menu_get_type (void) G_GNUC_CONST; 176 MultiTermContextMenu* multi_term_context_menu_new (MultiTermConfig* cfg); 177 MultiTermContextMenu* multi_term_context_menu_construct (GType object_type, MultiTermConfig* cfg); 178 #define MULTI_TERM_default_config "######################################################################" \ 179 "##\n" \ 180 "# MultiTerm Configuration File " \ 181 " #\n" \ 182 "#=====================================================================" \ 183 "=#\n" \ 184 "# " \ 185 " #\n" \ 186 "# You can configure the behaviour of the MultiTerm plugin by adjusting" \ 187 " #\n" \ 188 "# the values in this file. Lines beginning with a # are considered " \ 189 " #\n" \ 190 "# comments and are left as is. Group/section names go in [] and keys " \ 191 " #\n" \ 192 "# and values are separated by an = symbol. Where more than one value " \ 193 " #\n" \ 194 "# can be supplied, as in a list, separate the values with the ; symbol" \ 195 ".#\n" \ 196 "# " \ 197 " #\n" \ 198 "# Groups/section names beginning with 'shell=' denote a type of " \ 199 " #\n" \ 200 "# terminal/shell that can be opened. The name of the shell follows " \ 201 " #\n" \ 202 "# the = symbol. Each shell can have it's own specific VTE " \ 203 " #\n" \ 204 "# configuration and can run it's own child command. As an example, if" \ 205 " #\n" \ 206 "# you wanted to use the Python interpreter shell instead of the " \ 207 " #\n" \ 208 "# default shell, specify 'command=python'. " \ 209 " #\n" \ 210 "# " \ 211 " #\n" \ 212 "# Keys/values commented out or empty values will cause MultiTerm to " \ 213 " #\n" \ 214 "# use default values. " \ 215 " #\n" \ 216 "# " \ 217 " #\n" \ 218 "######################################################################" \ 219 "##\n" \ 220 "\n" \ 221 "#=====================================================================" \ 222 "==\n" \ 223 "# General Settings\n" \ 224 "#=====================================================================" \ 225 "==\n" \ 226 "[general]\n" \ 227 "\n" \ 228 "# Where to put the multiterm notebook in the Geany user interface\n" \ 229 "# one of: sidebar, msgwin\n" \ 230 "location=msgwin\n" \ 231 "\n" \ 232 "# Make tabs take up as much space as is available\n" \ 233 "full_width_tabs=true\n" \ 234 "\n" \ 235 "# Allow reordering of tabs\n" \ 236 "reorderable_tabs=true\n" \ 237 "\n" \ 238 "# When there is only one tab left in the notebook, hide the tabs area\n" \ 239 "hide_tabs_on_last=true\n" \ 240 "\n" \ 241 "# When launching an external terminal from the MultiTerm context menu," \ 242 "\n" \ 243 "# use this terminal. Good choices include xterm, gnome-terminal,\n" \ 244 "# xfce4-terminal or konsole.\n" \ 245 "external_terminal=xterm\n" \ 246 "\n" \ 247 "# Save which shells were open when Geany closes and restore their\n" \ 248 "# tabs when it restarts.\n" \ 249 "save_tabs=false\n" \ 250 "\n" \ 251 "# Whether to show tabs or not\n" \ 252 "show_tabs=true\n" \ 253 "\n" \ 254 "bg_color=#ffffff\n" \ 255 "fg_color=#000000\n" \ 256 "font=Monospace 9\n" \ 257 "\n" \ 258 "\n" \ 259 "#=====================================================================" \ 260 "==\n" \ 261 "# Default Shell\n" \ 262 "#=====================================================================" \ 263 "==\n" \ 264 "[shell=default]\n" \ 265 "\n" \ 266 "# This will be the tabs default tab label and won't change unless\n" \ 267 "# track_title is set to true.\n" \ 268 "name=Default Shell\n" \ 269 "\n" \ 270 "# This is the command to fork in the VTE, leave blank for default shel" \ 271 "l\n" \ 272 "command=\n" \ 273 "\n" \ 274 "# Make the tab's label track the VTE title\n" \ 275 "track_title=true\n" \ 276 "\n" \ 277 "# Background color, foreground color and font for the VTE\n" \ 278 "bg_color=#ffffff\n" \ 279 "fg_color=#000000\n" \ 280 "font=Monospace 9\n" \ 281 "\n" \ 282 "# Whether to allow bold fonts in the VTE\n" \ 283 "#allow_bold=true\n" \ 284 "\n" \ 285 "# Whether to beep when the child outputs a bell sequence.\n" \ 286 "#audible_bell=true\n" \ 287 "\n" \ 288 "# Controls whether the cursor blinks or not, one of:\n" \ 289 "# system (or blank), on, off\n" \ 290 "#cursor_blink_mode=system\n" \ 291 "\n" \ 292 "# Controls the shape of the VTE cursor, one of:\n" \ 293 "# block, ibeam, underline\n" \ 294 "#cursor_shape=block\n" \ 295 "\n" \ 296 "# Controls how erasing characters is handled, one of:\n" \ 297 "# auto, ascii_backspace, ascii_delete, delete_sequence, tty\n" \ 298 "#backspace_binding=auto\n" \ 299 "\n" \ 300 "# Whether to hide the mouse pointer on key press if it's in the\n" \ 301 "# terminal window\n" \ 302 "#pointer_autohide=false\n" \ 303 "\n" \ 304 "# Scroll to the prompt at the bottom of the scrollback buffer on key\n" \ 305 "# press\n" \ 306 "#scroll_on_keystroke=true\n" \ 307 "\n" \ 308 "# Scroll to the bottom of the scrollback buffer when the child sends\n" \ 309 "# output\n" \ 310 "#scroll_on_output=false\n" \ 311 "\n" \ 312 "# The number of lines to keep in the scrollback buffer\n" \ 313 "#scrollback_lines=512\n" \ 314 "\n" \ 315 "# Whether the terminal will present a visible bell when the child\n" \ 316 "# sends a bell sequence. The terminal will clear itself to the\n" \ 317 "# default foreground color and then repaint itself.\n" \ 318 "#visible_bell=false\n" \ 319 "\n" \ 320 "# When the user double-clicks to start selection, the terminal will\n" \ 321 "# extend the selection on word boundaries. It will treat characters\n" \ 322 "# the word-chars characters as parts of words, and all other\n" \ 323 "# characters as word separators. Ranges of characters can be\n" \ 324 "# specified by separating them with a hyphen.\n" \ 325 "word_chars=-A-Za-z0-9,./\\\\?%&#:_\n" \ 326 "\n" \ 327 "\n" \ 328 "#=====================================================================" \ 329 "==\n" \ 330 "# Other Shells\n" \ 331 "#=====================================================================" \ 332 "==\n" \ 333 "\n" \ 334 "# You can define additional shells just like the default shell but\n" \ 335 "# using other commands and/or settings.\n" \ 336 "\n" \ 337 "#[shell=python]\n" \ 338 "#name=Python Shell\n" \ 339 "#command=python\n" \ 340 "#track_title=false\n" \ 341 "\n" \ 342 "#[shell=irb]\n" \ 343 "#name=Ruby Shell\n" \ 344 "#command=irb\n" \ 345 "#track_title=false\n" 346 GType multi_term_notebook_get_type (void) G_GNUC_CONST; 347 GType multi_term_terminal_get_type (void) G_GNUC_CONST; 348 MultiTermTerminal* multi_term_notebook_add_terminal (MultiTermNotebook* self, MultiTermShellConfig* cfg); 349 void multi_term_notebook_remove_terminal (MultiTermNotebook* self, gint tab_num); 350 MultiTermNotebook* multi_term_notebook_new (const gchar* config_filename); 351 MultiTermNotebook* multi_term_notebook_construct (GType object_type, const gchar* config_filename); 352 extern GeanyPlugin* geany_plugin; 353 extern GeanyData* geany_data; 354 extern GeanyFunctions* geany_functions; 355 gint plugin_version_check (gint abi_version); 356 void plugin_set_info (PluginInfo* info); 357 void plugin_init (GeanyData* data); 358 void plugin_cleanup (void); 359 MultiTermShellConfig* multi_term_shell_config_new (MultiTermConfig* cfg, const gchar* section); 360 MultiTermShellConfig* multi_term_shell_config_construct (GType object_type, MultiTermConfig* cfg, const gchar* section); 361 const gchar* multi_term_shell_config_get_section (MultiTermShellConfig* self); 362 gchar* multi_term_shell_config_get_name (MultiTermShellConfig* self); 363 void multi_term_shell_config_set_name (MultiTermShellConfig* self, const gchar* value); 364 gchar* multi_term_shell_config_get_command (MultiTermShellConfig* self); 365 void multi_term_shell_config_set_command (MultiTermShellConfig* self, const gchar* value); 366 gboolean multi_term_shell_config_get_track_title (MultiTermShellConfig* self); 367 void multi_term_shell_config_set_track_title (MultiTermShellConfig* self, gboolean value); 368 gchar* multi_term_shell_config_get_background_color (MultiTermShellConfig* self); 369 void multi_term_shell_config_set_background_color (MultiTermShellConfig* self, const gchar* value); 370 gchar* multi_term_shell_config_get_foreground_color (MultiTermShellConfig* self); 371 void multi_term_shell_config_set_foreground_color (MultiTermShellConfig* self, const gchar* value); 372 gchar* multi_term_shell_config_get_font (MultiTermShellConfig* self); 373 void multi_term_shell_config_set_font (MultiTermShellConfig* self, const gchar* value); 374 gboolean multi_term_shell_config_get_allow_bold (MultiTermShellConfig* self); 375 void multi_term_shell_config_set_allow_bold (MultiTermShellConfig* self, gboolean value); 376 gboolean multi_term_shell_config_get_audible_bell (MultiTermShellConfig* self); 377 void multi_term_shell_config_set_audible_bell (MultiTermShellConfig* self, gboolean value); 378 VteTerminalCursorBlinkMode multi_term_shell_config_get_cursor_blink_mode (MultiTermShellConfig* self); 379 void multi_term_shell_config_set_cursor_blink_mode (MultiTermShellConfig* self, VteTerminalCursorBlinkMode value); 380 VteTerminalCursorShape multi_term_shell_config_get_cursor_shape (MultiTermShellConfig* self); 381 void multi_term_shell_config_set_cursor_shape (MultiTermShellConfig* self, VteTerminalCursorShape value); 382 VteTerminalEraseBinding multi_term_shell_config_get_backspace_binding (MultiTermShellConfig* self); 383 void multi_term_shell_config_set_backspace_binding (MultiTermShellConfig* self, VteTerminalEraseBinding value); 384 gboolean multi_term_shell_config_get_pointer_autohide (MultiTermShellConfig* self); 385 void multi_term_shell_config_set_pointer_autohide (MultiTermShellConfig* self, gboolean value); 386 gboolean multi_term_shell_config_get_scroll_on_keystroke (MultiTermShellConfig* self); 387 void multi_term_shell_config_set_scroll_on_keystroke (MultiTermShellConfig* self, gboolean value); 388 gboolean multi_term_shell_config_get_scroll_on_output (MultiTermShellConfig* self); 389 void multi_term_shell_config_set_scroll_on_output (MultiTermShellConfig* self, gboolean value); 390 gint multi_term_shell_config_get_scrollback_lines (MultiTermShellConfig* self); 391 void multi_term_shell_config_set_scrollback_lines (MultiTermShellConfig* self, gint value); 392 gboolean multi_term_shell_config_get_visible_bell (MultiTermShellConfig* self); 393 void multi_term_shell_config_set_visible_bell (MultiTermShellConfig* self, gboolean value); 394 gchar* multi_term_shell_config_get_word_chars (MultiTermShellConfig* self); 395 void multi_term_shell_config_set_word_chars (MultiTermShellConfig* self, const gchar* value); 396 GType multi_term_tab_label_get_type (void) G_GNUC_CONST; 397 MultiTermTabLabel* multi_term_tab_label_new (const gchar* text); 398 MultiTermTabLabel* multi_term_tab_label_construct (GType object_type, const gchar* text); 399 const gchar* multi_term_tab_label_get_text (MultiTermTabLabel* self); 400 void multi_term_tab_label_set_text (MultiTermTabLabel* self, const gchar* value); 401 GtkButton* multi_term_tab_label_get_button (MultiTermTabLabel* self); 402 void multi_term_terminal_run_command (MultiTermTerminal* self, const gchar* command); 403 void multi_term_terminal_send_command (MultiTermTerminal* self, const gchar* command); 404 MultiTermTerminal* multi_term_terminal_new (MultiTermShellConfig* sh); 405 MultiTermTerminal* multi_term_terminal_construct (GType object_type, MultiTermShellConfig* sh); 406 const gchar* multi_term_terminal_get_tab_label_text (MultiTermTerminal* self); 407 void multi_term_terminal_set_tab_label_text (MultiTermTerminal* self, const gchar* value); 408 void multi_term_terminal_set_background_color (MultiTermTerminal* self, const gchar* value); 409 void multi_term_terminal_set_foreground_color (MultiTermTerminal* self, const gchar* value); 410 411 412 G_END_DECLS 413 414 #endif 415