summaryrefslogtreecommitdiffstats
path: root/gedit/gedit-statusbar.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 17:42:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 17:42:51 +0000
commitba429d344132c088177e853cce8ff7181570b221 (patch)
tree87ebf15269b4301737abd1735baabba71be93622 /gedit/gedit-statusbar.h
parentInitial commit. (diff)
downloadgedit-ba429d344132c088177e853cce8ff7181570b221.tar.xz
gedit-ba429d344132c088177e853cce8ff7181570b221.zip
Adding upstream version 44.2.upstream/44.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gedit/gedit-statusbar.h')
-rw-r--r--gedit/gedit-statusbar.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/gedit/gedit-statusbar.h b/gedit/gedit-statusbar.h
new file mode 100644
index 0000000..c7d90c1
--- /dev/null
+++ b/gedit/gedit-statusbar.h
@@ -0,0 +1,53 @@
+/*
+ * gedit-statusbar.h
+ * This file is part of gedit
+ *
+ * Copyright (C) 2005 - Paolo Borelli
+ *
+ * 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
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef GEDIT_STATUSBAR_H
+#define GEDIT_STATUSBAR_H
+
+#include <gtk/gtk.h>
+#include <gedit/gedit-window.h>
+
+G_BEGIN_DECLS
+
+#define GEDIT_TYPE_STATUSBAR (gedit_statusbar_get_type ())
+
+G_DECLARE_FINAL_TYPE (GeditStatusbar, gedit_statusbar, GEDIT, STATUSBAR, GtkStatusbar)
+
+GtkWidget *gedit_statusbar_new (void);
+
+void gedit_statusbar_set_window_state (GeditStatusbar *statusbar,
+ GeditWindowState state,
+ gint num_of_errors);
+
+void gedit_statusbar_flash_message (GeditStatusbar *statusbar,
+ guint context_id,
+ const gchar *format,
+ ...) G_GNUC_PRINTF(3, 4);
+
+G_GNUC_INTERNAL
+void _gedit_statusbar_flash_generic_message (GeditStatusbar *statusbar,
+ const gchar *format,
+ ...) G_GNUC_PRINTF(2, 3);
+
+G_END_DECLS
+
+#endif
+
+/* ex:set ts=8 noet: */