On Wed, Sep 08, 1999 at 08:55:32PM -0700, David M. Cook wrote:
> http://developer.gnome.org/doc/API/libgnomeui/gnomeui-gtkcauldron.html
Aha. The examples on that page are missing the % signs.
from gtk import *
from gnome.ui import *
def button_cb(*args):
x = dialog_cauldron ("Search", 0,
" ( %Ld | %Eod ) / %[ ( %Cd // %Cd // %Cd ) ]seo / ( %Bqrxfp || %Bqxfp ) ",
"Enter search string:",
"",
"Search options",
"Case sensitive", 0,
"Whole words only", 0,
"Regular expression", 0,
"Ok",
"Cancel")
print x
win = GtkWindow()
win.connect("delete-event", mainquit)
button = GtkButton("Click for dialog")
button.connect("clicked", button_cb)
win.add(button)
win.show_all()
mainloop()
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]