~strahinja/wmgen

WINGs project skeleton + generator

clone

read-only
https://git.sr.ht/~strahinja/wmgen
read/write
git@git.sr.ht:~strahinja/wmgen

You can also use your local clone with git send-email.

wmgen
=====

wmgen is a starting project skeleton + generator for applications using the
Window Maker WINGs library[1].

[1]: https://www.windowmaker.org/docs/wings.html


Usage
-----

Either

1. run ./wmgen and answer questions,

or

2. copy files to a new directory yourself and edit them.


Known Bugs
----------

- WINGs bug: when "Shared application icon" is selected for an application
  generated with wmgen, one of the two things happen, depending on whether
  WMMapSubwidgets and WMMapWidget for the main window is called before (A) or
  after (B) creating the main menu:

  A) Every instance of that application will generate a "phantom copy" of the
     application menu, which persists after closing the application, can't be
     closed with xkill, apparently isn't associated with any process, and for
     which xprop doesn't detect any properties. Interestingly, when the main
     application is closed, and relaunched, the extra copies of menus work in
     the new instance.

  B) The menu is not shown at all. This is the same behavior/known bug as in
     FSViewer.

  I chose to follow option (B), same behavior as in FSViewer. I believe that
  having no menu at all, and behaving consistently with known application is
  better than having leftover uncloseable copies of menus around.


License
-------

wmgen - WINGs application skeleton + generator
Copyright (C) 2023-2024  Страхиња Радић

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program.  If not, see <https://www.gnu.org/licenses/>.