On Fri, 2019-04-26 at 18:21 +0100, Emmanuele Bassi wrote:
> It most definitely is not. The project is actively maintained, and it
> recently got even a full description of the XML schema:
That is interesting. Well 172 open issues
https://gitlab.gnome.org/GNOME/gobject-introspection/issues
but
On Fri, 2019-04-26 at 17:58 +0100, Emmanuele Bassi via gtk-list wrote:
> Have you considered using the GObject introspection data that GTK
> itself generates, instead of your custom parsing code?
But a warning: GObject introspection is not that much fun, as it is in
zombie state. Starting with
On Fri, 2019-04-26 at 09:46 -0700, vmagnin wrote:
> oncerning the "new discourse forum", I am not sure of what you mean.
It is this:
https://discourse.gnome.org/
Was recently advertised by Mr Bassi. The gtk mailing list will be
closed soon, at least this one and gtk-app-devel.
On Fri, 2019-04-26 at 04:06 -0700, vmagnin wrote:
> Launched in 2011, the gtk-fortran library offers interfaces to around
> 1
> GTK functions
Funny.
I know how much work such bindings take, I created the Nim bindings
twice, oldgtk3 lowlevel bindings, and high level gintro ones :-)
Are you
On Mon, 2019-04-08 at 13:07 +, Andri Möll via gtk-app-devel-list
wrote:
> I can't figure out if it's me or something's amiss. I'm trying to
> set
> the scroll position after rendering a GtkTextView
May that be still this old bug:
On Sun, 2019-03-10 at 09:38 +, Emmanuele Bassi via gtk-list wrote:
> Nobody involved with the development of GTK even reads this list,
> except me,
I had that impression in the last 6 years, thanks for confirming.
My conclusion was, that nearly no one was working on or with GTK any
more.
On Wed, 2019-02-20 at 11:49 -0600, Igor Korot wrote:
> I know I am kind of switching the topic here, but...
>
> Why do we even talking about button number, when the doc explicitly
> said
> "right-click", which implies "right mouse button".
Yes, I noticed that contradiction myself when answering
On Wed, 2019-02-20 at 11:07 -0600, Igor Korot via gtk-list wrote:
> Hi, ALL,
> This link https://developer.gnome.org/gtk3/stable/GtkToolbar.html#Gtk
> Toolbar-popup-context-menu
> states that the parameter "button" can be "-1".
>
> What is the scenario when this occurs, i.e. it should be the
I have a Nim gintro user who has both GTK4 and GTK3 installed on his
box, and seems to have some trouble:
https://github.com/StefanSalewski/gintro/issues/30
I can not test that, because for my Gentoo Linux box only GTK3 is
official available.
My gintro package should generate latest GTK3
On Fri, 2018-06-29 at 22:38 -0400, Chris Moller wrote:
> ...but I can't figure it out: How do I make a tiny little button,
> like 10x10 pixels, gtk_widget_set_size_request (button, 10, 10);
> doesn't work. gtk_widget_size_allocate (GtkWidget *widget,
> GtkAllocation *allocation); doesn't
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 such
messages since at least one year, for
On Mon, 2018-06-11 at 16:11 +0200, Stefan Salewski wrote:
> Various C codes you may find in this thread, I think first Uli
> Schlachter post has a link to the most advanced C version.
Ah -- forgot to copy that link:
https://lists.cairographics.org/archives/cairo/2016-October/02779
On Mon, 2018-06-11 at 08:29 +0100, Göran Hasse wrote:
> Hello!
>
> I am trying to write a gtk + Cairo application that mimics the
> animation in
> wikipedias sine graph.
>
> https://en.wikipedia.org/wiki/File:Circle_cos_sin.gif
>
>
There was posted an example some time ago -- in multiple
On Fri, 2018-04-27 at 14:54 +0100, Emmanuele Bassi wrote:
> There are various wiki pages that you may be interested in; see the
> "How Do I" section: https://wiki.gnome.org/HowDoI/
I wonder that you do not recommend the page
https://developer.gnome.org/gtk3/stable/ch01s04.html#id-1.2.3.12.5
Is
On Tue, 2018-04-24 at 19:39 +0100, Jim Reilly wrote:
> I have put together a guide to help beginners
>All GTK+3.0 programs contain the same basic instructions, and
Well, maybe you should also mention the preferred GTK3 app style as I
did in the second example in
On Fri, 2018-03-30 at 22:25 +0200, Stefan Salewski wrote:
> You may even name your widgets and then can set
> CSS properties of single widgets.
Like this:
import gintro/[gtk, glib, gobject, gio]
proc appActivate(app: Application) =
let window = newApplicationWindow(app)
let
On Fri, 2018-03-30 at 21:01 +0200, Stefan Salewski wrote:
> I have the impression there is no CSS property to make GtkScale
> slider
> smaller.
Finally I have a working solution. The trick is, that we have to set
margin also. Margin is negative in default, which does not work with
tiny
On Thu, 2018-03-29 at 21:50 +0200, Bas Wassink wrote:
> I kinda figured I had to go the CSS route,
I have the impression there is no CSS property to make GtkScale slider
smaller. I did a few tests yesterday, without a result. But I have to
admit that for my screen it is already small. Maybe Mr
On Thu, 2018-03-29 at 18:02 +0200, Bas Wassink wrote:
> Any hints?
https://developer.gnome.org/gtk3/stable/chap-css-overview.html
grep -A100 GtkScale ~/.config/gtk-3.0/gtk-default.css
Well, I do provide a colored label example at
https://github.com/StefanSalewski/gintro
Starting from that
On Sun, 2018-03-25 at 14:05 +0200, Stefan Salewski wrote:
> /opt/gtk/bin $ LD_LIBRARY_PATH="../lib64" ./gtk4-demo
>
> (gtk4-demo:14466): GLib-GIO-WARNING **: 14:03:06.071: Can't find
> module
> 'dconf' specified in GSETTINGS_BACKEND
> GLib-GIO-Message: 14:03:06.071:
On Sun, 2018-03-25 at 13:43 +0200, Stefan Salewski wrote:
> What may be the best way to fix this issue?
Well, obvious
PATH=$PATH:/opt/gtk/bin/
export PATH
ninja install
LD_LIBRARY_PATH="/opt/gtk/lib64" ninja install
works,
but then still I get tiny fonts with
/opt/gtk/bin $ LD
Following GTK4 install into /opt/gtk from
https://developer.gnome.org/gtk4/3.93/gtk-building.html
I get for last step "ninja install"
Running custom install script '/opt/gtk+-3.93.0/build-aux/meson/post-
install.sh 4.0 4.0.0 /opt/gtk/lib64 /opt/gtk/share'
Compiling GSettings schemas...
Updating
On Sat, 2018-03-24 at 21:19 +0100, Stefan Salewski wrote:
> On Sat, 2018-03-24 at 19:50 +0100, Stefan Salewski wrote:
> > Yesterday I tried for the first time GTK4 install as described in
> > https://developer.gnome.org/gtk4/3.93/gtk-building.html
> >
> >
>
>
On Sat, 2018-03-24 at 19:50 +0100, Stefan Salewski wrote:
> Yesterday I tried for the first time GTK4 install as described in
> https://developer.gnome.org/gtk4/3.93/gtk-building.html
>
>
Well, seems to be a wayland issue.
When I log in in GDM with plain "Gnome" session,
Yesterday I tried for the first time GTK4 install as described in
https://developer.gnome.org/gtk4/3.93/gtk-building.html
Worked well, and I can successfully launch gtk4-demo.
On my 27 inch 4k monitor all gtk4 apps seems to have only 11 point
font, which is very small and does not allow real
On Sat, 2018-03-10 at 14:26 +0100, codemusi...@gmail.com wrote:
> Hi there,
>
> I'm trying to change the background-color of a GtkTreeView by adding
> a
> css provider with the following style set:
>
> treeview { background-color: #fffae1; }
>
> Unfortunately this has the effect that the
Thanks for that hint, I will add a note to the gintro tutorial.
On Fri, 2018-03-02 at 13:32 -0500, Patrick Griffis via gtk-list wrote:
> > A windows 10 user seems to manage to get gintro package installed
> > on
> > his windows 10, see
> >
> > https://github.com/StefanSalewski/gintro/issues/24
>
A windows 10 user seems to manage to get gintro package installed on
his windows 10, see
https://github.com/StefanSalewski/gintro/issues/24
All the shipped examples seems to work indeed, but he had to skip
GtkSource install (generating GObject-Introspection based bindings)
because GTKSourceView
With latest nimble and nim a plain
nimble install gintro
should work now out of the box.
(Well at least for 64 bit Linux and recent GTK 3.22 -- I can currently
not test Windows, MAC or 32 bit Linux)
The examples should compile and work with latest nim 0.17.3.
Short tutorial at
On Mon, 2018-02-26 at 09:16 +0100, Wojciech Puchar wrote:
> How to do this in GTK 2. whatever i try i'm getting first label
> centered
> relative to space remaining after second label not to whole hbox. how
> to
> do this properly?
>
>
That may be not that easy.
Maybe try a hbox, which again
On Fri, 2018-02-23 at 14:17 +0100, Wojciech Puchar wrote:
> Gimp can do this so GTK can do this but i cannot find how.
>
>
> How to turn off text hints (help) when mouse pointer hovers over the
> widget?
>
See
https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-set-tooltip-text
On Tue, 2017-10-03 at 17:28 +0400, Alexander Shaduri wrote:
> I have a HiDPI Screen
I also. 27 inch 4k display. I started also with scale of 2 to avoid
tiny objects, but now I use scale=1 with larger fonts and I use some
custom CSS to make vertical scrollbars a bit larger. Firefox can scale
On Fri, 2017-09-29 at 04:45 +, Gergely Polonkai wrote:
> As a side note, STRING probably refers to https://developer.gnome.org
> /glib/stable/glib-Strings.html which is a more OO string
> implementation. G_TYPE_STRING being gchararray is of more close
> relation with C strings (except it
I am just preparing a listview example for the Nim GTK3 mini tutorial.
I followed the Z-Code C example. Was not too difficult. But I got one
problem: For working with listviews, we have to provide GTypes, which
are numerical values. For C we have the macros like G_TYPE_STRING which
for my box
On Sun, 2017-09-24 at 13:54 +0200, René Hansen wrote:
> it starts flickering constantly
I don't know what Socket and Plug is...
But you seems to do the drawing completely wrong.
Generally gtk_widget_queue_draw() is involved in the drawing process,
that is that your timer does not do the drawing
On Fri, 2017-09-15 at 22:41 +0100, Emmanuele Bassi wrote:
> Additionally, modify_bg() has never done anything about
> sizing,
Sometimes you seems to try very hard to misunderstand people?
My English is not good, but I really think Chris Moller was refering
only to the fact that modify_bg() was
On Fri, 2017-09-15 at 12:25 +0100, Emmanuele Bassi wrote:
> The g_signal_emitv() function is the vector-based function for
> emitting signals in language bindings.
>
> The variadic argument version is a C convenience function, as
> functions with variadic arguments are not introspectable.
>
>
https://developer.gnome.org/gobject/stable/gobject-Signals.html#g-signal-emitv
For the most recent issue
https://github.com/StefanSalewski/gintro/issues/8
I have absolutely no idea currently.
Is g_signal_emitv() generally used in applications code, or is it used
for library development
On Fri, 2017-09-15 at 10:28 +0100, Emmanuele Bassi wrote:
> All API that takes a GtkIconSize should have a `type int` annotation.
Thanks. I learned that already from the reply of Mr. Phil Clayton.
Seems that some functions like gtk_toolbar_set_icon_size() do not yet
have a `type int` annotation.
On Fri, 2017-09-15 at 09:57 +0100, Phil Clayton wrote:
> Have a look at
> https://bugzilla.gnome.org/show_bug.cgi?id=601425
Great, thanks.
I had looked only into the list of gobject-introspection bugs mentioned
at the bottom of this page:
GtkIconSize type is reported as plain gint, but it is an enum.
For this function all is correct, see last line of code segment:
This function sets the size of stock icons in
the toolbar. You
can call it both before you add the icons and after they’ve been
added. The size you set
On Wed, 2017-09-13 at 10:34 +, Rúben Rodrigues wrote:
> Why are you saying that using a scrolled window with parts invisible
> is
> not user frindly?
Because the user has to scroll :-)
Of course having a scrolled window with active scrollbars can be
necessary -- when there is really more
On Wed, 2017-09-13 at 10:59 +0100, Emmanuele Bassi wrote:
> Why are you using a GtkDialog? You should be using a GtkWindow for a
> complex UI.
>
> Additionally, the size of a top-level is given by its contents,
> unless
> you specify a size yourself. If your UI is too big, you'll have to
>
On Sat, 2017-09-09 at 21:46 +, Emmanuele Bassi wrote:
> Boxed types use g_boxed_free() to release resources, and
> g_boxed_copy() to copy them:
> https://developer.gnome.org/gobject/stable/gobject-Boxed-Types.html
>
> Ciao,
> Emmanuele.
Yes I know :-)
But from
First I noticed that for pango_font_description_from_string()
>From /usr/share/gir-1.0/Pango-1.0.gir we know that transfer-
ownership="full" so we have to free it in our language bindings.
But how to guess the function for freeing?
For gobject there is generally a plain g_object_unref()
On Tue, 2017-09-05 at 08:50 +0200, Stefan Salewski wrote:
> I will follow all your advice and start a new thread for the chess
> engine to return the reply move.
Well yes, but not now...
For now I have pushed a still blocking release to github:
https://github.com/StefanSalewski/nim-che
On Fri, 2017-09-08 at 11:11 +, Rúben Rodrigues wrote:
> Please!!
>
> Help..
Well, I guess what you want is displaying a message dialog without
prior user actions.
Maybe you can emit a signal to do that? I don't know, have never needed
that.
Maybe you can just modify your first dialog,
On Mon, 2017-09-04 at 22:39 +0100, Chris Vine wrote:
> If Stefan needs any further assistance I think he needs to explain
> what
> his issue actually is.
Well, my first posting in this thread seems to indicate a real issue,
as Mr cecas...@aol.com confirmed. Animation does not continue when
mouse
On Sun, 2017-09-03 at 16:54 +0100, Emmanuele Bassi wrote:
> You're blocking the toolkit's main loop, here. If your application
> does this, it's broken and needs to be fixed - regardless of what the
> cursor looks like.
>
> The cursor is rendered by the Wayland compositor, but the animation
> is
On Sun, 2017-09-03 at 17:23 -0400, cecas...@aol.com wrote:
> With a jhbuild of GTK3.22 I get a wrist watch type clock cursor for
> "wait" that doesn't have any animation.
Thanks for testing. So problem is not my local Gentoo box, but GTK
3.22.
___
On Sun, 2017-09-03 at 16:54 +0100, Emmanuele Bassi wrote:
> You're blocking the toolkit's main loop,
When I add a background function with g_idle_add() I am blocking the
GTK main loop? Well I just wanted to avoid that.
But even without use of g_idle_add() the animation stops, when I move
the
On Sun, 2017-09-03 at 16:43 +0200, Stefan Salewski wrote:
> Since a few months I have observed that for my chess game the mouse
> pointer/cursor animation stopped working properly.
Well, I have added the g_idle_add() problem also.
When I move the mouse pointer the first time into the
On Sun, 2017-09-03 at 13:42 +0100, Mike Martin wrote:
> For one of my apps I want to setup a multi page widget with next
> previous
> navigation.
Have you tried
https://developer.gnome.org/gtk3/stable/GtkAssistant.html
___
gtk-app-devel-list mailing
Since a few months I have observed that for my chess game the mouse
pointer/cursor animation stopped working properly.
Yesterday I tried cleaning up the code for moving the game GUI to the
new high level Nim GTK GUI, but I was unable to get it working.
When I moved the busy-cursor out of the
On Sun, 2017-07-23 at 17:46 +0100, Mike Martin wrote:
> Gtk version 3.22
I see a similar message for evince pdf viewer whenever I use it since
some months. But I have no idea for the reason unfortunately
(evince:5623): Gtk-WARNING **: Allocating size to EvSidebar 0x12dd6c0
without calling
On Thu, 2017-07-20 at 13:44 +0200, Nicola Fontana wrote:
> I see interfaces as a "contract" that (1) enforces an object
> to implement some feature (properties and/or methods) and
> consequently (2) gives the users a common API that can be used
> across unrelated objects.
Thanks for your
Recently someone tried to style a widget using CSS,
https://github.com/StefanSalewski/gintro/issues/2#issuecomment-316167963
and so I discovered that there is still some labor for me...
Before I start coding, maybe it is better to verify my understanding of
the gobject interfaces...
For
ion.
Thanks, Stefan Salewski
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
On Tue, 2017-05-09 at 17:05 +0200, Nicola Fontana wrote:
> Il Tue, 09 May 2017 16:39:10 +0200 Stefan Salewski <m...@ssalewski.de
> > scrisse:
>
> > I am currently working again on the gobject introspection based
> > bindings for Nim language (https://githu
Since a few months I have GTK 3.22 on my gentoo box, and so I tried to
log in with Wayland support from the graphical GDM display manager.
Works all fine. But one problem is, that the display is shut down after
a few hours sometimes. Initially I had the impression that wayland does
that shut
I have uploaded the first public release of the high level GObject-
Introspection-based GTK3 bindings for the Nim programming language
yesterday.
If you have GTK3 and Nim compiler installed you may try them.
Install is currently
cd /tmp
git clone https://github.com/stefansalewski/gintro
cd
https://github.com/GNOME/gtk/blob/master/gtk/gtkcontainer.c
void
gtk_container_remove (GtkContainer *container,
GtkWidget*widget)
{
g_return_if_fail (GTK_IS_CONTAINER (container));
g_return_if_fail (GTK_IS_WIDGET (widget));
g_object_ref (container);
g_object_ref
On Sun, 2017-06-25 at 10:59 +0100, Emmanuele Bassi wrote:
> I very much doubt anybody here has knowledge of toggle reference and
> language bindings.
Yes, I guess that is true, the original authors seems all to be
retired. For IRC or devel list, I fear situation is not really better,
and I do not
Some years ago I read about floating references as described in
https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html
Of course that makes sense.
Newly created objects get ref count 1, but are floating. If they get
put into a container element, floating ref is converted
On Sat, 2017-06-03 at 15:37 +0200, Stefan Salewski wrote:
What is a bit strange is
void
g_object_add_toggle_ref (GObject *object,
GToggleNotify notify,
gpointer data)
{
ToggleRefStack *tstack;
guint i;
g_return_if_fail
My high level Nim wrapper (https://github.com/StefanSalewski/nim-gi2)
is indeed basically working.
Currently I am using g_object_add_toggle_ref() and
g_object_set_qdata(). The first for the garbage collection tasks, and
the later for retrieving the proxy object from the associated GTK
GObject,
On Sun, 2017-05-28 at 16:08 -0300, Augusto Fraga Giachero wrote:
> I've been playing with Glade and GtkNotebook for while, and I
> couldn't
> figure a way to enable the close button on the tabs
I guess what you want is what gedit does with the tabs?
The gedit code has been modified a few times
I am currently working again on the gobject introspection based
bindings for Nim language (https://github.com/StefanSalewski/nim-gi).
And I wonder why there is only minimal support for cairo --
/usr/share/gir-1.0/cairo-1.0.gir is minimal.
Of course cairo is not gobject based, but is that the
On Mon, 2017-04-10 at 12:28 +0200, Stefan Salewski wrote:
> I will try that soon.
Yes, works fine:
var
w, h: cint
#width: cint = widget.parentWindow.width
#height = widget.parentWindow.height
width = getAllocatedWidth(widget)
height = getAllocatedHeight(wid
On Mon, 2017-04-10 at 11:07 +0100, Emmanuele Bassi wrote:
> allocated size of
> your widget
Thanks.
I think that is gtk_widget_get_allocation() for GTK3
as mentioned in
http://stackoverflow.com/questions/2675514/totally-fed-up-with-get-gtk-widget-height-and-width
I will try that soon.
On Mon, 2017-04-10 at 10:37 +0200, Stefan Salewski wrote:
> Any ideas?
Well, maybe the problem is not the font dimensions, but the window
itself.
The size calculations occur in
https://github.com/ngtk3/nim-chess2/blob/master/board.nim
proc drawIt(cr: cairo.Context; widget: Widget) {.cd
Some days ago my Gentoo box finally updated to Gnome 3.22.
First surprise: GtkSourceView ignores Text Scaling settings -- seems to
be a well known bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1382840
Not a real problem, but surprising.
Today I logged in using wayland session, selected by
On Thu, 2017-03-30 at 10:21 +0100, Emmanuele Bassi wrote:
> g_idle_add() or, better yet, g_main_context_invoke().
Thanks. While I can remember have read your explanations somewhere
already, I really missed that g_main_context_invoke() function.
___
On Thu, 2017-03-30 at 11:10 +0200, Nicola Fontana wrote:
>
>
> As said you can leverage the main loop and unroll yours, e.g.:
>
> gboolean my_idle_callback()
> {
> gint n;
> for (n = 0; n < 100; ++n) {
> ...
> }
> return FALSE;
> }
>
> should become:
>
> gboolean
On Thu, 2017-03-30 at 09:38 +0200, Stefan Salewski wrote:
> Currently I wonder if the call of gtk3.mainIteration() inside the
> idle
> function is possible and if it would help updating the display. In my
> first draft of the Nim toy chess I used something like this
>
> while
On Wed, 2017-03-29 at 23:26 +0200, Nicola Fontana wrote:
>
>
> idle functions do *not* run in the background so if you don't
> release the CPU you will experience what you described.
>
> AFAIK all the GMainLoop code is single-threaded hence, as a
> consequence, you will block the UI whenever
On Wed, 2017-03-29 at 16:47 +0200, Stefan Salewski wrote:
> On Wed, 2017-03-29 at 09:42 +0200, Stefan Salewski wrote:
> >
> > It is still the old problem:
>
> Well, after some thinking I have the feeling that it may work with
> only
> an idle function, so no separate
On Wed, 2017-03-29 at 09:42 +0200, Stefan Salewski wrote:
> It is still the old problem:
Well, after some thinking I have the feeling that it may work with only
an idle function, so no separate thread and message passing is
necessary: The callback set a flag indicating that there is work to
On Mon, 2017-03-27 at 14:23 +, Rúben Rodrigues wrote:
> hi guysm
>
> it's possible to change size of spinbuttons? In touchscreen mode
> spinbutton are still small.. We can change it's size with css
> provider?
>
>
That may be possible...
I found some example code in gedit C sources for
Well, I think I have asked this already some years ago at gtk-list.
(And I spent some hours experimenting with stuff like event_pending()
and such, without success.)
It is still the old problem: We have input events, for example
keystrokes, and a function that can only process a few events per
On Sun, 2017-03-19 at 22:12 +, Marcin Kolny wrote:
> I'd like to write very simple application for drawing lines.
You can restrict all drawing operations to a rectangle enclosing your
line. For each move with button pressed, fill that rectangle with
background color and then draw the line
On Thu, 2017-03-16 at 09:55 +, Rúben Rodrigues wrote:
> Hi,
>
> THanks. This is dynamically? I need in c language if possible :S
>
> Thanks
Yes. The example
https://github.com/ngtk3/nim-gtk3/blob/master/test/colors.nim
is dynamically, I used it to generate some color schemes. Entered
On Wed, 2017-03-15 at 15:11 +, Rúben Rodrigues wrote:
> Hi,
>
> Now i need to change GtkLabel color dinamically, so i thing that i
> can't
> use Css to do this.. I do this in Gtk2:
>
> gtk_widget_modify_fg(GTK_WIDGET(gtk_builder_get_object(builder,"label
> ")),GTK_STATE_NORMAL,
> );
>
>
On Fri, 2017-03-10 at 10:32 +, Rúben Rodrigues wrote:
> HI,
>
> Thanks for your reply. NExt i will change to gtk3, but i think that i
> need to change many things.. It could be simple to make a homogeneous
> table and hide images, unfortunately not..
I don't know exactly what you desire, but
On Wed, 2017-03-08 at 15:23 +, Emmanuele Bassi wrote:
> Sorry, we haven't yet found the way to write a `gtk_do_what_i_mean()`
> function.
>
> > But we have to tell them: We should not
> > do that, it may be possible with CSS... So we have no Kids in GTK
> for
> > more than 10 years now, so so
On Wed, 2017-03-08 at 15:00 +, Rúben Rodrigues wrote:
> Thanks for your help... Yes i don't understand why gtk doesn't aloow
> us
> to do some "basic" things..
Well, the GTK senior developers will say that such "color hacks" are
ugly and do not fit theming well. That may be true. But the
On Wed, 2017-03-08 at 15:52 +0100, Stefan Salewski wrote:
> On Wed, 2017-03-08 at 14:18 +, Rúben Rodrigues wrote:
> >
> > I asked to the Google before, but he don't give me nothing about
> > this
> > :-). PRELIGHT doesn't work too..
>
>
Well, the fix sug
On Wed, 2017-03-08 at 14:18 +, Rúben Rodrigues wrote:
> I asked to the Google before, but he don't give me nothing about
> this
> :-). PRELIGHT doesn't work too..
Yes, you are right.
I just took this example:
https://www.spinics.net/lists/gtk/msg00686.html
//gcc -o simple t.c `pkg-config
On Wed, 2017-03-08 at 13:30 +, Rúben Rodrigues wrote:
> Yes, doesn't work for me.. Because:
>
> gtk_widget_modify_bg(GTK_WIDGET(gtk_builder_get_object(builder,"Menu_
> Birds_ProgressBr")),GTK_STATE_NORMAL,
> );
>
> This changed background color, and this
>
>
>
On Wed, 2017-03-08 at 12:29 +, Rúben Rodrigues wrote:
> Hi,
>
> Thanks. Yes i want to change in gtk 2.x and change it in my app
> only.
> There's no way in proprieties?
Do the ordinary GTK2 functions not work for your case?
Like gtk_widget_modify_fg() and gtk_widget_modify_bg()
On Tue, 2017-03-07 at 15:43 +, Rúben Rodrigues wrote:
> >
> > Hi guys,
> >
> > How can i change progress bar color?
> >
> > Thanks
> >
>
>
For GTK 3.20 and above you can do it, using CSS. I did a similar fix
for scrollbar width for my 27 inch 4 display. I think I wrote how I did
it here
On Mon, 2017-02-13 at 11:41 +, Emmanuele Bassi wrote:
> > but the issue tracker is disabled.
>
> Because GNOME uses Bugzilla, not GitHub issues: https://bugzilla.gnom
> e.org
Ah yes -- found it.
Yesterday I wondered why I get "\" as Dir_Separator on my Linux box, I
thought I was doing
Is gobject-introspection unmaintained?
I found a github reposity at
https://github.com/GNOME/gobject-introspection
but the issue tracker is disabled.
As you may know, I have done some work on a higher level GTK Nim
wrapper recently. Starting with the API docs
https://developer.gnome.org/gi/1.50/gi-GIFieldInfo.html#g-field-info-get-size
Is someone still familiar with GObject Introspection?
I am investigating creating high level GObject Introspection based Nim bindings.
Most seems to work well, some not: For example
g-field-info-get-size()
seems to
On Mon, 2016-12-19 at 14:01 +, Emmanuele Bassi
wrote:https://ask.fedoraproject.org/en/question/84969/how-to-change-
highlight-color-in-gnome-adwaita/
> The CSS theming classes and selectors were not API, they were
> intentionally not documented, and thus fell under no stability
> guarantee —
Thanks for your fast reply.
So his complains seems to be justified, I will tell him and send him a
link to your post.
On Wed, 2016-12-21 at 01:13 +1100, Michael Gratton wrote:
> On Wed, Dec 21, 2016 at 12:37 AM, Stefan Salewski <m...@ssalewski.de>
>
> wrote:
> >
> &g
My NEd Nim editor follows the scheme from
https://developer.gnome.org/gtk3/stable/ch01s04.html#id-1.2.3.12.5
https://github.com/ngtk3/NEd
So for Gnome shell it provides an application menu on top of screen
which can open the preferences dialog. Very similar to gedit.
Now someone tried my NEd
On Tue, 2016-12-13 at 11:07 +0100, Stefan Salewski wrote:
> Indeed, the current available scaling of factor 2 may be really fine
> for a 34 inch 4k display and a eye to display distance of about one
> metre.
Sorry, that was nonsence.
Indeed my feeling was and is, that a 34 inc
On Mon, 2016-12-12 at 18:48 -0800, Kyle Terrien wrote:
> What's the favored way to "fake" a HiDPI monitor? Modify some pixel
> density value in xorg.conf?
Just increase the distance from your eyes to the display. What really
matters is the viewing-angle.
My feeling is, that for the popular 27
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
1 - 100 of 276 matches
Mail list logo