Motif/Xt: Trigger reconfiguration of a widget

2021-10-27 Thread Holger Sebert
Hi, I am working on Motif code, so please excuse if this mailing list is not the right place for asking my question, but since Motif is based on libXt, I thought I'll give it a try. -- I would like to add and remove CascadeButtons dynamically to and from a menubar (a.k.a RowColumn widget). For

Re: Motif/Xt: Trigger reconfiguration of a widget

2021-10-28 Thread Holger Sebert
On 10/28/21 09:09, Marc Balmer wrote: I am working on Motif code, so please excuse if this mailing list is not the right place for asking my question, but since Motif is based on libXt, I thought I'll give it a try. -- I would like to add and remove CascadeButtons dynamically to and from a menub

Motif/Xt: Dynamically resize the visible item count of an XmList

2021-12-02 Thread Holger Sebert
Hi, I have an XmList (actually a ScrolledList) inside a RowColumn widget. The visible item count of the list is configured at widget creation time. When the RowColumn widget is resized, I would like to adapt that visible item count to the new size of the parent widget. Is there an easy way to d

Re: Motif/Xt: Dynamically resize the visible item count of an XmList

2021-12-09 Thread Holger Sebert
I'm sure this is an oversimplification, but tell me what you think: Widget rc, list; rc = XtVaCreateManagedWidget ("rowcol", xmRowColumnWidgetClass,  toplevel,   XmNwidth, 200,   XmNheight, 200,   NULL); list = XtVaCreateManagedWidget ("list",         xmListWid

Re: Motif/Xt: Dynamically resize the visible item count of an XmList

2022-01-12 Thread Holger Sebert
On 12/16/21 00:22, Chris Sorenson wrote: Tried it out, but it not yield the desired result, unfortunately. The list widget gets resized but it does not update the visible item count property. I need to somehow catch the resize event and update it manually, but I don't find any suitable call

Re: Find a good config guide

2022-03-22 Thread Holger Sebert
On 3/21/22 20:09, Michael Needham wrote: Greetings: I have been using Linux for over 25 years and have used FreeBSD off and on in that time. As we speak I am running an Arch based distro and thinking of switching my daily driver to FBSD. My experience with X despite the years using UNIX or U

Re: Xmodmap reset on keyboard reconnect (issue)

2025-01-19 Thread Holger Sebert
On 1/18/25 01:21, Tyler Mayes wrote: I use a split keyboard (dacyl manuform) that utilizes qmk. One of the keys on the thumbcluster is set to "menu" or "app". I use xmodmap to map this to hyper for use in emacs, as well as enabling F13-F24. Everything works splendidly barring one small issue.