gtkmm 4.16.0
Public Types | Public Member Functions | List of all members
Gtk::DialogError Class Reference

#include <gtkmm/error.h>

Inheritance diagram for Gtk::DialogError:
Inheritance graph
[legend]

Public Types

enum  Code {
  FAILED ,
  CANCELLED ,
  DISMISSED
}
 Error codes in the Gtk::DialogError domain that can be returned by async dialog functions. More...
 

Public Member Functions

 DialogError (Code error_code, const Glib::ustring &error_message)
 
 DialogError (GError *gobject)
 
Code code () const
 

Member Enumeration Documentation

◆ Code

Error codes in the Gtk::DialogError domain that can be returned by async dialog functions.

Since gtkmm 4.10:
Enumerator
FAILED 

Generic error condition for when an operation fails and no more specific code is applicable.

CANCELLED 

The async function call was cancelled via its Cancellable.

DISMISSED 

The operation was cancelled by the user (via a Cancel or Close button).

Constructor & Destructor Documentation

◆ DialogError() [1/2]

Gtk::DialogError::DialogError ( Code  error_code,
const Glib::ustring &  error_message 
)

◆ DialogError() [2/2]

Gtk::DialogError::DialogError ( GError gobject)
explicit

Member Function Documentation

◆ code()

Code Gtk::DialogError::code ( ) const