From: <al...@be...> - 2018-09-04 15:48:24
|
<div>No, HB_GT_CGI_DEFAULT is a correct one.</div><div> </div><div>GTK internally differs much from Winapi. In some cases it is more convenient in use, in some - less.</div><div>The problem here is that not every object in GTK is drawable. The containers, for example, (tab is a container) are not drawable, it is not possible to paint on them. I could add a drawable layer internally on every tab page, but this may cause some other undesirable effects.</div><div> </div><div>Possible workaround is to put a PANEL to every page and place your GET's and other widgets on it. You can set the background color for a PANEL, so you may have even multicolored tab).</div><div> </div><div>Regards, Alexander.</div><div> </div><div> </div><div>04.09.2018, 16:47, "Itamar M. Lins Jr. Lins" <ita...@gm...>:</div><blockquote type="cite"><div><div>Hi!</div><div>I am looking the cause of htab class not paint background. And found this line in gtk/hwindow.prg</div><div> </div><div>ANNOUNCE HB_GTSYS<br />REQUEST HB_GT_CGI_DEFAULT //<- Here not is small typo HB_GT_CGI ?</div><div>REQUEST HB_GT_GUI_DEFAULT ?</div><div>And if I use:</div><div>... TAB oTab ... On Pain {|| hwg_msginfo("Hello!") } not show Hello.</div><div> </div><div>On Windows OS screen flicker and show Hello :-)</div><div>But how to correct method for use of On Paint {||} ?</div><div> </div><div>Best regards,</div><div>Itamar M. Lins Jr.</div><div> </div></div>,<p>------------------------------------------------------------------------------<br />Check out the vibrant tech community on one of the world's most<br />engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot">http://sdm.link/slashdot</a></p>,<p>_______________________________________________<br />Hwgui-developers mailing list<br /><a href="mailto:Hwg...@li...">Hwg...@li...</a><br /><a href="https://lists.sourceforge.net/lists/listinfo/hwgui-developers">https://lists.sourceforge.net/lists/listinfo/hwgui-developers</a></p></blockquote> |