Inkscape
Vector Graphics Editor
|
Event handler for dialog windows. More...
Go to the source code of this file.
Namespaces | |
namespace | Gtk |
Functions | |
void | sp_dialog_defocus (Gtk::Window *win) |
Remove focus from window to whoever it is transient for. | |
void | sp_dialog_defocus_on_enter (Gtk::Entry *e) |
void | sp_dialog_defocus_on_enter (Gtk::SpinButton &s) |
void | sp_transientize (Gtk::Window &win) |
Make the argument dialog transient to the currently active document window. | |
Event handler for dialog windows.
Definition in file dialog-events.h.
void sp_dialog_defocus | ( | Gtk::Window * | win | ) |
Remove focus from window to whoever it is transient for.
Definition at line 33 of file dialog-events.cpp.
References w.
Referenced by Inkscape::UI::Dialog::DialogBase::defocus_dialog(), sp_dialog_defocus_on_enter(), and sp_dialog_defocus_on_enter().
void sp_dialog_defocus_on_enter | ( | Gtk::Entry * | e | ) |
Definition at line 42 of file dialog-events.cpp.
References sp_dialog_defocus().
Referenced by Inkscape::UI::Widget::ColorNotebook::_initUI(), Inkscape::UI::Widget::DashSelector::DashSelector(), and Inkscape::UI::Widget::StrokeStyle::StrokeStyle().
void sp_dialog_defocus_on_enter | ( | Gtk::SpinButton & | s | ) |
Definition at line 49 of file dialog-events.cpp.
References sp_dialog_defocus().
void sp_transientize | ( | Gtk::Window & | win | ) |
Make the argument dialog transient to the currently active document window.
Definition at line 61 of file dialog-events.cpp.
References Inkscape::Preferences::get(), PREFS_DIALOGS_WINDOWS_AGGRESSIVE, PREFS_DIALOGS_WINDOWS_NONE, PREFS_DIALOGS_WINDOWS_NORMAL, root, and surface.
Referenced by Inkscape::Application::crash_handler(), Inkscape::Extension::Internal::PdfImportDialog::PdfImportDialog(), Inkscape::Extension::Internal::RvngImportDialog::RvngImportDialog(), Inkscape::Extension::Implementation::Script::showPopupError(), and sp_ui_error_dialog().