Re: Build and install a new input method?

2010-10-05 Thread Murray Cumming
On Tue, 2010-10-05 at 11:03 +0700, John Matthewman wrote: Hi there - I'm trying to make a new GTK input method for Vietnamese (Telex) input. After looking at the source for the Vietnamese (VIQR) input method, it's fairly easy to create the source for my new input method.. So now I'm stuck on

GtkComboBox popup menu wider than the combobox

2010-10-05 Thread Murray Cumming
Is there any way to make a GtkComboBox's popup menu wider than the GtkComboBox itself, or to disable ellipsizing so that is possible? -- murr...@murrayc.com www.murrayc.com www.openismus.com ___ gtk-list mailing list gtk-list@gnome.org

Re: GtkObject is gone (was GTK3 breakage)

2010-09-28 Thread Murray Cumming
On Tue, 2010-09-28 at 10:11 -0400, Owen Taylor wrote: On Tue, 2010-09-28 at 09:55 +0200, Murray Cumming wrote: We could just unref the underlying object, but once the wrapping C++ object has been destroyed, the vfuncs (and default signal handlers) will fall back to default C

Re: Wrapping Box Container

2010-08-31 Thread Murray Cumming
On Mon, 2010-08-30 at 18:20 -0400, Behdad Esfahbod wrote: On 08/24/10 13:42, Tristan Van Berkom wrote: Is this a kind of widget that we are interested in adding to GTK+ ? What are the usecases for such a container? The selection of features looks a bit arbitrary to me. I wanted it for

What replaces gdk_bitmap_create_from_data() ?

2010-08-29 Thread Murray Cumming
I'm trying to fix the gtkmm 3 build against gtk+ 3 from git master. gdk_bitmap_create_from_data() has been removed but it's not yet deprecated in the gtk-2-22 branch, so I can't read about what replaces it. I see no other simple way to create a GdkBitmap. Is GdkBitmap meant to be removed

Re: Minutes of the gtk+ team IRC meeting - 2010-05-25

2010-05-31 Thread Murray Cumming
On Mon, 2010-05-31 at 12:08 +0200, Kristian Rietveld wrote: - GtkRuler (used by dia, claws, possibly xsane; gimp has a fork) Is this really only used by dia and claws, or also some more applications? In contrast to GtkHSV, GtkGamma, etc., I can actually imagine that GtkRuler has some

Re: map C++ object to Gobject

2010-05-29 Thread Murray Cumming
On Fri, 2010-05-28 at 19:17 +0200, Radovan TUČEK wrote: Hi Is it possible to map C++ object to Gobject and uset this Gobject in C application without writing C wrapper around C++ object? If you are using gtkmm then you can use gobj() and Glib::wrap():

Re: Setting the font for Gtk::Button

2010-05-06 Thread Murray Cumming
On Thu, 2010-05-06 at 09:04 +, John Emmas wrote: You can probably see that the progress bar's font gets successfully changed, whereas the button's font doesn't You have to set the font of the label in the button, not the font of the button. I generally think this is far too difficult.

RE: different data types between clist and mysql.

2010-04-22 Thread Murray Cumming
On Wed, 2010-04-21 at 10:19 -0400, Shawn Bakhtiar wrote: FYI for OSX users I had to install the GNU Readline for Libgda for this to compile. without GNU Readline it popes the following error: /bin/sh ../libtool --tag=CC --mode=link gcc -arch i386

RE: different data types between clist and mysql.

2010-04-20 Thread Murray Cumming
I strongly advise you to try libgda rather than reimplementing it yourself. -- murr...@murrayc.com www.murrayc.com www.openismus.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: GTK 2.20 for Windows

