[Controller] Disallow multiple TildaWindows to bind to the same key
[tilda-gobject.git] / tilda-terminal.h
index d56800a..5d59a50 100644 (file)
@@ -23,7 +23,6 @@ struct _TildaTerminal {
        gboolean dispose_has_run;
 
        /* Instance Members */
-       gint window_number;
        GObject *parent_window;
        GtkWidget *vte_term;
        GtkWidget *scrollbar;
@@ -51,6 +50,7 @@ struct _TildaTerminal {
        gint delete_binding;
        gint dynamic_title;
        gint exit_action;
+       gint scrollbar_position;
        // TODO: gint colorscheme; the code can work around the need for
        // TODO: this value. Just check if the back and fore colors match
        // TODO: any pre-defined colorschemes exactly in the GUI.
@@ -80,8 +80,9 @@ struct _TildaTerminalClass {
 GType tilda_terminal_get_type (void);
 
 /* API */
+gboolean tilda_terminal_run_command (TildaTerminal *self, gchar *command, GError **error);
+gboolean tilda_terminal_close (TildaTerminal *self, GError **error);
 
 #endif /* TILDA_TERMINAL_H */
 
 /* vim: set ts=4 sts=4 sw=4 noet tw=112: */
-