HI
My fvwm module for configuring fvwm is getting along well, and
I decided to add a gtk dialox box for browsing a color-schemes
directory. After an evening of programming, (and missing wagner's
'parsifal' in cologne, which I wanted to visit, but forgot), I
got a dialog box working to select a color scheme. Unfortunately,
when acually calling the function to update the colors, this turned
out not to work anymore.
Initially, in the program (without gtk box) i used the definition:
$module = new FVWM::Module(
Mask => (M_STRING|M_NEW_DESK),
SyncMask => M_STRING, # needed to process message
synchronously
Name => "FvwmCDEmu", # needed for *MyMenuCreator: config value
);
in this program, communication between fvwm and the module worked fine,
(using module->sendText() in the handler for M_STRING.
the colors updated as they should. To add a gtk dialog box, I replaced
this definition by the following:
my $module = new FVWM::Module::Gtk(
Mask => M_WINDOW_NAME | M_ERROR | M_STRING | M_NEW_DESK,
SyncMask => M_STRING, # needed to process message
synchronously
Name => "FvwmCDEmu",
);
now, the dialogbox appeared as it should, but communication doesn't seem
to work anymore. Should it in principle be possible to use such a
declaration for a gtk module?
best regards
jos
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat May 25 2002 - 18:24:49 BST