Re: [gtk-osx-devel] Announcement: this mailing list will be retired by the end of Oct 2022

2022-10-26 Thread Andrea Veri
Hi, I’ve received several questions during the past days which possibly makes sense to summarize in a single topic [1] which I can then reference. Hopefully this specific post will help anyone looking for the same set of answers as well. If any additional common question arises I’ll make sure to

[gtk-osx-devel] Announcement: this mailing list will be retired by the end of Oct 2022

2022-10-20 Thread Andrea Veri
Hi, As we have been communicating during the past few months GNOME's Mailman platform is being decommissioned (python2 deprecation, major burden in managing lists spam). The deadline is currently set to the end of October 2022. Mailing list subscribers are invited to migrate to GNOME's Discourse

Re: [gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-18 Thread Spock
Sorry about not doing the reply-all - many decades of trying not to do that accidentally … Agree on /usr/local - we are making the same point but two different ways. On any unix type system any developer simply has to take care to avoid problems with /user/local - “ignore at your peril” if you

Re: [gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-18 Thread john
Please remember to copy the list on all replies. Of course one can't rely on something being in /usr/local, but that misses the point: If you install something in /usr/local the compiler is going to find it unless there's another instance in the command line search list (-I and -L). Worse,

Re: [gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-17 Thread john
I consider it normal to *not* have homebrew, fink, and MacPorts installed. Why would anyone want to make their Mac behave like Linux? Contrariwise, if you want to develop for one of those environments what use do you have for Gtk-OSX? Cmake's homebrew wart is a fairly recent addition

Re: [gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-17 Thread Spock
As mentioned, I’m on an M1 Mac where everything homebrew does is in /opt/homebrew … there is no /usr/local “pollution” from homebrew on M1 Macs … I agree that there may have been problems with the x86 version where homebrew used /usr/local as its own fiefdom! Now, as I said earlier in the

Re: [gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-16 Thread john
On .pythonversion, got it. Glad that's fixed. On brotlidec in homebrew are you *sure* that there's no link to it in /usr/local/lib? That's one of Homebrew's major malignancies, by default it links its files into the default search locations. I'm not inclined to add work-arounds for users who

Re: [gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-16 Thread Spock
Happy to be of some help! My issue with ~/.pythonversion was due to my rough fix for the pip issue: —snip— export PYTHON_CONFIGURE_OPTS="--enable-shared" export PYENV_PYTHON_VERSION=3.10.0 $PYENV install -v $PYENV_PYTHON_VERSION PIP="$PYENV_ROOT/shims/pip" $PYENV local 3.10.0 $PIP install

Re: [gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-15 Thread John Ralls
Ah, got it. Fix pushed. Thanks. I also finally figured out the cause of "pyenv: pip: command not found" and pushed a fix for that too. BTW, I don't see ~/.pythonversion. Are you sure that's from pyenv? Regards, John Ralls > On Feb 15, 2022, at 2:08 PM, Spock wrote: > > Sorry - I did not

Re: [gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-15 Thread Spock
Sorry - I did not explain myself well enough there John. I guess the issue that I’m pointing out is that gtk-osx-setup.sh writes the jhbuild script but writes an absolute path for $PATH to be set to rather than escaping so that $PATH is read from the environment when running jhbuild. In the

Re: [gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-15 Thread john
Well, it's been a requirement since forever that you put $DEVPREFIX/bin in your path before invoking jhbuild, but I suppose there's no harm in also adding it with jhbuild to prevent path pollution. I hadn't noticed ~/.pythonversion. That's rude of them, I'll look for a way to bury that

Re: [gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-15 Thread Spock
Hi John, I guess the issue with the $PYENV local 23.10.0 is that it causes ~/.pythonversion to be created - which may or may not be a permanent change a developer might want? The more serious issue is with meson not finding ninja. I think this is down to jhbuild not having ~/.new_local/bin in

Re: [gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-14 Thread John Ralls
> On Feb 14, 2022, at 10:03 AM, Spock wrote: > > Hi, I’m running gtk-osx-setup.sh on an M1 Mac/MacOS 12.2 and am having a > couple of problems ... > > First off, I’m running without any homebrew paths in any of the environment > variables. > > Now, with this shell, when I run the script, I

[gtk-osx-devel] Problems with gtk-osx-setup.sh - M1

2022-02-14 Thread Spock
Hi, I’m running gtk-osx-setup.sh on an M1 Mac/MacOS 12.2 and am having a couple of problems ... First off, I’m running without any homebrew paths in any of the environment variables. Now, with this shell, when I run the script, I get the following: — snip pyenv: pip: command not found

[gtk-osx-devel] Python3 and jhbuild

2020-08-17 Thread John Ralls
I learned a couple of weeks ago that sometime in the last 9 months or so jhbuild had grown the ability to use python3 and that as of a month ago it's required on master. As a temporary workaround I froze checkouts to the last release (mid-March). Temporary time is over and I'm about to push

Re: [gtk-osx-devel] stability problems with gsequencer

2020-07-05 Thread John Ralls
> On Jul 5, 2020, at 3:49 AM, Joël Krähemann via gtk-osx-devel-list > wrote: > > hi all, > > Recently, I encountered stability problems on Apple OS X, especially > since MacOS 10.15. Prior versions worked perfect for me. > > Can you share your expertise with me? Do you have the same

[gtk-osx-devel] stability problems with gsequencer

2020-07-05 Thread Joël Krähemann via gtk-osx-devel-list
hi all, Recently, I encountered stability problems on Apple OS X, especially since MacOS 10.15. Prior versions worked perfect for me. Can you share your expertise with me? Do you have the same problems? My application `gsequencer` crashes often when adding ladspa cmt plugin "feedback delay line

Re: [gtk-osx-devel] Broken link in site

2019-05-28 Thread John Ralls
> On May 28, 2019, at 12:29 PM, Stefanos Mitropoulos via gtk-osx-devel-list > wrote: > > Hello > > I just wanted to let you know that the link for gtk-osx-build-setup.sh > (https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/gtk-osx-build-setup.sh) > returns 404 Yes, it's been replaced

[gtk-osx-devel] Broken link in site

2019-05-28 Thread Stefanos Mitropoulos via gtk-osx-devel-list
Hello I just wanted to let you know that the link for gtk-osx-build-setup.sh (https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/gtk-osx-build-setup.sh) returns 404 — Best Regards Stefanos Mitropoulos ___ gtk-osx-devel-list mailing list

Re: [gtk-osx-devel] Building GTK3 on OSX

2019-05-22 Thread John Ralls
> On May 22, 2019, at 3:10 PM, Matthew Allen via gtk-osx-devel-list > wrote: > > I've got the boot strap now working. > > The next issue is that when running: > jhbuild build python meta-gtk-osx-bootstrap meta-gtk-osx-gtk3 > I get: > configure: error: Python module libxml2 is needed to run

[gtk-osx-devel] Building GTK3 on OSX

2019-05-22 Thread Matthew Allen via gtk-osx-devel-list
I've got the boot strap now working. The next issue is that when running: jhbuild build python meta-gtk-osx-bootstrap meta-gtk-osx-gtk3 I get: configure: error: Python module libxml2 is needed to run this package. Looking for that with find it seems to be there:

Re: [gtk-osx-devel] Gtk OSX build not working for me

2019-05-21 Thread John Ralls
> On May 21, 2019, at 4:21 AM, Matthew Allen via gtk-osx-devel-list > wrote: > > I'm trying to follow the build guide here: > https://wiki.gnome.org/action/show/Projects/GTK/OSX/Building > > But it seems to be broken. Firstly the download link to > 'gtk-osx-build-setup.sh' is broken. Not a

[gtk-osx-devel] Gtk OSX build not working for me

2019-05-21 Thread Matthew Allen via gtk-osx-devel-list
I'm trying to follow the build guide here: https://wiki.gnome.org/action/show/Projects/GTK/OSX/Building But it seems to be broken. Firstly the download link to 'gtk-osx-build-setup.sh' is broken. Not a good omen. I'm assuming that maybe that file is here instead?

Tree view toggle and gtypes

2019-05-01 Thread Mike Martin via gtk-app-devel-list
Are there any gtypes that are compatible with both toggle and text renderers? Thanks ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Using different signals depending on which row of of a treeview

2019-05-01 Thread Mike Martin
This is more or less what I did except I added a signal_connect separately to the visibilty (which is in a cell_data_function on first renderer) ie: (perl) my @cells=Treeview->get_column(n)->get_cells; then $cells[n]->signal_connect(blah } ); (where n is the appropriate number of column/renderer)

Re: Using different signals depending on which row of of a treeview

2019-04-30 Thread Mike Martin via gtk-app-devel-list
This is more or less what I did except I added a signal_connect separately to the visibilty (which is in a cell_data_function on first renderer) ie: (perl) my @cells=Treeview->get_column(n)->get_cells; then $cells[n]->signal_connect(blah } ); (where n is the appropriate number of

Re: Using different signals depending on which row of of a treeview

2019-04-29 Thread Reuben Rissler
On 04/29/2019 10:36 AM, Mike Martin via gtk-app-devel-list wrote: Has anyone done anything like this? I haven't, but you are welcome to my simple Glade mockup:                               1     one         2     two       

Re: REMINDER: List moved to Discourse; archival in 1 week

2019-04-29 Thread Osmo Antero via gtk-app-devel-list
I go down with the boat. Emmanuele Bassi via gtk-app-devel-list escreveu no dia quarta, 24/04/2019 à(s) 12:36: > Hi all; > > next week, on May 1st, this list will be archived[0]. This means no new > subscriptions, and no new email. > > If you have questions about GTK, GLib, and the rest of the

Using different signals depending on which row of of a treeview

2019-04-29 Thread Mike Martin via gtk-app-devel-list
Has anyone done anything like this? Basically the idea is that I push multiple renderers into a treeview column , then depending on the row hide/show the appropriate renderer (text, combo, toggle) Then call the appropriate signal_connect (edited, changed, toggled)

Consult for gdk_window_shape_combine_region in GTK3

2019-04-26 Thread Zhenghua Ji via gtk-app-devel-list
Hi experts, I want to consult for the API gdk_window_shape_combine_region. We are upgrading our product from GTK2 to GTK3. Now we meet an issue for gdk_window_shape_combine_region We have an app, it will create a xwindow using XCreateWindow, and pass its xwindow id to another

Consult for gdk_window_shape_combine_region in GTK3

2019-04-26 Thread jizh9 via gtk-app-devel-list
Hi experts, I want to consult for the API gdk_window_shape_combine_region. We are upgrading our product from GTK2 to GTK3. Now we meet an issue for gdk_window_shape_combine_region We have an app, it will create a xwindow using XCreateWindow, and pass its xwindow id to

REMINDER: List moved to Discourse; archival in 1 week

2019-04-24 Thread Emmanuele Bassi via gtk-app-devel-list
Hi all; next week, on May 1st, this list will be archived[0]. This means no new subscriptions, and no new email. If you have questions about GTK, GLib, and the rest of the core GNOME development platform, you can use the Discourse[1] instance hosted on GNOME infrastructure; we have a

REMINDER: List moved to Discourse; archival in 1 week

2019-04-24 Thread Emmanuele Bassi via gtk-devel-list
Hi all; next week, on May 1st, this list will be archived[0]. This means no new subscriptions, and no new email. If you have questions about GTK, GLib, and the rest of the core GNOME development platform, you can use the Discourse[1] instance hosted on GNOME infrastructure; we have a

Re: Demo/Sample for drag and drop

2019-04-23 Thread Daniel Boles via gtk-devel-list
I found these quite good (even though I wasn't using ListBox; they can be generalised) https://blog.gtk.org/2017/04/23/drag-and-drop-in-lists/ https://blog.gtk.org/2017/06/01/drag-and-drop-in-lists-revisited/ ___ gtk-devel-list mailing list

Subclassing on a GtkSourceMark

2019-04-15 Thread Zdravetz via gtk-app-devel-list
Hello guys! While I was developing my application I just wished that I had more control on the way GtkSourceMarks render (yes, I am using the GtkSourceViewModule) GTK+ is amazing in all aspects. Including the sources. So I ask you, who know GTK+ sources better, could you please provide me

RE: gtk3 drag and drop sample/demo

2019-04-15 Thread Pankaj Bansal via gtk-app-devel-list
Hello Emmanaele,   Thanks for replying and sorry if I sounded unreasonable to go and check the issue. I was referring to look at the issue and reproducer for the issue.   Issue: In Ubuntu 16.04 (gtk3.18) all works fine for in JavaFX. For Ubuntu 18.04 (gtk3.20 or later), the dnd stops

Demo/Sample for drag and drop

2019-04-15 Thread Pankaj Bansal via gtk-devel-list
Hi All, I am working with OpenJDK JavaFX dev group and we are facing some problems with drag and drop functionality with gtk3.20 or later. You can have a look at the bug for more information https://bugs.openjdk.java.net/browse/JDK-8211302 I am looking for a sample/demo for drag and drop

Re: gtk3 drag and drop sample/demo

2019-04-15 Thread Emmanuele Bassi via gtk-app-devel-list
On Mon, 15 Apr 2019 at 12:45, Pankaj Bansal via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > I am working with OpenJDK JavaFX dev group and we are facing some problems > with drag and drop functionality with gtk3.20 or later. You can have a look > at the bug for more information >

gtk3 drag and drop sample/demo

2019-04-15 Thread Pankaj Bansal via gtk-app-devel-list
Hi All, I am working with OpenJDK JavaFX dev group and we are facing some problems with drag and drop functionality with gtk3.20 or later. You can have a look at the bug for more information https://bugs.openjdk.java.net/browse/JDK-8211302. It will be great if someone can point out any big

Re: TreeView - set border on individual cells

2019-04-09 Thread Eric Cashon via gtk-app-devel-list
I looked into this a little more. It looks like using an overlay is the easiest solution that I could find. You can override the render function of the cell renderer but then you will probably need all the code in the text cell renderer. This isn't too bad since the text cell renderer is

Re: Setting the scroll position of a GtkTextView in GtkScrolledWindow after render

2019-04-08 Thread Andri Möll via gtk-app-devel-list
Thanks, both! While I'm not using GtkSourceView but GtkTextView, given the former depends on the latter, they're related. Anyway, turns out that GtkTextView indeed lays its text out asynchronously without any event to notify when it's done. I did end up creating a GNOME Discourse topic,

Re: Setting the scroll position of a GtkTextView in GtkScrolledWindow after render

2019-04-08 Thread Reuben Rissler
On 04/08/2019 09:07 AM, Andri Möll via gtk-app-devel-list wrote: Hey, 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 in a GtkScrolledWindow, but it's reset to a different value, if it works at all. I've so far tried

Re: Setting the scroll position of a GtkTextView in GtkScrolledWindow after render

2019-04-08 Thread Stefan Salewski
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:

Setting the scroll position of a GtkTextView in GtkScrolledWindow after render

2019-04-08 Thread Andri Möll via gtk-app-devel-list
Hey, 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 in a GtkScrolledWindow, but it's reset to a different value, if it works at all. I've so far tried to set the vertical adjustment value both after GtkScrolledWindow is

Re: TreeView - set border on individual cells

2019-04-06 Thread Eric Cashon via gtk-app-devel-list
I see gtk_cell_renderer_render() in the documentation and it has a cairo_t to draw with. I haven't tried to subclass from a treeview and override the rendering. Something I should probably figure out. Do you know of an example of doing something like this in C? Maybe I can put together a

Re: TreeView - set border on individual cells

2019-04-06 Thread Emmanuele Bassi via gtk-app-devel-list
On Sat, 6 Apr 2019 at 20:15, wrote: > The second cairo_t is used so that the rectangle can be lined up to the > cell. If I use the cairo_t in the "draw" callback then the rectangle > doesn't line up. > You're still using: 1. the wrong window to draw on 2. deprecated API 3. a slow rendering

Re: TreeView - set border on individual cells

2019-04-06 Thread Eric Cashon via gtk-app-devel-list
Hi Emmanuele, The second cairo_t is used so that the rectangle can be lined up to the cell. If I use the cairo_t in the "draw" callback then the rectangle doesn't line up. Eric ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: TreeView - set border on individual cells

2019-04-06 Thread Emmanuele Bassi via gtk-app-devel-list
On Sat, 6 Apr 2019 at 19:05, Eric Cashon via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > static gboolean draw_rectangle(GtkWidget *tree_view, cairo_t *cr, gpointer > data) > { > GtkTreePath *path=gtk_tree_path_new_from_indices(row_g, -1); > > g_print("Draw Rectangle %i

GtkTreeView. How to hide or show an individual cell in a row

2019-04-06 Thread Osmo Antero via gtk-app-devel-list
Hello, I am making a GTK3 application with GtkTreeView listing. The simple listing will show country flags + names and number of radio-channels (to later choose from). I want to show a button or icon in a column (in the cell) when the row has been selected. Otherwise the cell should be empty

Re: TreeView - set border on individual cells

2019-04-06 Thread Eric Cashon via gtk-app-devel-list
Hi Mike, I gave what you said a try and it looks to work well enough. Then, how do you get a box around a selected cell. It seems to me if you let the built in renderer do it's thing and then get a cairo_t to just draw a rectangle after, it should work, right? OK, a bit of a hack but it

Re: TreeView - set border on individual cells

2019-04-05 Thread Mike Martin via gtk-app-devel-list
On Fri, 5 Apr 2019, 12:36 Mike Martin, wrote: > Update, I worked out how to get rid of highlight > > 1 treeview->set selection mode(none) > 2 treeview->signal_connect(row_activated =>sub{ > Treeview->set_cursor_on_cell(path,column,cell,true) > } > ) > > Not exact code, but this is process that

Re: TreeView - set border on individual cells

2019-04-05 Thread Mike Martin
Update, I worked out how to get rid of highlight 1 treeview->set selection mode(none) 2 treeview->signal_connect(row_activated =>sub{ Treeview->set_cursor_on_cell(path,column,cell,true) } ) Not exact code, but this is process that worked for me Would still be useful if I could find out about

Re: TreeView - set border on individual cells

2019-04-05 Thread Tilo Villwock via gtk-app-devel-list
Am Donnerstag, den 04.04.2019, 23:04 +0100 schrieb Mike Martin via gtk- app-devel-list: > Is this possible? > > I did originally plan to have certain cells have a background colour > to > emphasize that there is a value to change. However as soon as the row > is > selected this is all wiped out

TreeView - set border on individual cells

2019-04-04 Thread Mike Martin via gtk-app-devel-list
Is this possible? I did originally plan to have certain cells have a background colour to emphasize that there is a value to change. However as soon as the row is selected this is all wiped out by the highlight from selected row So is it possible to set the borders on a cell by cell basis, all I

Re: Problem with grids and items spanning more than one column

2019-04-04 Thread Mike Martin
I resolved it by applying set_halign('start') to only the textview in the layout Looks like some interaction between the textview and the multicolumn liststore On Wed, 3 Apr 2019 at 12:53, Reuben Rissler wrote: > On 04/02/2019 05:09 AM, Mike Martin via gtk-app-devel-list wrote: > > I am using

Re: Setting attributes per cell in treeview (list store)

2019-04-03 Thread Eric Cashon via gtk-app-devel-list
Hi Mike, I think that you would need to set up individual color columns so that you can color individual cells in the table. For colors, “cell-background-rgba” gives better color control but “cell-background” with html basic colors might be simpler. Eric    //gcc -Wall stripe_list1.c -o

Setting attributes per cell in treeview (list store)

2019-04-03 Thread Mike Martin via gtk-app-devel-list
Hi I have a simple tree view based on a list store What is the best way to set attributes per row/column is for a specific cell not for a row or column? Basically it is used to set various options and some cells are not used, so I want them to be non-activatable /selectable to prevent any

Re: Problem with grids and items spanning more than one column

2019-04-03 Thread Reuben Rissler
On 04/02/2019 05:09 AM, Mike Martin via gtk-app-devel-list wrote: I am using an embedded Gtk grid within a grid , which contains numerous widgets However if I have a widget that spans more than one column it messes up the layout of all other widgets , which seem to position themseleves randomly

Problem with grids and items spanning more than one column

2019-04-02 Thread Mike Martin
I am using an embedded Gtk grid within a grid , which contains numerous widgets However if I have a widget that spans more than one column it messes up the layout of all other widgets , which seem to position themseleves randomly along the width of this widget, causing horribly jagged widget

Problem with grids and items spanning more than one column

2019-04-02 Thread Mike Martin via gtk-app-devel-list
I am using an embedded Gtk grid within a grid , which contains numerous widgets However if I have a widget that spans more than one column it messes up the layout of all other widgets , which seem to position themseleves randomly along the width of this widget, causing horribly jagged widget

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-04-01 Thread Adam Tauno Williams
> The problem for me is clock. I tried Slack for a development project > I'm  leading, but important messages got lost in the shuffle. Also, > it wasjust another website to check, another interface to learn. +1 > Email has been a good aggregator tool to save time--it is just one > place I have

Re: Treeview (liststore) CSS question

2019-03-22 Thread Mike Martin
Resolved my issue, turns out I needed some voodoo with properties $widgetpage{file_scroll}->set('propagate_natural_height','1'); $widgetpage{file_scroll}->set_vexpand(0); On Mon, 18 Mar 2019 at 16:01, Mike Martin wrote: > Is it possible to set different background for a treestore, with a >

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-21 Thread Michael Torrie via gtk-app-devel-list
Is the subject line of this thread a freudian slip? We are definitely moving toward discord, from the complaints! On 03/21/2019 09:33 AM, Emmanuele Bassi via gtk-app-devel-list wrote: > On Thu, 21 Mar 2019 at 02:28, Matthew A. Postiff via gtk-app-devel-list < > gtk-app-devel-list@gnome.org>

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-21 Thread Emmanuele Bassi via gtk-app-devel-list
On Thu, 21 Mar 2019 at 02:28, Matthew A. Postiff via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > Is it easy in discourse to turn on email, either daily digests or > "live"? Is there an rss feed that I can subscribe to? A quick howto > would be great. > There is a link on how to

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-21 Thread Emmanuele Bassi via gtk-app-devel-list
On Wed, 20 Mar 2019 at 23:59, David C. Rankin < drankina...@suddenlinkmail.com> wrote: > On 03/18/2019 12:02 PM, Emmanuele Bassi via gtk-app-devel-list wrote: > > Hi all; > > > > as announced in: > > > > > https://mail.gnome.org/archives/gtk-devel-list/2019-March/msg0.html > > > > we have

Re: Treeview (liststore) CSS question

2019-03-21 Thread Mike Martin via gtk-app-devel-list
apologies I did resolve my issue , posted as wrong person Resolved my issue, turns out I needed some voodoo with properties $widgetpage{file_scroll}->set('propagate_natural_height','1'); $widgetpage{file_scroll}->set_vexpand(0); On Tue, 19 Mar 2019 at 18:53, wrote: > > Hi Mike, > > Have you

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-20 Thread Liam R E Quin
On Wed, 2019-03-20 at 21:37 -0400, Reuben Rissler wrote: > I originally thought I would participate on Discourse via email, > then email got discouraged in favor of the web UI. > > I don't have that much answers, and neither do I have a lot of > questions. Therefore I will just quietly fade

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-20 Thread Matthew A. Postiff via gtk-app-devel-list
On 3/20/2019 9:37 PM, Reuben Rissler wrote: RIP gtk-app-devel. :'( I hope this discourse thing succeeds. Personally I find it just another awkward, cumbersome run of the mill QA site. The mailing list should be preserved. But what do I know? I've only seen about 90% of these migrations to

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-20 Thread Reuben Rissler
RIP gtk-app-devel. :'( I hope this discourse thing succeeds. Personally I find it just another awkward, cumbersome run of the mill QA site. The mailing list should be preserved. But what do I know? I've only seen about 90% of these migrations to forum like sites lose users and community

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-20 Thread David C. Rankin
On 03/18/2019 12:02 PM, Emmanuele Bassi via gtk-app-devel-list wrote: > Hi all; > > as announced in: > > https://mail.gnome.org/archives/gtk-devel-list/2019-March/msg0.html > > we have created a Discourse instance available at: > > https://discourse.gnome.org RIP gtk-app-devel. I

Re: Treeview (liststore) CSS question

2019-03-19 Thread Eric Cashon via gtk-app-devel-list
Hi Mike, Have you tried gtk_widget_set_vexpand(tree, FALSE); on the treeview? This might work to show a different background color on the unused space of the treeview. I don't know if this is of any help but also remember that you can set individual row colors in a treeview by having a

Re: Treeview (liststore) CSS question

2019-03-19 Thread Mike Martin via gtk-app-devel-list
Its not whether the row is empty, its whether it exists On Mon, 18 Mar 2019 at 23:25, Daniel Kasak wrote: > On Tue, Mar 19, 2019 at 3:01 AM Mike Martin via gtk-app-devel-list < > gtk-app-devel-list@gnome.org> wrote: > >> Is it possible to set different background for a treestore, with a >>

Treeview (liststore) CSS question

2019-03-19 Thread Mike Martin
Is it possible to set different background for a treestore, with a liststore, for populated rows v blank area. ie: If I have a dynamic treeview I would like to have one background colour for the rows and another for the treestore where there are no rows The particular example has the following

Re: Treeview (liststore) CSS question

2019-03-19 Thread Mike Martin
Its not whether the row is empty, its whether it exists On Mon, 18 Mar 2019 at 23:25, Daniel Kasak wrote: > On Tue, Mar 19, 2019 at 3:01 AM Mike Martin via gtk-app-devel-list < > gtk-app-devel-list@gnome.org> wrote: > >> Is it possible to set different background for a treestore, with a >>

Re: Correct way to deallocate an unix signal source

2019-03-19 Thread Philip Withnall
On Mon, 2019-03-18 at 14:38 +0100, Enrico Mioso wrote: > Regarding the code, at exit I do the following: > if (my_state->mainloop) { > g_main_loop_unref(my_state->mainloop); > my_state->mainloop = NULL; > } > > if (my_state->ctx) { > g_main_context_unref(my_state->ctx); >

Re: Correct way to deallocate an unix signal source

2019-03-19 Thread Enrico Mioso via gtk-app-devel-list
That's great! Thanks! Yeah, I'll keep it on my mind. I currently choose to depend on GLib 2.58 to do something like: g_source_set_callback(lctx->logwatcher, G_SOURCE_FUNC(agh_ubus_logstream_channel_io), lctx, NULL); so there should be no issues in case. Thank again!! Enrico On Mon, 18 Mar

Re: Correct way to deallocate an unix signal source

2019-03-19 Thread Enrico Mioso via gtk-app-devel-list
Dear Philip, thank you very much for your answer and patience. I will send a patch soon! :) Regarding the code, at exit I do the following: if (my_state->mainloop) { g_main_loop_unref(my_state->mainloop); my_state->mainloop = NULL; } if (my_state->ctx) {

Re: Treeview (liststore) CSS question

2019-03-18 Thread Daniel Kasak via gtk-app-devel-list
On Tue, Mar 19, 2019 at 3:01 AM Mike Martin via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > Is it possible to set different background for a treestore, with a > liststore, for populated rows v blank area. > > ie: If I have a dynamic treeview I would like to have one background

ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-18 Thread Emmanuele Bassi via gtk-app-devel-list
Hi all; as announced in: https://mail.gnome.org/archives/gtk-devel-list/2019-March/msg0.html we have created a Discourse instance available at: https://discourse.gnome.org After testing it for the past couple of weeks, we're very satisfied with how the platform behaves, so we are

ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-18 Thread Emmanuele Bassi via gtk-devel-list
Hi all; as announced in: https://mail.gnome.org/archives/gtk-devel-list/2019-March/msg0.html we have created a Discourse instance available at: https://discourse.gnome.org After testing it for the past couple of weeks, we're very satisfied with how the platform behaves, so we are

Treeview (liststore) CSS question

2019-03-18 Thread Mike Martin via gtk-app-devel-list
Is it possible to set different background for a treestore, with a liststore, for populated rows v blank area. ie: If I have a dynamic treeview I would like to have one background colour for the rows and another for the treestore where there are no rows The particular example has the following

Re: Correct way to deallocate an unix signal source

2019-03-18 Thread Philip Withnall
Hi, On Thu, 2019-03-14 at 00:09 +0100, Enrico Mioso wrote: > I am facing an issue, where it seems I am not deallocating correctly > an UNIX signal source. I use > my_state->unix_signals_src = g_unix_signal_source_new(SIGINT); > g_source_set_callback(my_state->unix_signals_src, my_unix_signals_cb,

Correct way to deallocate an unix signal source

2019-03-14 Thread Enrico Mioso via gtk-app-devel-list
Hello all, and thank you for your great work in the GLib library, and the entire GTK ecosystem! :) I am facing an issue, where it seems I am not deallocating correctly an UNIX signal source. I use my_state->unix_signals_src = g_unix_signal_source_new(SIGINT);

missing documentation about how to draw a window

2019-03-13 Thread Olaf Hering
I was browsing gtk.org in the hope to find a guide about how application developers are supposed to manage the contents of the windows they are about to draw in their applications. Unfortunately I found no guidance about that. Lets take the window where I type this email right now for example.

Re: Discourse instance

2019-03-09 Thread Amirouche Boubekki
On 2019-03-01 16:41, Emmanuele Bassi via gtk-list wrote: Hi all; after the discussion[1] last month, and the feedback received (both on list and off), we decided to trial a Discourse instance on the GNOME infrastructure. Good idea, Discourse is a good free software. The Platform/Core

Re: Discourse instance

2019-03-09 Thread Ernestas Kulik
On Fri, 2019-03-01 at 15:41 +, Emmanuele Bassi via gtk-devel-list wrote: > Hi all; Hey. > after the discussion[1] last month, and the feedback received (both > on list > and off), we decided to trial a Discourse instance on the GNOME > infrastructure. > > The Platform/Core sub-category is

Re: Discourse instance

2019-03-09 Thread Ryan Gonzalez via gtk-app-devel-list
Since you forgot the link... https://discourse.gnome.org/ -- Ryan (ライアン) Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else https://refi64.com/ On Fri, Mar 1, 2019, 9:42 AM Emmanuele Bassi via gtk-devel-list < gtk-devel-l...@gnome.org> wrote: > Hi all; > > after the

Re: Changing font of GtkSourceView changes font of GtkSourceMap

2019-03-04 Thread Mitko Haralanov via gtk-app-devel-list
More information at: https://gitlab.gnome.org/GNOME/gtksourceview/commit/0ae462ebc8eceb810f176a21792a63de4efe597b On Mon, Mar 4, 2019 at 8:41 AM Mitko Haralanov wrote: > > I haven't played with the FontMap but was thinking of going the route > of using CSS. That, in itself, is a bit of a hassle

Re: Changing font of GtkSourceView changes font of GtkSourceMap

2019-03-04 Thread Mitko Haralanov via gtk-app-devel-list
I haven't played with the FontMap but was thinking of going the route of using CSS. That, in itself, is a bit of a hassle as I can't seem to find a way to convert a PangoFontDescription to CSS but there are some patches that I found online that should help. On Fri, Mar 1, 2019 at 7:16 PM Reuben

Re: Finding .desktop file and application info

2019-03-04 Thread Osmo Antero via gtk-app-devel-list
Hello, Yes, g_desktop_app_info_search() is exactly what I need. I will test it later. Thanks a lot for your help. // Moma tito-wolit escreveu no dia segunda, 4/03/2019 à(s) 06:59: > > > On 3/3/19 9:53 PM, Osmo Antero wrote: > > Hello Tito, > > Muito obrigado. > > Thank you, the call with

Re: Gtk::Widget::is_mapped ()

2019-03-04 Thread John Emmas
On 03/03/2019 16:10, Paul Davis wrote: John should really know that there's code to do this (to the best extent possible) within the Ardour source code at libs/gtkmm2ext/visibility_tracker.cc :))) Hi Paul - that's in fact what I'm investigating There's a new object called

Re: Finding .desktop file and application info

2019-03-03 Thread Osmo Antero via gtk-app-devel-list
Btw: Totem (GNOME `s Video Player) has very similar problem. It «lies» about its .desktop file name. It says "totem" instead of "org.gnome.Totem". My app asks for it via DBus/MPRIS2 and gets wrong data. $ locate -i totem | grep ".desktop" /usr/share/applications/org.gnome.Totem.desktop It is

Re: Finding .desktop file and application info

2019-03-03 Thread Osmo Antero via gtk-app-devel-list
Osmo Antero 20:53 (há 11 minutos) para tito-wolit Hello Tito, Muito obrigado. Thank you, the call with "kde4-" worked fine. However, the "DesktopEntry" value from Amarok/DBus does not contain the "kde4" part. Please see the MRIS2-spec:

Re: Finding .desktop file and application info

2019-03-03 Thread tito-wolit via gtk-app-devel-list
On 3/3/19 6:36 PM, Osmo Antero via gtk-app-devel-list wrote: Hello, I have an application that uses g_desktop_app_info_new() function to find GDesktopAppInfo. I just wonder why the g_desktop_app_info_new() FAILS to find the GDesktopAppInfo if the .desktop file is in a sub directory under

Finding .desktop file and application info

2019-03-03 Thread Osmo Antero via gtk-app-devel-list
Hello, I have an application that uses g_desktop_app_info_new() function to find GDesktopAppInfo. I just wonder why the g_desktop_app_info_new() FAILS to find the GDesktopAppInfo if the .desktop file is in a sub directory under usr/share/applications/. So this fails: GDesktopAppInfo *app_info =

Re: Gtk::Widget::is_mapped ()

2019-03-03 Thread Paul Davis
On Sun, Mar 3, 2019 at 9:21 AM Emmanuele Bassi wrote: > No, it's not. The issue is not GTK: it's the windowing system. > > With the advent of compositing, all windows are "visible" all the time, > from a toolkit perspective. The compositor is responsible for building > what's presented to the

Re: Gtk::Widget::is_mapped ()

2019-03-03 Thread Emmanuele Bassi via gtk-devel-list
No, it's not. The issue is not GTK: it's the windowing system. With the advent of compositing, all windows are "visible" all the time, from a toolkit perspective. The compositor is responsible for building what's presented to the user. For example: are windows fully visible when doing an

Re: Gtk::Widget::is_mapped ()

2019-03-03 Thread Paul Davis
On Sun, Mar 3, 2019 at 6:26 AM Emmanuele Bassi via gtk-devel-list < gtk-devel-list@gnome.org> wrote: > On Sun, 3 Mar 2019 at 12:58, John Emmas wrote: > >> > For example... let's say the widget is a top-level window. If it's >> currently displayed on screen but there's some other window hiding

Re: Gtk::Widget::is_mapped ()

2019-03-03 Thread Emmanuele Bassi via gtk-devel-list
On Sun, 3 Mar 2019 at 12:58, John Emmas wrote: > On 03/03/2019 11:22, Emmanuele Bassi wrote: > > On Sun, 3 Mar 2019 at 11:09, John Emmas wrote: > >> Sorry to ask a dumb question... >> >> What does it mean if a widget is "mapped" ? >> > > It means that: > > - the widget is visible > - the

Re: Gtk::Widget::is_mapped ()

2019-03-03 Thread John Emmas
On 03/03/2019 11:22, Emmanuele Bassi wrote: On Sun, 3 Mar 2019 at 11:09, John Emmas > wrote: Sorry to ask a dumb question... What does it mean if a widget is "mapped" ? It means that:  - the widget is visible  - the widget is realized  - all its

  1   2   3   4   5   6   7   8   9   10   >