Re: Redy Project Questions

new topic     » goto parent     » topic index » view thread      » older message » newer message
xecronix said...

I'm not an expert here but I don't think they actually to the same thing. I think WxWidgets is much closer to your implementation of Redy thus far. WxWidgets has it's own widget set. But it sits on top of win32 or gtk in order to draw them. If the WxWidgets team wanted to implement their own clipboard, dnd, etc, there would have been no reason to link against GTK. They could have simply linked against X, which is what GTK does.

Actually, they do have a version that only links against X. See wxUniversal and wxX11: https://www.wxwidgets.org/docs/faq/general/#univ

xecronix said...

If the WxWidgets team wanted to implement their own clipboard, dnd, etc,

Actually, they can still do this and still share clipboard and dnd with GTK (and Qt for that matter). If the widget toolkits implemented their own unique clipboards, then applications written using different widget toolkits would not be able to share the clipboard with each other. That's why X does implement its own clipboard.

See http://www.edwardrosten.com/code/dist/x_clipboard-1.1/paste.cc for some example code that performs clipboard and dnd operations purely with Xlib.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu