[Cuis-dev] Theme customization ... browser buttons

Bernhard Pieber bernhard at pieber.com
Sat Mar 18 09:11:45 PDT 2023


And because it sounded like fun I created a first. File it in and you can debug any PluggableButtonMorph action when you click it with the Shift key pressed.

Things to do:
- Do the same for the secondary action button.
- Do the same for menu item selection.
- Add a new prefProgramming preference.



> Am 18.03.2023 um 16:33 schrieb Bernhard Pieber via Cuis-dev <cuis-dev at lists.cuis.st>:
>
> Hi everyone,
>
> Here is how I would do it:
> 1. Choose the button label that seems to be used least often, e.g. 'class vars‘
> 2. Type the label in a text pane.
> 3. Highlight the text and press Ctrl-Shift-E.
> 4. You get a browser for all Methods with string 'class vars', which in this case is CodeWindow>>#optionalButtons.
>
> It does not always work but when it does it is a fast way to find the right place.
>
> In my previous life as a professional Smalltalk programmer we had customised our Smalltalk environment during development so that it opened a debugger when we held the Shift key pressed when clicking on a button. I remember that was very convenient.
>
> Cheers,
> Bernhard
>
>
>> Am 18.03.2023 um 01:55 schrieb Alexandre Rousseau via Cuis-dev <cuis-dev at lists.cuis.st>:
>>
>> I need to pick someone's brains.
>>
>> I'm trying to find the code (for purposes of theming) used to build this row of browser buttons (see attached).
>>
>> I doubt that clicking on every selector and reading its code in the hope of landing on the answer -- as I have done -- is the most efficient way.
>>
>> If you wanted to find the code that built this row of buttons, what tool(s) or actions would you take?
>>
>> <Screenshot 2023-03-17 at 8.49.11 PM.png>
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5706-CuisCore-BernhardPieber-2023Mar18-16h18m-bp.001.cs.st
Type: application/octet-stream
Size: 640 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230318/ad4ec3a4/attachment.obj>


More information about the Cuis-dev mailing list