Wiki source for gtkdialogDocTips9.11


Show raw source

[[HomePage]] > [[SoftwareIndex|Software Index]] > [[SoftwareDevelopment|Development]] > [[gtkdialog|gtkdialog]] > [[gtkdialogDocTips|Tips and Tricks]]

====9.11 Override window manager====
- skip taskbar, sticky, layer, border

**Window on top**
%%(language-ref)
echo -n '<window type-hint="6" window-position="1">
<vbox>
<edit justification="2" cursor-visible="false">
<default>"
This window stays on top
Has no window decoration
Can not be resized
Can not be moved
"</default>
</edit>
<button></button>
</vbox>
</window>'|gtkdialog -s
%%

**JWM - specific**
This is how to override default settings in your JWM configuration.

Your gtkdialog gui must be called with the ##--class parameter##
##gtkdialog --class=APPLET -f myfile##

Then this code must be in your jwm configuration file - ##$HOME/.jwmrc## (to be set permanently, it must be added to ##/etc/xdg/templates/_root_.jwmrc##)
%%(language-ref)
<Group>
<Class>APPLET</Class>
<Option>nolist</Option>
<Option>sticky</Option>
<Option>noborder</Option>
<Option>layer:above</Option>
%%
- ##nolist## does avoid your app showing up in the taskbar.
- ##sticky## shows your app on all desktops.
- ##noborder## is equal to the gtkdialog attribute ##<window decorated="false">##.
- ##layer:n## defines if other windows should cover your app, or if it should be on top. below, normal or above.

===@@**#%[[gtkdialogDocTips9.10|❰❰❰ Previous]]#% #%[[gtkdialogDocTips|Index]]#% #%[[gtkdialogDocTips9.12|Next ❱❱❱]]#%**@@===
----
==Categories==
CategoryGtkdialog
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki