mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Added new event types and selection types.
This commit is contained in:
		
							parent
							
								
									468c448bcc
								
							
						
					
					
						commit
						be5ea23374
					
				
					 2 changed files with 20 additions and 0 deletions
				
			
		| 
						 | 
					@ -22,6 +22,10 @@
 | 
				
			||||||
WE_DRAW       = 10	# detail is ((left, top), (right, bottom))
 | 
					WE_DRAW       = 10	# detail is ((left, top), (right, bottom))
 | 
				
			||||||
WE_TIMER      = 11	# detail is <no object>
 | 
					WE_TIMER      = 11	# detail is <no object>
 | 
				
			||||||
WE_DEACTIVATE = 12	# detail is <no object>
 | 
					WE_DEACTIVATE = 12	# detail is <no object>
 | 
				
			||||||
 | 
					WE_EXTERN     = 13	# detail is <no object>
 | 
				
			||||||
 | 
					WE_KEY        = 14	# detail is ???
 | 
				
			||||||
 | 
					WE_LOST_SEL   = 15	# detail is selection number
 | 
				
			||||||
 | 
					WE_CLOSE      = 16	# detail is <no object>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Values for detail when type is WE_COMMAND:
 | 
					# Values for detail when type is WE_COMMAND:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -34,3 +38,9 @@
 | 
				
			||||||
WC_BACKSPACE  =  7	# backspace key
 | 
					WC_BACKSPACE  =  7	# backspace key
 | 
				
			||||||
WC_TAB        =  8	# tab key
 | 
					WC_TAB        =  8	# tab key
 | 
				
			||||||
WC_RETURN     =  9	# return or enter key
 | 
					WC_RETURN     =  9	# return or enter key
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Selection numbers
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					WS_CLIPBOARD   = 0
 | 
				
			||||||
 | 
					WS_PRIMARY     = 1
 | 
				
			||||||
 | 
					WS_SECONDARY   = 2
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,6 +22,10 @@
 | 
				
			||||||
WE_DRAW       = 10	# detail is ((left, top), (right, bottom))
 | 
					WE_DRAW       = 10	# detail is ((left, top), (right, bottom))
 | 
				
			||||||
WE_TIMER      = 11	# detail is <no object>
 | 
					WE_TIMER      = 11	# detail is <no object>
 | 
				
			||||||
WE_DEACTIVATE = 12	# detail is <no object>
 | 
					WE_DEACTIVATE = 12	# detail is <no object>
 | 
				
			||||||
 | 
					WE_EXTERN     = 13	# detail is <no object>
 | 
				
			||||||
 | 
					WE_KEY        = 14	# detail is ???
 | 
				
			||||||
 | 
					WE_LOST_SEL   = 15	# detail is selection number
 | 
				
			||||||
 | 
					WE_CLOSE      = 16	# detail is <no object>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Values for detail when type is WE_COMMAND:
 | 
					# Values for detail when type is WE_COMMAND:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -34,3 +38,9 @@
 | 
				
			||||||
WC_BACKSPACE  =  7	# backspace key
 | 
					WC_BACKSPACE  =  7	# backspace key
 | 
				
			||||||
WC_TAB        =  8	# tab key
 | 
					WC_TAB        =  8	# tab key
 | 
				
			||||||
WC_RETURN     =  9	# return or enter key
 | 
					WC_RETURN     =  9	# return or enter key
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Selection numbers
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					WS_CLIPBOARD   = 0
 | 
				
			||||||
 | 
					WS_PRIMARY     = 1
 | 
				
			||||||
 | 
					WS_SECONDARY   = 2
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue