Re: Setting focus to newly shown window

2016-01-20 Thread Marius Gedminas
s. If the window was already visible, and you just want to bring it to front, try info_window.present(). The window manager (i.e. gnome-shell) may feel free to ignore your request, on the grounds of focus stealing prevention -- in that case you'll get a notification about the window wanting atte

Re: Help with modal dialog

2016-04-20 Thread Marius Gedminas
How are you displaying that dialog? Your code snipped doesn't include that part. Make sure you don't use gtk_dialog_run(). Use gtk_widget_show() or gtk_widget_show_all() (whichever is appropriate) and return to the main loop. Marius Gedminas -- We have an advanced scalable groupwa

Size allocation warnings

2016-09-22 Thread Marius Gedminas
ompile the gsettings schema ./gtimelog Regards, Marius Gedminas -- But it makes the Linux kernel a bit like a bookstore that started with Greek, Korean, and Japanese, and was happily organizing their books by character set, and then added a section for the Latin character set, only to find that people

Re: Using Gtk.Builder to create a menubar.

2018-04-27 Thread Marius Gedminas
action in the XML and the code is different. Why? What > is the system behind it? "bar" is the name of the action. "win" describes the action's scope. Check out the "Action scopes" section in https://developer.gnome.org/GAction/ and a brief discussion on "quit&q

Re: GtkRevealer glitches the text view drawing

2018-05-04 Thread Marius Gedminas
he energy to report it today, especially since I don't have a reliable procedure of reproducing it.) Marius Gedminas -- Lutetium is the heaviest and hardest of the rare earth metals, and is used in the production of umlauts and other fraktur font features. -- Charles Stross

Re: Need help in GTK3 Draw event

2018-04-30 Thread Marius Gedminas
ojects/GtkSourceView Marius Gedminas -- I noticed that Open Source proponents using MacOS X have developed highly tuned excuses, similar to those that smokers have about why cigarettes are good for you. -- Miguel de Icaza, http://primates.ximian.com/~miguel/archive/2004/Aug-0

Re: Async Callbacks w/Python 3 + Gtk3

2018-12-18 Thread Marius Gedminas
f both threads and using Goo.File.load_contents_async() to download a file over HTTP asyncronously. HTH, Marius Gedminas -- PCMCIA - People Can't Memorize Computer Industry Acronyms ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Searching for text in PDF files is wrong

2018-12-03 Thread Marius Gedminas
n only once, or use a local temporary PopplerRectangle variable and avoid in-place conversions. (I'm not familiar with poppler's APIs and cannot say if your conversion code is correct.) HTH, Marius Gedminas -- Lutetium is the heaviest and hardest of the rare earth metals, and is used in the

Re: Python3, GObject objects & models

2018-12-19 Thread Marius Gedminas
??? I think you have to use Gtk.TreeViewColumn.set_cell_data_func(), but I also fail to see any advantages you'd get of doing that instead of using plain data types in the model. Marius Gedminas -- Remember the... the... uhh. ___ gtk-app-devel-list mailing list gtk-