[Controller] Disallow multiple TildaWindows to bind to the same key
[tilda-gobject.git] / tilda-window.h
index 7ec6e5d..a6c8b61 100644 (file)
@@ -42,12 +42,13 @@ struct _TildaWindow {
        GPtrArray *terms;
 
        gint number;
+       GObject *controller; /* pointer back to TildaController */
        enum window_states { WINDOW_UP, WINDOW_DOWN } state;
 
        gchar *key;
 
-       gint max_height;
-       gint max_width;
+       gint height;
+       gint width;
        gint x_position;
        gint y_position;
 
@@ -55,11 +56,10 @@ struct _TildaWindow {
        gint tab_position;
        gint animation_orientation;
        gint animation_delay;
-       gint scrollbar_position;
 
        gboolean keep_above;
-       gboolean show_in_taskbar;
-       gboolean pinned;
+       gboolean skip_taskbar_hint;
+       gboolean stick;
        gboolean hidden_at_start;
        gboolean centered_horizontally;
        gboolean centered_vertically;
@@ -76,9 +76,10 @@ struct _TildaWindowClass {
 GType tilda_window_get_type (void);
 
 /* API */
-gboolean tilda_window_remove_term (TildaWindow *tw, gint terminal_number);
+gboolean tilda_window_close (TildaWindow *self);
+gboolean tilda_window_add_terminal (TildaWindow *self);
+gboolean tilda_window_remove_terminal (TildaWindow *self, gint terminal_number);
 
 #endif /* TILDA_WINDOW_H */
 
 /* vim: set ts=4 sts=4 sw=4 noet tw=112: */
-