gnome-desktop-2.0 Reference Manual

Synopsis

public class DesktopItem : Boxed  {
    public                              DesktopItem               (  ) ;
    public                              DesktopItem.from_basename ( string              basename,
                                                                    DesktopItemLoadFlagsflags ) 
                                                             throws GLib.Error;
    public                              DesktopItem.from_file     ( string              file,
                                                                    DesktopItemLoadFlagsflags ) 
                                                             throws GLib.Error;
    public                              DesktopItem.from_string   ( string              uri,
                                                                    string              str,
                                                                    long                length,
                                                                    DesktopItemLoadFlagsflags ) 
                                                             throws GLib.Error;
    public                              DesktopItem.from_uri      ( string              uri,
                                                                    DesktopItemLoadFlagsflags ) 
                                                             throws GLib.Error;


    public    bool                      attr_exists               ( string              attr ) ;
    public    void                      clear_localestring        ( string              attr ) ;
    public    void                      clear_section             ( string              section ) ;
    public    weak DesktopItem          copy                      (  ) ;
    public    int                       drop_uri_list             ( string              uri_list,
                                                                    DesktopItemLaunchFlags flags ) 
                                                             throws GLib.Error;
    public    int                       drop_uri_list_with_env    ( string              uri_list,
                                                                    DesktopItemLaunchFlags flags,
                                                                    string[]            envp ) 
                                                             throws GLib.Error;
    public    static GLib.Quark         error_quark               (  ) ;
    public    bool                      exists                    (  ) ;
    public    static weak string        find_icon                 ( Gtk.IconTheme       icon_theme,
                                                                    string              icon,
                                                                    int                 desired_size,
                                                                    int                 flags ) ;
    public    weak string               get_attr_locale           ( string              attr ) ;
    public    bool                      get_boolean               ( string              attr ) ;
    public    DesktopItemType           get_entry_type            (  ) ;
    public    DesktopItemStatus         get_file_status           (  ) ;
    public    weak string               get_icon                  ( Gtk.IconTheme       icon_theme ) ;
    public    weak GLib.List            get_languages             ( string              attr ) ;
    public    weak string               get_localestring          ( string              attr ) ;
    public    weak string               get_localestring_lang     ( string              attr,
                                                                    string              language ) ;
    public    weak string               get_location              (  ) ;
    public    weak string               get_string                ( string              attr ) ;
    public    weak string               get_strings               ( string              attr ) ;
    public    int                       launch                    ( GLib.List           file_list,
                                                                    DesktopItemLaunchFlags flags ) 
                                                             throws GLib.Error;
    public    int                       launch_on_screen          ( GLib.List           file_list,
                                                                    DesktopItemLaunchFlags flags,
                                                                    Gdk.Screen          screen,
                                                                    int                 workspace ) 
                                                             throws GLib.Error;
    public    int                       launch_with_env           ( GLib.List           file_list,
                                                                    DesktopItemLaunchFlags flags,
                                                                    string[]            envp ) 
                                                             throws GLib.Error;
    public    bool                      save                      ( string              under,
                                                                    bool                force ) 
                                                             throws GLib.Error;
    public    void                      set_boolean               ( string              attr,
                                                                    bool                value ) ;
    public    void                      set_entry_type            ( DesktopItemType     type ) ;
    public    void                      set_launch_time           ( uint                timestamp ) ;
    public    void                      set_localestring          ( string              attr,
                                                                    string              value ) ;
    public    void                      set_localestring_lang     ( string              attr,
                                                                    string              language,
                                                                    string              value ) ;
    public    void                      set_location              ( string              location ) ;
    public    void                      set_location_file         ( string              file ) ;
    public    void                      set_string                ( string              attr,
                                                                    string              value ) ;
    public    void                      set_strings               ( string              attr,
                                                                    string[]            strings ) ;
}

DesktopItem Description

Details

Constructor Details

DesktopItem ()
    public                              DesktopItem               (  ) ;		

DesktopItem.from_basename ()
    public                              DesktopItem.from_basename ( string              basename,
                                                                    DesktopItemLoadFlagsflags ) 
                                                             throws GLib.Error;		

DesktopItem.from_file ()
    public                              DesktopItem.from_file     ( string              file,
                                                                    DesktopItemLoadFlagsflags ) 
                                                             throws GLib.Error;		

