File: gtd-window.h

package info (click to toggle)
gnome-todo 3.28.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,668 kB
  • sloc: ansic: 17,775; python: 198; xml: 113; makefile: 6
file content (54 lines) | stat: -rw-r--r-- 2,134 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* gtd-window.h
 *
 * Copyright (C) 2015 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
 *
 * 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 3 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 GTD_WINDOW_H
#define GTD_WINDOW_H

#include "gtd-types.h"

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define GTD_TYPE_WINDOW (gtd_window_get_type())

G_DECLARE_FINAL_TYPE (GtdWindow, gtd_window, GTD, WINDOW, GtkApplicationWindow)

GtkWidget*                gtd_window_new                  (GtdApplication       *application);

GtdManager*               gtd_window_get_manager          (GtdWindow            *window);

void                      gtd_window_notify               (GtdWindow            *window,
                                                           GtdNotification      *notification);

void                      gtd_window_cancel_notification  (GtdWindow             *window,
                                                           GtdNotification      *notification);

GtdWindowMode             gtd_window_get_mode             (GtdWindow             *window);

void                      gtd_window_set_mode             (GtdWindow             *window,
                                                           GtdWindowMode          mode);

void                      gtd_window_set_custom_title     (GtdWindow             *window,
                                                           const gchar           *title,
                                                           const gchar           *subtitle);

G_END_DECLS

#endif /* GTD_WINDOW_H */