Sunday, May 5, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2536  / 1 Year ago, tue, november 22, 2022, 10:24:50

I'm trying to make some notes of Code::Blocks with wxWidgets. I have a wxChoice box on the screen. With the list collapsed (i.e., unexpanded) I can get a screenshot of the form.



However, with it expanded (i.e., when I click on the choice box and the list is seen) the screenshot does not work. I tried ALT+PrintScreen as well as just PrintScreen alone. Nothing works.



Is this a restriction or is there a way around this?



My platform: Ubuntu 12.04, Code::Blocks 10.05



Thanks!



Here's the screenshot without the Choices expanded (the form is totally meaningless - it's only for proof of concept).



enter image description here


More From » desktop-environments

 Answers
3

You need to time it because the keyboard focus is (at that moment) fixated on the menu, so it does not recognize you when you press the Screenshot button (For me this needs fixing. Not very intuitive.).



For this cases I don't go far, I use the screenshot utility that comes by default with Ubuntu. Simply open it and:



enter image description here



Set the option that says Grab after a delay of to how many seconds you need to open the options menu you are building. The end result will be similar to any sub-menu, something like this:



enter image description here


[#31091] Thursday, November 24, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cupwire

Total Points: 365
Total Questions: 126
Total Answers: 125

Location: Malaysia
Member since Thu, Feb 16, 2023
1 Year ago
cupwire questions
;