2010-04-12 Thread Murray Cumming
On Sun, 2010-04-11 at 09:51 +0300, Tor Lillqvist wrote: Would filing tickets of the issues that arise generate a response? Filing tickets (bug reports in bugzilla.gnome.org) for individual clearly separate issues (that don't have bug reports already) is always good, This is essential. We

Re: No icon on the gnome desktop using geode driver

2010-04-09 Thread Murray Cumming
On Fri, 2010-04-09 at 15:25 +0800, Huang, FrankR wrote: Another example is the eog program under gnome. The button icon can not be displayed in the program. It is quite similar with our bug. But this program is written in GTK, no Xlib. Recent versions of GNOME don't show the button and menu

Re: Connecting GTK application to a database

2010-02-25 Thread Murray Cumming
On Wed, 2010-02-24 at 10:50 -0600, Daniel Espinosa wrote: Using GDA (www.gnome-db.org) based on GObject/GLib and its GTK+ objects, you can develop applications using a C API to access any supported database backend (postgresql, mysql and sqlite, are some of them). Any application can run

Re: When deprecating, always say what the replacement is.

2010-02-25 Thread Murray Cumming
On Thu, 2010-02-25 at 16:52 +0100, Christian Dywan wrote: But Do not use it does not even make that clear. The reader has no idea whether it is something that should never have been used (and why not) or something that has a replacement. It shouldn't take much empathy to realize that, or

When deprecating, always say what the replacement is.

2010-02-23 Thread Murray Cumming
When we deprecate API, please remember to document what the replacement is. People forget this quite often. A small recent example that doesn't do this: http://git.gnome.org/browse/gtk +/commit/?id=bb1824c131f247c2ef64f3c5f8b9ffe3885c9d90 -- murr...@murrayc.com www.murrayc.com www.openismus.com

Re: When deprecating, always say what the replacement is.

2010-02-23 Thread Murray Cumming
On Tue, 2010-02-23 at 19:17 +0100, Javier Jardón wrote: 2010/2/23 Murray Cumming murr...@murrayc.com: When we deprecate API, please remember to document what the replacement is. People forget this quite often. A small recent example that doesn't do this: http://git.gnome.org/browse/gtk

Re: When deprecating, always say what the replacement is.

2010-02-23 Thread Murray Cumming
On Tue, 2010-02-23 at 22:36 +0100, Michael Natterer wrote: On Tue, 2010-02-23 at 19:59 +0100, Murray Cumming wrote: No, Deprecated: 2.20: Do not use it. is not good enough. As a matter of fact, it is. There is not supposed to be any replacement for the stuff that says Do not use

Less GdkWindows in the API

2010-01-24 Thread Murray Cumming
I have always disliked how GTK+'s API often leaks the concept of X windows, often called just windows, by which a GdkWindow is usually implied. That's obviously confusing to people who think of windows as top-level application windows, like GtkWindow. And it seems to be rather X specific, though

Re: Creating an aggregating GtkContainer

2009-11-19 Thread Murray Cumming
On Wed, 2009-11-18 at 19:35 +0100, Per Hermansson wrote: Hi everyone I'm contributing to a project called the Common Printing Dialog which goal is to create the next generation print dialog for Gnome. The dialog allows users to customize different options which depends on the current

Re: Crash processing g_object_new arguments

2009-11-09 Thread Murray Cumming
On Mon, 2009-11-09 at 09:32 +0100, Nicola Fontana wrote: Il giorno Mon, 09 Nov 2009 03:24:04 -0500 Braden McDaniel bra...@endoframe.com ha scritto: Clearly the Address ... out of bounds looks fishy; but I'm just not seeing what could be a problem there; and I'm wondering if gdb isn't

GtkTreeView fixed-height-mode versus an expanding-width column.

2009-10-30 Thread Murray Cumming
I want to use fixed-height mode for performance but I also want, for instance, a middle column to expand to fill the available space instead of expanding the last column. For instance, if I have ID | Name | Date 1 | Someone | 1/1/2001 2 | Someone Else | 2/2/2002 then that

Re: why do constructors return GtkWidget?

2009-09-08 Thread Murray Cumming
On Tue, 2009-09-08 at 13:32 +0200, Emmanuel Touzery wrote: It's annoying for me because I find that putting the real types in my code makes it easier to follow (rather than everything being a GtkWidget*), but if I go that route, I must constantly up and downcast... From my

Re: gtk

2009-08-27 Thread Murray Cumming
On Wed, 2009-08-26 at 23:02 -0400, Paul Davis wrote: On Fri, Aug 21, 2009 at 6:23 AM, Shivaprasad Pshivaprasad.ang...@toshiba-tesi.com wrote: Can we copy entrire gnome canvas content(some area of which is embedded in scroll window) into a jpeg file? depends how much work you want to do.

Re: csv (comma separated value) file

2009-08-24 Thread Murray Cumming
On Tue, 2009-08-04 at 11:49 +0200, Nicola Fragale wrote: Il 04/08/2009 08:59, Andrea Zagli ha scritto: Il giorno lun 03 ago 2009 18:03:43 CEST, Andrea Zagli ha scritto: i didn't find nothing about to manage (read/write) csv files with glib do you know about something that i didn't find?

Re: csv (comma separated value) file

2009-08-24 Thread Murray Cumming
On Tue, 2009-08-04 at 11:49 +0200, Nicola Fragale wrote: Il 04/08/2009 08:59, Andrea Zagli ha scritto: Il giorno lun 03 ago 2009 18:03:43 CEST, Andrea Zagli ha scritto: i didn't find nothing about to manage (read/write) csv files with glib do you know about something that i didn't find?

Re: Plans for GTK+ in the next cycle

2009-03-24 Thread Murray Cumming
an update from the 3.0 drivers, I can't say if that is still realistic at this point. -- Murray Cumming murr...@murrayc.com www.murrayc.com www.openismus.com ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo

Re: gtk+ documentation wikified

2009-02-19 Thread Murray Cumming
On Thu, 2009-02-19 at 16:56 +0100, Mathias Hasselmann wrote: Am Donnerstag, den 19.02.2009, 10:33 -0500 schrieb Dominic Lachowicz: That's hard-ish to do today. GTK+'s documentation is generated in large part by scanning comments in C code, which a program then turns into HTML. Any proposal

Re: minutes of the gtk+ team meeting - 2009-01-20

2009-02-19 Thread Murray Cumming
On Thu, 2009-02-19 at 14:00 +, Alberto Ruiz wrote: Well, first I want to come up with some screencasts of Gtkmm/pygtk That would be great. I suggest that you get us to approve a script first though, otherwise there's sure to be some little inaccuracy that I find annoying but which would be

Re: Strategy for furute programs?

2009-02-12 Thread Murray Cumming
, if you like that kind of thing. http://www.glom.org/ -- Murray Cumming murr...@murrayc.com www.murrayc.com www.openismus.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: events on a lot of triangles: [simplification of a previous post]

2009-02-09 Thread Murray Cumming
On Sat, 2009-02-07 at 02:08 +0100, Fabio Mariotti wrote: Is there any alternative to gnome-canvas? In particular gnome-canvas was working nicely up to 2 objects but a bit heavy with 4. (I would guess that an equivalent canvas solution will suffer the same problem..) goocanvas is

Re: events on a lot of triangles: [simplification of a previous post]

2009-02-09 Thread Murray Cumming
On Mon, 2009-02-09 at 13:13 +0200, Dov Grobgeld wrote: The problem with any general canvas solution is that it can only make limited assumptions about the scale and subdivision of the data. E.g. if you know that all your line segments are of certain max size, then you can use that knowledge

GtkOrientable: Can widgets now be flipped?

2009-02-08 Thread Murray Cumming
now? The documentation seems to suggest that they can't if they still use the old common base classes. -- Murray Cumming murr...@murrayc.com www.murrayc.com www.openismus.com ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http

Re: GtkOrientable: Can widgets now be flipped?

2009-02-08 Thread Murray Cumming
the V/H classes be deprecated already? -- Murray Cumming murr...@murrayc.com www.murrayc.com www.openismus.com ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GtkOrientable: Can widgets now be flipped?

2009-02-08 Thread Murray Cumming
On Sun, 2009-02-08 at 18:47 +0100, Mathias Hasselmann wrote: Am Sonntag, den 08.02.2009, 18:36 +0100 schrieb Murray Cumming: On Sun, 2009-02-08 at 14:51 +0100, Sven Herzberg wrote: AFAIR, you can flip it of you create a GtkBox/GtkScale, but not if you create a Gtk[HV]{Box,Scale}... Mitch

Re: GtkOrientable: Can widgets now be flipped?

2009-02-08 Thread Murray Cumming
On Sun, 2009-02-08 at 21:36 +0100, Mathias Hasselmann wrote: Am Sonntag, den 08.02.2009, 21:04 +0100 schrieb Murray Cumming: On Sun, 2009-02-08 at 18:47 +0100, Mathias Hasselmann wrote: Am Sonntag, den 08.02.2009, 18:36 +0100 schrieb Murray Cumming: On Sun, 2009-02-08 at 14:51 +0100

Re: [PATCH] Inconsistent read/write of a GtkPaperSize to GKeyFile

2009-01-22 Thread Murray Cumming
gtk_paper_size_new_from_key_file I get different sizes. This seems similar to this bug, which seems to be fixed in more recent GTK+ versions: http://bugzilla.gnome.org/show_bug.cgi?id=566147 -- Murray Cumming murr...@murrayc.com www.murrayc.com www.openismus.com

Re: Glib::ustring, error while reading an utf-8 encoded file

2009-01-21 Thread Murray Cumming
don't use std::cout and friends to show UTF-8. -- Murray Cumming murr...@murrayc.com www.murrayc.com www.openismus.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to use Quarks?

2009-01-05 Thread Murray Cumming
On Mon, 2009-01-05 at 18:43 +1100, Andrew Cowie wrote: ie, it sounds like we should switch to g_object_set_qdata() for our one and only use of GObject data; we request and set that value a *lot*, and I'm always pleased to use faster code paths. The key we use is already a static string anyway.

Re: EggDBus

2008-12-23 Thread Murray Cumming
, for such services there's always the raw EggBusProperties interface. Actually, I think Telepathy is strict about using D-Bus properties only for locally-cached data, not things that need to be retrieved remotely, so sorry for that distraction. -- Murray Cumming murr...@murrayc.com www.murrayc.com

Re: EggDBus

2008-12-22 Thread Murray Cumming
This sounds wonderful. I have a couple of questions, though I am not very experienced with D-Bus. o Each D-Bus interface maps to a GInterface So you can get a GSomething object that is a proxy for D-Bus object, which implements GInterfaces for each D-Bus interface offered by that object? And

Re: Question about TreeView particularly GtkCellRendererCombo

2008-12-19 Thread Murray Cumming
___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- Murray Cumming murr...@murrayc.com www.murrayc.com www.openismus.com ___ gtk-app-devel-list mailing list gtk-app-devel

Re: Commenting online docs [Was: Howto retrieve selected font size from GtkFontButton]

2008-12-10 Thread Murray Cumming
On Wed, 2008-12-10 at 10:01 +0200, Stefan Kost wrote: My biggest issue is that this is a webapp that someone would need to write. Any volunters? Next years GSoC? We tried that but it seems that it was never finished: http://live.gnome.org/LiveDocumentationEditing -- Murray Cumming [EMAIL

Re: memory leak when destroying widgets

2008-10-29 Thread Murray Cumming
in gtkmm. -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gobject-introspection and gtkmmproc (Re: [Vala] Auto mm(C++) binding for libraries written in Vala?)

2008-10-15 Thread Murray Cumming
be immediately useful. -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Playing video from within my gtkmm app

2008-10-10 Thread Murray Cumming
stuff on and I'd like to play a .mov file in a subportion of that area. Maybe Kino sources? gstreamermm (unstable but making great progress) has a working example of a mini video player. It's probably useful. -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com

Re: Toggle Button Bug

2008-10-10 Thread Murray Cumming
/toogle_main.c http://www.nylxs.com/docs/workshops/toogle_main.c.html [snip] -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

Re: gtkmm and autoconf

2008-10-03 Thread Murray Cumming
On Thu, 2008-10-02 at 12:31 -0400, Ruben Safir wrote: This is my src directory Makefile.am ___ bin_PROGRAMS = onewindow onewindow_SOURCES = one_window.cc You are not specifying any libraries to link to, or any paths to headers to use.

Re: Learning Glade

2008-09-26 Thread Murray Cumming
On Fri, 2008-09-26 at 02:31 -0400, Ruben Safir wrote: On Mon, Apr 28, 2008 at 08:01:13PM +0200, Luis Menina wrote: If you have a recent version of GTK+ (= 2.12), just go with GtkBuilder instead of libglade: this is the way things should be done nowadays, if you create a simple interface

Re: How do I intercept keys in a Gtk::Entry widget?

2008-09-25 Thread Murray Cumming
/gtkmm-2.4/docs/tutorial/html/sec-xeventsignals.html -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango 1.22 for Windows?

2008-09-25 Thread Murray Cumming
), and that's our only blocker. Thanks. -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GObject-Introspection

