gtkbuilder.*.xml

2017-05-21 Thread Matt Postiff
I have a bunch of files called gtkbuilder.*.xml in my gtk2 program. I am having trouble on msys2 to use gettext to extract strings from them for i18n. xgettext says that it doesn't recognize the extension xml. Are these files named in a non-standard way? Should they be rather called gtkbuilde

widget without screen in pango context

2016-09-02 Thread Matt 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: Confused about radio menu items and signals

2016-05-10 Thread Matt Postiff
On Linux I built gtk2+-2.0 2.24.30 and linking against that library (instead of 2.24.23) solved my problem. Thanks for your help that got me on the straight and narrow toward fixing this bug. Matt On 05/10/2016 09:07 PM, Matt Postiff wrote: I tried same code on Windows with msys2, using

Re: Confused about radio menu items and signals

2016-05-10 Thread Matt Postiff
I tried same code on Windows with msys2, using gtk2 2.24.28 and it works correctly. On Ubuntu Linux 14.04.4 trusty with gtk2 2.24.23 it fails to operate correctly. I cannot condemn the library with 100% certainty, yet. On 05/10/2016 02:48 PM, Matt Postiff wrote: Thank you...you are enough

Re: Confused about radio menu items and signals

2016-05-10 Thread Matt Postiff
Note, to prevent your callback being triggered when you call gtk_check_menu_item_set_active, you can use g_signal_handlers_block_by_func or one of its variants. On Mon, 2016-05-09 at 22:34 -0400, Matt Postiff wrote: Hi, Still learning with gtk2. I have a menu with a submenu. That submenu con

Confused about radio menu items and signals

2016-05-09 Thread Matt Postiff
Hi, Still learning with gtk2. I have a menu with a submenu. That submenu contains items for three mutually exclusive states in my program: A, B, and C. Each menu item is created with code like: A_menu_item = gtk_radio_menu_item_new_with_mnemonic(group, "label") In the constructor, my progr

Help with modal dialog

2016-04-19 Thread Matt Postiff
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 the side of my app and always be visible while I work in the app. I have tried to gtk_window_set_modal to FALSE and also