Home » U++ Library support » U++ Widgets - General questions or Mixed problems » DHCtrl for GTK backend - help needed
Re: DHCtrl for GTK backend - help needed [message #50216 is a reply to message #44637] |
Mon, 27 August 2018 19:10 |
mdelfede
Messages: 1307 Registered: September 2007
|
Ultimate Contributor |
|
|
Hi,
I revive this old topic because I'm trying to get DHCtrl work in GTK mode.
I tested the code posted here, it's sort of working (blinking a lot, but I guess that's solvable)
but the real caveat is that I can't add more than ONE of such to any upp TopWindow.
As I've seen, UPP is implemented using JUST one GTK top control (which is windowed) and all the
rest is drawn inside it.
The problem is that if we want to implement a windowed GTK control it should be added to the main
GTK one, and the Window type just accepts ONE widget inside it.
So, for example, having a TabBar with many pages and a DHCtrl in each page can't work.
Even using the more modern GtkArea will not work, because of this problem. We can add ONE of
it to the application, but it will crash when trying to add a second one.
I think that this problem can't be solved in GTK without some big changes in GTK core in UPP.
Ciao
Massimo
EDIT : it could be (maybe) solved using plain X11 code to add a window to the main one, and handling repositioning from inside
the DHCtrl code.
[Updated on: Mon, 27 August 2018 19:13] Report message to a moderator
|
|
|
|
|
DHCtrl for GTK backend - help needed
By: Zbych on Mon, 23 March 2015 16:14
|
|
|
Re: DHCtrl for GTK backend - help needed
By: Klugier on Sun, 26 April 2015 12:59
|
|
|
Re: DHCtrl for GTK backend - help needed
By: mirek on Sun, 26 April 2015 14:01
|
|
|
Re: DHCtrl for GTK backend - help needed
By: Klugier on Sat, 02 May 2015 14:10
|
|
|
Re: DHCtrl for GTK backend - help needed
By: mdelfede on Mon, 27 August 2018 19:10
|
|
|
Re: DHCtrl for GTK backend - help needed
By: mdelfede on Tue, 28 August 2018 11:45
|
|
|
Re: DHCtrl for GTK backend - help needed
By: mdelfede on Tue, 28 August 2018 12:23
|
|
|
Re: DHCtrl for GTK backend - help needed
By: mirek on Fri, 07 September 2018 15:31
|
|
|
Re: DHCtrl for GTK backend - help needed
By: mdelfede on Tue, 11 September 2018 07:38
|
|
|
Re: DHCtrl for GTK backend - help needed
By: mirek on Wed, 12 September 2018 08:34
|
|
|
Re: DHCtrl for GTK backend - help needed
By: mdelfede on Wed, 12 September 2018 09:11
|
|
|
Re: DHCtrl for GTK backend - help needed
By: Zbych on Sun, 26 April 2015 19:56
|
|
|
Re: DHCtrl for GTK backend - help needed
By: Zbych on Fri, 01 May 2015 21:43
|
|
|
Re: DHCtrl for GTK backend - help needed
By: Zbych on Sat, 02 May 2015 13:36
|
Goto Forum:
Current Time: Thu Mar 28 22:17:26 CET 2024
Total time taken to generate the page: 0.01300 seconds
|