DesktopItem.from_string ()
    public                              DesktopItem.from_string   ( string              uri,
                                                                    string              str,
                                                                    long                length,
                                                                    DesktopItemLoadFlagsflags ) 
                                                             throws GLib.Error;		

DesktopItem.from_uri ()
    public                              DesktopItem.from_uri      ( string              uri,
                                                                    DesktopItemLoadFlagsflags ) 
                                                             throws GLib.Error;		

Field Details

Signal Details

Property Details

Method Details

attr_exists ()
    public    bool                      attr_exists               ( string              attr ) ;		

clear_localestring ()
    public    void                      clear_localestring        ( string              attr ) ;		

clear_section ()
    public    void                      clear_section             ( string              section ) ;		

copy ()
    public    weak DesktopItem          copy                      (  ) ;		

drop_uri_list ()
    public    int                       drop_uri_list             ( string              uri_list,
                                                                    DesktopItemLaunchFlags flags ) 
                                                             throws GLib.Error;		

drop_uri_list_with_env ()
    public    int                       drop_uri_list_with_env    ( string              uri_list,
                                                                    DesktopItemLaunchFlags flags,
                                                                    string[]            envp ) 
                                                             throws GLib.Error;		

error_quark ()
    public    static GLib.Quark         error_quark               (  ) ;		

exists ()
    public    bool                      exists                    (  ) ;		

find_icon ()
    public    static weak string        find_icon                 ( Gtk.IconTheme       icon_theme,
                                                                    string              icon,
                                                                    int                 desired_size,
                                                                    int                 flags ) ;		

get_attr_locale ()
    public    weak string               get_attr_locale           ( string              attr ) ;		

get_boolean ()
    public    bool                      get_boolean               ( string              attr ) ;		

get_entry_type ()
    public    DesktopItemType           get_entry_type            (  ) ;		

get_file_status ()
    public    DesktopItemStatus         get_file_status           (  ) ;		

get_icon ()
    public    weak string               get_icon                  ( Gtk.IconTheme       icon_theme ) ;		

get_languages ()
    public    weak GLib.List            get_languages             ( string              attr ) ;		

get_localestring ()
    public    weak string               get_localestring          ( string              attr ) ;		

get_localestring_lang ()
    public    weak string               get_localestring_lang     ( string              attr,
                                                                    string              language ) ;		

get_location ()
    public    weak string               get_location              (  ) ;		

get_string ()
    public    weak string               get_string                ( string              attr ) ;		

get_strings ()
    public    weak string               get_strings               ( string              attr ) ;		

launch ()
    public    int                       launch                    ( GLib.List           file_list,
                                                                    DesktopItemLaunchFlags flags ) 
                                                             throws GLib.Error;		

launch_on_screen ()
    public    int                       launch_on_screen          ( GLib.List           file_list,
                                                                    DesktopItemLaunchFlags flags,
                                                                    Gdk.Screen          screen,
                                                                    int                 workspace ) 
                                                             throws GLib.Error;		

launch_with_env ()
    public    int                       launch_with_env           ( GLib.List           file_list,
                                                                    DesktopItemLaunchFlags flags,
                                                                    string[]            envp ) 
                                                             throws GLib.Error;		

save ()
    public    bool                      save                      ( string              under,
                                                                    bool                force ) 
                                                             throws GLib.Error;		

set_boolean ()
    public    void                      set_boolean               ( string              attr,
                                                                    bool                value ) ;		

set_entry_type ()
    public    void                      set_entry_type            ( DesktopItemType     type ) ;		

set_launch_time ()
    public    void                      set_launch_time           ( uint                timestamp ) ;		

set_localestring ()
    public    void                      set_localestring          ( string              attr,
                                                                    string              value ) ;		

set_localestring_lang ()
    public    void                      set_localestring_lang     ( string              attr,
                                                                    string              language,
                                                                    string              value ) ;		

set_location ()
    public    void                      set_location              ( string              location ) ;		

set_location_file ()
    public    void                      set_location_file         ( string              file ) ;		

set_string ()
    public    void                      set_string                ( string              attr,
                                                                    string              value ) ;		

set_strings ()
    public    void                      set_strings               ( string              attr,
                                                                    string[]            strings ) ;		


Created by Valadoc