CUSTOMGUI_BUTTON



  • On 11/12/2014 at 04:16, xxxxxxxx wrote:

    For the creating of a "BITMAPBUTTON" there is a option to change the backcolor of the button " BITMAPBUTTON_BACKCOLOR"
    _
    _
    But I can't find anything for the " _CUSTOMGUI_BUTTON"  _
    Is there anyway to change the backcolor or maybe the text color of this button in Python????



  • On 11/12/2014 at 05:36, xxxxxxxx wrote:

    Hello,

    a button created by setting CUSTOMGUI_BUTTON or calling AddButton() directly has no further options. It will always use the COLOR_TEXT_BUTTON color defined in the "Interface Colors" to draw the text and COLOR_BG to draw the background.

    best wishes,
    Sebastian



  • On 12/12/2014 at 08:40, xxxxxxxx wrote:

    Thanks, its a pity, because I wanted to press the button(CUSTOMGUI_BUTTON)
    and after it runs the code to return to its false value, but then show a diff backcolor to show that it was the last button pushed.


Log in to reply