Style.PaintOption (gb.qt4)

Static Sub PaintOption ( X As Integer, Y As Integer, Width As Integer, Height As Integer, Value As Boolean [ , Flag As Integer ] )

Draws an option button.

  • X, Y, Width, and Height are the dimensions of the option button.

  • Value indicates if the option button is set or not.

  • Flag is a combination of style drawing flags.

Note:

Different toolkits behave differently with this function.

As a general example if you supply width and height size as 32x32px QT5 will paint an option image 32x32px in size but GTK3 will only paint an image of 16x16px inside a 32x32 frame regardless of what size you request.

To get a truly different size Option image with gtk3 you must paint the 16x16 Option and then stretch the image.