Re: Why GTK+ ignore, that someone want's to create own widget ?!

2016-12-12 Thread Joël Krähemann
... Further you might want to use GtkReliefStyle as doing borders. cheers, Joël On Tue, Dec 13, 2016 at 7:39 AM, Joël Krähemann wrote: > Hi > > I think all gtk drawing primitives are deprecated. You should use cairo > instead. > > bests, > Joël > > > On Tue, Dec 13,

Re: Why GTK+ ignore, that someone want's to create own widget ?!

2016-12-12 Thread Joël Krähemann
Hi I think all gtk drawing primitives are deprecated. You should use cairo instead. bests, Joël On Tue, Dec 13, 2016 at 7:37 AM, Joël Krähemann wrote: > Hi Ondrej > > What about using GtkStyle? > > gtk_widget_get_style() > > Bests, > Joël > > > On Tue, Dec 13, 2016 at

Re: Why GTK+ ignore, that someone want's to create own widget ?!

2016-12-12 Thread Joël Krähemann
Hi Ondrej What about using GtkStyle? gtk_widget_get_style() Bests, Joël On Tue, Dec 13, 2016 at 6:33 AM, Ondrej Tuma wrote: > At the moment, i just to get default widget border color. But, the > gtk_style_context_get_border_color is deprecated... and i should to use >

Why GTK+ ignore, that someone want's to create own widget ?!

2016-12-12 Thread Ondrej Tuma
At the moment, i just to get default widget border color. But, the gtk_style_context_get_border_color is deprecated... and i should to use gtk_render_frame. Please tell me how can i use gtk_render_frame to get border color?! How? What GTK do is putting obstacles in the way of creating more

Re: CSS to look more like Gtk+ 2

2016-12-12 Thread Kyle Terrien
On Mon, 12 Dec 2016 10:32:20 +0100 Stefan Salewski wrote: > On Sun, 2016-12-11 at 14:48 -0800, Kyle Terrien wrote: > > And now, I'm starting another theme, > > It would also be great to have a HiDPI theme, or even better to have > something like a scaleable theme. A theme

Re: Strange 'regression' in gtk+/gstreamer app

2016-12-12 Thread Eric Cashon via gtk-app-devel-list
My guess is that it has something to do with how GTK is drawing. Look at the double buffered reference. https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-set-double-buffered For drawing transparent backgrounds GTK changed something in the drawing code in 3.10. When I was

Re: Strange 'regression' in gtk+/gstreamer app

2016-12-12 Thread Nathanael D. Noblet
Hello Eric, Thanks for the reply. Yeah I forgot to mention that in the Glade file I had set double buffered to false for both GtkDrawingAreas. I also tried setting them to false directly in code once I finish loading/configuring it from the glade file. gtk_builder_connect_signals (builder,

Re: Strange 'regression' in gtk+/gstreamer app

2016-12-12 Thread Nathanael D. Noblet
Hello Eric, Thanks for the reply. Yeah I forgot to mention that in the Glade file I had set double buffered to false for both GtkDrawingAreas. I also tried setting them to false directly in code once I finish loading/configuring it from the glade file. gtk_builder_connect_signals (builder,

gtk3 windows

2016-12-12 Thread Jean-Philippe Chancelier
Hi gtk-list, When running the cursor demo (See https://blog.gtk.org/2016/05/18/cursors-in-gtk/ for a picture of the demo) in gtk3-demo on windows with gtk3 3.18.2 some cursors are not present and some are present. For example the "alias" cursor

Re: CSS to look more like Gtk+ 2

2016-12-12 Thread Stefan Salewski
On Sun, 2016-12-11 at 14:48 -0800, Kyle Terrien wrote: > And now, I'm starting another theme, It would also be great to have a HiDPI theme, or even better to have something like a scaleable theme. A theme where the elements like scrollbars can be scaled by running a script on it? I have