Re: FVWM: Writing a module?
Dov Grobgeld <[email protected]> Tue, 28 Nov 2023 09:29:46 +0200
| Newsgroups | gmane.comp.window-managers.fvwm |
|---|---|
| Message-ID | <CA++fsGEKrWL1HOGrwW-o-BNHbzO_E3KTNqp5nmD-3K8Rv29Xvg@mail.gmail.com> |
Thanks for the tip! I thought that if writing a module was easy, it would be an easy way to better blend in with my fvwm theme. So I'll probably write in (python) gtk, which was actually my original plan. Regards, On Mon, Nov 27, 2023 at 10:58=E2=80=AFPM Jaimos Skriletz <[email protected]> wrote: > > On Mon, Nov 27, 2023 at 1:48=E2=80=AFPM Dov Grobgeld <dov.grobgeld@gmail.= com> wrote: >> >> Hello, >> >> I would like some guidance on whether the following idea makes sense to = do as a fvwm module. >> >> My question is especially if it makes sense to write 4 as a fvwm module?= What's a good starting point? Also, once I have a written a module, how w= ould I send it messages to update the visually shown rectangle mapping? > > > I initially don't see anything that would require you to write this as a = fvwm module. You really aren't using information from fvwm at all (about wi= ndows, and their state and location). It will probably be far easier to ju= st write a stand alone app using some predefined toolkit (such as tk, gtk, = etc) to draw the rectangles for you. You could swallow this into FvwmButton= s if you wanted it to be part of a panel. > > For updates, you could set your app up to listen to a socket so you can j= ust send it updated info when you update the tablets mapping. > > If you really want to go the module route, you could start here. > > https://www.fvwm.org/Archive/ModuleInterface/ > > jaimos