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?
Related
Usually you can click on an UI element (which is placed inside the canvas) in editor mode and the clicked element highlighted in the project hierarchy and you can see its properties in inspector. And it works this way if I create a new project.
But in my current project I can't click on any elemnt in canvas in editor mode because it's not responsive.
For example I have a button, I can click on it in Play mode, but it's not responsive in Editor mode. I mean if I click on it in editor mode nothing occurs (there is no highlighted object appears in hierarchy and I need to searching for this button in hierarchy by myself to open its properties in inspector)
This is incredibly annoying me.
Here is my button inside the canvas
Here is the button settings
Here is the canvas settings
Here is the event system settings:
Gizmos option need to be active
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.
Is there a setting to change the click behavior in the scrollbar to page up/down instead of jumping to the location in the file? This is the usual scrollbar behavior in almost every other applications except maybe unix applications.
A suggestion could be:
Left click: page up/down
Right click: jump to location
There is a setting for this now:
Editor: Scroll by Page
Controls whether clicks scrolls by page or
jumps to click position.
With that setting enabled, the editor will scroll by one viewport page when clicking anywhere above or below the scrollThumb. With it not enabled (the default) it will scroll to the position in the scroll track where you clicked.
This behavior does not currently exist. I suggest opening a feature request on github.
If, like me, you've been brought to this page despite putting "Visual Studio" into your web search, you can modify this behaviour in the full blown Visual Studio as follows:
Tools > Options > Text Editor > All Languages > Scroll Bars
Under "Behavior", toggle between bar mode and map mode
More information can be found by reading the Microsoft Docs for this feature.
I'm using the Kepler CDT release (4.3.1) of Eclipse. When I click on anything in the Outline view, the corresponding editor view is reduced to showing just that item. If I click on a variable, I get a single line with just that variable. The Edit->Expand Selection options are all dimmed out. Hitting Shift-Alt-Up Arrow just moves me up to the previous item in the outline view. If I change editor tabs and come back then the Expand Selection options enable and I can manually hit Shift-Alt-Up Arrow a number of times to make the entire file visible again but clicking on anything in the outline view again will just reduce the view. Is there some new setting in Kepler that will make outline stop doing this?
Turns out the feature for Show Source of Selected Element Only was turned on. In Kepler the toolbar button for this is not visible. Even searching under quick access doesn't turn it up so it's somewhat of a puzzle how it could have been turned on. I actually thought maybe it had been removed from Kepler.
In the Customize Perspective dialog under the Tool Bar Visibility tab. In the Tool Bar Structure section I opened the area for Editor Presentation. I noticed there was actually a check next to the box for Show Source of Selected Element Only. However, it wasn't visible in the toolbar (a bug I've seen before in Eclipse) so I unchecked it and checked it. Then I exited the dialog. Now the button showed up on the toolbar. I then toggled the feature on and then off. Now clicking in the outline view works correctly.just moves to the correct spot.
Im using WindowBuilder tool to build a GUI for my application and I see that some widgets or tools don't get included in the Design view. In my case, I have created a new SWT Application window and I try to add DropDown Menu in the Application window and I always get a red icon when I take the DropDown menu from the palette to the design area. Can anyone tell me what is the problem in this case?
I found the mistake I was doing...It is not possible to directly add a DropDown Menu in the design editor. You first have to add a Menu and then add a DropDown Menu. And the widgets do work in all forms of applications you want to develop.