I updated gtkdialog with jamesbond's ARM patch and then continued implementing as much as I could from the issues list, so now you've got loads of new toys to play with.
This is what I've added recently up to revision 348:
- Applied jamesbond's fix for the incorrectly ordered widgets on the Raspberry Pi (ARM).
- radiobutton: added support for <input>, <input file>, <output file>, refresh, save and clear.
- checkbox: added support for <input file>, <output file> and save.
- Added a check when launch-ing that the window contains the required matching variable directive with a warning being displayed if missing.
- Added examples/miscellaneous/launch_and_closewindow.
- timer: added support for <input>, <input file> and refresh (you're inputting the timer's active state).
- window: added support for <input>, <input file>, <output file>, refresh, save and clear ("title" is the item of data that is being manipulated).
- window: added the "image-name" custom tag attribute to set the title bar icon from a full path and filename.
- Added support for the envvar GTKDIALOG_PIXMAP_PATH: gtkdialog will search this colon seperated list of directories when loading an image file that was found to be missing (see examples/miscellaneous/show_and_hide at file bottom).
- Added KEY_VAL, KEY_SYM (both are listed in gdk/gdkkeysyms.h), KEY_UNI (the Unicode character if applicable), KEY_MOD (GdkModifierType) and KEY_RAW (hardware) envvars on key_press_event and key_release_event (see following example).
- Added PTR_X and PTR_Y (widget relative), PTR_MOD (GdkModifierType), PTR_BTN (equivalent to the existing BUTTON), PTR_X_ROOT and PTR_Y_ROOT (screen relative) envvars on button_press_event and button_release_event (see following example).
- Added examples/miscellaneous/press_and_release_events.
- Added show and hide action functions (see following example) and added support for them to the existing widgets.
- Added examples/miscellaneous/show_and_hide.
- frame: added support for <input>, <input file>, <output file>, enable, disable, show, hide, refresh, save and clear.
- hbox: added support for a few directives and enable, disable, show and hide.
- vbox: added support for a few directives and enable, disable, show and hide.
- menubar: added support for tag attributes, a few directives and enable, disable, show and hide.
- Fixed a bug that caused applications that included a menu to fail to close via the window manager (title bar) and in fact closewindow too (this is the bug that was dealt with using <action signal="hide">exit:Exit</action> on the window widget), so now it's recommended to remove that fix because if you decide to hide the window then you will close it.
- Fixed a bug that caused a parser error when using multiple launched windows: the envvar that contained the program was being overwritten.
Best regards,
Thunor