|
Packit Service |
3bdf47 |
/*
|
|
Packit Service |
3bdf47 |
* Copyright © 2008, 2010 Christian Persch
|
|
Packit Service |
3bdf47 |
*
|
|
Packit Service |
3bdf47 |
* This program is free software: you can redistribute it and/or modify
|
|
Packit Service |
3bdf47 |
* it under the terms of the GNU General Public License as published by
|
|
Packit Service |
3bdf47 |
* the Free Software Foundation, either version 3 of the License, or
|
|
Packit Service |
3bdf47 |
* (at your option) any later version.
|
|
Packit Service |
3bdf47 |
*
|
|
Packit Service |
3bdf47 |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
3bdf47 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
3bdf47 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
3bdf47 |
* GNU General Public License for more details.
|
|
Packit Service |
3bdf47 |
*
|
|
Packit Service |
3bdf47 |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
3bdf47 |
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
3bdf47 |
*/
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#ifndef TERMINAL_SCREEN_CONTAINER_H
|
|
Packit Service |
3bdf47 |
#define TERMINAL_SCREEN_CONTAINER_H
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#include <gtk/gtk.h>
|
|
Packit Service |
3bdf47 |
#include "terminal-screen.h"
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
G_BEGIN_DECLS
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#define TERMINAL_TYPE_SCREEN_CONTAINER (terminal_screen_container_get_type ())
|
|
Packit Service |
3bdf47 |
#define TERMINAL_SCREEN_CONTAINER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TERMINAL_TYPE_SCREEN_CONTAINER, TerminalScreenContainer))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_SCREEN_CONTAINER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), TERMINAL_TYPE_SCREEN_CONTAINER, TerminalScreenContainerClass))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_IS_SCREEN_CONTAINER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TERMINAL_TYPE_SCREEN_CONTAINER))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_IS_SCREEN_CONTAINER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TERMINAL_TYPE_SCREEN_CONTAINER))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_SCREEN_CONTAINER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TERMINAL_TYPE_SCREEN_CONTAINER, TerminalScreenContainerClass))
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalScreenContainer TerminalScreenContainer;
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalScreenContainerClass TerminalScreenContainerClass;
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalScreenContainerPrivate TerminalScreenContainerPrivate;
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
struct _TerminalScreenContainer
|
|
Packit Service |
3bdf47 |
{
|
|
Packit Service |
3bdf47 |
GtkOverlay parent_instance;
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
/*< private >*/
|
|
Packit Service |
3bdf47 |
TerminalScreenContainerPrivate *priv;
|
|
Packit Service |
3bdf47 |
};
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
struct _TerminalScreenContainerClass
|
|
Packit Service |
3bdf47 |
{
|
|
Packit Service |
3bdf47 |
GtkOverlayClass parent_class;
|
|
Packit Service |
3bdf47 |
};
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GType terminal_screen_container_get_type (void);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GtkWidget *terminal_screen_container_new (TerminalScreen *screen);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
TerminalScreen *terminal_screen_container_get_screen (TerminalScreenContainer *container);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
TerminalScreenContainer *terminal_screen_container_get_from_screen (TerminalScreen *screen);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
void terminal_screen_container_set_policy (TerminalScreenContainer *container,
|
|
Packit Service |
3bdf47 |
GtkPolicyType hpolicy,
|
|
Packit Service |
3bdf47 |
GtkPolicyType vpolicy);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
G_END_DECLS
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#endif /* TERMINAL_SCREEN_CONTAINER_H */
|