2008-09-01 Thread Murray Cumming
On Mon, 2008-09-01 at 16:33 +0200, Johan Dahlin wrote: There were a couple of reasons to switching to xml over s-expressions. The primary one is that XML is more popular, most modern languages have parsers builtin which will make it easier to write tools upon it. Other reasons includes that

Re: getting back to sub-classes of gobjects

2008-08-28 Thread Murray Cumming
On Thu, 2008-08-28 at 11:55 +, Luke Kenneth Casson Leighton wrote: btw just to reassure you: i really _do_ mean thank you for such a simple answer: this is the first time, this week, that i've done gobject programming, and i didn't exactly start with a small unambitious task ha

Re: RFC: Deprecate GTK_{RESPONSE,STOCK}_{YES,NO}

2008-08-25 Thread Murray Cumming
At the least, any Yes/No stuff in the API reference documentation should have a note saying that they are generally a bad idea, probably with a link to the GNOME HIG. -- [EMAIL PROTECTED] www.murrayc.com www.openismus.com ___ gtk-devel-list mailing

Re: Can't install gtkmm (package manager won't install libgtkmm-2.4-dev)

2008-08-05 Thread Murray Cumming
On Mon, 2008-08-04 at 16:12 -0700, Garth's KidStuff wrote: Hi All, Help! I'm trying to install a build environment on a machine I just installed Ubuntu 8.04.1 on and the package manager won't install libgtkmm-2.4-dev. It gives the following message: libgtkmm-2.4-dev: Depends:

