setAliasTexParameters for Button Widget

For sprites I can do it like; sprite->getTexture()->setAliasTexParameters();

But I can’t find the function that returns the Texture of the Button.