gtkmm 3.24.7
Public Types | Public Member Functions | List of all members
Gtk::RecentChooserError Class Reference

Exception class for Gtk::RecentChooser errors. More...

#include <gtkmm/recentchooser.h>

Inherits Glib::Error.

Public Types

enum  Code {
  NOT_FOUND ,
  INVALID_URI
}
 These identify the various errors that can occur while calling Gtk::RecentChooser functions. More...
 

Public Member Functions

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

Detailed Description

Exception class for Gtk::RecentChooser errors.

Member Enumeration Documentation

◆ Code

These identify the various errors that can occur while calling Gtk::RecentChooser functions.

Since gtkmm 2.10:
Enumerator
NOT_FOUND 

Indicates that a file does not exist.

INVALID_URI 

Indicates a malformed URI.

Constructor & Destructor Documentation

◆ RecentChooserError() [1/2]

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

◆ RecentChooserError() [2/2]

Gtk::RecentChooserError::RecentChooserError ( GError *  gobject)
explicit

Member Function Documentation

◆ code()

Code Gtk::RecentChooserError::code ( ) const