Hi, yeah, but what can i do, when i need to draw, yes really draw (mind maps) my own widgets. I don't need to gtk_render_frame, because, i need to draw all node on map with it's special attributes like size, color etc. And yes, I do that with cairo.
GtkStyle is deprecated, get_border_color from GtkStyleContext is deprecated, when i need to create GtkEntry with the same style (color, size, font) as mind map branch / node, I need to create new css string, which i must use for it. Last time, GTK+ developer ignore, that this gui is not use only for simple applications with forms. Why GtkStatusIcon is deprecated, there are application, which don't need Notifications but StatusIcon, like KeyBase, ownCloud client, RedShift etc. When someone need to simple change network setting, he really don't need Notification too! There is fine and nice new dbus based Actions, but all classes for new widgets like GtkActionHelper is private, and developers, which needs to create new widgets don't have them. I'm sad from this approach :-( At this moment, it looks, that when i still want to use GTK+, I must fork more and more internal code, and doing duplicity for that. Why ? Ondra V Tue, 13 Dec 2016 07:39:38 +0100 Joël Krähemann <jkraehem...@gmail.com> napsáno: > 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 > <jkraehem...@gmail.com> wrote: > > Hi Ondrej > > > > What about using GtkStyle? > > > > gtk_widget_get_style() > > > > Bests, > > Joël > > > > > > On Tue, Dec 13, 2016 at 6:33 AM, Ondrej Tuma <konfere...@webjet.cz> > > 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 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 > >> complex application. But yes, sometimes, we need special widgets, > >> with special using :-( > >> > >> -- > >> Ondřej Tůma <mc...@zeropage.cz> > >> www: http://ipv6.mcbig.cz jabber: mc...@jabber.cz twitter: > >> mcbig_cz > >> > >> _______________________________________________ > >> gtk-app-devel-list mailing list > >> gtk-app-devel-list@gnome.org > >> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- Ondřej Tůma <mc...@zeropage.cz> www: http://ipv6.mcbig.cz jabber: mc...@jabber.cz twitter: mcbig_cz
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list