Re: Justifying the GTK+ 3.0 ABI break

2008-07-28 Thread Murray Cumming
On Mon, 2008-07-14 at 17:30 +0200, Murray Cumming wrote: Every time that a parallel-installable GTK+ 3.0 has been proposed, and now that it has been decided, I have asked for a list of actual useful features that it will make possible. I've had no luck so far. We need to offer people

Re: g_app_launch_context_get_startup_notify_id

2008-07-08 Thread Murray Cumming
On Mon, 2008-07-07 at 10:38 -0400, Matthias Clasen wrote: On Mon, Jul 7, 2008 at 8:02 AM, Murray Cumming [EMAIL PROTECTED] wrote: I thought we were talking about g_app_launch_context_get_startup_notify_id() and g_app_launch_context_get_display(). They do not say what their parameters do

Re: g_app_launch_context_get_startup_notify_id

2008-07-07 Thread Murray Cumming
More importantly, the documentation doesn't tell me what on earth that list of files is used for in g_app_launch_context_get_display() and g_app_launch_context_get_startup_notify_id(). I shouldn't have to guess.

Re: g_app_launch_context_get_startup_notify_id

2008-07-07 Thread Murray Cumming
On Mon, 2008-07-07 at 13:49 +0200, Gian Mario Tagliaretti wrote: On Mon, Jul 7, 2008 at 1:33 PM, Murray Cumming [EMAIL PROTECTED] wrote: And when documenting that a parameter can be NULL, it's best to say what that would mean. In this particular case (launch and launch_uris) I didn't add

