( First of all, Florian, please try to reply on-list :) ) On Mon, Jul 16, 2012 at 2:45 PM, Yaa101 <yaa...@xs4all.nl> wrote: > > So what you say is that all the widgets from GKT+ itself are offlimit > for us gjs users?
Not all GTK+ widgets are off-limits. Just new top-level windows. And that's not for gjs users, that's only when running gnome-shell extensions, as they run in-process. > Shame, now I have to finish my selfmade filechooser, I started on that > after I tried the Gtk.fileChooser for the first time. You shouldn't have to. Why do you want to launch a Gtk.FileChooser from a gnome-shell extension? > I thought it was my coding that made the lockup, so I tried to create a > js filechooser, today I tried to revisit the attempt on Gtk.fileChooser > as I made a lot of progress last 2 weeks on gjs. > > Can you explain more about the following? > >> Note that there is >> support for extension preferences, which run in a separate process. Please see my blog post at: http://blog.mecheye.net/2012/02/more-extension-api-breaks/ Basically, you create a file called 'prefs.js', which inside of it has a function named 'buildPrefsWidget', which returns some form of GtkWidget. Some extensions already have preferences -- go to your Installed Extensions on the website. Do any extensions have a green preferences icon next to them? > I am asking all these (maybe obvious for you) questions because I have > no prior background with GKT+, so besides learning gnome-shell I have > to learn also the core GTK+ stuff. > > > -- > (o_ > //\ Regards, Groeten, > V_/_ Bas Burger. > > > On Mon, 16 Jul 2012 18:50:42 +0200 > Florian Müllner <fmuell...@gnome.org> wrote: > >> On Jul 16, 2012 6:39 PM, "Yaa101" <yaa...@xs4all.nl> wrote: >> > I am trying to call a filechooser, run it, then get the filename >> > from it. >> >> You can only open override-redirect windows from the window manager >> itself, which means you cannot use most of GTK+. Note that there is >> support for extension preferences, which run in a separate process. >> >> Florian > > _______________________________________________ > gnome-shell-list mailing list > gnome-shell-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gnome-shell-list -- Jasper _______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list