need a way to change list of gtk rc files to load after gtk_init has called



 Hi,
 
 It would be nice to have a way to be able to alter a list of rc files to load
AFTER gtk_init has called. Currently in both 1.2.x and 2.x branches it's
impossible to do so without patching GTK or without rewriting one of the rc
files in the list. Another solution to the problem (may be a nice to have
feature in general) is to initialize some gmodules (e.g. the ones having
"gtk_module_preinit" symbol) BEFORE parsing rc files.

 Having satisfied this requirement, nice things like these are trivially
implementable as gtk-modules without the need to patch gtk code:
* loading a random gtk theme (from the set of available) by a each app 
* loading a rcfile content from X resources (!) - some people who use
network transparency of X very extensively may find this very useful

 Also, what do you think about the ability for some gtk-modules (the ones that
ask for it by e.g. exporting symbol gtk_module_preinit) to be initialized
BEFORE initializing other parts of gtk and gdk? I think it would be handy to
do some low-level stuff (and controlling gdk and gtk routines by setting
global variables or environment variables).

 Best regards,
  -Vlad





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]