Remove shadow from XFCE panel - gtk

I am new in GTK theming. Now I am trying to create theme GTK for XFCE. Everything is OK but how to remove this ugly shadow under the panel?

I don't think that shadow can be removed via a gtk theme, it is drawn by the compositor. If you are using xfwm4, to disable it open Window Manager Tweaks, go to the Compositor tab and uncheck the "Show shadows under dock windows" option.
Running xprop | grep TYPE and pointing to panel, one can learn that its type is _NET_WM_WINDOW_TYPE_DOCK and according to f.do specs:
_NET_WM_WINDOW_TYPE_DOCK indicates a dock or panel feature. Typically a Window Manager would keep such windows on top of all other windows.

Related

How to embed a dialog in a menu

I am recreating the project hamster extension from gnome as a xfce4 panel plugin.
The Gtk+2 recreation is realized as a menu and all the required widgets can be embedded in a vbox since the menu itself is a GtkBin:
However I have no idea on how to disable the usual menu behaviour with highlighting (blue in image), focus stealing and enabling input to the text entry box or receive clicks of the tree-view.
Any ideas?

Eclipse Editor: Remove white icons (mouse wheel and arrows)

I just installed the current eclipse application and noticed two strange things in the Editor.
When I move to the scrollbar of the Editor it shows me a mouse wheel icon.
On the bottom right it shows me 2 arrow icons.
How do I disable those?
This is not added by Eclipse. Likely a feature of your mouse driver. Look for relevant settings in the mouse control panel.

Eclipse Dialogs Have No Title Bar and Can't Be Moved in Gnome 3

I just installed Eclipse from the Android website and the dialogs have no title bar and seem to be docked at the top of the Eclipse main window. I can't find a way to move them or get the titlebar back. I'm using Gnome 3 as desktop/window manager.
For example, if I choose Search | File... from the main menu, it comes up, but without titlebar. If I press Alt+F7, I can move the entire window, but the dialog will not move relative to the window.
How do I fix this?
Thx.
You are missing an important information, your operating system and desktop environment. Let me guess? Linux/Gnome? Or Cinnamon?
Gnome has the, erm, great feature to attach modal dialogs at the main window.
You can install dconf-editor and set the key org/gnome/shell/overrides/attach-modal-dialogs to false.
In Cinnamon you can easily disable this feature in the System Settings > Windows > Attach dialog windows (may not be the actual text as I translated it from my locale). You need to switch the settings to Expert mode to see the Windows entry.

Is there a way to make the NetBeans output pane not go transparent?

Is there a way to make the NetBeans output pane not go transparent? I put the output pane on a separate monitor, but when it loses focus it goes transparent, and I cannot read it. I've looked for a configuration setting, but I haven't had any luck finding it. Is there a setting for this? How can I keep it from becoming transparent?
On Netbeans 7.2, Try clicking Tools -> Options -> Miscellaneous Tab -> Windows sub-tab, then unchecking the
Transparent floating windows box.
In netbeans 8.0:
Options
Appearance
Windows
Untick Transparent floating windows

How to add a menu to the window's titlebar

| menu |<=titlebar
the layout is above ,how can i put the menu in the middle of the titlebar of the gtkwindow?
you will have to disable standard titlebar, and paint one youself.
also, it depends on the OS. when running in mswindows you can make custom titlebar which uses current style (this has nothing to do with GTK).
under X11 you can't normally "extend" titlebar drawing, because it's done by WM in another process.