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 fo

Extra space after textview

2018-10-24 Thread Matthew A. Postiff via gtk-app-devel-list
Hi, Working on a "bug" in a gtk program for a while. We have a window with multiple textviews one after the other strung together. Built against gtk2, things appear fine. I'm trying to upgrade to gtk3, and running into a problem. The following python-gtk programs demonstrate. In GTK3, the mo

Re: question about gtk_dialog (gtk2)

2018-06-21 Thread Matthew A. Postiff via gtk-app-devel-list
Hi, I am learning about this, but have not totally figured it out. When I make a new assistant window, it appears in the upper left of the screen. Not at (0,0) but nearby.   assistant = gtk_assistant_new();   gtk_window_set_transient_for(GTK_WINDOW(assistant), transient_parent);   gtk_window_

Re: IDE to develop app with GTK3 on windows using MSYS2

2018-05-07 Thread Matthew A. Postiff
Have you tried https://www.kdevelop.org/? I have been using it lately and like it for code editing and compilation both on Linux and Windows. It provides more info about the source code than emacs tags does. I haven't gotten the hang of debugging with KDevelop, so I still debug in emacs+gud-gd

Scroll position problem (gtk2)

2017-08-26 Thread Matthew A. Postiff
I have a GtkWidget *A that contains another GtkWidget *B. The web content of B changes from B_1 to B_2 when the user clicks a link inside of it. When I click the "Back" button in B_2, I want it to return to B_1 at the last known scroll position. This is the code that I thought would do it--by r

widget without screen in pango context

2016-09-02 Thread Matthew A. Postiff
I am trying to fix up some problems exposed by running my gtk app with the command line argument --g-fatal-warning. I am stuck on this one: (bibledit-gtk:27056): Gtk-WARNING **: gtk_widget_create_pango_context ()) called without screen It occurs several times in my code. The first is while I am

Re: Compiling for Windows [Was: argv revisited]

2016-05-04 Thread Matthew A. Postiff
Try this package: $ pacman -Ss mingw-w64-i686-gtk3 mingw32/mingw-w64-i686-gtk3 3.18.6-1 [installed] GObject-based multi-platform GUI toolkit (v3) (mingw-w64) On 5/4/2016 3:51 PM, Andrew Robinson wrote: > Yeah, I see that, but that only downloads 64-bit binaries. I need the Win-32 > binaries.

Re: Help with modal dialog

2016-04-21 Thread Matthew A. Postiff
I got farther by installing a signal handler that I catch in the container class/object. Now if I am viewing the dialog, and hit escape, it closes, the dialog is destroyed, and I can create it again later. However, if I mouse click the Red X in the upper right corner of the dialog box (in Windows)

Re: Help with modal dialog

2016-04-21 Thread Matthew A. Postiff
uot; > statement executes. Is the pointer to the dialog stored on the stack > as a local variable, or as a class variable that will be preserved > until the class is destroyed? > > On 2016-04-20 06:50 PM, Matthew A. Postiff wrote: >> On 4/20/2016 2:07 AM, Marius Gedminas wrote:

Re: Help with modal dialog

2016-04-20 Thread Matthew A. Postiff
On 4/20/2016 2:07 AM, Marius Gedminas wrote: > On Tue, Apr 19, 2016 at 10:07:50AM -0400, Matt Postiff wrote: >> I have a working dialog that displays a system log file in "real time" >> in my gtk2 Windows/Linux app. It is modal. >> >> What I want to do is make it non-modal so it can float off to th

Re: Suggestion for text editing module

2016-04-18 Thread Matthew A. Postiff
On 04/17/2016 02:04 PM, Matthew A. Postiff wrote: >> Hi, >> >> I have a gtk2 app that is, among other things, an editor for a data >> format called USFM. The program can display the data (text) in the >> encoded format, or in a pretty format, and the user can edit the d

Suggestion for text editing module

2016-04-17 Thread Matthew A. Postiff
Hi, I have a gtk2 app that is, among other things, an editor for a data format called USFM. The program can display the data (text) in the encoded format, or in a pretty format, and the user can edit the data in either view. The editor is hand-built and somewhat buggy. I was wondering if you all h