nupul
5th May 2006, 06:31
-I have put a pixmap on a button and have set it to be flat - setFlat(true);
The flat button seems "transparent" on the widget background, but when you press it it sinks in and the entire rectangular background is visible for the time duration of the click. I wish to disable this .i.e it should appear that only the button Icon has sunk in. How can I do this?
I tried setting the setAutoFillBackground(false) but it didn't help.
-when i see my application in Window Maker window manager, the buttons when selected get a frame drawn around them....can i do something about this?
-How do i set the default properties for all the buttons that i create in the class?
Thanks.
Nupul
The flat button seems "transparent" on the widget background, but when you press it it sinks in and the entire rectangular background is visible for the time duration of the click. I wish to disable this .i.e it should appear that only the button Icon has sunk in. How can I do this?
I tried setting the setAutoFillBackground(false) but it didn't help.
-when i see my application in Window Maker window manager, the buttons when selected get a frame drawn around them....can i do something about this?
-How do i set the default properties for all the buttons that i create in the class?
Thanks.
Nupul