Re: GDK_IS_WINDOW (window) failed

2016-08-08 Thread Timm Bäder
On 08.08, Stefan Salewski wrote: > No idea. I tried some hours to modify my code, but no change. Is that a > known bug of GTK 3.18? Well, gedit seems to have it not, so there may > be a way to suppress it. Google told me that it may be related to the > realize functions, but that does not really he

Re: GDK_IS_WINDOW (window) failed

2016-08-11 Thread Timm Bäder
On 11.08, Stefan Salewski wrote: > On Mon, 2016-08-08 at 09:16 +0200, Timm Bäder wrote: > > That might be possible of course (especially if your code base does not > > contain a widget that creates its own GdkWindows), but the advice is the > > same for all criticals and war

Re: Parent receiving child's button press event

2016-08-31 Thread Timm Bäder
On 31.08, Nicola Fontana wrote: > Il Tue, 30 Aug 2016 17:48:34 -0700 Jim Heald > scrisse: > > > Thank you so much! It's literally these return True things that keep > > throwing me off. > > > > Do you have a suggestion of somewhere I can read about all of these > > conventions? > > ... > > The

Re: They broke the CSS custom color settings in 3.20

2016-11-12 Thread Timm Bäder
On 12.11, Stefan Salewski wrote: > Setting the colors was > done this way for GTK 3.18: > > const >   str0 = ".tooltip {background-color: rgba($1, $2, $3, 0.9); color: rgba($4, > $5, $6, 1.0); \n}" it's tooltip { background-color: foobar }. Unless the theme sets a background image of course, in

Re: gtk_file_chooser_dialog_new and gtk_file_chooser_native_new very slow on a Windows 10 64-bit PC

2016-12-08 Thread Timm Bäder
On 07.12, Ian Puleston wrote: > A little debugging showed that the time is spent in > gtk_file_chooser_dialog_new which takes 15 seconds to execute. I tried > switching to gtk_file_chooser_native_new instead but it too has the same > problem taking just as long. Was the debugging just a printf bef

Re: Using the CSS Transform property on a widget (i.e. not a gtk icon)

2017-05-18 Thread Timm Bäder
On 18.05, Ankush Patel wrote: > Is there any way to use CSS Transforms on regular gtk widgets? If not, is > support for css transformations planned? It's not supported in gtk3 and will maybe-but-nobody-knows-exactly-how be supported in gtk4. But just maybe.

Re: Eliminate the warning Allocating size to GtkWindow without calling gtk_widget_get_preferred_size/height

2017-06-28 Thread Timm Bäder
On 28.06, The Devils Jester wrote: > My application gets spammed with these allocating size warnings constantly, > and I have tried to find a way to disable them programmatically without > success. Its just noise in the terminal, and misleading in that end users > think there is a problem. I thin

Re: Eliminate the warning Allocating size to GtkWindow without calling gtk_widget_get_preferred_size/height

2017-06-28 Thread Timm Bäder
On 28.06, David Breeding wrote: > On Wed, Jun 28, 2017 at 9:10 AM, Timm Bäder wrote: > > > > > > Those warnings usually come from > > https://git.gnome.org/browse/gtk+/tree/gtk/gtkwindow.c?h=gtk-3-22#n9744 > > > > The output you're seeing is from gtkwid

Re: Gtk Gestures

2017-07-03 Thread Timm Bäder
On 04.07, Prashant Kumar wrote: > Hello everyone, > > I am trying to catch the gtk "rotate" and "zoom" gestures. I wrote a small > program just to test how they work in gtk. However both callback functions > for "zoom" and "rotate" gesture are getting called even if I make only one > type of gestu

Re: GtkGestures : gtk_gesture_get_point() and gtk_gesture_get_bounding_box_center ()

2017-07-05 Thread Timm Bäder
On 05.07, Prashant Kumar wrote: > Hi, > What is the difference between these two functions ( > gtk_gesture_get_point() and gtk_gesture_get_bounding_box_center () ) ? and > which one of them would be best to obtain "zoom" and "rotate" gesture > points i.e. the points around which zooming and rotatio

Re: Non-blocking dialog

2017-08-10 Thread Timm Bäder
On 09.08, Jim Heald wrote: > Hello there! > > I'm writing a GTK+ application in C. In my application I'm running two > commands that take a bit of time; in order to not make it appear that the > program has just frozen, I am wanting to do the following: > > 1) run the dialog, which has a spinner

Re: Cannot Display Colour Emojis with gtk+-3.22.24

2017-10-25 Thread Timm Bäder
On 25.10, John Frankish wrote: > Bump? > > > Subject: Cannot Display Colour Emojis with gtk+-3.22.24 > > > > Hi, > > > > I'm trying to display colour emojis with gtk+-3.22.24, cairo-1.15.8, > > pango-1.40.12, > > fontconfig-2.12.6, freetype-2.8.1 and harfbuzz-1.6.0. > > > > I can get black and

Re: Default behavior

2018-01-29 Thread Timm Bäder
On 29.01, Igor Korot wrote: > Hi, ALL, > In GTK+ there is a function gtk_text_view_set_accepts_tab (). > > However there is no indication as with many others - what is the > default behavior is > in the documentation. (ref. > https://developer.gnome.org/gtk3/stable/GtkTextView.html#gtk-text-view-

Re: Old GTK stock items as svg?

2018-02-09 Thread Timm Bäder
On 09.02, Ingo Brückl wrote: > Hi, > > are the old GTK stock items somewhere available in svg format? The GTK > source tarball contains only png files. They were just using named icons as far as I know, so the exact svg you are referring to might depend on what icon theme you were using. For Adwa

Re: Kinetic scrolling - why only for touchscreens?

2018-02-12 Thread Timm Bäder
Hey, the documentation indeed states that kinetic scrolling only works for touchscreen devices, which is wrong since it should also work with touchpads. We will update the documentation accordingly. It works here on my touchpad, where exactly does it not work? You mentioned documents and websites

Re: How to remove GTK entry border?

2018-03-26 Thread Timm Bäder
I'm not going to question an entry without any visible border here for a second. GtkEntry has a has-frame property you can set to FALSE which will add the .flat style class to it, and themes *should* disable the border in that case. You are also aware that gtk4 is not stable? If you want to comp

Re: Size allocation warning message

2018-06-26 Thread Timm Bäder
On 2018-06-26, Stefan Salewski wrote: > On Mon, 2018-06-25 at 23:20 +0200, Rafal Luzynski wrote: > > I assume this is your application or at least an application > > for which you have the source code and you are going to fix it. > > That are some of our applications, and at least some of ours get

Re: Tutorial for writing widgets in Gtk3

2018-07-26 Thread Timm Bäder
On 2018-07-26 09:42, Göran Hasse wrote: Hello! I try to write a custom widget in Gtk3. I study the source for other widgets but I find no totorial for how to write a widget in Gtk3. (There was for Gtk2 - but they are not of any use anymore...). Is there no interest in Gtk3 anymore? I find it ve

Re: Tutorial for writing widgets in Gtk3

2018-07-26 Thread Timm Bäder
y to understand... /gh Den 2018-07-26 kl. 08:39, skrev Timm Bäder: On 2018-07-26 09:42, Göran Hasse wrote: Hello! I try to write a custom widget in Gtk3. I study the source for other widgets but I find no totorial for how to write a widget in Gtk3. (There was for Gtk2 - but they are not of any use

Re: gtk_scale_with_range

2018-08-21 Thread Timm Bäder
On 2018-08-21 12:05, Göran Hasse wrote: Hello! If I make a gtk_scale_widget_with_range(...) - how to I read the value from the widget? gtk_range_get_value ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list