|
Post by barryk on Apr 11, 2011 0:43:26 GMT 1
mave, What do you mean by "Wary5(q)" -- do you mean shinobar's Quickset edition of Wary? I have compiled in the standard Wary and Quirky without any problem.
Peter, The C program demo.c works correctly. The window displays without decorations. I tested again, compiled my HUG demo and decorations still display.
...I wonder, I am running Quirky Puppy, which has GTK 2.16.6 -- would HUG be generating anything that needs 2.18 or later?
I tested HUG 0.41 and updated hug_imports.bac -- it works with shared library!!!
Regards, Barry
|
|
|
Post by barryk on Apr 11, 2011 1:15:50 GMT 1
Ok, I have got the window to display without decorations. I examined Vovchik's code and found that he had done it slightly differently. I have added two lines:
INCLUDE "hug_imports.bac" INIT
HUGOPTIONS("WIDGET_SHOW 0")
mainwin = WINDOW("", 425, 285)
PROPERTY(mainwin,"skip-taskbar-hint",TRUE) PROPERTY(mainwin,"decorated",FALSE)
SHOW(mainwin)
DISPLAY
So, in the case of decorations, the window has to be shown after the property is set to FALSE.
Regards, Barry
|
|
|
Post by Pjot on Apr 11, 2011 2:24:29 GMT 1
No.
Weird? In case of Ubuntu this is not needed. Anyway, good that this works for you now.
Regards Peter
|
|
mave
New Member
Posts: 5
|
Post by mave on Apr 11, 2011 12:08:42 GMT 1
@barry: Yes, I mean shinobars Wary 511q (using the devx_511.sfs of Wary). But I'm running your Xorg 7.3 to 7.5 update (including DEV-pet) because without it on my Thinkpad T60 graphics is to slow...
Maybe because of this, some gtk files are missing?
mave
|
|