All Questions
10
questions
1
vote
0
answers
27
views
Keyboard Events/shortcuts in UIList?
I noticed that when the cursor is hovering a UIList and you press the keyboard arrows, it changes the index:
I was wondering if we are able to modify or extend that behaviour. So, for example, if we ...
0
votes
1
answer
59
views
Show keymap on button in N-panel
I want to add an operator label that will show the keymap for the given operator.
How can this be done if operator is in N-panel?
If operator is added to the Object menu, then the keymap will be ...
0
votes
1
answer
137
views
Change the resolution scale on the fly by shortcuts?
ctrl + alt + Q and ctrl + space
are great Shotcuts!
When I maximize the Outliner for example I would prefer a 2.0 or 1.5 resolution scale. Or ingeneral when I maximize a window a changed ...
0
votes
2
answers
43
views
Is There A Customizable User-Defined Button Tray?
Does Blender have a built in tool, or is there an addon (or addon/ui designer) that would allow me to have a button tray with user-defined buttons?
Basically I would like to have a tray with specific ...
3
votes
2
answers
95
views
Invoke event differentiate between UI and hotkey
I have a custom panel in which I have buttons that can use modifier keys, IE Clicking, Ctrl+Clicking, Alt+Clicking etc all do slightly different things and it works as expected.
I want to hotkey the ...
2
votes
1
answer
556
views
How can I get the name of the currently active keymap?
I want to retrieve the name of the currently active keymap. How do I get it? bpy.types.keymap.name errors out. But the attribute 'name' is available in the API:
...
1
vote
0
answers
31
views
Different operations if operator is pressed with "Ctrl", "Alt" or "Shift" within the UI? [duplicate]
I saw multiple add-ons that are using alternative operator action when pressing Shift, Alt or Ctrl within the operator interface (I think it's only one of the 3).
I created an operator and draw it in ...
0
votes
1
answer
214
views
Custom Toggle Shortcut (for an operation that doesn't normally toggle)?
I'd like to set up a keyboard shortcut that in Object Mode will apply Smooth Shading to a mesh object, or alternately apply Flat Shading if all faces are already smooth.
This would ideally behave ...
2
votes
2
answers
2k
views
Add toggle hotkey to custom checkbox
I have a self made checkbox in a script. Now I want to create a hotkey in the Input manager to toggle it.
What I have done so far is to create a keymap item with ...
2
votes
1
answer
233
views
How to retreive the hotkey of a function/tool?
I want to print the hotkeys for some tools in the console. How can I retreive the hotkey for let's say the circle select tool, or the hotkey for rotating the viewport with python?
Note that I do not ...