gtk_dialog_cauldron - create complex dialogs REALLY FAST!
- From: Paul Sheer <psheer obsidian co za>
- To: gnome-list gnome org
- Subject: gtk_dialog_cauldron - create complex dialogs REALLY FAST!
- Date: Mon, 23 Nov 1998 17:43:52 +0200 (SAST)
I don't know if this has been announced or who is using it:
gtk_dialog_cauldron() is a part of the lignomeui library. It is a function
in the vein of printf for creating complex dialog boxes with a single C
function call.
gtk_dialog_cauldron takes an format string with percent-format-specifiers
to describe different widgets. The format string is an intuative
representation of the dialog.
See gnome-libs/devel-docs/gtk_dialog_cauldron.3 for an exhaustive
description.
Some of the things you can do are:
- complex options notebooks
- search/replace dialogs
- scrollable nested window frames
- automatic underbar accelerators
gtk_dialog_cauldron also has a python wrapper that comes with the Pygnome
package. This makes for extremely fast User Interface development under
Python.
Here is an example of a search replace dialog in C:
x = gtk_dialog_cauldron ("Search", 0,
" ( %Ld | %Eod ) / %[ ( %Cd // %Cd // %Cd ) ]seo / ( %Bqrxfp || %Bqxfp ) ",
/* %L */ "Enter search string:",
/* %E */ &search_string,
/* %[ */ "Search options",
/* %C */ "Case sensitive", &case_sensitive,
/* %C */ "Whole words only", &whole_word,
/* %C */ "Regular expression", ®ular_expression,
/* %B */ "Ok",
/* %B */ "Cancel");
-paul
Obsidian Systems . . . . Linux installations, support, networking
info@obsidian.co.za . . . . . . . . . . . . Tel (+27 11) 792 6500
http://www.obsidian.co.za . . . . . . . . Fax (+27 11) 792 6522
__ __ __ __ __ __ __ __
/ / / // |/ // / / / \ \/ /
/ /_ / // /| // /_/ / \ /
/___//_//_/ |_/ \____/ / \
/_/\_\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]