PDA

View Full Version : Images in header



freez
28 Aug 2008, 2:12 AM
Hi,

I want to add some image buttons on the header of a window.
I used tools[{...}] for that. but there are only some default buttons, like refresh, restore, gear etc. How can i add my own images in this place?

my code is..

win = desktop.createWindow({
id: id,
url:url,
title: name,
width: size[1],
height: size[0],
x: startX,
y: startY,
iconCls: 'bogus',

shim: false,
animCollapse: false,
border: false,
bodyBorder: false,

constrainHeader: true,
autoScroll: false,
showLoading: true,
layout: 'fit',
tools:[{
id:'refresh',...........// here i want my own image
qtip: 'Refresh form Data',
hidden:true,
handler: function(){alert('asdf');
refresh logic
}
}



How can i implement this???
any alternate way other than tools????

gslender
28 Aug 2008, 4:27 AM
wrong forum - this is for a Java GWT version called ExtGWT

freez
28 Aug 2008, 8:09 PM
Oh Sorry