#include <gcp/newfiledlg.h>
|
| NewFileDlg (Application *App) |
|
virtual | ~NewFileDlg () |
|
bool | Apply () |
|
void | OnThemeNamesChanged () |
|
void | SetTheme (Theme *val) |
|
Theme * | GetTheme (void) const |
|
Theme *& | GetRefTheme (void) |
|
| Dialog (Application *App, char const *filename, const char *windowname, char const *domainname, gcu::DialogOwner *owner=NULL, void(*extra_destroy)(gpointer)=NULL, gpointer data=NULL) throw (std::runtime_error) |
|
virtual | ~Dialog () |
|
virtual void | Destroy () |
|
virtual void | Closed () |
|
GtkWindow * | GetWindow () |
|
void | Present () |
|
void | SetTransientFor (GtkWindow *window) |
|
| UIBuilder (char const *filename, char const *domain) throw (std::runtime_error) |
|
virtual | ~UIBuilder () |
|
GtkWidget * | GetWidget (char const *wname) |
|
GtkWidget * | GetRefdWidget (char const *wname) |
|
GObject * | GetObject (char const *name) |
|
GtkBuilder * | GetBuilder (void) const |
|
| Dialog (Application *App, const char *windowname, DialogOwner *owner=NULL) throw (std::runtime_error) |
|
void | SetRealName (char const *name, DialogOwner *owner) throw (std::runtime_error) |
|
std::string & | GetWindowName () |
|
Application * | GetApp (void) |
|
The dialog class for creating new files with a given theme.
Definition at line 40 of file newfiledlg.h.
◆ NewFileDlg()
- Parameters
-
App | the application which will own the new file. |
◆ ~NewFileDlg()
virtual gcp::NewFileDlg::~NewFileDlg |
( |
| ) |
|
|
virtual |
◆ Apply()
bool gcp::NewFileDlg::Apply |
( |
| ) |
|
|
virtual |
Called by the framework when the user validates its choice, and creates the new file.
Reimplemented from gcugtk::Dialog.
◆ GetRefTheme()
gcp::NewFileDlg::GetRefTheme |
( |
void |
| ) |
|
|
inline |
- Returns
- the currently selected theme as a reference.
Definition at line 80 of file newfiledlg.h.
◆ GetTheme()
gcp::NewFileDlg::GetTheme |
( |
void |
| ) |
const |
|
inline |
- Returns
- the currently selected theme.
Definition at line 80 of file newfiledlg.h.
◆ OnThemeNamesChanged()
void gcp::NewFileDlg::OnThemeNamesChanged |
( |
| ) |
|
Called by the framework when the theme names have changed, which might happen if the user edits the preference when this dialog is opened.
◆ SetTheme()
gcp::NewFileDlg::SetTheme |
( |
Theme * |
theme | ) |
|
|
inline |
- Parameters
-
theme | the newly selected theme. |
Sets the selected theme when the selection in the list has changed. This method should not be called from elsewhere.
Definition at line 80 of file newfiledlg.h.
The documentation for this class was generated from the following file: