Shiny Language Reference

Language Reference > Panel Functions


Panel Functions

These statements operate on the plugin display panel

 

getpanelwidth - Returns the width in pixels of the display panel

getpanelheight - Returns the height in pixels of the display panel

getpanelxpos - Returns the X position on-screen of the display panel

getpanelypos - Returns the Y position on-screen of the display panel

getpanelbgcol - Returns the RGB colour of the panel background

getpanelbgtransp - Returns whether the panel has a transparent background

getpaneltransp - Returns whether the entire panel is transparent (translucency)

getpaneltranspfactor - Returns the amount of blending used for the panel

getpanelbgbitmap - Returns whether the panel has a background bitmap

getpanelbgbitmapfile - Returns the filename of the background bitmap

getpanelbgbitmapstf - Returns whether the background bitmap is scaled to fit

setpanelbgcol - Sets the RGB colour of the panel background

setpanelbgtransp - Sets whether the panel has a transparent background

setpaneltransp - Sets whether the entire panel is transparent (translucency)

setpaneltranspfactor - Sets the amount of blending used for the panel

setpanelbgbitmap - Sets whether the panel has a background bitmap

setpanelbgbitmapfile - Sets the filename of the background bitmap

setpanelbgbitmapstf - Sets whether the background bitmap is scaled to fit

setpanelsize - Sets the dimensions of the display panel

setpanelpos - Sets the position of the display panel

setpaneltop - Pops the panel to the front

setpaneltopmost - Sticks the panel on top of all other applications

setpanelbottom - Sticks the panel on the desktop

setpanelallowresize - Controls whether the resize options for a panel are enabled

getpanelallowresize - Returns the state of the resize options

setpanelallowdrag - Controls whether the drag options for a panel are enabled

getpanelallowdrag - Returns the state of the drag options

setpanelboundscheck - Controls whether Brass should validate the size and position of the panel

showpanel - Shows or hides the display panel

ispanelvisible - Returns whether the display panel is currently hidden or visible