Re: GtkSelectionMode

2019-02-14 Thread Greg Ewing
Igor Korot wrote: What do you mean - "unmodified mouse clicks"? I mean without pressing any modifier keys (Shift, Ctrl, etc.) It sounded like you expected this to toggle selection of individual items on and off, but in my experience the Ctrl key is needed to do that. Clicking with no modifiers

Re: GtkSelectionMode

2019-02-14 Thread Greg Ewing
Igor Korot via gtk-list wrote: I interpret this as following: Using 1, I can select multiple string with just a mouse click if the string is not being selected. If the string is already selected, it becomes deselected without selection clearing on any other previously selected string. And this

Re: Floating references

2017-06-06 Thread Greg Ewing
Chris Vine wrote: So I guess the question is why pure (non-GInitiallyUnowned) GObjects start with a reference count of 1, instead of a count of 0 as in other similar implementations. CPython starts reference counts at 1, and it works perfectly well -- the code that allocates the object

Re: GTK+ library access issue?

2011-10-25 Thread Greg Ewing
Earnie wrote: However, IMNSHO, if LD can find the references in out-of-order .o object files it should be able to do the same with out-of-order library archives of object files but then I don't code LD. The linker on MacOSX apparently can -- according to the man pages, the traditional

Re: Is GTK+ 3.x 2x slower than GTK+ 2.x?

2011-07-24 Thread Greg Ewing
I think Gtk3 uses Cairo for all of its drawing, which may account for at least some of the slowdown. Cairo does a lot of sophisticated things, and that comes at a cost. -- Greg ___ gtk-list mailing list gtk-list@gnome.org

Re: [pygtk] Convert RGBA to BGRA using standard library?

2011-05-28 Thread Greg Ewing
t...@celvina.de wrote: I may be misunderstanding, but you just want to swap some bytes? And the only problem is performance due to strings being immutable? Try http://docs.python.org/library/array.html I don't want to swap *all* of the bytes, only exchange the R and B, so array.byteswap()

Container resizing behaviour changed in Gtk 3?

2011-03-28 Thread Greg Ewing
The behaviour of containers when their contents try to resize themselves seems to have changed between Gtk 2 and Gtk 3. In Gtk 2, if you have a GtkLayout carrying a GtkFrame that contains a GtkTextView, and use set_size_request() to set the size of the GtkFrame, it stays that size. If you type