X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c26d9ab4b56d8c2d2579229509ca978a877fe8a9..06336f51bb5120c9ac23d66c6acd79ec7428f15f:/wxPython/src/gtk/_controls.py diff --git a/wxPython/src/gtk/_controls.py b/wxPython/src/gtk/_controls.py index b701cf8b27..1434294357 100644 --- a/wxPython/src/gtk/_controls.py +++ b/wxPython/src/gtk/_controls.py @@ -240,6 +240,14 @@ class BitmapButton(Button): """ return _controls_.BitmapButton_GetBitmapSelected(*args, **kwargs) + def GetBitmapHover(*args, **kwargs): + """ + GetBitmapHover(self) -> Bitmap + + Returns the bitmap used when the mouse is over the button, may be invalid. + """ + return _controls_.BitmapButton_GetBitmapHover(*args, **kwargs) + def SetBitmapDisabled(*args, **kwargs): """ SetBitmapDisabled(self, Bitmap bitmap) @@ -273,6 +281,16 @@ class BitmapButton(Button): """ return _controls_.BitmapButton_SetBitmapLabel(*args, **kwargs) + def SetBitmapHover(*args, **kwargs): + """ + SetBitmapHover(self, Bitmap hover) + + Sets the bitmap to be shown when the mouse is over the button. This function + is new since wxWidgets version 2.7.0 and the hover bitmap is currently only + supported in wxMSW. + """ + return _controls_.BitmapButton_SetBitmapHover(*args, **kwargs) + def SetMargins(*args, **kwargs): """SetMargins(self, int x, int y)""" return _controls_.BitmapButton_SetMargins(*args, **kwargs)