|
Packit Service |
3bdf47 |
/*
|
|
Packit Service |
3bdf47 |
* Copyright © 2008, 2017 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 |
* MERCHANMENUILITY 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_MENU_BUTTON_H
|
|
Packit Service |
3bdf47 |
#define TERMINAL_MENU_BUTTON_H
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#include <gtk/gtk.h>
|
|
Packit Service |
3bdf47 |
|
|
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_MENU_BUTTON (terminal_menu_button_get_type ())
|
|
Packit Service |
3bdf47 |
#define TERMINAL_MENU_BUTTON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TERMINAL_TYPE_MENU_BUTTON, TerminalMenuButton))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_MENU_BUTTON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), TERMINAL_TYPE_MENU_BUTTON, TerminalMenuButtonClass))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_IS_MENU_BUTTON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TERMINAL_TYPE_MENU_BUTTON))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_IS_MENU_BUTTON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TERMINAL_TYPE_MENU_BUTTON))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_MENU_BUTTON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TERMINAL_TYPE_MENU_BUTTON, TerminalMenuButtonClass))
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalMenuButton TerminalMenuButton;
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalMenuButtonClass TerminalMenuButtonClass;
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalMenuButtonPrivate TerminalMenuButtonPrivate;
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
struct _TerminalMenuButton
|
|
Packit Service |
3bdf47 |
{
|
|
Packit Service |
3bdf47 |
GtkMenuButton parent_instance;
|
|
Packit Service |
3bdf47 |
};
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
struct _TerminalMenuButtonClass
|
|
Packit Service |
3bdf47 |
{
|
|
Packit Service |
3bdf47 |
GtkMenuButtonClass parent_class;
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
/* Signals */
|
|
Packit Service |
3bdf47 |
void (* update_menu) (TerminalMenuButton *menu_button);
|
|
Packit Service |
3bdf47 |
};
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GType terminal_menu_button_get_type (void);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GtkWidget *terminal_menu_button_new (void);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
G_END_DECLS
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#endif /* !TERMINAL_MENU_BUTTON_H */
|