stable/GtkSpinButton.html
but I have no idea how I can enforce discrete, non equidistant values
like "100, 50, 25, 10" when clicking on the arrows.
I have found some people asking similar questions, but no answer.
Best regards,
Stefan Salewski
_
On Tue, 2012-03-20 at 19:30 -0400, Paul Davis wrote:
> On Tue, Mar 20, 2012 at 7:13 PM, Stefan Salewski wrote:
>
> > I was going to use
> > http://developer.gnome.org/gtk3/stable/GtkComboBoxText.html
> > with text entry. The problem is, that I have to connect to "
On Tue, 2012-03-20 at 19:30 -0400, Paul Davis wrote:
> On Tue, Mar 20, 2012 at 7:13 PM, Stefan Salewski wrote:
>
> > I was going to use
> > http://developer.gnome.org/gtk3/stable/GtkComboBoxText.html
> > with text entry. The problem is, that I have to connect to "
On Thu, 2012-07-12 at 18:12 -0700, Thomas Dineen wrote:
> Gentle People:
>
> I am planning a graphical application for plotting Stock Market
> related price
> and volume data and I have been experimenting with GTk and Cairo.
>
> I have been going through the tutorials on both the GTK and
On Mon, 2012-07-30 at 18:48 -0400, Paul Davis wrote:
> had i started today, i would have used pygtk for the GUI. and if not that,
I used ruby-gtk2 recently (http://www.ssalewski.de/PetEd.html.en) --
very fine GTK2 bindings including cairo support and a nice tutorial.
___
to the pointing device, which
is not available from keyboard event.
Or in other words:
In GTK3-demo there is an Drawing_Area application where we can draw when
we held down the left mouse key: How can we draw a circle at the current
mouse position when we press 'C' key?
Best regard
sition, i.e. delete
object under mouse cursor when 'X' or 'DEL' key is pressed. That is much
faster than context menu or button clicks. And professionals prefer
working fast.
Best regards,
Stefan Salewski
___
gtk-list mailing lis
n-get-display
followed by
https://developer.gnome.org/gdk2/stable/GdkDisplay.html#gdk-display-get-pointer
may give me the current mouse coordinates of pointer in my drawing area?
Best regards,
Stefan Salewski
___
gtk-list mailing list
g
On Fri, 2014-01-17 at 17:18 -0500, Paul Davis wrote:
> you can track where the mouse is with enter/leave events, and there
> are
> often good reasons for wanting to do that anyway.
That should not work well for CAD applications.
We have a large drawing area, where we draw objects using cairo draw
On Fri, 2014-01-17 at 17:11 -0500, Jasper St. Pierre wrote:
> Yeah. This is to maintain ABI compatibility. Technically, events have
> private internal data, and you can use gdk_event_get_device(); to get
> the
> keyboard device for a key event.
>
> This isn't documented very well; we should perhap
y warnings. But window.get_pointer() raises an exception and
aborts my program. I will contact the authors of the Ruby bindings.
Best regards
Stefan Salewski
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
On Fri, 2014-01-17 at 17:26 -0500, Jasper St. Pierre wrote:
> It doesn't seem like there's anything wrong with using the deprecated
> methods, then. File a bug with the Ruby GTK3 bindings, and continue
> using
> window.get_pointer(); for now would be my suggestion.
I sent a message to the Ruby-Gno
. (Unfortunately I am not
notified when user changes font size in gnome control center...)
Are there betters solution? I.e direct access to users default font size
in x and y pixels?
Best regards,
Stefan Salewski
___
gtk-list mailing list
gtk-list@gnome.org
t;
> Happy hacking!
That is great information, thanks.
>From recent google search (some weeks ago) it was my impression that
there is no High-DPI infrastructure for GTK3 yet -- seem that google
gave me only old outdated discussions...
Best regards
Stefan Salewski
at the the recommended way?
(It will need more code and more widgets total...)
Or is there a better way?
(For label widgets, I may consider "ellipsize" property, which cuts
names if they are too long for the visible area, but I am looking for a
general best approach with works fine
On Mon, 2014-02-17 at 16:00 +0100, Stefan Salewski wrote:
> One solution may be: Do not put the whole notebook widget into a
> scrolled_window, but put each page of the notebook into its own
> scrolled_window. Will that work, and is that the the recommended way?
Seems to work fine in
I have a simple list display built of a ListView and ListStore as
described in
https://developer.gnome.org/gtk3/stable/GtkTreeView.html
I used gtk_tree_view_set_reorderable () to allow the user to reorder the
list by grabbing rows and moving it up or down.
>From
https://developer.gnome.org/gtk3
On Sat, 2014-03-01 at 00:42 +, Lance Capser (lmcapser) wrote:
> The "row_inserted" and "row_deleted" signals in the GtkTreeModel are
> each called with the GtkTreePath of the row in question:
>
That is true.
But for my test with a list with only two rows I got numbers from 0 to 2
from gtk_tr
On Sat, 2014-03-01 at 02:08 +0100, Stefan Salewski wrote:
> On Sat, 2014-03-01 at 00:42 +, Lance Capser (lmcapser) wrote:
> > The "row_inserted" and "row_deleted" signals in the GtkTreeModel are
> > each called with the GtkTreePath of the row in question:
&
On Sat, 2014-03-01 at 19:35 +0100, Stefan Salewski wrote:
> Here is my complete C code:
>
> http://www.ssalewski.de/tmp/test.c
Seems to be not really easy?
I found a similar question on stackoverflow (for Python GTK) but no
helpful answers:
http://stackoverflow.com/questions/2831
indicates a sequence insert-change-delete.
At least I am understanding now what is going on and I should be able to
use it in that way in my application.
Thanks,
Stefan Salewski
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
On Sun, 2014-03-02 at 12:52 +0100, Balint Reczey wrote:
> Hi,
>
> I'm trying to move Wireshark from using the deprecated
> gtk_toggle_tool_button_new_from_stock(), etc. API to use
> gtk_toggle_tool_button_new() and friends instead [1].
>
> Wireshark defines many custom icons icons, but they can't
On Sun, 2014-03-02 at 11:55 +0800, Wiky wrote:
> I try to change the GtkLabel foreground color using following code:
>
> PangoAttrList *attrList = pango_attr_list_new();
> pango_attr_list_insert(attrList,
> pango_attr_foreground_new(255, 0, 0));
> pango_at
was my feeling, that you should specify not the desired, but the
actual size. See bottom most answer here:
http://stackoverflow.com/questions/12521134/gtktoolbutton-with-custom-icon-but-of-stock-icon-size
Best regards,
Stefan Salewski
___
gtk-list mailing
On Sat, 2014-03-08 at 16:18 +, Bill Vyzas wrote:
> Hi all,
>
> I want to draw some graphs and bar charts for some data I have and I am
> searching for any library available. I am using gtk+ with C.
>
> Do you have something in mind? A research on the internet didn't give any
> satisfactory re
look). Now when images are deprecated in
the long term we will get GTK GUI's with less images. OK for me. But is
it OK for smart-phone kids? Well, if other operating systems will reduce
images also, they may accept it.
Best regards,
Stefan Salewski
gtk+-3.12.1/gdk $ grep GdkAtom *.h
gdktypes.h:typedef struct _GdkAtom*GdkAtom;
https://developer.gnome.org/gdk2/stable/gdk2-Properties-and-Atoms.html#GdkAtom
typedef struct _GdkAtom*GdkAtom;
https://developer.gnome.org/gdk3/stable/gdk3-Properties-and-Atoms.html#GdkAtom
typ
On Fri, 2014-08-08 at 00:11 +0200, ax487 wrote:
> My point is the following: when the
> widget is insensitive, it should look different to indicate this fact.
> Specifically the widget should look "greyed out" in some sense. The
> question is how to achieve this effect for a custom widget.
Did you
On Fri, 2014-08-29 at 16:58 -0500, richard boaz wrote:
> you can find a discussion and one possible solution of this in a previous
> thread:
>
> https://mail.gnome.org/archives/gtk-list/2011-July/msg00059.html
I think unfortunately the solution is not that easy...
I have a similar problem with m
on a per-GDK window basis:
>
> https://developer.gnome.org/gdk3/stable/gdk3-Windows.html#gdk-window-set-event-compression
>
> your application should benefit from this API.
Sounds great, thanks. Can not test with Ruby currently, it is 3.12,
which is not available yet for Ruby bi
On Sat, 2014-08-30 at 02:18 +0200, Stefan Salewski wrote:
> Sounds great, thanks. Can not test with Ruby currently, it is 3.12,
> which is not available yet for Ruby bindings.
Just for fun I have tested with GTK 3.12 for Nimrod, but I can not see
an effect of event compression... (
On Sat, 2014-08-30 at 03:46 +0200, Stefan Salewski wrote:
> Just for fun I have tested with GTK 3.12 for Nimrod, but I can not see
> an effect of event compression... (It was necessary to put
> set_event_compression() after window.show_all(), seem that Ruby
> bindings
> ensure that
I have used the green checkmark icon button up to 3.10 release.
(in toolbar,http://www.ssalewski.de/PetEd.html.en )
Since 3.12 it is not available any more, for a fast fix I replaced
#@minor_grid_select = Gtk::RadioToolButton.new(@major_grid_select,
Gtk::Stock::APPLY)
with these two lines
@min
On Sun, 2014-08-31 at 16:10 +0200, Stefan Salewski wrote:
> I have used the green checkmark icon button up to 3.10 release.
> (in toolbar,http://www.ssalewski.de/PetEd.html.en )
>
> Since 3.12 it is not available any more, for a fast fix I replaced
>
> #@minor
On Mon, 2014-09-01 at 14:12 +0200, ax487 wrote:
> Ok, as far as I am concerned disabling the event compression solves
> the
> problem. In my case I have optimized the drawing routines such that
> the
> time needed to process a motion event (i.e. to draw a new segment onto
> the canvas) is << 1ms. S
On Mon, 2014-09-01 at 23:29 +0200, ax487 wrote:
> Just as an illustration: http://picpaste.com/event-DmCNqCHZ.png
> It does make a difference :)
Yes -- so my assumption was that you get events with better time
resolution than 10 ms without compression.
So I hacked together a small test in plain C
On Tue, 2014-09-02 at 11:01 +1000, Lex Trotman wrote:
> As stated before, motion events are only *delivered* per frame, all
> the compress flag does is set it to deliver the motion as one event
> per frame or multiple events per frame. If you have compress true (as
> above) only one event is deliv
I would like to port the Aporia Nim-(rod) editor from GTK2 to GTK3 --
have already done large part of latest necessary wrappers involved, as
glib, cairo, gdk, gtk... (nim-cairo is already at github because I got
some requests to put the files there, other will follow, see
https://github.com/stefans
I am working on GTK3 wrappers/bindings for Nim language.
For gdk-pixbuf-2.31.2 there seems to exist a function
gdk_pixbuf_new_from_file_utf8 which is called in
gdk-pixbuf-io.c:
retval = gdk_pixbuf_new_from_file_utf8 (utf8_filename, error);
and referenced in
gdk-pixbuf-core.h:
#define gdk_pixb
On Fri, 2015-01-02 at 16:29 -0800, Jasper St. Pierre wrote:
> On Fri, Jan 2, 2015 at 4:16 PM, Stefan Salewski wrote:
>
> > I am working on GTK3 wrappers/bindings for Nim language.
> >
>
> You sort of answered your own question here :)
>
> Think about what happe
Hello,
in the last months I was working on GTK3 bindings for the Nim
programming language (http://nim-lang.org/). Now that they are nearly
complete (https://github.com/StefanSalewski?tab=repositories) I tried to
make some example code. One is the gtksourceview test-completion.c
example, currently
On Wed, 2015-03-18 at 20:39 -0400, Scott Talbert wrote:
> Basically, GTK assumes that its libraries are loaded into the global
> symbol namespace. I'm guessing that Nim is probably loading them into
> a
> local namespace (RTLD_LOCAL) and thus when GtkBuilder tries to load
> GtkSourceView, it ca
ot be found. That is a good explanation for the observed behavior.
I will see if I can specify RTLD_GLOBAL -- but maybe there are
disadvantages involved, so manually registering the GObject which do not
belong to the GTK core before asking the builder to process the xml file
may be sufficient.
We have some basic Nim GTK3 bindings available now, see
https://github.com/StefanSalewski?tab=repositories
Of course this note is only for smart people interested in Nim language
(http://nim-lang.org/) and GTK3 development.
The bindings are not really high level -- there is no Nim
Garbage-Collec
On Thu, 2015-05-14 at 20:48 +0100, Emmanuele Bassi wrote:
> Client-side decorated windows when running under a compositor have 5
> pixels around the border
Interesting.
I wonder if these pixel design works well with ultra-HD and 4k displays?
I am going to buy a 27 or 28 inch display with 3840*204
On Mon, 2015-06-08 at 19:22 +0100, Emmanuele Bassi wrote:
> > I plan starting with 3.16, but got no response so far regarding my
> > request to access the build system.
>
> Likely because you're using gtk-list@, which nobody in the GTK team
> follows (except, I think, me).
Interesting info -- ind
On Fri, 2015-06-12 at 16:50 +, Gulshan Singh wrote:
> I need some help with this question:
> https://stackoverflow.com/questions/30791670/how-to-style-a-gtklabel-with-css
>
> A commentor mentioned that I should attach the provider directly to the
> GtkLabel instead of the window, and that work
On Fri, 2015-06-12 at 23:13 +, Gulshan Singh wrote:
> I actually asked in #gtk+ on Freenode, but didn't get any response. I
> asked
> again on the GNOME server, and I got an answer that worked:
> https://stackoverflow.com/questions/30791670/how-to-style-a-gtklabel-with-css/30813433#30813433
Th
On Sat, 2015-06-13 at 11:03 +0100, Kasper Peeters wrote:
> I am trying to make the background colour of all TextViews white,
Have you followed this page:
https://developer.gnome.org/gtk3/stable/TextWidget.html
___
gtk-list mailing list
gtk-list@gnome.
On Tue, 2015-06-09 at 08:54 +0200, Juan L. Freniche wrote:
> I am trying to change the color of the column headers of a treeview,
> with no sucess at all.
It is funny that currently many people try to change default colors of
GTK widgets. Of course generally that is not a good idea -- common sens
On Sat, 2015-06-13 at 20:43 +0200, Stefan Salewski wrote:
> On Tue, 2015-06-09 at 08:54 +0200, Juan L. Freniche wrote:
> > I am trying to change the color of the column headers of a treeview,
> > with no sucess at all.
>
> It is funny that currently many people try to cha
On Sun, 2015-06-14 at 08:30 +0200, Juan L. Freniche wrote:
> What is
> wrong in the sample program? Unfortunately I couldn't guess their
> mail
> addresses to consult with the people involved in 2003.
Yes, my short google search yesterday gave me also something from 2003
-- someone reported that
On Wed, 2015-07-29 at 13:05 +0100, Emmanuele Bassi wrote:
> If you have legacy code that requires disabling double buffering, you
> should probably invest some time into porting it to a proper solution
> integrated with the GTK drawing model;
It would be great if someone could port this example to
On Wed, 2015-07-29 at 15:12 +0100, Emmanuele Bassi wrote:
> Those examples, especially the one that uses Unix signals to interrupt
> the program flow, ought to be burned with fire. Not only they are
> questionable in GTK 2.x, but they are also unportable jumbles of code
> that work by sheer acciden
Some years ago I managed to get it working for my Ruby App -- I am not
sure if only for GTK2, think it worked for GTK3 also.
Not that I need or want it myself, but maybe some users of my
application do?
As I remember, it was hovering the mouse over a menu item and then
pressing the desired keys?
I am still not really sure how to create a FINE pulldown menu bar.
(http://ssalewski.de/PetEd.html.en)
Currently I am still using this Ruby code, which originates from the
initial GTK2 version and still works with GTK 3.14 -- I may have done
some modifications for GTK3, can not really remember.
=
nu or gtk_menu gives me currently only
results for the later, so that one still ignores g-menu? Guess the menu
is too large for GMenu?
Best regards,
Stefan Salewski
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
On Thu, 2015-07-30 at 13:25 +0100, Emmanuele Bassi wrote:
> Hi;
>
> the preferred way to make a menu bar in GTK+ 3.x is to use GMenu and
> GAction:
>
> * https://wiki.gnome.org/HowDoI/GMenu
Just to let you know:
That cited wiki page is a plain copy of the original gnome developer
page
https:/
On Mon, 2015-08-10 at 01:28 -0400, Igor Korot wrote:
> Hi,
> I'm trying to run the modified GTK+3 application.
Sorry, no idea what "the modified GTK+3 application" is...
>
> I have KDE4 as my WM and trying to run the application I see that my button
> does not have a stock images.
> However my a
On Mon, 2015-08-10 at 12:28 -0400, Igor Korot wrote:
> But then how do I set the label for such button?
> It looks like this function can be used for bitmap buttons only (no
> labels).
Of course you can continue using the deprecated stock item, as long as
that still works...
My impression is, tha
On Wed, 2015-08-12 at 23:13 -0400, Igor Korot wrote:
> Now this code for 2.x is using GTK_STOCK_YES.
> Is there a named icon I can use instead. Or even more: is there a list
> of named icons I can check along with the actual icons?
I have no idea how an icon for "Yes" may look :-(
A list of names
On Sun, 2015-08-16 at 01:42 -0400, Igor Korot wrote:
> However the image is not displayed on the button.
> I can't call gtk_window_set_icon_name() as GtkButton is not GtkWindow
> and I'm getting a compiler error.
>
> So how do I make a button display my named icon?
https://developer.gnome.org/gtk
On Sat, 2015-08-15 at 19:16 -0400, Igor Korot wrote:
> However, if
> I explicitely put 48 instead of GTK_ICON_SIZE_DIALOG in the call to
> gtk_icon_theme_load_icon() or
> use gtk_image_new_from_icon_name() instead of the whole block the icon
> appears properly sized.
https://developer.gnome.org/g
On Mon, 2015-08-17 at 01:05 -0400, Igor Korot wrote:
> Hi,
> This page:
> https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-get-double-buffered
> does not say what is the GTK+ version that deprecates the function.
>
> Could someone shed some light, please?
>
> Thank you.
It is a
OK, gtk_widget_set_sensitive () will do it.
But I wonder how to do it for menu items that change sensitively often,
for example COPY menu item. I can set it sensitive whenever something
is selected in my application, for example a word in a text editor, and
make it insensitive if nothing is select
On Sat, 2015-09-26 at 13:14 +0200, Rafał Lużyński wrote:
> > On 20.09.2015 01:05 Stefan Salewski wrote:
> > [...] May it be better, and is it possible to do that on the fly,
> > when the pulldown menu pops on? Maybe a signal which is emitted
> > before
> > the item
In
https://developer.gnome.org/gtk3/stable/ch01s04.html#id-1.2.3.12.5
we have
Before we can make use of this schema in our application, we need to
compile it into the binary form that GSettings expects. GIO provides
macros to do this in autotools-based projects.
I have still no idea what these
On Wed, 2015-09-30 at 19:47 +0200, Stefan Salewski wrote:
> In
>
> https://developer.gnome.org/gtk3/stable/ch01s04.html#id-1.2.3.12.5
>
> we have
>
> Before we can make use of this schema in our application, we need to
> compile it into the binary form that GSettin
On Sat, 2015-10-03 at 12:44 +0200, Stefan Salewski wrote:
> OK, seems that we have to replace given link
>
> https://developer.gnome.org/gio/stable/2.36/ch31s06.html
>
> by
>
> https://developer.gnome.org/gio//2.36/ch31s06.html
I get the feeling that that guess was wrong
On Thu, 2015-10-08 at 15:36 +1100, Daniel Kasak wrote:
> Hi all. I have some GtkEntry widgets with a GtkEntryCompletion
> attached.
> I've set the minimum key length to 0, hoping this would make the
> completion's popup appear on focus in, but it doesn't. I have noticed
> that
> if I type something
On Fri, 2015-10-09 at 09:56 +1100, Daniel Kasak wrote:
> I had issues with GtkComboBoxText last time I tried it, though admittedly
> that was a long time back. Anyway, yes I'm aware of these widgets, and use
> GtkComboBox regularly. I'll look into GtkComboBoxText again. But the
> question remains -
gtk+-3.18.1/examples/application10
cd aplication10
glib-compile-schemas .
glib-compile-resources exampleapp.gresource.xml --target=resources.c
--generate-source
gcc -o main main.c resources.c exampleapp.c exampleappwin.c exampleappprefs.c
`pkg-config --libs --cflags gtk+-3.0`
./main exampleapp.
On Sat, 2015-10-10 at 06:16 +0200, Marcus Karlsson wrote:
> Sorry for the earlier misunderstanding. What pressing the buttons in the
> word list actually do is enter the word into the search field, and the
> text view is only scrolled if the search field changes. If you want the
> example app to sc
gtk+-3.18.1/examples/application10
cd application10
glib-compile-schemas .
glib-compile-resources exampleapp.gresource.xml --target=resources.c
--generate-source
gcc -o main main.c resources.c exampleapp.c exampleappwin.c exampleappprefs.c
`pkg-config --libs --cflags gtk+-3.0`
I am still trying
On Wed, 2015-10-21 at 14:29 -0500, richard boaz wrote:
> you can find a sample program doing all of this, and more, here:
>
> https://gitlab.com/ivor/GTK3-Cairo
>
> On Wed, Oct 21, 2015 at 1:45 PM, Reymond Dominique <
> reymon...@labogeo.pf>
> wrote:
>
> > Hi all
> >
> >
> > I am looking for an
On Sat, 2015-12-05 at 16:47 +0100, Miroslav Rajcic wrote:
> I am trying to customize GtkCellRendererCombo so that the items in the
> combo box have different colors.
Yes, that is not really easy.
Looking at
https://developer.gnome.org/gtk3/stable/GtkCellLayout.html#gtk-cell-layo
ut-set-cell-data
On Sun, 2015-12-06 at 15:26 +0100, Miroslav Rajcic wrote:
> Hi Stefan,
>
> thank you for the nice idea.
I was not really happy with that fix myself.
You may have seen
http://www.kksou.com/php-gtk2/sample-codes/set-up-combobox-in-treeview-with-colors-Part-1.php
Seems to be a related task, but i
On Sun, 2016-01-10 at 14:21 +0100, Jean Bréfort wrote:
> Such a widget already exists in GOffice
Or you may search on github for terms like "gtk cairo", there are some
hits.
Such a widget would be nice, but I know that it is much work to make a
really fine one. You intend to use plain C? A Questi
I am a bit confused...
In the past I have used gtk_widget_queue_draw_area () when parts of my
drawing area has changed. (http://ssalewski.de/PetEd.html.)
In the gtk3-demo I just saw that gdk_window_invalidate_rect () is used.
Both seems to work fine, but I have no good idea about the differences
https://developer.gnome.org/gtk3/stable/gtk3-General.html#gtk-main-iteration
I have some problems to understand and correctly use this function.
Last week I wrote a toy chess game from scratch in Nim language, just
to get some more experience with Nim and to have one more test and
example for my
On Sun, 2016-01-31 at 11:41 +, Chris Vine wrote:
> On Sun, 31 Jan 2016 10:45:18 +0100
> Stefan Salewski wrote:
> > https://developer.gnome.org/gtk3/stable/gtk3-General.html#gtk-main-iteration
> >
> > I have some problems to understand and correctly use this functi
On Sun, 2016-01-31 at 09:19 -0500, Robert Schroll wrote:
> My first thought would have been to trigger that callback via a
> g_idle_add() [1] call
Thanks for your responses.
I think the idea of using "call gtk_main_iteration() in a while loop
with gtk_events_pending()" is OK for now. Later I may
It is one more example which shows how GTK3 can be used with Nim:
https://github.com/StefanSalewski/nim-chess
It is currently not fully compatible with the one year old GTK3 3.15.xx
bindings from
https://github.com/StefanSalewski/
but that should be not a big problem.
As we have currently no G
Recently I started preparing the gtk 3.20 bindings for Nim...
Seems that some hexadecimal constants have now minus signs -- I am a
bit confused?
#define G_MININT8 ((gint8) -0x80)
stefan@AMD64X2 ~/Downloads/glib-2.47.6/glib $ grep G_MININT8
~/Downloads/glib-2.43.90/glib/*.h
/home/stefan/Do
Have started building the 3.20 bindings for Nim language...
Currently we are not using GObject Introspection but generate the
bindings from the header files using the Nim tool c2nim.
~/Downloads/glib-2.47.92/gio $ grep GListModel *.h
glistmodel.h:G_DECLARE_INTERFACE(GListModel, g_list_model, G, L
On Mon, 2015-03-30 at 14:50 +0200, Stefan Salewski wrote:
> We have some basic Nim GTK3 bindings available now, see
>
> https://github.com/StefanSalewski?tab=repositories
Bindings for GTK 3.20 are available now, I created a new top level
directory at github for the ten module
I have added the Nim version of https://developer.gnome.org/gtk3/stable
/ch01s04.html#id-1.2.3.12.5 as one more example of the Nim bindings for
GTK 3.20. See
http://forum.nim-lang.org/t/2198
https://github.com/ngtk3
Tested only on 64 bit Linux yet (Gentoo AMD64, gcc 5.3). There is a
chance that
https://developer.gnome.org/gtk3/stable/ch01s04.html#id-1.2.3.12.5
Quote:
"Our simple ui file puts a GtkHeaderBar on top of a GtkStack widget.
The header bar contains a GtkStackSwitcher, which is a standalone
widget to show a row of 'tabs' for the pages of a GtkStack."
What is the recommended wa
As an exercise I tried to create the window.ui xml file below with
glade UI editor from scratch. I have already learned that my current
glade version 3.18.3 does not support stack and stack switcher, but
that will change soon with version 3.20. But I was not able to generate
the starting template,
On Mon, 2016-05-23 at 22:00 +0200, Stefan Salewski wrote:
> As an exercise I tried to create the window.ui xml file below with
> glade UI editor from scratch. I have already learned that my current
> glade version 3.18.3 does not support stack and stack switcher, but
> that will chan
On Fri, 2016-05-27 at 14:32 +0530, Jay Aurabind wrote:
> Hi,
>
> I have added a stackswitcher to the headerbar, and I also have few
> more button on the header bar. Depending on the stack which user
> selected, I'd like to make changes to the headerbar. I cant seem to
> find a way to do it.
>
W
When I use a dark color scheme for GtkSourceView tooltips displaying
syntax errors look not really nice. For example I am using a color
scheme similar to this one currently:
http://ssalewski.de/tmp/NEd-SHD.png
Some weeks ago, when I still was using a light scheme, I could hover
over a syntax erro
On Tue, 2016-06-14 at 22:50 +0200, infirit wrote:
> Unfortunately documentation is really sparse
Thanks for your reply.
After some testing I have indeed been able to get black text on white
background with this Nim code:
const
str0 = ".tooltip {background-color: #fff; color: #000; \n}"
proc s
https://developer.gnome.org/gtk3/stable/GtkStack.html#gtk-stack-set-visible-child
https://developer.gnome.org/gtk3/stable/GtkStack.html#gtk-stack-set-visible-child-name
Do we have something similar for GTK Notebook?
https://developer.gnome.org/gtk3/stable/GtkNotebook.html
On Wed, 2016-06-22 at 11:28 +0200, Stefan Salewski wrote:
> https://developer.gnome.org/gtk3/stable/GtkStack.html#gtk-stack-set-v
> isible-child
>
> https://developer.gnome.org/gtk3/stable/GtkStack.html#gtk-stack-set-v
> isible-child-name
>
> Do we have something sim
On Fri, 2016-07-01 at 12:06 +0200, Glus Xof wrote:
> Hi guys,
>
> I'm looking for the CSS sentence to change the GtkTreeView Bar
> Color... I
> mean the selection bar that is set like blue in Adwaita default theme
> (in
> gtk+-3.0 style).
>
> I tested unsuccesfully with
>
> GtkTreeView :selected
On Fri, 2016-07-01 at 21:19 +0200, Glus Xof wrote:
> The Stefan's proposed solution doesn't run for me and I don't
> understand why...
That is sad...
You are on Linux?
Of course your 3.21 is the unstable development version.
You may test if the css file does work at all, or if only your tre
On Sat, 2016-07-02 at 11:23 +0200, Glus Xof wrote:
> Thanks guys...
>
> But It's not yet solved...
>
> First of all, I downgraded gtk+ libraries to 3.20.6...
>
> After, I changed the contents of my ~/.config/gtk-3.0/gtk.css, with
>
>
> treeview row:selected {
> background-color: #0
Yesterday I pushed my Nim editor to github, see
http://ssalewski.de/tmp/NEd.png
https://github.com/ngtk3/NEd
http://forum.nim-lang.org/t/2198
Lets try an easy question: I am using the font chooser button, which
has default text (none) and later shows the name of the last opened
file. For my use
On Sun, 2016-07-10 at 15:54 +0200, Stefan Salewski wrote:
> Maybe another one, but less important: I am using GSettings -- for
> testing if the editor would work fine on a fresh install, I would
> like
> to reset all modifications done by my program.
OK, that was not too diff
1 - 100 of 209 matches
Mail list logo