On Wed, 2008-06-04 at 15:17 +0400, Alexandre Prokoudine wrote:
Which anyway leaves a question: are standard GTK+ dialogs (open file, pick color, choose font etc.) available from extensions?
Well, let me answer that in a couple ways:
-- Yes, the preferences from for all extensions only require returning a GTK Widget. That widget can be constructed anyway that the author deems fit.
-- There is currently no parameter type for "filename". If there was a parameter type for it, it's widget could be a file chooser. I'm a touch uncomfortable with this though, as it seems like in general, if you're dealing with files it should either be an input/output/import type of thing. I realized that we need a way to do multiple files (for things like the "Save As Webpage"), but that's not the case here. What it comes down to for me is: "Yes, it could be easily added, but *should* it be?" I don't see the usecase for it.
--Ted