Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » X11 middle mouse copy paste in own widget [SOLVED]
X11 middle mouse copy paste in own widget [SOLVED] [message #48593] Fri, 04 August 2017 07:26 Go to previous message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
(Leaving this here for someone else with same problem)

All i can find searching this forum is that it is supported ( https://www.ultimatepp.org/forums/index.php?t=rview&th=2 383&goto=9803)

How do I implement/support/handle this in my own widget derived from Ctrl?

Cannot find how it's done in uppsrc - must be searching for wrong keywords..

found "GetSelectionData()" and overrode in my widget but it is never called

According to info on web X11 uses PRIMARY for this (CLIPBOARD for normal cut&paste)
and I found mention of this in uppsrc:gdkselection.h:GDK_SELECTION_PRIMARY
but not how to make use of it

Please help

[Updated on: Fri, 04 August 2017 13:05]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: How to handle copy & paste with focus changing
Next Topic: [BUG] Patch to Switch.cpp to support touch screens
Goto Forum:
  


Current Time: Wed May 08 05:51:13 CEST 2024

Total time taken to generate the page: 0.02541 seconds