2016-10-08 13:09:31 +11:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# ThumbarButton Object
							 | 
						
					
						
							
								
									
										
										
										
											2016-09-28 20:00:01 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2016-10-07 21:25:39 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								* `icon` [NativeImage](../native-image.md) - The icon showing in thumbnail
							 | 
						
					
						
							
								
									
										
										
										
											2016-09-28 20:00:01 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  toolbar.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								* `click` Function
							 | 
						
					
						
							
								
									
										
										
										
											2021-11-16 05:13:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								* `tooltip` string (optional) - The text of the button's tooltip.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								* `flags` string[] (optional) - Control specific states and behaviors of the
							 | 
						
					
						
							
								
									
										
										
										
											2016-09-28 20:00:01 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  button. By default, it is `['enabled']`.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-11-16 05:13:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								The `flags` is an array that can include following `string`s:
							 | 
						
					
						
							
								
									
										
										
										
											2016-09-28 20:00:01 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								* `enabled` - The button is active and available to the user.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								* `disabled` - The button is disabled. It is present, but has a visual state
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  indicating it will not respond to user action.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								* `dismissonclick` - When the button is clicked, the thumbnail window closes
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  immediately.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								* `nobackground` - Do not draw a button border, use only the image.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								* `hidden` - The button is not shown to the user.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								* `noninteractive` - The button is enabled but not interactive; no pressed
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  button state is drawn. This value is intended for instances where the button
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  is used in a notification.
							 |