It is possible to change the DirectDialog image background?
I read the python code and tried passing a textured nodepath to the “image” param, it worked but the image is not resized according to the size of the dialog and also this image stay on front of the dialog text.
As for the question in your title, the buttons are DirectButton, in fact. You can access and modify the individual DirectButton components via
Regarding the question in your post itself, you might try applying your image to the “frameTexture” keyword-parameter instead of the “image” one–the result should be your image stretched across the frame of the DirectDialog. Note, however, that if you do this you may also want to set the DirectDialog’s “frameColor” keyword-parameter to (1, 1, 1, 1)–that is, pure white. If you don’t, you may find your image dimmed as a result of the default colour being grey.