[Window] Add the ability to set the initial number of TildaTerminals
[tilda-gobject.git] / tilda-window.h
index e3ed508..d036c89 100644 (file)
@@ -42,25 +42,25 @@ struct _TildaWindow {
        GPtrArray *terms;
 
        gint number;
+       GObject *controller; /* pointer back to TildaController */
+       enum window_states { WINDOW_UP, WINDOW_DOWN } state;
 
        gchar *key;
 
-       gint min_height;
-       gint min_width;
-       gint max_height;
-       gint max_width;
+       gint height;
+       gint width;
        gint x_position;
        gint y_position;
+       gint initial_terminals;
 
        // FIXME: these really should be enum's if possible
        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;
@@ -77,9 +77,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: */
-