gedit-status-menu-button.h 1.35 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/*
 * gedit-status-menu-button.h
 * This file is part of gedit
 *
 * Copyright (C) 2008 - Jesse van den Kieboom
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
18
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
19 20
 */

21 22
#ifndef GEDIT_STATUS_MENU_BUTTON_H
#define GEDIT_STATUS_MENU_BUTTON_H
23 24 25 26 27

#include <gtk/gtk.h>

G_BEGIN_DECLS

28
#define GEDIT_TYPE_STATUS_MENU_BUTTON (gedit_status_menu_button_get_type ())
29

30
G_DECLARE_FINAL_TYPE (GeditStatusMenuButton, gedit_status_menu_button, GEDIT, STATUS_MENU_BUTTON, GtkMenuButton)
31 32 33

GtkWidget *gedit_status_menu_button_new		(void);

34 35 36 37 38
void gedit_status_menu_button_set_label		(GeditStatusMenuButton *button,
						 const gchar           *label);

const gchar *gedit_status_menu_button_get_label (GeditStatusMenuButton *button);

39 40
G_END_DECLS

41
#endif /* GEDIT_STATUS_MENU_BUTTON_H */
42 43

/* ex:set ts=8 noet: */