bakery  2.6
GtkDialogs.h
Go to the documentation of this file.
1 /*
2  * Copyright 2000 Murray Cumming
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the Free
16  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17  */
18 
19 #ifndef BAKERY_APP_GTKDIALOGS_H
20 #define BAKERY_APP_GTKDIALOGS_H
21 
22 #include <bakery/App/App_WithDoc.h>
23 
24 namespace Bakery
25 {
26 
30 {
31 public:
32  static void ui_warning(App& app, const Glib::ustring& text, const Glib::ustring& secondary_text);
33  static Glib::ustring ui_file_select_open(App& app, const Glib::ustring& starting_folder_uri = Glib::ustring());
34 
36  static Glib::ustring ui_file_select_save(App& app, const Glib::ustring& old_file_uri);
37 
38  static void ui_show_modification_status();
39  static App_WithDoc::enumSaveChanges ui_offer_to_save_changes(App& app, const Glib::ustring& file_uri);
40 };
41 
42 } //namespace
43 
44 #endif //BAKERY_APP_GTKDIALOGS_H
enumSaveChanges
Definition: App_WithDoc.h:65
static void ui_warning(App &app, const Glib::ustring &text, const Glib::ustring &secondary_text)
static Glib::ustring ui_file_select_open(App &app, const Glib::ustring &starting_folder_uri=Glib::ustring())
static App_WithDoc::enumSaveChanges ui_offer_to_save_changes(App &app, const Glib::ustring &file_uri)
Definition: App.h:29
static Glib::ustring ui_file_select_save(App &app, const Glib::ustring &old_file_uri)
Ask the user for a filename, and ask for confirmation if the file exists already. ...
Bakery&#39;s Main Window.
Definition: App.h:60
static void ui_show_modification_status()
This class implements some gtkmm UI abstractions.
Definition: GtkDialogs.h:29