Re: GTK 3.0: an app developer's view

2008-06-19 Thread Murray Cumming
On Thu, 2008-06-19 at 17:55 +1000, Andrew Cowie wrote: On Tue, 2008-06-17 at 10:05 +0100, Martyn Russell wrote: I just put together quickly a few lists of ALL things marked as deprecated right now. That was quite useful. We already got rid of things that caught our attention and/or have

Re: Steps to get to GTK+ 3.0

2008-06-09 Thread Murray Cumming
On Tue, 2008-06-03 at 13:34 +0200, Kristian Rietveld wrote: [snip] We should start to enforce the usage of single header includes and not make this optional. Mitch has been working on this and most is already in place in SVN trunk. [snip] What's the advantage of this? Has this been a real

Re: canvases in 3.0 [was Re: Steps to get to GTK+ 3.0]

2008-06-09 Thread Murray Cumming
On Fri, 2008-06-06 at 23:07 -0400, Havoc Pennington wrote: [snip] 4) the adequate/useful short-term canvas has serious problems with defining its scope and purpose, which have been apparent in every thread about a canvas, and are apparent if you look at the different takes on canvases out

Re: Steps to get to GTK+ 3.0

2008-06-09 Thread Murray Cumming
On Mon, 2008-06-09 at 13:30 +0100, Martyn Russell wrote: Murray Cumming wrote: On Tue, 2008-06-03 at 13:34 +0200, Kristian Rietveld wrote: [snip] We should start to enforce the usage of single header includes and not make this optional. Mitch has been working on this and most is already

Re: canvases in 3.0 [was Re: Steps to get to GTK+ 3.0]

2008-06-09 Thread Murray Cumming
On Mon, 2008-06-09 at 10:31 -0400, Havoc Pennington wrote: Hi, On Mon, Jun 9, 2008 at 3:52 AM, Murray Cumming [EMAIL PROTECTED] wrote: I really like the obvious sanity of your gtk-with-scene-graph idea, but I do wonder when it's likely to happen. Don't get me wrong, I don't *expect

Re: valgrind helloworld example returns errors

2008-05-05 Thread Murray Cumming
On Sun, 2008-05-04 at 18:29 +0300, Stefan Kost wrote: you seem to have no suppressions for libc-2.7. These are all things in libc that you don't need to worry about. Maybe you could link to a suppressions file from the live.gnome.org valgrind page? http://live.gnome.org/Valgrind -- [EMAIL

