|
Packit Service |
3bdf47 |
/*
|
|
Packit Service |
3bdf47 |
* Copyright © 2008, 2010, 2012 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_NOTEBOOK_H
|
|
Packit Service |
3bdf47 |
#define TERMINAL_NOTEBOOK_H
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#include <gtk/gtk.h>
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
G_BEGIN_DECLS
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#define TERMINAL_TYPE_NOTEBOOK (terminal_notebook_get_type ())
|
|
Packit Service |
3bdf47 |
#define TERMINAL_NOTEBOOK(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TERMINAL_TYPE_NOTEBOOK, TerminalNotebook))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_NOTEBOOK_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), TERMINAL_TYPE_NOTEBOOK, TerminalNotebookClass))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_IS_NOTEBOOK(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TERMINAL_TYPE_NOTEBOOK))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_IS_NOTEBOOK_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TERMINAL_TYPE_NOTEBOOK))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_NOTEBOOK_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TERMINAL_TYPE_NOTEBOOK, TerminalNotebookClass))
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalNotebook TerminalNotebook;
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalNotebookClass TerminalNotebookClass;
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalNotebookPrivate TerminalNotebookPrivate;
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
struct _TerminalNotebook
|
|
Packit Service |
3bdf47 |
{
|
|
Packit Service |
3bdf47 |
GtkNotebook parent_instance;
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
/*< private >*/
|
|
Packit Service |
3bdf47 |
TerminalNotebookPrivate *priv;
|
|
Packit Service |
3bdf47 |
};
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
struct _TerminalNotebookClass
|
|
Packit Service |
3bdf47 |
{
|
|
Packit Service |
3bdf47 |
GtkNotebookClass parent_class;
|
|
Packit Service |
3bdf47 |
};
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GType terminal_notebook_get_type (void);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GtkWidget *terminal_notebook_new (void);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
void terminal_notebook_set_tab_policy (TerminalNotebook *notebook,
|
|
Packit Service |
3bdf47 |
GtkPolicyType policy);
|
|
Packit Service |
3bdf47 |
GtkPolicyType terminal_notebook_get_tab_policy (TerminalNotebook *notebook);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GtkWidget *terminal_notebook_get_action_box (TerminalNotebook *notebook,
|
|
Packit Service |
3bdf47 |
GtkPackType pack_type);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
G_END_DECLS
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#endif /* TERMINAL_NOTEBOOK_H */
|