Re: multiple filters in GtkFileChooser

2011-09-13 Thread Allin Cottrell
On Tue, 13 Sep 2011, Bernhard Schuster wrote: 2011/9/13 Allin Cottrell : On Tue, 13 Sep 2011, Bernhard Schuster wrote: Can you supply a minimal example where it fails? That would help to find the culprit. I am atm at gtk 2.24.6 so if you can post that I give it a run... Thanks! I&#

Re: multiple filters in GtkFileChooser

2011-09-13 Thread Allin Cottrell
4.5 and replaced gtk 2.24.6, and the problem I was seeing has gone away. I'll try peering at the differences in the code between those versions. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org

Re: multiple filters in GtkFileChooser

2011-09-13 Thread Allin Cottrell
On Tue, 13 Sep 2011, Bernhard Schuster wrote: 2011/9/13 Allin Cottrell : On Tue, 13 Sep 2011, Bernhard Schuster wrote: Can you supply a minimal example where it fails? That would help to find the culprit. I am atm at gtk 2.24.6 so if you can post that I give it a run... Thanks! I&#

Re: multiple filters in GtkFileChooser

2011-09-14 Thread Allin Cottrell
On Tue, 13 Sep 2011, Allin Cottrell wrote: I have found the relevant difference between gtk 2.24.5 and 2.24.6, which has the effect -- on my system at least -- that the filter selection combo box is not displayed correctly in the gtk file chooser when using 2.24.6. It's the added materi

Re: multiple filters in GtkFileChooser

2011-09-14 Thread Allin Cottrell
On Wed, 14 Sep 2011, Bernhard Schuster wrote: 2011/9/14 Allin Cottrell : On Tue, 13 Sep 2011, Allin Cottrell wrote: I have found the relevant difference between gtk 2.24.5 and 2.24.6, which has the effect -- on my system at least -- that the filter selection combo box is not displayed

printing from gtksourceview on Windows

2011-09-25 Thread Allin Cottrell
one have any suggestions for fixing this? I'm wondering if this might be a known issue that is solved in more recent gtk, or if there's any known workaround for use with gtk 2.16.6. Thanks! -- Allin Cottrell Department of Economics Wake Forest University __

pango -- prevent line break?

2011-10-19 Thread Allin Cottrell
GTK_WRAP_NONE, "wrap-mode-set", TRUE, NULL); then adding it to the appropriate GtkTextTagTable, and using gtk_text_buffer_insert_with_tags_by_name to wrap the option strings. But, alas, it doesn't help: the monospace font is applied OK, but I still get line b

Re: GTK+ 2.24.8

2011-11-11 Thread Allin Cottrell
t the moment to build everything from scratch :( Me too! It would be great to have updated packages on gtk.org. -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: GLIB for a webserver

2011-12-08 Thread Allin Cottrell
receives a huge request for memory that it definitely cannot honor. In that case -- where memory is not currently exhausted -- it's much preferable if the app can report "Can't do it" to the user rather than aborting. Allin Cottrell __

strncat and UTF-8

2012-01-03 Thread Allin Cottrell
e that fails to complete the UTF-8 representation of some character. I can sort of see how this might be done (rather painfully) using the GLib Unicode Manipulation API but I wonder if anyone has a snappy implementation -- something like g_utf8_strncat(), if it were t

Re: any easy way of having a YES/NO dialog return a 1 or 0?

2012-01-17 Thread Allin Cottrell
On Tue, 17 Jan 2012, Tristan Van Berkom wrote: 2012/1/17 David Nečas : Hence    "Are you sure you want to quit without saving ?" Should typically have the answers: "Save" "Quit" is nonsense.  This question should not occur in a sensible GUI no matter what answers are offered. You are ar

gtk 2.24 on Windows

2012-01-27 Thread Allin Cottrell
over the window this paints in the content, line by line. Other sorts of window saw their contents appear and then disappear. Any ideas what's going on here? (The gtk 2.16 build works fine on the same system.) -- Allin Cottrell Department of Economi

Re: gtk 2.24 on Windows

2012-01-28 Thread Allin Cottrell
On Sat, 28 Jan 2012, z...@excite.it wrote: On Friday 27 January 2012 22:11:52 Allin Cottrell wrote: For a long time I've built the Windows version of my app against gtk 2.16 (and included the corresponding runtime in the app's installer). After hearing of progress with gtk 2.24 on

Re: memory leak on windows

2012-03-02 Thread Allin Cottrell
the main window is destroyed. (Modified code attached.) -- Allin Cottrell Department of Economics Wake Forest University, NC #include static gboolean progressbar_pulse (gpointer data) { gtk_progress_bar_pulse(GTK_PROGRESS_BAR(data)); return TRUE; } static gboolean stop (GtkWidget *w

Re: gtk+ 2.24 installation problems

2012-03-02 Thread Allin Cottrell
sions, which for glib means 2.28.7 or 2.30.2. Third, consider the environment variable PKG_CONFIG_PATH. -- Allin Cottrell Department of Economics Wake Forest University ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk+ 2.24 installation problems

2012-03-03 Thread Allin Cottrell
development phase led to the stable release of glib 2.28, and the most recent bug-fix variant of glib-2.28 is 2.28.7, so that would be the version of choice -- if you want to avoid possible dependency issues in updating to the current stable version, 2.30. Allin Cottrell __

Re: gtksourceview 2.11.2 compile problem.

2012-03-09 Thread Allin Cottrell
eal release for gtk+-2.0. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

querying a style property

2012-03-25 Thread Allin Cottrell
ITICAL **: gtk_style_provider_get_style_property: assertion `g_type_is_a (gtk_widget_path_get_object_type (path), pspec->owner_type)' failed (repeated 5 times) and is not filling out "val". Am I doing something wrong here or is this a b

gtk_container_add and vboxes

2012-05-31 Thread Allin Cottrell
PI, should now be so off-base. -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Porting Between Linux and Windows

2012-06-23 Thread Allin Cottrell
nt out that C and C++ are separate languages and although C++ interfaces for GTK are available (gtkmm) the more standard development path is to use C with GTK. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https

Re: GtkPrintOperation uses wrong scale on Windows ?

2012-06-26 Thread Allin Cottrell
ments till I was blue in the face, to no avail. I also tried inserting debugging statements much like yours, but couldn't work exactly where the problem lay. Eventually I just gave up on using GtkPrintOperation on Windows. I hope you have better luck! -- Allin Cottrell Department of Econ

Re: Where to put graphic elements so I can find them again

2012-09-02 Thread Allin Cottrell
ss, that is, you want it to be "themeable". Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtk apps on iOS/Android?

2012-09-07 Thread Allin Cottrell
ery useful. Thanks. -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Building GTK with Quartz backend

2013-01-12 Thread Allin Cottrell
I'd like to try building GTK with its Quartz backend, to see if it's currently solid enough to distribute with the Mac version of my app. Can anyone with recent experience tell me if I'm better off targetting GTK 2.24 or GTK 3.6? Thanks. -- Allin Cottrell Department of Econom

Re: GTK+ 3.8.0 released

2013-03-26 Thread Allin Cottrell
g that bothers me is that the shiny new pango 1.34.0 ("latest stable", one might suppose) depends on a release-candidate version of fontconfig (2.10.91). Any chance of getting this regularized? Allin Cottrell 2013/3/25 Matthias Clasen GTK+ 3.8.0 is now available for dow

Re: Updating GUI during long operation

2013-04-25 Thread Allin Cottrell
ation this callback is triggered, and it stops the GUI from looking dead. Inside the numerical procedure I have something like if (iter % k == 0 && activity_callback != NULL) { activity_callback(); } Allin Cottrell ___ gtk-app-deve

strange crash on Windows XP

2013-05-02 Thread Allin Cottrell
8.1 (2.24.0) pango-1.34.0 (1.29.4) gtk+-2.24.17 (2.24.10) -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

modifying gtksettings on Windows

2013-06-10 Thread Allin Cottrell
o do with the switch that made the MS-Windows theme the default, in gtksettings.c (2011-11-01). I can see it makes sense to default to the MS-Windows theme, but how do you change the font in that case? -- Allin Cottrell Department of Economics Wake Forest University, NC __

modifying gtksettings on Windows: follow-up

2013-06-10 Thread Allin Cottrell
(of course) possible that I'm missing something, but unless I hear to that effect I'll file a bug. -- Allin Cottrell Department of Economics Wake Forest University ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://ma

Re: GTK free function doesn't appear to have any affect.

2013-06-15 Thread Allin Cottrell
rom GObject. Is this piece of code itself ok? Certainly not. "void main()" is not valid C for a start (main must return int), then the first loop runs off the end of the str_type array... Allin Cottrell ___ gtk-app-devel-list mailing list gt

Re: GTK+ 3.10 released

2013-09-24 Thread Allin Cottrell
than all-text.) Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Icon/image in menu with GtkUIManager and GtkAction in GTK+ 3.10

2013-10-03 Thread Allin Cottrell
nitially advertised to do, effective immediately. Like Sébastien, I hope that's not the case. -- Allin Cottrell Department of Economics Wake Forest University ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: final gtk+maverick battles

2014-02-14 Thread Allin Cottrell
out your welcome here with "How can I unbreak my system that has a horrid mess-up of old and new GLib/GTK?" This is not really a gtk-app-devel question. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: final gtk+maverick battles

2014-02-16 Thread Allin Cottrell
e of API or ABI stability, and you'll likely find that unstable gtk+ depends on unstable glib, pango, atk and so on. Taking this path is quite likely to bork your system again, in the sense that the GUI supplied with *buntu will stop working since it's built against a potentially incomp

g_spawn_sync and child PID

2014-03-15 Thread Allin Cottrell
vation that an MPI_Bcast call, for example, can hang at 100% CPU if one or more of the processes launched by mpiexec bombs out at just the wrong moment.) Any suggestions on how to achieve this using g_spawn* (or judgements on whether it's even possible) would be gratefully received. -- All

Re: g_spawn_sync and child PID

2014-03-16 Thread Allin Cottrell
On Sat, 15 Mar 2014, Colomban Wendling wrote: Le 15/03/2014 21:19, Allin Cottrell a écrit : I'm reasonably familiar with the usage of both g_spawn_sync and g_spawn_async, but recently I've found myself wanting to do domething that seems to fall between the two and I can't quite

gtk 2.24.24 cross-gotcha

2014-06-25 Thread Allin Cottrell
ctually I wish that the 2.24 branch of GTK were not a domain of experimentation. -- Allin Cottrell Department of Economics Wake Forest University ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk 2.24.24 cross-gotcha

2014-06-26 Thread Allin Cottrell
On Thu, 26 Jun 2014, Matthias Clasen wrote: On Wed, Jun 25, 2014 at 4:58 PM, Allin Cottrell wrote: Just in case anyone else falls into this: there's a potential gotcha if you're cross-compiling gtk for (say) Windows on Linux. It took me a while to figure out why the Windows version

Re: g_spawn*() on windows

2014-07-03 Thread Allin Cottrell
GTK application; the API is fairly simple, as Windows goes. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Plotting library for GTK+

2014-12-02 Thread Allin Cottrell
gram. It can be run quite effectively in "slave" mode and can produce a wide variety of output formats (notably, using cairo and pango). Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

RE: Re: Plotting library for GTK+

2014-12-02 Thread Allin Cottrell
of file formats. Are you suggesting to create such files and display them in GTK application? Yes, it's not the ideal solution (using a library would be cleaner) but it works quite nicely. You can generate a plot in batch mode using gnuplot's pngcairo "terminal" and load th

gtktreeview: highlighting a cell

2014-12-12 Thread Allin Cottrell
GTK 2 behavior? (In this comparison I'm using the Adwaita theme with gtk 2.24.25 and 3.14.5.) Thanks for any guidance. -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-

horizontal size of GtkToolButton

2015-01-12 Thread Allin Cottrell
've put an illustration of what I'm talking about at http://users.wfu.edu/cottrell/tmp/buttons.html Thanks for any help! -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-

Re: gtk3 (GtkTextView) and MacOS

2015-02-25 Thread Allin Cottrell
ee if that makes any difference to subsequent runs of your gtk program on OS X. -- Allin Cottrell Department of Economics Wake Forest University ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

detaching a notebook tab

2015-07-06 Thread Allin Cottrell
ude /* Minimal test case for dragging a tab out of a notebook onto the root window Allin Cottrell , 2015-07-06 */ static GtkNotebook *detach_tab_callback (GtkNotebook *book, GtkWidget *page,

Re: detaching a notebook tab

2015-07-06 Thread Allin Cottrell
On Mon, 6 Jul 2015, Allin Cottrell wrote: My app has a collection of objects which can be viewed either individually or in a tabbed viewer based on GtkNotebook. When objects are being viewed in the latter way, the user is supposed to be able to drag an object out of the tabbed viewer, with

Re: detaching a notebook tab

2015-07-06 Thread Allin Cottrell
cflags from `pkg-config gtk+-3.0 --libs` `pkg-config gtk+-3.0 --cflags`. Thanks, Jim. I guess this means that the problem was introduced after gtk 3.10. I wonder if 3.12 and 3.14 are OK too. -- Allin Cottrell Department of Economics Wake Forest University, NC

Re: detaching a notebook tab

2015-07-07 Thread Allin Cottrell
re OK, but 3.14.13 segfaults (see the code in my first message). Does this happen on master as well? I can check that this evening. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinf

set custom entry background?

2015-11-15 Thread Allin Cottrell
_get_style_context(entry); gtk_render_background(context, cr, r.x, r.y, r.width, r.height); } -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: set custom entry background?

2015-11-15 Thread Allin Cottrell
On Mon, 16 Nov 2015, Stefan Salewski wrote: On Sun, 2015-11-15 at 14:32 -0500, Allin Cottrell wrote: I'm trying to set a custom background for a GtkEntry I think you have to use CSS -- unfortunately that is some work and I can not provide an example yet. See https://developer.gnome.org

Re: set custom entry background?

2015-11-15 Thread Allin Cottrell
On Sun, 15 Nov 2015, Allin Cottrell wrote: On Mon, 16 Nov 2015, Stefan Salewski wrote: On Sun, 2015-11-15 at 14:32 -0500, Allin Cottrell wrote: I'm trying to set a custom background for a GtkEntry I think you have to use CSS -- unfortunately that is some work and I can not provi

Re: set custom entry background?

2015-11-16 Thread Allin Cottrell
On Mon, 16 Nov 2015, Stefan Salewski wrote: On Sun, 2015-11-15 at 19:30 -0500, Allin Cottrell wrote: But how can I "undo" this? (I mean, make it so that the background color for the selected state reverts to what it was before I messed with it, for subsequent selections.) That'

Re: set custom entry background?

2015-11-16 Thread Allin Cottrell
On Mon, 16 Nov 2015, Emmanuele Bassi wrote: Hi; On 15 November 2015 at 19:32, Allin Cottrell wrote: I'm trying to set a custom background for a GtkEntry (as a temporary thing, by way of an alert for invalid input). I can do that fine for gtk 2 using gtk_widget_modify_base(), b

Re[2]: argv

2016-04-16 Thread Allin Cottrell
of those people for whom "farewell" is really just a bid for yet more attention. Allin Cottrell On Sat, 16 Apr 2016, Andrew Robinson wrote: Your replies are an example of exactly what I am talking about here regarding support from the Linux community. Look at the huge number of thi

Re: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Allin Cottrell
e of disk space to install multiple per-application copies of GTK, but you just have to get over it. Basically the same on Mac OS X. (I might note: even on Linux, GTK updates are not necessarily harmless. For example, updating from GTK 3.18 to 3.20 breaks emacs and gnumeric; they still run

Re[2]: Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Allin Cottrell
. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re[5]: argv revisited

2016-05-05 Thread Allin Cottrell
ivility. In many years of reading this list I don't think I've ever come across such a boorish and pig-headed poster. -- Allin Cottrell Department of Economics Wake Forest University ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome

GTK menus on Ubuntu

2016-10-05 Thread Allin Cottrell
e (that is, calls to gtk_action_set_sensitive). So I'm trying to figure out if there's any way to protect my menus from mangling -- or failing that, to frame a well-informed bug report to Ubuntu. -- Allin Cottrell Department of Economics Wake Forest University ___

Re: GTK menus on Ubuntu

2016-10-13 Thread Allin Cottrell
On Tue, 11 Oct 2016, Jason Benjamin wrote: On Wed, 5 Oct 2016 21:11:41 -0400 (EDT) Allin Cottrell wrote: I'm wondering if anyone knows the machanism whereby Ubuntu "commandeers" the main menu system of a GTK application and sticks it into the global top-of-screen menu bar,

File chooser on Windows: "unknown" modification times

2017-10-25 Thread Allin Cottrell
10 file modification dates are displaying correctly. The GTK version in the Windows build of the app is 2.24.30 and GLib is 2.36.4, in case that matters. -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list

gtk_init_with_args behavior

2018-05-18 Thread Allin Cottrell
and therefore, of course, the file cannot be opened. I'm not sure if it's Windows itself that is making this substitution or gtk. I'd be grateful if anyone could shed any light on the matter. -- Allin Cottrell Department of Economics Wake Forest University ___

Re: gtk_init_with_args behavior

2018-05-19 Thread Allin Cottrell
t sounds like what I need. Is there such a thing as a standard way to hook this up with gtk_init_with_args? I can imagine calling GetCommandLineW, then CommandLineToArgvW, but then? If you converted the UTF-16 strings to UTF-8, could you then pass the array to gtk_init_with_args? Allin Cottrel

Re: gtk_init_with_args behavior

2018-05-20 Thread Allin Cottrell
utf16_to_utf8. So my workflow is: GetCommandLineW CommandLineToArgvW convert array of UTF-16 strings to UTF-8 pass the converted array to gtk_init_with_args Allin Cottrell ref: https://mail.gnome.org/archives/gtk-app-devel-list/2018-May/msg00052.html and following ___

Re: gtk_init_with_args behavior

2018-05-21 Thread Allin Cottrell
On Mon, 21 May 2018, tito-wolit wrote: On 21/05/2018 01:27, Allin Cottrell wrote: gtk_init_with_args is still useful in my case: it automatically screens out any command-line arguments that are just option flags or parameters, via the GOptionEntry mechanism, leaving only a filename argument

Re: Updating displayed spinbutton value from a text file

2018-07-05 Thread Allin Cottrell
value (GtkSpinButton *spin_drawingparameter1, int drawingparameter1); Try gtk_spin_button_set_value(GTK_SPIN_BUTTON(spin_drawingparameter1),... You have a broken attempt at a cast. -- Allin Cottrell Department of Economics Wake Forest University __

Re: GTK3 + gnuplot

2018-09-18 Thread Allin Cottrell
ixbuf, then stick the GdkPixbuf onto a cairo surface. You could take a look at https://sourceforge.net/p/gretl/git/ci/master/tree/gui/gpt_control.c in particular the function render_pngfile(). -- Allin Cottrell Department of Economics Wake Forest Universit

Re: valgrind memcheck shows gtk-hello leak memories.

2005-11-21 Thread Allin Cottrell
r. To get good results with glib when using valgrind (I think this is still good info), you should configure your glib build using the flag --enable-gc-friendly Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnom

crash on gtk_menu_item_expose with i18n

2006-02-01 Thread Allin Cottrell
. I've taken a look at de.po and didn't find anything weird in there. Any help would be much appreciated. Allin Cottrell Wake Forest University Backtrace follows: Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1

Re: crash on gtk_menu_item_expose with i18n

2006-02-02 Thread Allin Cottrell
n I removed the trailing slash from the German msgstr, the crashing ceased. Seems a little fragile? -- Allin Cottrell Wake Forest University ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

zipping/unzipping library?

2006-03-06 Thread Allin Cottrell
facto standard, now enshrined in the ODF specs, and I'd like for my app to be able to read and write ODF files. -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: zipping/unzipping library?

2006-03-23 Thread Allin Cottrell
On Tue, 7 Mar 2006, Stefan Kost wrote: Allin Cottrell wrote: What I'm thinking would be useful is a library, with the portability level of glib, offering the functionality of creating and extracting files from zip archives. I was looking for similiar stuff and also found the in

Re: GTK with GCC 4.1 on Fedora Core 5

2006-05-03 Thread Allin Cottrell
!) deprecated GtkText structure. You'll have to define GTK_ENABLE_BROKEN somewhere in your sources to use this dinosaur. (I think the change you're seeing is probably due to a GTK update, not the gcc update.) Allin Cottrell ___ gtk-app-

gtk 2.8 on Windows 98

2006-06-22 Thread Allin Cottrell
ether I need to backdate to an earlier gtk version to support win98, or if there's any workaround? -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail

Re: gtk 2.8 on Windows 98

2006-06-26 Thread Allin Cottrell
On Sun, 25 Jun 2006, Tor Lillqvist wrote: > Michael Torrie writes: > > I think only versions up to 2.6 are supported in windows 98. > > s/are supported/work/ Thanks. I've backed up to 2.6 and things are working again. -- Allin Cottrell Department of Economics Wake F

Re: platform support

2006-07-16 Thread Allin Cottrell
ier version. And GTK on Mac OS X is a bit fiddly. There's a "native" OS X verson of gtk, but it's not stable yet. The alternative is running the X11 version on OS X, which is quite doable but requires quite a lot of setup. -- Allin Cottrell De

Re: More widgets?

2006-09-29 Thread Allin Cottrell
On Fri, 29 Sep 2006, Juan Pablo wrote: > Im looking for some widgets like meters, thermometer, tachometers... > I need it for show a numeric status in a coloured - quick to see way > > Are there any of them already been made? www.tesla.eletrica.ufpr.br/giw Al

Re: Command Window with MSVC++ GTK apps

2006-10-03 Thread Allin Cottrell
ason, I grumble about adding a call to editbin in the > post-compile step. Seems like I'm linking the program wrong and then > correcting it later. How do I link it right to begin with? Use Mingw gcc with the -mwindows flag. Allin Cottrell ___

Re: Very strange bug - memory alignment - after upgrading to GLib 2.12.4-1

2006-10-17 Thread Allin Cottrell
is sort of problem can be sensitive -- in a random manner -- to OS, compiler, gtk version, or whatever. I recommend running valgrind on your program. It is very good at spotting such issues. http://valgrind.org/ Allin Cottrell ___ gtk-app-devel-list mai

Re: Segmentation fault

2006-10-21 Thread Allin Cottrell
so need versions of those libraries compiled with debugging enabled -- though you can probably get by without that unless you suspect the bug may be in gtk/glib (possible, but not likely). Allin Cottrell ___ gtk-app-devel-list mailing list gtk-a

Re: GTK Programming with Strings

2006-10-25 Thread Allin Cottrell
g-Utility-Functions.html Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango and Consolas

2006-12-05 Thread Allin Cottrell
The font sample preview in gedit just shows a row of boxes. I tried using the same font with pango 1.14.4 on a different machine and it works fine. Any ideas what's going on here? (Gtk is version 2.10.6 on both machines.) -- Allin Cottrell Department of Economics Wake Forest

Re: Pango and Consolas

2006-12-05 Thread Allin Cottrell
On Wed, 6 Dec 2006, Allin Cottrell wrote: > An oddity, trying to use the MS Consolas monospaced truetype font > with Pango 1.14.5 on Ubuntu... Oops, sorry, nothing to do with pango. Somehow the permissions on the font files got borked. Allin Co

Re: Memory Issue

2006-12-18 Thread Allin Cottrell
as if create_window1() is needed. The code is so convoluted it's hard to see how to fix it. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Memory Issue

2006-12-18 Thread Allin Cottrell
t if you think about it, that makes no sense. Memory is there to be used. It's more efficient (if you're not about to run out of RAM) to keep previous memory allocations cached. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Dialog-like window?

2006-12-19 Thread Allin Cottrell
- then call gtk_main_quit() when you're good and ready. The function that calls gtk_main() will not return till gtk_main_quit() is called. If you want to prevent user interation in the meantime you'll also have to make the dialog-like window modal, though that is a separate issue

Re: Treeview editable still broken, please help

2007-01-25 Thread Allin Cottrell
using gtk 1.2.10 then you're unlikely to find much joy reporting problems since, AFAIK, nobody has worked on this for years. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Cross compilation for windows

2007-03-02 Thread Allin Cottrell
t; binutils-2.11.2.tar.bz2 > gcc-2.95.3.tar.gz > mingw-runtime-1.0.1-20010726-src.tar.gz > w32api-1.0.1-20010726-src.tar.gz > > Now my problem is how to cross compile? You could try looking at http://ricardo.ecn.wfu.edu/~cottrell/cross-gtk/ Allin Cottrell

Re: Fixing size of window containing 2 buttons

2007-03-07 Thread Allin Cottrell
to get that to work right, but why do you want to do it? It's surely making life more difficult. Why not make the "not yet" button disabled (gtk_widget_set_sensitive()) until it becomes relevant? Allin Cottrell ___ gtk-app-devel-list

Re: Verifying input data before gtk_dialog_run returns

2007-03-21 Thread Allin Cottrell
valid. Closing this latter dialog leaves the original dialog as the focused widget. If you follow this model, it's a nice courtesy to offer the user a way out: a Cancel button in the original dialog, which allows them to say, "The heck with this 'inva

Re: Verifying input data before gtk_dialog_run returns

2007-03-21 Thread Allin Cottrell
On Wed, 21 Mar 2007, Allin Cottrell wrote: > If you follow this model, it's a nice courtesy to offer the > user a way out: a Cancel button in the original dialog, > which allows them to say, "The heck with this 'invalid input', > I'm out of here." So of

cross-compiling a GTK app, linux -> darwin

2007-03-29 Thread Allin Cottrell
binutils and cross-gcc first, of course). Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: cross-compiling a GTK app, linux -> darwin

2007-03-30 Thread Allin Cottrell
e. Here are some > tips... Thanks very much. Yes, it does look doable -- on a day when one is feeling strong! -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org h

Re: Pass by reference...(easy question)

2007-05-03 Thread Allin Cottrell
00 created new GtkWidget at 0x80790a8 After f2(), w = (nil) Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Compiling GTK, GLIB,PANGO ???

2007-08-08 Thread Allin Cottrell
e configure to test against the > /opt/glib/lib/pkgconfig Path export PKG_CONFIG_PATH=/opt/glib:/other/places Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

multiple selection and drag-n-drop

2007-08-23 Thread Allin Cottrell
ot; way of handling this? -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: multiple selection and drag-n-drop

2007-08-23 Thread Allin Cottrell
On Thu, 23 Aug 2007, David Ne?as (Yeti) wrote: > On Thu, Aug 23, 2007 at 10:29:47AM -0400, Allin Cottrell wrote: > > I suppose somebody else must have come across this issue -- and if > > so I'd be grateful for any ideas. > > > > I have a treeview in which G

tree view column sizing problem

2007-08-28 Thread Allin Cottrell
ew is realized, but this results in the column immediately being autosized, making (a) useless. I guess what I'm looking for is gtk_tree_view_column_set_width() without the "max". That function doesn't exist, but is there a way of doing it? Thanks for any suggestions. -- All

Re: tree view column sizing problem

2007-08-28 Thread Allin Cottrell
On Tue, 28 Aug 2007, Dave Howorth wrote: > Allin Cottrell wrote: > > I have a tree view with 3 columns, which sits within a scrolled > > window. > > > > The middle column contains what can be quite a lengthy string. > > When the user opens the windo

Re: tree view column sizing problem

2007-08-28 Thread Allin Cottrell
size that allows the third column to be visible, but as soon as the user moves the mouse in the treeview window, the column becomes freely resizable. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

using gtkprint for images

2007-08-30 Thread Allin Cottrell
ing left to do. I tried just making the callback just a stub that prints "got draw_page". But I get a blank PDF on output. Suggestions gratefully received. -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-l

  1   2   3   >