Re: Integrating optional file chooser implementations into GTK+

2008-05-05 Thread Murray Cumming
On Thu, 2008-05-01 at 13:23 +0100, Ross Burton wrote: Hi, In Poky Linux[1] we're maintaining what could be termed a fork of gtkfilechooserdefault.c targetted at devices with small screens. And Maemo's Hildon provides a completely separate file chooser dialog, which applications must

Re: gtktreeview and doubles

2008-04-30 Thread Murray Cumming
On Wed, 2008-04-30 at 10:49 +0200, Martin (OpenGeoMap) wrote: Hi all: It´s posible edit the cellrender for doubles?? Always put 6 decimals. Can i modify that?? Any tips appreciated. You can use gtk_tree_view_column_set_cell_data_func() to change how data is displayed in your cell

Re: g_file_get_parent () question

2008-04-15 Thread Murray Cumming
On Tue, 2008-04-15 at 18:16 +0300, Alexander Semenov wrote: Hi all. Documentation for g_file_get_parent () does not say should I free the resulting GFile when it's no longer needed or not. So, I should? I believe that all the g_file_get_*() functions (that return a GFile) return new

Changing a GtkCellRendererCombo based on another column

2008-04-14 Thread Murray Cumming
Let's say I have two columns in my treeview: country and town. When the user selects something from the combobox in the country column, I want the contents of the combobox to change in the town column, so that the user only sees towns in that country. I could just change the town combobox model

Re: Changing a GtkCellRendererCombo based on another column

2008-04-14 Thread Murray Cumming
On Mon, 2008-04-14 at 17:14 +0200, Murray Cumming wrote: Let's say I have two columns in my treeview: country and town. When the user selects something from the combobox in the country column, I want the contents of the combobox to change in the town column, so that the user only sees towns

Re: Gtkmm Printing in Ubuntu 7.10

