GObject.Object
 Gio.ThemedIcon
                Gio.ThemedIcon
		   
| Import line: | Gio = imports.gi.Gio; | 
| GIR File: | Gio-2.0.gir | 
| C documentation: | GThemedIcon | 
| Class : | ThemedIcon | 
| Implements: | Gio.Icon | 
| Extends: | GObject.Object | 
| Properties | Defined By | |
|---|---|---|
| 
				name : String 
                   
                     
			 The icon name. The icon name. | Gio.ThemedIcon | |
| 
				names : Array 
                   
                     
			 A NULL-terminated array of icon names. A NULL-terminated array of icon names. | Gio.ThemedIcon | |
| 
				use_default_fallbacks : gboolean 
                   
                     
			 Whether to use the default fallbacks found by shortening the icon name at '-' characters. Whether to use the default fallbacks found by shortening the icon name at '-' characters. If the "names" array has more than one element, ignores any past the first. For example, if the icon name was "gnome-dev-cdrom-audio", the array would become |[ { "gnome-dev-cdrom-audio", "gnome-dev-cdrom", "gnome-dev", "gnome", NULL }; ]| | Gio.ThemedIcon | |
| Method / Constructor | Defined By | |
|---|---|---|
| 
			new  Gio.ThemedIcon
				
				 (Object properties) 
			
				
			
		 Create a new Gio.ThemedIcon 
			
			
			
				Create a new Gio.ThemedIcon
			
			
				 
 | ||
| Gio.ThemedIcon | ||
| Creates a new themed icon for iconnames. | Gio.ThemedIcon | |
| Creates a new themed icon for iconname, and all the names that can be created by shortening iconname at '-' characters. 
			
				Creates a new themed icon for iconname, and all the names that can be created by shortening iconname at '-' characters. In the following example, icon1 and icon2 are equivalent: |[ const char *names[] = { "gnome-dev-cdrom-audio", "gnome-dev-cdrom", "gnome-dev", "gnome" }; icon1 = g_themed_icon_new_from_names (names, 4); icon2 = g_themed_icon_new_with_default_fallbacks ("gnome-dev-cdrom-audio"); ]| 
 
 | Gio.ThemedIcon | |
| 
			append_name
				
				 (String iconname) 
			
				
					 : 
					none
					
				
			
		 Append a name to the list of icons from within icon. 
			
				Append a name to the list of icons from within icon. Note that doing so invalidates the hash computed by prior calls to g_icon_hash(). 
 
 | Gio.ThemedIcon | |
| Gio.Icon | ||
| 
			get_names
				
				 () 
			
				
					 : 
					Array
					
				
			
		 Gets the names of icons from within icon. 
			
				Gets the names of icons from within icon.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.ThemedIcon | |
| 
			prepend_name
				
				 (String iconname) 
			
				
					 : 
					none
					
				
			
		 Prepend a name to the list of icons from within icon. 
			
				Prepend a name to the list of icons from within icon. Note that doing so invalidates the hash computed by prior calls to g_icon_hash(). 
 
 | Gio.ThemedIcon | |
| 
			to_string
				
				 () 
			
				
					 : 
					String
					
				
			
		 Generates a textual representation of icon that can be used for serialization such as when passing icon to a different process or saving it to persistent storage. 
			
				Generates a textual representation of icon that can be used for serialization such as when passing icon to a different process or saving it to persistent storage. Use g_icon_new_for_string() to get icon back from the returned string. The encoding of the returned string is proprietary to GIcon except in the following two cases If icon is a GFileIcon, the returned string is a native path (such as if the GFile for icon is a native file. If the file is not native, the returned string is the result of g_file_get_uri() (such as If icon is a GThemedIcon with exactly one name, the encoding is simply the name (such as be serialized. Use g_free() to free. 
 | Gio.Icon | |
| None |