gio-2.0 Reference Manual

Synopsis

public interface AppInfo {
    public    static weak AppInfo       create_from_commandline   ( string              commandline,
                                                                    string              application_name,
                                                                    AppInfoCreateFlags  flags ) 
                                                             throws GLib.Error;
    public    static weak List          get_all                   (  ) ;
    public    static weak List          get_all_for_type          ( string              content_type ) ;
    public    static weak AppInfo       get_default_for_type      ( string              content_type,
                                                                    bool                must_support_uris ) ;
    public    static weak AppInfo       get_default_for_uri_scheme ( string              uri_scheme ) ;
    public    static bool               launch_default_for_uri    ( string              uri,
                                                                    AppLaunchContext    launch_context ) 
                                                             throws GLib.Error;
    public    abstract bool             add_supports_type         ( string              content_type ) 
                                                             throws GLib.Error;
    public    abstract bool             can_remove_supports_type  (  ) ;
    public    abstract weak AppInfo     dup                       (  ) ;
    public    abstract bool             equal                     ( AppInfo             appinfo2 ) ;
    public    abstract weak string      get_description           (  ) ;
    public    abstract weak string      get_executable            (  ) ;
    public    abstract weak Icon        get_icon                  (  ) ;
    public    abstract weak string      get_id                    (  ) ;
    public    abstract weak string      get_name                  (  ) ;
    public    abstract bool             launch                    ( List                files,
                                                                    AppLaunchContext    launch_context ) 
                                                             throws GLib.Error;
    public    abstract bool             launch_uris               ( List                uris,
                                                                    AppLaunchContext    launch_context ) 
                                                             throws GLib.Error;
    public    abstract bool             remove_supports_type      ( string              content_type ) 
                                                             throws GLib.Error;
    public    abstract bool             set_as_default_for_extension ( string              extension ) 
                                                             throws GLib.Error;
    public    abstract bool             set_as_default_for_type   ( string              content_type ) 
                                                             throws GLib.Error;
    public    abstract bool             should_show               (  ) ;
    public    abstract bool             supports_files            (  ) ;
    public    abstract bool             supports_uris             (  ) ;
}

Description

Details

Signal Details

Property Details

Method Details

create_from_commandline ()
    public    static weak AppInfo       create_from_commandline   ( string              commandline,
                                                                    string              application_name,
                                                                    AppInfoCreateFlags  flags ) 
                                                             throws GLib.Error;		

get_all ()
    public    static weak List          get_all                   (  ) ;		

get_all_for_type ()
    public    static weak List          get_all_for_type          ( string              content_type ) ;		

get_default_for_type ()
    public    static weak AppInfo       get_default_for_type      ( string              content_type,
                                                                    bool                must_support_uris ) ;		

get_default_for_uri_scheme ()
    public    static weak AppInfo       get_default_for_uri_scheme ( string              uri_scheme ) ;		

launch_default_for_uri ()
    public    static bool               launch_default_for_uri    ( string              uri,
                                                                    AppLaunchContext    launch_context ) 
                                                             throws GLib.Error;		

add_supports_type ()
    public    abstract bool             add_supports_type         ( string              content_type ) 
                                                             throws GLib.Error;		

can_remove_supports_type ()
    public    abstract bool             can_remove_supports_type  (  ) ;		

dup ()
    public    abstract weak AppInfo     dup                       (  ) ;		

equal ()
    public    abstract bool             equal                     ( AppInfo             appinfo2 ) ;		

get_description ()
    public    abstract weak string      get_description           (  ) ;		

get_executable ()
    public    abstract weak string      get_executable            (  ) ;		

get_icon ()
    public    abstract weak Icon        get_icon                  (  ) ;		

get_id ()
    public    abstract weak string      get_id                    (  ) ;		

get_name ()
    public    abstract weak string      get_name                  (  ) ;		

launch ()
    public    abstract bool             launch                    ( List                files,
                                                                    AppLaunchContext    launch_context ) 
                                                             throws GLib.Error;		

launch_uris ()
    public    abstract bool             launch_uris               ( List                uris,
                                                                    AppLaunchContext    launch_context ) 
                                                             throws GLib.Error;		

remove_supports_type ()
    public    abstract bool             remove_supports_type      ( string              content_type ) 
                                                             throws GLib.Error;		

set_as_default_for_extension ()
    public    abstract bool             set_as_default_for_extension ( string              extension ) 
                                                             throws GLib.Error;		

set_as_default_for_type ()
    public    abstract bool             set_as_default_for_type   ( string              content_type ) 
                                                             throws GLib.Error;		

should_show ()
    public    abstract bool             should_show               (  ) ;		

supports_files ()
    public    abstract bool             supports_files            (  ) ;		

supports_uris ()
    public    abstract bool             supports_uris             (  ) ;		


Created by Valadoc