2008-04-09 Thread Murray Cumming
On Wed, 2008-04-09 at 08:15 -0700, Garth's KidStuff wrote: Hi, As covered in some earlier posts, Murry helped point me to the bug report on Ubuntu 7.10 that showed that gtk+ printing just didn't work there. Specifically, there is a problem with the printing API when used from gtkmm (not with

Re: thoughts about improving GtkTreeView: better selection interaction

2008-04-09 Thread Murray Cumming
On Wed, 2008-04-09 at 00:16 +0300, Vlad Grecescu wrote: All of these brought to my memory the fact that TreeView doesn't have a 'vertical listview' mode where only one model column is repeated multiple times (and only that is selectable). IconView comes close, though it orders horizontally.

Re: GSoC proposal: gtk+ bindings for prolog

2008-04-02 Thread Murray Cumming
On Wed, 2008-04-02 at 06:44 +0200, Jean-Yves Lefort wrote: The information is mostly complete. The generator can automatically handle methods which involve fundamental types (gboolean, gint, ...), GLib enum and flags types, and GObject-derived types. Such methods represent a vast majority of

Re: I'd like (working) printing sample code

2008-04-01 Thread Murray Cumming
On Mon, 2008-03-31 at 07:34 -0700, Garth's KidStuff wrote: Hi, Thanks in advance. The sample code at: http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-printing-example.html doesn't work for me. I get the on_begin_print callback as expected, but never receive the on_draw_page

Re: I'd like (working) printing sample code

2008-04-01 Thread Murray Cumming
On Tue, 2008-04-01 at 10:05 -0700, Garth's KidStuff wrote: Hi Murray, Thanks. I'm running Ubuntu 7.10 Gutsy. I'm not sure how to tell what version of Gtkmm I'm linking to, but I just used package manager to get the latest available and here's what's in my /usr/lib: -rw-r--r-- 1 root root

Re: GTK+ Website Review - Final Draft

2008-03-26 Thread Murray Cumming
On Wed, 2008-03-26 at 10:18 +0100, Mikael Hallendal wrote: 25 mar 2008 kl. 08.58 skrev Murray Cumming: Hi, On Wed, 2008-01-30 at 17:26 +0100, Murray Cumming wrote: On Wed, 2008-01-30 at 15:41 +, Martyn Russell wrote: Murray Cumming wrote: On Mon, 2008-01-28 at 13:16 +0100, Murray

Re: GTK+ Website Review - Final Draft

2008-03-26 Thread Murray Cumming
On Wed, 2008-03-26 at 11:35 +0100, Mikael Hallendal wrote: 26 mar 2008 kl. 11.10 skrev Murray Cumming: Hi, On Wed, 2008-03-26 at 10:18 +0100, Mikael Hallendal wrote: 25 mar 2008 kl. 08.58 skrev Murray Cumming: but it's not given and GTK+ is not only for GNOME. The GNOME bindings

Re: GTK+ Website Review - Final Draft

2008-03-26 Thread Murray Cumming
On Wed, 2008-03-26 at 15:44 +0100, Emmanuel Briot wrote: Actually, I meant to do that too, but must have forgotten. I agree, we should only show bindings up to the version we support perhaps (is that 2.6 or 2.8? I can't remember). This list is not updated by anyone except us though. The

Re: GTK+ Website Review - Final Draft

2008-03-25 Thread Murray Cumming
On Wed, 2008-01-30 at 17:26 +0100, Murray Cumming wrote: On Wed, 2008-01-30 at 15:41 +, Martyn Russell wrote: Murray Cumming wrote: On Mon, 2008-01-28 at 13:16 +0100, Murray Cumming wrote: And I still believe that the official GNOME bindings deserve to be in a separate section

Re: Using more verbose ChangeLog format for GLib and GTK+

2008-03-13 Thread Murray Cumming
ChangeLog entries, just to remind people that filing bugs is a good way to get things fixed. But I also like to mention the name of the person who submitted the bug so it makes them feel good. [snip] -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com

Re: GtkBuilder bug?

2008-02-28 Thread Murray Cumming
On Thu, 2008-02-28 at 18:56 +1100, Andrew Cowie wrote: On Wed, 2008-02-27 at 22:20 +, Ross Burton wrote: I don't believe that any data passed to a library should result in a fatal warning, surely a GError return would be a far better option here. Isn't GError for conditions that can be

Re: Get signals and callbacks.

2008-02-26 Thread Murray Cumming
On Tue, 2008-02-26 at 14:19 +0100, Germán Diago wrote: Hello. I'm implementing an application in gtkmm. I want to add support for dynamic signal connection from a glade file in C++ (which is not supported by the C++ bindings). I'd like to know if there is a way, once a glade file has been

Re: Gtk::manage??

2008-02-25 Thread Murray Cumming
On Mon, 2008-02-25 at 13:28 -0500, Jamiil wrote: hello everyone, in case of a failure in Gtk::manage(..) what is the error throw(ned) or what is the error code I should expect to received. Thanks folks, keep up the good work!! When would you expect it to fail? gtkmm-list is generally a

Re: Row with different columns at runtime?

2008-02-21 Thread Murray Cumming
On Mon, 2008-02-18 at 22:18 +0100, Johannes Lorenz wrote: Kristian Rietveld wrote: You can try to use the visible property on the cell renderers. For example, you would pack all cell renderers that can possibly appear in the column and then set the visible properties from a CellDataFunc

Re: Does gtk have issues with STL?

2008-02-08 Thread Murray Cumming
On Fri, 2008-02-08 at 10:44 -0500, Lindley M French wrote: The instability I was seeing before might have been due to my use of an STL map to maintain my list of available windows. Is this a known issue, or should I be looking elsewhere? I'm suspicious because several of the errors I've

Re: Newspaper-column list?

2008-02-06 Thread Murray Cumming
On Wed, 2008-02-06 at 11:23 +, Colin Watson wrote: Hi, I have an application with a rather long list currently rendered as a GtkTreeView within a GtkScrolledWindow. (For context, it's a list of languages supported by an OS installer.) I have had user requests for this to be rendered as

Re: Problem with reparent (Gtk+-2.12)

2008-02-04 Thread Murray Cumming
On Mon, 2008-02-04 at 17:33 +0300, Andrew E. Makeev wrote: Good day, Few days ago we have downloaded latest packages to build Gtk+-2.12 and Gtkmm-2.12 under Win32. The purpose was to fix our application when running on Vista OS (selected menu items were blank - Gtk+2.8). Now we have

Re: GTK+ Website Review - Final Draft

2008-01-30 Thread Murray Cumming
On Mon, 2008-01-28 at 13:16 +0100, Murray Cumming wrote: And I still believe that the official GNOME bindings deserve to be in a separate section. I see that the site is live already. Please don't just ignore this regression. I've mentioned it before too. -- [EMAIL PROTECTED

Re: GTK+ Website Review - Final Draft

2008-01-30 Thread Murray Cumming
On Wed, 2008-01-30 at 15:41 +, Martyn Russell wrote: Murray Cumming wrote: On Mon, 2008-01-28 at 13:16 +0100, Murray Cumming wrote: And I still believe that the official GNOME bindings deserve to be in a separate section. I see that the site is live already. Please don't just

Re: GTK+ Website Review - Final Draft

2008-01-29 Thread Murray Cumming
On Tue, 2008-01-29 at 15:46 +0100, Tim Janik wrote: [snip] what is most unfortunate is that library.g.o only has glib development docs, but not gtk development docs. That's probably because there are no tarball releases of GTK+ from svn trunk at the moment. library.gnome.org can only use

Re: GTK+ Website Review - Final Draft

2008-01-28 Thread Murray Cumming
On Mon, 2008-01-28 at 09:26 -0200, Johan Dahlin wrote: Martyn Russell wrote: Hi, The final draft of the new GTK+ web site has been complete with help from Andreas Nilsson and are now available here: http://imendio.com/~martyn/gtk/draft-final/ The plan is to upload these

Re: Gnome photo kiosk program

2008-01-28 Thread Murray Cumming
On Mon, 2008-01-28 at 07:57 +0200, [EMAIL PROTECTED] wrote: I would like to sponsor(budget ca. 800-900$) a new open source (GPL) linux project - gkiosk. It should be a Gnome photo kiosk program, smth. like this: http://xkiosk2.sourceforge.net/ - this program could/should be used as a start

Re: Crash on windows.

2008-01-10 Thread Murray Cumming
gtkmm gurus would tell me where I'm doing wrong. Please help. Thanks in advance, Surya ___ gtkmm-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtkmm-list -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com

Re: Crash on windows.

2008-01-10 Thread Murray Cumming
On Thu, 2008-01-10 at 15:57 +0530, Surya Kiran Gullapalli wrote: Please find the attached backtrace. I've copied the call stack in visual studio debugger and pasted it to a file. That isn't giving me any ideas. I've also tried your example in valgrind under Linux, and it isn't complaining about

Re: g_build_filename and members

2008-01-09 Thread Murray Cumming
On Mon, 2008-01-07 at 11:45 +0100, Alexander Larsson wrote: Yeah, i think this is just a misunderstanding of what filenames and URIs are. [snip] That confusion is likely to continue with gio. It's probably a good idea to put the simple explanation in the GFile description in the documentation.

Re: GTK IM switch by software keyboard

2008-01-05 Thread Murray Cumming
On Thu, 2008-01-03 at 22:52 +0800, Bin Chen wrote: I have ported a new GTK input method module to my platform, the regular steps to switch input method in a GTK+ text widget is to right click the entry point and select the desired input method. Now I want to do all this more simpler, I want

Re: Drag drop question!

2007-12-29 Thread Murray Cumming
On Sat, 2007-12-29 at 16:22 +0100, Johannes Schmid wrote: Hi! I am currently try to set up a GtkContainer and all it's children as a drag target. As some of the children have their own GdkWindow I need to set up the drag targets for all of them. For a GtkImage child, this works without

Re: App blueprint, advice please!

2007-12-16 Thread Murray Cumming
On Sat, 2007-12-15 at 21:27 -0500, Patrick wrote: Sorry for the long email but I really could use some help. I sell used lab instruments to people doing great work researching cures. The closed source programs to control and process data from these instruments often cost 20K. The people

Re: How to hadle the objects? g_set_data, global?

2007-12-14 Thread Murray Cumming
On Fri, 2007-12-14 at 14:20 -0200, Diogo F. S. Ramos wrote: Could you (or someone) suggest me a place where I can learn about how to subclass a Gobject (or even better, a GtkWindow) without the fear that I doing things in a deprecated way with consistent source examples? This is my dirty

Re: GIO API review

2007-12-12 Thread Murray Cumming
On Wed, 2007-12-12 at 16:37 +0100, Alexander Larsson wrote: GAsnc*- GIOAsync* G*Stream - GIOStream* GIcon - GIOIcon G*Icon- GIOIcon* GCancellable - GIOCancellable ... I strongly oppose this. I personally prefer the naming Mitch

Re: Suggested even/odd convention for the micro version numbers (like cairo)

2007-12-11 Thread Murray Cumming
[snip] On Tue, 2007-12-11 at 10:37 +0200, Tor Lillqvist wrote: This has the advantage that there is never any confusion whether pre-release or post-release bump is used. Code from a SVN checkout can always be recognised by its odd micro number, and correspondingly code from a released tarball

<    1   2   3   4   5   >