~ubuntu-branches/ubuntu/maverick/gnome-terminal/maverick-proposed

« back to all changes in this revision

Viewing changes to src/terminal-window.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-06-18 10:33:45 UTC
  • mfrom: (1.3.20 upstream)
  • Revision ID: james.westby@ubuntu.com-20080618103345-ife89bdnaa2ttfyk
Tags: 2.23.4.2-0ubuntu1
* new upstream version
* changed debian/patches/01_lpi.patch to work with GtkUIManager
* dropped debian/patches/03_ubuntu_lpi_fix_crash.diff because the
  UIManager makes it obsolete
* updated and renamed debian/patches/02_autoconf.patch to
  debian/patches/99_autoreconf.patch
* debian/control.in:
  - add Vcs-Bzr header
* debian/watch:
  - look for uneven version numbers too to make bzr-buildpackage
    auto download the right tarball
* debian/gnome-terminal-data.install:
  - drop /usr/share/pixmaps, its no longer used

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* widget for a toplevel terminal window, possibly containing multiple terminals */
2
 
 
3
1
/*
4
 
 * Copyright (C) 2001 Havoc Pennington
 
2
 * Copyright © 2001 Havoc Pennington
5
3
 *
6
4
 * This library is free software; you can redistribute it and/or
7
5
 * modify it under the terms of the GNU Library General Public
22
20
#ifndef TERMINAL_WINDOW_H
23
21
#define TERMINAL_WINDOW_H
24
22
 
25
 
#include <gtk/gtkwindow.h>
 
23
#include <gtk/gtk.h>
 
24
 
26
25
#include "terminal-screen.h"
27
26
 
28
27
G_BEGIN_DECLS
54
53
 
55
54
TerminalWindow* terminal_window_new (void);
56
55
 
 
56
GtkUIManager *terminal_window_get_ui_manager (TerminalWindow *window);
 
57
 
57
58
void terminal_window_add_screen (TerminalWindow *window,
58
59
                                 TerminalScreen *screen,
59
 
                                 gint            position);
 
60
                                 int position);
60
61
 
61
62
void terminal_window_remove_screen (TerminalWindow *window,
62
63
                                    TerminalScreen *screen);
63
64
 
 
65
void terminal_window_move_screen (TerminalWindow *source_window,
 
66
                                  TerminalWindow *dest_window,
 
67
                                  TerminalScreen *screen,
 
68
                                  int dest_position);
 
69
 
64
70
/* Menubar visibility is part of session state, except that
65
71
 * if it isn't restored from session, the window gets the setting
66
72
 * from the profile of the first screen added to the window
69
75
                                              gboolean        setting);
70
76
gboolean terminal_window_get_menubar_visible (TerminalWindow *window);
71
77
 
72
 
void            terminal_window_set_active (TerminalWindow *window,
73
 
                                            TerminalScreen *screen);
 
78
void            terminal_window_switch_screen (TerminalWindow *window,
 
79
                                               TerminalScreen *screen);
74
80
TerminalScreen* terminal_window_get_active (TerminalWindow *window);
75
81
 
76
 
/* In order of their tabs in the notebook */
77
 
GList* terminal_window_list_screens (TerminalWindow *window);
78
 
int    terminal_window_get_screen_count (TerminalWindow *window);
 
82
GList* terminal_window_list_screen_containers (TerminalWindow *window);
79
83
 
80
 
void terminal_window_update_icon      (TerminalWindow *window);
81
84
void terminal_window_update_geometry  (TerminalWindow *window);
82
85
void terminal_window_set_size         (TerminalWindow *window,
83
86
                                       TerminalScreen *screen,
88
91
                                          int             force_grid_width,
89
92
                                          int             force_grid_height);
90
93
 
91
 
void     terminal_window_set_fullscreen (TerminalWindow *window,
92
 
                                         gboolean        setting);
93
 
gboolean terminal_window_get_fullscreen (TerminalWindow *window);
94
 
 
95
94
GtkWidget* terminal_window_get_notebook (TerminalWindow *window);
96
95
 
97
 
void terminal_window_reread_profile_list (TerminalWindow *window);
98
 
 
99
96
void terminal_window_set_startup_id (TerminalWindow *window,
100
97
                                     const char     *startup_id);
101
98