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

2016-12-13 Thread Ondrej Tuma
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

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

2016-12-13 Thread Emmanuele Bassi
Hi; On 13 December 2016 at 05:33, 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 > gtk_render_frame. Please tell me how can i use gtk_render_frame to get > border color?! How? You d

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

2016-12-13 Thread Ondrej Tuma
Thank's for your answer. I understand what is do under the public API. But when I'm using CSS (which is great idea for styling desktop application) in browser, i have still base tools (methods or access) to all display attributes like color, image, gradient, radius or what i need. Now, if I want

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

2016-12-13 Thread infirit
Op 12/13/2016 om 03:10 PM schreef Ondrej Tuma: > Now, if I want to get these settings from GTK+, I must doing some > breakneck magic, and I'm still don't know, if I'll get it. That are the > obstacles. Instead of complaining what was and is no more explain what you are trying to accomplish and ot

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

2016-12-13 Thread Ondrej Tuma
V Tue, 13 Dec 2016 16:46:51 +0100 infirit napsáno: > Op 12/13/2016 om 03:10 PM schreef Ondrej Tuma: > > Now, if I want to get these settings from GTK+, I must doing some > > breakneck magic, and I'm still don't know, if I'll get it. That are > > the obstacles. > > > Instead of complaining wha

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

2016-12-13 Thread infirit
Op 12/13/2016 om 08:03 PM schreef Ondrej Tuma: > You are near. Application is Mind Map Architect. So I get / use system > colors by default to set map background, selected / normal nodes etc. You probably will get what you want with gtk_style_context_get, so something like below: GdkRGBA *color

Re: Ideas of new widgets and critics, only for enhance gtk+.

2016-12-13 Thread Ondrej Tuma
Hi, my critics: Missing Action Helper class: https://bugzilla.gnome.org/show_bug.cgi?id=768228 Non inherited classes like Gtk.FileFilter (https://bugzilla.gnome.org/show_bug.cgi?id=724347) or Gtk.Menu .. Missing to_css method to generate right css from PangoFontDescription and the last time, g

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

2016-12-13 Thread Ondrej Tuma
Sure, right, that is what i need. Thank you so much. V Tue, 13 Dec 2016 20:44:52 +0100 infirit napsáno: > Op 12/13/2016 om 08:03 PM schreef Ondrej Tuma: > > You are near. Application is Mind Map Architect. So I get / use > > system colors by default to set map background, selected / normal > >