From Stefan.Andressen@t-online.de Wed Dec 31 19:40:06 2003 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mail.gnome.org (Postfix) with ESMTP id F3C761833A for ; Wed, 31 Dec 2003 19:40:05 -0500 (EST) Received: from fwd01.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1Abqsf-0000ly-00; Thu, 01 Jan 2004 01:40:05 +0100 Received: from stefanxp1800 (XLy6AOZJ8eG7snzghJniZ9ZlvbMwlhv7VG62F9IhovZMExPi5WVLoI@[193.158.182.83]) by fwd01.sul.t-online.com with smtp id 1AbqsV-1Nb9ua0; Thu, 1 Jan 2004 01:39:55 +0100 Message-ID: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 1 Jan 2004 01:39:52 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C3D008.26B22230" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: XLy6AOZJ8eG7snzghJniZ9ZlvbMwlhv7VG62F9IhovZMExPi5WVLoI Subject: [gtkmm] Which dlls to distribute Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0016_01C3D008.26B22230 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I am new to gtkmm and i have no idea which dlls (windows here) i have to = ship with my application. Only the gtkmm dlls? Or the gtk+ dlls, too? Thanks in advance! CU, Stefan ------=_NextPart_000_0016_01C3D008.26B22230 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I am new to gtkmm and i have no idea = which dlls=20 (windows here) i have to ship with my application.
Only the gtkmm dlls? Or the gtk+ dlls,=20 too?
 
Thanks in advance!
 
CU,
Stefan
------=_NextPart_000_0016_01C3D008.26B22230-- From Stefan.Andressen@t-online.de Thu Jan 1 11:08:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mail.gnome.org (Postfix) with ESMTP id 6B97118129 for ; Thu, 1 Jan 2004 11:08:10 -0500 (EST) Received: from fwd10.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1Ac5Mk-0005KU-00; Thu, 01 Jan 2004 17:08:06 +0100 Received: from stefanxp1800 (ZGyfqeZZgefX46ZDDxG4xvNpdVE3l3rqkNt3RLN44M1GKnwCMuFD8D@[62.224.223.126]) by fwd10.sul.t-online.com with smtp id 1Ac5MJ-1fs5PU0; Thu, 1 Jan 2004 17:07:39 +0100 Message-ID: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 1 Jan 2004 17:07:36 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C3D089.C0E2ECA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: ZGyfqeZZgefX46ZDDxG4xvNpdVE3l3rqkNt3RLN44M1GKnwCMuFD8D Subject: [gtkmm] radiobutton under winxp Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C3D089.C0E2ECA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I compiled the radiobutton example from the gtkmm-book, and when a = radiobutton is selected, it simply doesn't fill the circle (for winxp = with a green dot). Is there a workaround? I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. Thanks! Happy new year, Stefan ------=_NextPart_000_0005_01C3D089.C0E2ECA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I compiled the radiobutton example from = the=20 gtkmm-book, and when a radiobutton is selected, it simply doesn't fill = the=20 circle (for winxp with a green dot).
Is there a workaround?
I am using gtkmm 2.2.8.1 with g++ 3.2 = and=20 Dev-Cpp.
 
Thanks!
Happy new year,
Stefan
------=_NextPart_000_0005_01C3D089.C0E2ECA0-- From abt@gmx.de Thu Jan 1 11:34:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id E1C201815F for ; Thu, 1 Jan 2004 11:34:38 -0500 (EST) Received: (qmail 22091 invoked by uid 65534); 1 Jan 2004 16:34:37 -0000 Received: from dialin-145-254-065-221.arcor-ip.net (EHLO gmx.de) (145.254.65.221) by mail.gmx.net (mp005) with SMTP; 01 Jan 2004 17:34:37 +0100 X-Authenticated: #109577 Message-ID: <3FF44C18.7060404@gmx.de> Date: Thu, 01 Jan 2004 17:34:32 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi and a happy new year to everyone! I´d like to have a window like the detailed list view in KDE Konquerer (is it QT?) and I wonder if there is any way to create a lookalike with GTKmm. You can see the screenshots here: http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite Click on the image to view the window I´d like to create.... With "Next" you can view my GTKmm try... TIA, Andi From abt@gmx.de Thu Jan 1 11:39:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id F1E981815F for ; Thu, 1 Jan 2004 11:38:59 -0500 (EST) Received: (qmail 22194 invoked by uid 65534); 1 Jan 2004 16:38:55 -0000 Received: from dialin-145-254-065-221.arcor-ip.net (EHLO gmx.de) (145.254.65.221) by mail.gmx.net (mp026) with SMTP; 01 Jan 2004 17:38:55 +0100 X-Authenticated: #109577 Message-ID: <3FF44D1B.4070705@gmx.de> Date: Thu, 01 Jan 2004 17:38:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org References: <3FF44C18.7060404@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) -> login Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > You can see the screenshots here: > http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite login: abthun rosebud From matthew@alledora.co.uk Thu Jan 1 16:02:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by mail.gnome.org (Postfix) with ESMTP id 26FF01817B for ; Thu, 1 Jan 2004 16:02:43 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040101210227.UNVT29762.mta02-svc.ntlworld.com@alledora.co.uk>; Thu, 1 Jan 2004 21:02:27 +0000 Message-ID: <3FF48B1E.9080300@alledora.co.uk> Date: Thu, 01 Jan 2004 21:03:26 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> In-Reply-To: <3FF44C18.7060404@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas B. Thun wrote: | Hi and a happy new year to everyone! | | I´d like to have a window like the detailed | list view in KDE Konquerer (is it QT?) | and I wonder if there is any way to create | a lookalike with GTKmm. | | You can see the screenshots here: | http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite | | Click on the image to view the window I´d like to create.... | With "Next" you can view my GTKmm try... It's entirely possible. The TreeView widget is the one you'll be wanting to look at to start with. Most of the columns could be CellRendererText columns for pure text rendering, but the first one would need both a CellRendererPixbuf and a CellRendererText in it to get the icons. You may find that the stock TreeView code doesn't do everything you'd need to entirely replicate Konqueror's functionality - Nautilus, I believe, uses some kind of TreeView-based widget with lots of extra bits to enable it to do everything it does, but TreeView will provide you with the basics at least. I know it doesn't sound like the right widget, but believe me, it is. Read the Programming with Gtkmm chapters on it to get yourself started, and look at the examples in the Gtkmm source distribution for more info. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/9Isb0UvYjCBpIlARAiUCAJwIcNyUOtzyH9mwwivzdVd38d8uTQCfek9w Tulu3UPoJ2C93dPprA7waiY= =mPKM -----END PGP SIGNATURE----- From christof@petig-baender.de Fri Jan 2 04:18:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 1EE54182F1 for ; Fri, 2 Jan 2004 04:18:07 -0500 (EST) Received: (qmail 25205 invoked by uid 4225); 2 Jan 2004 09:18:05 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 02 Jan 2004 09:18:05 -0000 Received: from [192.168.235.2] (helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AcLRT-0002Ld-00; Fri, 02 Jan 2004 10:18:04 +0100 Message-ID: <3FF48ADE.4090606@petig-baender.de> Date: Thu, 01 Jan 2004 22:02:22 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Roger Leigh Cc: "Andreas B. Thun" , gtkmm-list@gnome.org Subject: Re: [gtkmm] =?ISO-8859-1?Q?beginner=B4s_question?= References: <3FEDAACF.1000304@gmx.de> <87ekupj3qm.fsf@wrynose.whinlatter.uklinux.net> <3FEEBB79.5060102@gmx.de> <877k0fi830.fsf@wrynose.whinlatter.uklinux.net> <3FF13CD4.5000400@gmx.de> <87pte6br92.fsf@wrynose.whinlatter.uklinux.net> In-Reply-To: <87pte6br92.fsf@wrynose.whinlatter.uklinux.net> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Roger Leigh schrieb: >>To glade: I checked it but it generates C code! It uses glademm to generate C++ code (once you activate C++) > Using the C/C++ code generation is deprecated, that is simply a matter of taste (and your requirements). I don't consider generating a _single_standalone_ binary deprecated - no matter how many gnome developers think differently. And C++ is a totally different beast, the generated C++ code is much more maintainable than the C code. I dare to say that glade's code is a nightmare compared to glademm's. Christof (glademm maintainer) From abt@gmx.de Fri Jan 2 06:31:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A4772180D7 for ; Fri, 2 Jan 2004 06:31:54 -0500 (EST) Received: (qmail 11146 invoked by uid 65534); 2 Jan 2004 11:31:50 -0000 Received: from port-213-61-210-114.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.114) by mail.gmx.net (mp003) with SMTP; 02 Jan 2004 12:31:50 +0100 X-Authenticated: #109577 Message-ID: <3FF556A1.2080501@gmx.de> Date: Fri, 02 Jan 2004 12:31:45 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Matthew Walton , gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: THX, I´ve checked the TreeView example in "Programming with GTKmm2" and found that I have to provide a ModelColumns class member for every column data (see below my col_1/2). class ModelColumns : public Gtk::TreeModelColumnRecord { public: Gtk::TreeModelColumn col_1; Gtk::TreeModelColumn col_2; ModelColumns() { add (col_1); add (col_2); } }; The problem I am facing now is that my column data is dynamic. (It does not change while the program is running, though). I get the data I want to display from a file so I get the information about how many columns I have to display only at runtime. I am not a C++ expert, maybe soemone can explain how to build the class ModelColumns dynamically? Matthew Walton schrieb: > It's entirely possible. The TreeView widget is the one you'll be wanting > to look at to start with. Most of the columns could be CellRendererText > columns for pure text rendering, but the first one would need both a > CellRendererPixbuf and a CellRendererText in it to get the icons. From olau@hardworking.dk Fri Jan 2 07:25:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 0EF9118132 for ; Fri, 2 Jan 2004 07:25:04 -0500 (EST) Received: from bach.composers (26.ppp1-1.abc.worldonline.dk [213.237.21.26]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i02CPE7x014686 for ; Fri, 2 Jan 2004 13:25:15 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AcOMU-00038i-OX for gtkmm-list@gnome.org; Fri, 02 Jan 2004 13:25:06 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> <3FF556A1.2080501@gmx.de> From: Ole Laursen Date: Fri, 02 Jan 2004 13:25:06 +0100 In-Reply-To: <3FF556A1.2080501@gmx.de> (Andreas B. Thun's message of "Fri, 02 Jan 2004 12:31:45 +0100") Message-ID: <87wu8a4jx9.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > class ModelColumns : public Gtk::TreeModelColumnRecord > { > public: > Gtk::TreeModelColumn col_1; > Gtk::TreeModelColumn col_2; > > ModelColumns() > { > add (col_1); > add (col_2); > } > }; > > The problem I am facing now is that my column data is dynamic. > (It does not change while the program is running, though). I've never tried this, but can't you just use an array? For example: public: std::vector > cols; ModelColumns(int no) { for (int i = 0; i < no; ++i) { cols.push_back(Gtk::TreeModelColumn()); add(cols.back()); } } I'm not sure whether it works, though. The interface for the treeview classes is very confusing. -- Ole Laursen http://www.cs.auc.dk/~olau/ From kickvb@touva.be Fri Jan 2 10:27:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moses.all2all.org (sys2.all2all.org [62.58.108.3]) by mail.gnome.org (Postfix) with ESMTP id 6B2C8180F4 for ; Fri, 2 Jan 2004 10:27:17 -0500 (EST) Received: from buddha.all2all.org ([62.58.108.9] helo=all2all.org) by moses.all2all.org with smtp (ALL2ALL.ORG The Independent Network) id 1AcRCj-0007Ue-00; Fri, 02 Jan 2004 16:27:13 +0100 Date: Fri, 2 Jan 2004 15:27:13 -0000 To: "Stefan Andreßen" , Subject: Re: [gtkmm] Which dlls to distribute From: X-Mailer: TWIG 2.7.7 Message-ID: In-Reply-To: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> X-Client-IP: 212.239.221.31 Reply-To: kickvb@touva.be Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am new to gtkmm and i have no idea which dlls (windows here) i have to ship with my application. > Only the gtkmm dlls? Or the gtk+ dlls, too? GTKmm doesn't reimplement what is done in GTK+ but gives you a C++ interface to the GTK+ libraries. So you need to ship the gtk+ dlls too. You can find at http://cvs.sourceforge.net/viewcvs.py/heavymole/heavymole/heavymole-libraries.iss?rev=1.17&view=auto an installer (written with the Inno Setup script) which installs a gtkmm application and all needed dlls. You can install and look at the files of the package http://prdownloads.sourceforge.net/heavymole/HeavyMole-0.7.0-Libraries-Installer.exe to see what are the files that are installed. Note that it is not the best way to install the libraries, as the GTK+ and GTKmm dlls are installed in the directory of your application and are therefore not usable by other applications. I'd like to write a script that checks if GTK+/GTKmm are already on your system and installs them exactly like it was made with the Runtime Environment packages from http://www.dropline.net/gtk/download.php and http://www.pcpm.ucl.ac.be/~gustin/win32_ports/. I think I'll need the scripts used to write these packages. Cedric Gustin could you send me (or put on your web site) the script used to do your package? Regards, Christian Van Brussel From abt@gmx.de Fri Jan 2 13:46:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3880018206 for ; Fri, 2 Jan 2004 13:46:52 -0500 (EST) Received: (qmail 14847 invoked by uid 65534); 2 Jan 2004 18:46:50 -0000 Received: from port-213-61-210-245.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.245) by mail.gmx.net (mp009) with SMTP; 02 Jan 2004 19:46:50 +0100 X-Authenticated: #109577 Message-ID: <3FF5BC97.1000905@gmx.de> Date: Fri, 02 Jan 2004 19:46:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Two beginners questions to signal handling Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, it´s me again :-) The callback function of form B should trigger the values displayed in form A to update. form A: build by constructor of class A form B: build by constructor of class B 1. Is there a way to connect the signal handler B::something_in_B_selected() to A::update_values_in_A()? class A : public Gtk::VBox class B : public Gtk::VBox 2. If I want to update the values in a already displayed form A is it ok to just re-set the values and invoke show_all()? TIA, Andi From abt@gmx.de Fri Jan 2 13:51:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id E148C1845C for ; Fri, 2 Jan 2004 13:51:17 -0500 (EST) Received: (qmail 16755 invoked by uid 65534); 2 Jan 2004 18:51:16 -0000 Received: from port-213-61-210-245.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.245) by mail.gmx.net (mp027) with SMTP; 02 Jan 2004 19:51:16 +0100 X-Authenticated: #109577 Message-ID: <3FF5BDA1.8090802@gmx.de> Date: Fri, 02 Jan 2004 19:51:13 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Matthew Walton Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > It's entirely possible. The TreeView widget is the one you'll be wanting > to look at to start with. Most of the columns could be CellRendererText > columns for pure text rendering, but the first one would need both a > CellRendererPixbuf and a CellRendererText in it to get the icons. Ok, I see. The list view looks promising. Although it seems that the header items cannot trigger any action?! (In Konquerer you can click on Size, Name, Date etc. and the list will be sorted.) From olau@hardworking.dk Fri Jan 2 17:21:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp040.tiscali.dk (smtp040.tiscali.dk [212.54.64.106]) by mail.gnome.org (Postfix) with ESMTP id CAD9618149 for ; Fri, 2 Jan 2004 17:21:53 -0500 (EST) Received: from bach.composers (35.ppp1-1.abc.worldonline.dk [213.237.21.35]) by smtp040.tiscali.dk (8.12.10/8.12.10) with ESMTP id i02MLnRD000160 for ; Fri, 2 Jan 2004 23:21:50 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AcXMB-0000AM-MI for gtkmm-list@gnome.org; Fri, 02 Jan 2004 23:01:23 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Two beginners questions to signal handling References: <3FF5BC97.1000905@gmx.de> From: Ole Laursen Date: Fri, 02 Jan 2004 23:01:23 +0100 In-Reply-To: <3FF5BC97.1000905@gmx.de> (Andreas B. Thun's message of "Fri, 02 Jan 2004 19:46:47 +0100") Message-ID: <87isju103w.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > The callback function of form B should trigger > the values displayed in form A to update. > form A: build by constructor of class A > form B: build by constructor of class B > > 1. Is there a way to connect the signal handler > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox You can define your own signals if that is what you are asking. You can also connect to "someone clicked here" events in a widget if that is what you are asking. You just need to find the appropriate signal_something() to connect to, then say something along the lines of signal_something().connect(SigC::slot(my_a_object, &A::update_values)); inside B. When you are looking for a signal_something(), remember that base classes define signals too. Sometimes it is easiest to find one via the signal mechanism in Glade. (If you are not using Glade, you really should unless _all_ of your window contents are dynamically generated.) > 2. If I want to update the values in a already > displayed form A is it ok to just re-set the values > and invoke show_all()? You don't need to invoke show_all again. If you update the value in a widget, it will automatically refresh itself. -- Ole Laursen http://www.cs.auc.dk/~olau/ From pgasper@designadvantage.com Fri Jan 2 21:31:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id A4E3C18139 for ; Fri, 2 Jan 2004 21:31:54 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AcbZs-0004SP-70 for gtkmm-list@gnome.org; Fri, 02 Jan 2004 21:31:48 -0500 From: Peter Gasper To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Message-Id: <1073097107.6545.46.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 02 Jan 2004 19:31:51 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Subject: [gtkmm] widget activation Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For widgets that are activatable, such as a RadioButton, is there a way to query what keyboard key caused the activation? Or better yet, is there a way to prevent the return key from causing activation (or return & kp_enter), but let the keypad enter key cause activation? The reason for this is I am connecting a slot to the widget's signal_activate. I want to do something different depending on if the return or kp_enter key is pressed, but signal_activate() doesn't tell me the key. I would also rather catch the return key in the on_keyboard_release_event() function of a parent container of this widget. But since the widget is activatable, the return key event never gets that far and connecting to the widget's signal_key_release_event doesn't seem to work either. Thanks, Pete G -- Peter Gasper From gtkmm-forge-admin@lists.sourceforge.net Fri Jan 2 23:05:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 7848418147 for ; Fri, 2 Jan 2004 23:05:28 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Acd2U-0006fR-8X for gtkmm-list@gnome.org; Fri, 02 Jan 2004 20:05:26 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1Acd2U-0005kj-3n for gtkmm-list@gnome.org; Fri, 02 Jan 2004 20:05:26 -0800 Date: Fri, 02 Jan 2004 20:03:27 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #590 - 8 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 130351] New - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) 2. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 3. [Bug 130351] Changed - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) 4. [Bug 122450] Changed - stylesheet to generate devhelp documentation from doxygen xml (bugzilla-daemon@widget.gnome.org) 5. [Bug 125061] Changed - glibmm should use libsigc++2 (bugzilla-daemon@widget.gnome.org) 6. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 7. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 8. [Bug 130351] Changed - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Thu, 1 Jan 2004 10:56:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] New - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by stefan.andressen@t-online.de. --- shadow/130351 Thu Jan 1 10:56:26 2004 +++ shadow/130351.tmp.10364 Thu Jan 1 10:56:26 2004 @@ -0,0 +1,20 @@ +Bug#: 130351 +Product: gtkmm +Version: 2.2 +OS: Windows +OS Details: WinXP Professional +Status: NEW +Resolution: +Severity: minor +Priority: Normal +Component: general +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: stefan.andressen@t-online.de +TargetMilestone: --- +URL: +Summary: Radiobutton not correctly drawn + +I compiled the radiobutton example from the gtkmm-book, and when a +radiobutton is selected, it doesn't draw the green point in the circle. + +P.S.: I do not understand what the "GNOME VERSION" meen... --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Fri, 2 Jan 2004 05:22:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Mon Dec 22 11:44:12 2003 +++ shadow/129846.tmp.26874 Fri Jan 2 05:22:17 2004 @@ -35,6 +35,12 @@ ------- Additional Comments From roger@whinlatter.uklinux.net 2003-12-22 11:44 ------- Created an attachment (id=22645) testcase -- glade interface + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:22 ------- +I tried this with the menus example, in libglademm/examples, and I +don't see any accelerators, and that doesn't even use the reparent +method. I can't even get it to work in C with libglade. Do you have an +example that does work, without reparenting, for comparison? --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, stefan.andressen@t-online.de Cc: Date: Fri, 2 Jan 2004 05:24:14 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by murrayc@usa.net. --- shadow/130351 Thu Jan 1 10:56:26 2004 +++ shadow/130351.tmp.28109 Fri Jan 2 05:24:14 2004 @@ -15,6 +15,10 @@ Summary: Radiobutton not correctly drawn I compiled the radiobutton example from the gtkmm-book, and when a radiobutton is selected, it doesn't draw the green point in the circle. P.S.: I do not understand what the "GNOME VERSION" meen... + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:24 ------- +Do you know if this works in the C GTK+ examples or demos on Windows? +It may be a theme problem. --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roel@stack.be Cc: Date: Fri, 2 Jan 2004 05:26:15 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 122450] Changed - stylesheet to generate devhelp documentation from doxygen xml Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=122450 Changed by murrayc@usa.net. --- shadow/122450 Fri Dec 26 14:23:52 2003 +++ shadow/122450.tmp.29136 Fri Jan 2 05:26:15 2004 @@ -1,13 +1,13 @@ Bug#: 122450 Product: gtkmm Version: 2.2 OS: All OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: enhancement Priority: Normal Component: reference documentation AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roel@stack.be QAContact: gtkmm-forge@lists.sourceforge.net @@ -196,6 +196,17 @@ I can't check rýght now, but I sent the devhelp file to you, as requested. And can't you just build the cvs version? ------- Additional Comments From roel@stack.be 2003-12-26 14:23 ------- Ok, I've build the cvs version, and it works as I described above; so function searching in the cvs version works for me. + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:26 ------- +Hmm, yes, it seems to be working now, though I had to correct the +devhelp file name and location (done in cvs). + +I notice that the anchor links don't work (it doesn't go straight to +the method instead of the top of the page), but that's probably a +gtkhtml problem. + +Thank you. I have done this for libglademm already and will do it for +the others, so check the changes if you have thoughts. Thanks again. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 05:28:19 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 125061] Changed - glibmm should use libsigc++2 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=125061 Changed by murrayc@usa.net. --- shadow/125061 Wed Oct 22 04:43:40 2003 +++ shadow/125061.tmp.30371 Fri Jan 2 05:28:19 2004 @@ -50,6 +50,9 @@ ------- Additional Comments From murrayc@usa.net 2003-10-22 04:43 ------- > Would you prefer to use the compatibility module in > glibmm/gtkmm itself No, we would port to the latest non-deprecated libsigc++ API. + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:28 ------- +We need to ask on the list whether people can live without gcc 2.9*. --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 08:42:40 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by roger@whinlatter.uklinux.net. --- shadow/129846 Fri Jan 2 05:22:17 2004 +++ shadow/129846.tmp.13867 Fri Jan 2 08:42:40 2004 @@ -41,6 +41,11 @@ ------- Additional Comments From murrayc@usa.net 2004-01-02 05:22 ------- I tried this with the menus example, in libglademm/examples, and I don't see any accelerators, and that doesn't even use the reparent method. I can't even get it to work in C with libglade. Do you have an example that does work, without reparenting, for comparison? + +------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:42 ------- +Created an attachment (id=22839) +Glade file: add C+Q accelerator to gnomemm/libglademm/examples/menus/example.glade + --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 08:46:06 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by roger@whinlatter.uklinux.net. --- shadow/129846 Fri Jan 2 08:42:40 2004 +++ shadow/129846.tmp.15329 Fri Jan 2 08:46:05 2004 @@ -46,6 +46,18 @@ example that does work, without reparenting, for comparison? ------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:42 ------- Created an attachment (id=22839) Glade file: add C+Q accelerator to gnomemm/libglademm/examples/menus/example.glade + +------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:45 ------- +I've attached a new Glade file, which adds a C+Q accelerator to the +menu_file_quit MenuItem. This does work as expected, in that now +C+Q now causes the program to terminate. + +This works with the normal gnomemm/libglademm/examples/menus/example +program. + + +Regards, +Roger --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 11:51:03 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by stefan.andressen@t-online.de. --- shadow/130351 Fri Jan 2 05:24:14 2004 +++ shadow/130351.tmp.14524 Fri Jan 2 11:51:02 2004 @@ -19,6 +19,19 @@ P.S.: I do not understand what the "GNOME VERSION" meen... ------- Additional Comments From murrayc@usa.net 2004-01-02 05:24 ------- Do you know if this works in the C GTK+ examples or demos on Windows? It may be a theme problem. + +------- Additional Comments From stefan.andressen@t-online.de 2004-01-02 11:51 ------- +http://www.gotpenguin.com/gnome/gtk1/tutorial/sec-radiobuttons.html +Here I found the corresponding c-code. +The green dot isn't drawn here also, so c and c++ (gtk+ and gtkmm) +have the same behaviour, as expected. +If this is a theme problem lies beyond my knowledge, i just know +that it is a problem. +Whether this is a theme problem or not lies beyond my knowledge, I +just know that it is a problem. + +Bye. + --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From cedric.gustin@swing.be Sun Jan 4 14:55:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 9FE91183AD for ; Sun, 4 Jan 2004 14:55:24 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04JnSPt027766; Sun, 4 Jan 2004 20:49:29 +0100 (MET) Message-Id: <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 20:55:13 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] radiobutton under winxp In-Reply-To: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:07 PM 1/1/2004, Stefan Andre=DFen wrote: >Hi! > >I compiled the radiobutton example from the gtkmm-book, and when a=20 >radiobutton is selected, it simply doesn't fill the circle (for winxp with= =20 >a green dot). >Is there a workaround? >I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. This problem already came up a few weeks ago, either on the mailing list or= =20 in a private mail, I don't remember. I think the problem was related to=20 dev-cpp. Try to upgrade to the latest version using the nice dev-cpp=20 updater included in the distribution. Then recompile.You might also want to= =20 upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline (see=20 http://gtk-wimp.sourceforge.net). Please post the solution on the mailinglist as an archive. Cedric From cedric.gustin@swing.be Sun Jan 4 15:02:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id BDA7A18512 for ; Sun, 4 Jan 2004 15:02:32 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04JufPt027964; Sun, 4 Jan 2004 20:56:41 +0100 (MET) Message-Id: <6.0.1.1.2.20040104210041.01be1510@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 21:02:29 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] radiobutton under winxp In-Reply-To: <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 08:55 PM 1/4/2004, Cedric Gustin wrote: >At 05:07 PM 1/1/2004, Stefan Andre=DFen wrote: >>I compiled the radiobutton example from the gtkmm-book, and when a=20 >>radiobutton is selected, it simply doesn't fill the circle (for winxp=20 >>with a green dot). >>Is there a workaround? >>I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. > >This problem already came up a few weeks ago, either on the mailing list=20 >or in a private mail, I don't remember. I think the problem was related to= =20 >dev-cpp. Try to upgrade to the latest version using the nice dev-cpp=20 >updater included in the distribution. Then recompile.You might also want=20 >to upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline=20 >(see http://gtk-wimp.sourceforge.net). Actually, it was on the pygtk mailing list. See this thread= http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Cedric=20 From cedric.gustin@swing.be Sun Jan 4 15:30:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id D7819182AE for ; Sun, 4 Jan 2004 15:30:28 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04KOPPt028648; Sun, 4 Jan 2004 21:24:25 +0100 (MET) Message-Id: <6.0.1.1.2.20040104212315.01bfe280@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 21:30:08 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] Which dlls to distribute In-Reply-To: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> References: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 01:39 AM 1/1/2004, Stefan Andre=DFen wrote: >I am new to gtkmm and i have no idea which dlls (windows here) i have to=20 >ship with my application. >Only the gtkmm dlls? Or the gtk+ dlls, too? Your gtkmm application will require both the gtkmm and GTK+ runtimes. For=20 gtkmm, this is basically the glibmm, pangomm, atkmm, gdkmm and gtkmm DLLs.= =20 For gtk+, this is more complicated as you also have to include a bunch of=20 other files (mostly pango related). Therefore, I recommend to either ask=20 your users to install the gtk+ runtime from dropline and the gtkmm runtime= =20 from my site (available as a separate installer), or to hack your own=20 installer based on the gtk+ one (the innosetup script is available from=20 http://www.dropline.net/gtk/download.php) and adds the gtkmm DLLs manually= =20 to this installer. Cedric From Stefan.Andressen@t-online.de Sun Jan 4 19:00:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mail.gnome.org (Postfix) with ESMTP id 8172618645 for ; Sun, 4 Jan 2004 19:00:07 -0500 (EST) Received: from fwd07.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1AdIA5-0008R8-00; Mon, 05 Jan 2004 01:00:01 +0100 Received: from stefanxp1800 (Vaf+KoZc8ekhfmAJhVbR3j+cwToV2elgmwFxMtayKvWnLVs0Prk542@[193.159.21.57]) by fwd07.sul.t-online.com with smtp id 1AdI9v-23jla40; Mon, 5 Jan 2004 00:59:51 +0100 Message-ID: <006501c3d31e$d74c0930$39159fc1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> <6.0.1.1.2.20040104210041.01be1510@pop.swing.be> Subject: Re: [gtkmm] radiobutton under winxp Date: Mon, 5 Jan 2004 00:59:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: Vaf+KoZc8ekhfmAJhVbR3j+cwToV2elgmwFxMtayKvWnLVs0Prk542 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Many thanks, Cederic! The problem was indeed the gtk+ runtime environment! Getting the GTK-Wimp 0.5.2 solved the problem. For me the installation was: Copying the gtkrc in...\GTK\2.0\share\themes\Default\gtk-2.0-key (maybe renaming the old one) and coping the new libwimp.dll in ...\GTK\2.0\lib\gtk-2.0\2.2.0\engines (again maybe renaming the old one). Sorry, i do not know how to post this as an archive! Bye, Stefan ----- Original Message ----- From: "Cedric Gustin" To: "Stefan Andreßen " ; Sent: Sunday, January 04, 2004 9:02 PM Subject: Re: [gtkmm] radiobutton under winxp At 08:55 PM 1/4/2004, Cedric Gustin wrote: >At 05:07 PM 1/1/2004, Stefan Andreßen wrote: >>I compiled the radiobutton example from the gtkmm-book, and when a >>radiobutton is selected, it simply doesn't fill the circle (for winxp >>with a green dot). >>Is there a workaround? >>I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. > >This problem already came up a few weeks ago, either on the mailing list >or in a private mail, I don't remember. I think the problem was related to >dev-cpp. Try to upgrade to the latest version using the nice dev-cpp >updater included in the distribution. Then recompile.You might also want >to upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline >(see http://gtk-wimp.sourceforge.net). Actually, it was on the pygtk mailing list. See this thread http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Cedric From Stefan.Andressen@t-online.de Sun Jan 4 19:18:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mail.gnome.org (Postfix) with ESMTP id 2C9A218395 for ; Sun, 4 Jan 2004 19:18:17 -0500 (EST) Received: from fwd07.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1AdIRj-0007SI-01; Mon, 05 Jan 2004 01:18:15 +0100 Received: from stefanxp1800 (G53fwuZCreJuy3Ip3QFSYUY4jOuZWJPEnZl7nPbb7xTzFTKoK0CRZg@[193.159.21.57]) by fwd07.sul.t-online.com with smtp id 1AdIRe-1lDzRQ0; Mon, 5 Jan 2004 01:18:10 +0100 Message-ID: <001001c3d321$664252f0$39159fc1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Mon, 5 Jan 2004 01:18:09 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C3D329.C796BB10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: G53fwuZCreJuy3Ip3QFSYUY4jOuZWJPEnZl7nPbb7xTzFTKoK0CRZg Subject: [gtkmm] memory footprint of gtk+ and gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C3D329.C796BB10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I just looked at the dlls, which comes with gtk+ and gtkmm runtime = environment. It is amazing how big they are all togther, must be over 20 mb. Now, does that not mean that (simple) gtkmm applications are very memory = consuming? Looking at the radiobutton example it is over 5 mb, which is quite = massiv for such a simple programm. Any thoughts or suggestions? Bye, Stefan ------=_NextPart_000_000D_01C3D329.C796BB10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I just looked at the dlls, which = comes with=20 gtk+ and gtkmm runtime environment.
It is amazing how big they are all = togther, must be=20 over 20 mb.
Now, does that not mean that (simple) = gtkmm=20 applications are very memory consuming?
Looking at the radiobutton example it = is over 5 mb,=20 which is quite massiv for such a simple programm.
Any thoughts or = suggestions?
 
Bye,
Stefan
 
------=_NextPart_000_000D_01C3D329.C796BB10-- From cedric.gustin@swing.be Mon Jan 5 01:59:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id C50A518102 for ; Mon, 5 Jan 2004 01:59:39 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i056rdPt016831; Mon, 5 Jan 2004 07:53:39 +0100 (MET) Message-Id: <6.0.1.1.2.20040105075505.01be3cf8@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 05 Jan 2004 07:59:26 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] memory footprint of gtk+ and gtkmm In-Reply-To: <001001c3d321$664252f0$39159fc1@stefanxp1800> References: <001001c3d321$664252f0$39159fc1@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 01:18 AM 1/5/2004, Stefan Andre=DFen wrote: >Hi! > >I just looked at the dlls, which comes with gtk+ and gtkmm runtime=20 >environment. >It is amazing how big they are all togther, must be over 20 mb. >Now, does that not mean that (simple) gtkmm applications are very memory=20 >consuming? No, the DLLs simply include debugging symbols. >Looking at the radiobutton example it is over 5 mb, which is quite massiv= =20 >for such a simple programm. >Any thoughts or suggestions? You can try to strip your executable and/or the gtkmm DLLs. My 'gtkmm=20 runtime for final users' installer has also stripped versions of the gtkmm= =20 DLLs. Cedric=20 From Murray.Cumming@Comneon.com Mon Jan 5 05:36:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 44984184BA for ; Mon, 5 Jan 2004 05:36:30 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AWX7k021875; Mon, 5 Jan 2004 11:32:34 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:36:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B3@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: eli_hadad@sheernetworks.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Beginner question Date: Mon, 5 Jan 2004 11:36:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Eli Hadad wrote: > I am new to gtkmm, and have a question. > I wish to show / add widget at runtime (for example after > catching button clicked event) into a container such as > Gtk::Frame. When I do it I get segmentation fault. I wander > if this is suppose to work and if yes what can be my problem. I suggest that you just use show() and hide() to show or hide a widget. You can add both widgets to the same container (such as a Gtk::Vbox) and just hide one when you show the other. You should also be able to add() and remove() child widgets, of course. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:45:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7C33718408 for ; Mon, 5 Jan 2004 05:45:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05Afc7k024643; Mon, 5 Jan 2004 11:41:38 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:45:50 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] radiobutton under winxp Date: Mon, 5 Jan 2004 11:45:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So that we can solve this again in future, I'd like to know if this is A) A problem when installing the latest (2.2.4.1) dropline.net GTK+ runtime from http://www.dropline.net/gtk/ B) A problem when installing A) and then installing something else? C) A problem when installing A) after installing something else or D) A problem with a different GTK+ Windows installer? I tried the latest (2.2.4.1) dropline.net GTK+ runtime on Windows 2000 and don't see this problem, but I don't have Windows XP. Stefan wrote: > The problem was indeed the gtk+ runtime environment! > Getting the GTK-Wimp 0.5.2 solved the problem. > For me the installation was: > Copying the gtkrc in...\GTK\2.0\share\themes\Default\gtk-2.0-key > (maybe renaming the old one) > and > coping the new libwimp.dll in ...\GTK\2.0\lib\gtk-2.0\2.2.0\engines > (again maybe renaming the old one). > Sorry, i do not know how to post this as an archive! [snip] Cedric wrote: > Actually, it was on the pygtk mailing list. > > See this thread > http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:47:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A8A5818408 for ; Mon, 5 Jan 2004 05:47:26 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AhU7k025060; Mon, 5 Jan 2004 11:43:30 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:47:42 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: cedric.gustin@swing.be, Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] memory footprint of gtk+ and gtkmm Date: Mon, 5 Jan 2004 11:47:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: People might also find these numbers interesting: http://mail.gnome.org/archives/gtkmm-list/2003-November/msg00232.html Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org=20 > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: Montag, 5. Januar 2004 07:59 > To: Stefan.Andressen@t-online.de; gtkmm-list@gnome.org > Subject: Re: [gtkmm] memory footprint of gtk+ and gtkmm >=20 >=20 > At 01:18 AM 1/5/2004, Stefan Andre=DFen wrote: > >Hi! > > > >I just looked at the dlls, which comes with gtk+ and gtkmm runtime > >environment. > >It is amazing how big they are all togther, must be over 20 mb. > >Now, does that not mean that (simple) gtkmm applications are=20 > very memory=20 > >consuming? >=20 > No, the DLLs simply include debugging symbols. >=20 > >Looking at the radiobutton example it is over 5 mb, which is quite=20 > >massiv > >for such a simple programm. > >Any thoughts or suggestions? >=20 > You can try to strip your executable and/or the gtkmm DLLs. My 'gtkmm = > runtime for final users' installer has also stripped versions=20 > of the gtkmm=20 > DLLs. >=20 > Cedric=20 >=20 > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org = http://mail.gnome.org/mailman/listinfo/gtkmm-list >=20 From Murray.Cumming@Comneon.com Mon Jan 5 05:52:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id B2581185A7 for ; Mon, 5 Jan 2004 05:52:13 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AmH7k026427; Mon, 5 Jan 2004 11:48:17 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:52:29 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: olau@hardworking.dk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Date: Mon, 5 Jan 2004 11:52:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > The problem I am facing now is that my column data is dynamic. (It > > does not change while the program is running, though). > > I've never tried this, but can't you just use an array? For example: > > public: > std::vector > cols; > > ModelColumns(int no) > { > for (int i = 0; i < no; ++i) { > cols.push_back(Gtk::TreeModelColumn()); > add(cols.back()); > } > } > > I'm not sure whether it works, though. Yes, that works. I do that in glom, for instance. > The interface for the > treeview classes is very confusing. I'll be checking in lots of TreeView reference documentation today. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:55:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DDBDE1873A for ; Mon, 5 Jan 2004 05:55:15 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05ApI7k027448; Mon, 5 Jan 2004 11:51:18 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:55:30 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abt@gmx.de, matthew@alledora.co.uk Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Date: Mon, 5 Jan 2004 11:55:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Ok, I see. The list view looks promising. Although it seems > that the header items cannot trigger any action?! This should definitely be possible. For instance, nautilus sorts its rows when you click on the column header. Try TreeViewColumn::signal_clicked() and tells us if it does/doesn't work: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeViewColumn.h tml#a61 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:58:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0F6BD180F0 for ; Mon, 5 Jan 2004 05:58:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AsD7k028077; Mon, 5 Jan 2004 11:54:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:58:25 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B9@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: seguso.forever@tin.it, gtkmm-list@gnome.org Subject: RE: [gtkmm] hiding/disabling/setting toolbar buttons? Date: Mon, 5 Jan 2004 11:58:06 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > for the file manager http://segusoland.sourceforge.net , > I have a toolbar and I am adding togglebuttons with > > aToolbar.tools().push_back(Gtk::Toolbar_Helpers::ToggleElem( > aText, > *lImage, > SigC::slot(*this, > &SegToolbarToggleButton::onElementToggled), > aTooltipText)); > > I couldn't figure out > 1) how to set the pressed state of the toggle element via code. > 2) how to show/hide the toggle element. > 3) how to disable/enable it. > > Maybe I have to add the item via toolbar::append_item, and > act on the returned > Widget*? But how do I create a toggle button via append_item? > > Thanks for your help, I know it's horrible, but you need to call back() to get the last widget. For instance: http://mail.gnome.org/archives/gtkmm-list/2003-January/msg00136.html Murray Cumming www.murrayc.com murrayc@usa.net From cedric.gustin@swing.be Mon Jan 5 06:01:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id CB6FC18544 for ; Mon, 5 Jan 2004 06:01:34 -0500 (EST) Received: from [130.104.231.127] (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i05AtbPs028841; Mon, 5 Jan 2004 11:55:37 +0100 (MET) Subject: RE: [gtkmm] radiobutton under winxp From: Cedric Gustin To: Murray.Cumming@Comneon.com Cc: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-TPSfTnd3l08LOjUkIj/S" Message-Id: <1073300487.3863.19.camel@gandalf> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 05 Jan 2004 12:01:27 +0100 X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-TPSfTnd3l08LOjUkIj/S Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Murray, On Mon, 2004-01-05 at 11:45, Murray.Cumming@Comneon.com wrote: > So that we can solve this again in future, I'd like to know if this is > A) A problem when installing the latest (2.2.4.1) dropline.net GTK+ runti= me > from > http://www.dropline.net/gtk/ > B) A problem when installing A) and then installing something else? > C) A problem when installing A) after installing something else > or > D) A problem with a different GTK+ Windows installer? This is definitely A. The gtk-wimp theme is now the default in the latest GTK+ runtime from dropline. Unfortunately gtk-wimp shipped with version 2.2.4.1 of GTK+ has a display bug when used with the default luna theme under WinXP. With Windows 2000 or with Windows XP + classic theme, everything works fine though.=20 gtk-wimp is now at version 0.5.2 on sourceforge but unfortunately Todd Kulesza has not updated its gtk+ installer yet. I emailed him a few weeks ago to point out this problem.=20 I guess it is better if I put a warning on my site in the meantime. > I tried the latest (2.2.4.1) dropline.net GTK+ runtime on Windows 2000 an= d > don't see this problem, but I don't have Windows XP. Right, as I said earlier, no problem with win2k or winxp + classic theme. Cedric --=-TPSfTnd3l08LOjUkIj/S Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/+UQG/YpnSYlWnoQRAnQcAJ9O1JC+N4FLPR5W0bID3zku1biE+QCgl3OH sZIrefWXBQwXepqD71arSSU= =er7h -----END PGP SIGNATURE----- --=-TPSfTnd3l08LOjUkIj/S-- From Murray.Cumming@Comneon.com Mon Jan 5 06:07:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0C26418325; Mon, 5 Jan 2004 06:07:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05B3k7k000742; Mon, 5 Jan 2004 12:03:46 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 12:07:57 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: epenharbel@yahoo.com.br, gtkmm-list@gnome.org Cc: gtk-devel-list@gnome.org Subject: RE: [gtkmm] problems drawing images ... Date: Mon, 5 Jan 2004 12:07:39 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Behalf Of =C9der Augusto=20 > i need draw images created by a guchar buffer and i need set=20 > the byte order ( LSB_FISRT or MSB_FIRST ), in gdk there are a=20 > gdkimage struct where we can set this, but in gdkmm how can i=20 > set this??? anybody have a example? GdkImage::byte_order field appears to be a private field: http://developer.gnome.org/doc/API/2.0/gdk/gdk-Images.html (I think that struct fields of Gobject classes are private unless the documentation says otherwise). If you can show me any documentation that says that people should set = or get this field directly, or if a GTK+ developer says that you should, then = I will add accessors in gtkmm 2.4. In the meantime, you can always use gobj() with gtkmm to get the = underlying C instance. Murray Cumming www.murrayc.com murrayc@usa.net From ramachandrap@dpsl.net Mon Jan 5 07:25:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id C404418336 for ; Mon, 5 Jan 2004 07:25:00 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 18:06:24 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZVTLF; Mon, 5 Jan 2004 18:06:19 +0530 Received: FROM comp448 BY khyber.enigma ; Mon Jan 05 18:06:18 2004 +0500 From: Ramachandra Putti Reply-To: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <01b901c3d387$9c1bf730$5f0210ac@enigma> Date: Mon, 5 Jan 2004 17:59:48 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01B6_01C3D3B5.B5CB0B70" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Canvas Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_01B6_01C3D3B5.B5CB0B70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am working on gtkmm canvas class and I am not able to understand how=20 it should be used . In this regard I need some guidence about the class = usage . I am a newbie to gtkmm . On the gtkmm.org site I have found some=20 information about the class but it is not sufficient . Kindly suggest a link which can be of any help Thanks Ramachandra =20 ------=_NextPart_000_01B6_01C3D3B5.B5CB0B70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am working on=20 gtkmm canvas class and I am not able to understand how
it should be = used .=20 In this regard I need some guidence about the class
usage .
I am = a newbie=20 to gtkmm . On the gtkmm.org site I have found some
information = about the=20 class but it is not sufficient .
Kindly suggest a link which can be = of any=20 help
Thanks

Ramachandra
 
------=_NextPart_000_01B6_01C3D3B5.B5CB0B70-- From Murray.Cumming@Comneon.com Mon Jan 5 07:38:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0A67A181F8 for ; Mon, 5 Jan 2004 07:38:38 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05CYY7k009362; Mon, 5 Jan 2004 13:34:34 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 13:38:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224C6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] Canvas Date: Mon, 5 Jan 2004 13:38:28 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Have you seen the examples in the libgnomecanvasmm tarball? Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Ramachandra Putti Sent: Montag, 5. Januar 2004 13:30 To: gtkmm-list@gnome.org Subject: [gtkmm] Canvas I am working on gtkmm canvas class and I am not able to understand how it should be used . In this regard I need some guidence about the class usage . I am a newbie to gtkmm . On the gtkmm.org site I have found some information about the class but it is not sufficient . Kindly suggest a link which can be of any help Thanks Ramachandra From otaylor@redhat.com Mon Jan 5 10:23:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by mail.gnome.org (Postfix) with ESMTP id 7C29118246; Mon, 5 Jan 2004 10:23:48 -0500 (EST) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNjA19520; Mon, 5 Jan 2004 10:23:45 -0500 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNjE11122; Mon, 5 Jan 2004 10:23:45 -0500 Received: from [127.0.0.1] (poincare.devel.redhat.com [172.16.58.30]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNi315505; Mon, 5 Jan 2004 10:23:44 -0500 Subject: RE: [gtkmm] problems drawing images ... From: Owen Taylor To: Murray.Cumming@Comneon.com Cc: epenharbel@yahoo.com.br, gtkmm-list@gnome.org, gtk-devel-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=UTF-8 Message-Id: <1073316123.12688.73.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 05 Jan 2004 10:22:04 -0500 Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-05 at 06:07, Murray.Cumming@Comneon.com wrote: > On Behalf Of Éder Augusto > > i need draw images created by a guchar buffer and i need set > > the byte order ( LSB_FISRT or MSB_FIRST ), in gdk there are a > > gdkimage struct where we can set this, but in gdkmm how can i > > set this??? anybody have a example? > > GdkImage::byte_order field appears to be a private field: > http://developer.gnome.org/doc/API/2.0/gdk/gdk-Images.html > (I think that struct fields of Gobject classes are private unless the > documentation says otherwise). > > If you can show me any documentation that says that people should set or get > this field directly, or if a GTK+ developer says that you should, then I > will add accessors in gtkmm 2.4. > > In the meantime, you can always use gobj() with gtkmm to get the underlying > C instance. The fields of GdkImage should be public and are needed to use GdkImage effectively. - it wasn't a GObject in GTK+-1.2, and the /*< public >*/ wasn't added when it was converted - Other than parent_instance - *Read-only*, however. The chunk of memory pointed to by 'mem' can be written to, but nothing else canbechanged. A bug, or simply adding the /*< public >*/ after parent_instance would be appreciated. I'm not sure that GdkImage is what the original poster is looking for, creating a GdkPixbuf and using gdk_draw_pixbuf() is a whole lot easier; GdkImage always must match the format of the target visual. Regards, Owen From Murray.Cumming@Comneon.com Mon Jan 5 10:34:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 058A518246; Mon, 5 Jan 2004 10:34:09 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05FUC7k004771; Mon, 5 Jan 2004 16:30:13 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 16:34:24 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Mon, 5 Jan 2004 16:34:06 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.4, gtkmm will also not be able to use gcc 2.96. Who needs gcc 2.96 and why? Murray Cumming www.murrayc.com murrayc@usa.net From abhatnag@mda.ca Mon Jan 5 19:17:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 4C5F91844D for ; Mon, 5 Jan 2004 19:17:28 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i060HNM02889 for ; Mon, 5 Jan 2004 16:17:24 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 5 Jan 2004 16:17:23 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Mon, 5 Jan 2004 16:17:21 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Compilation errors.. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I created a simple app with Glade and had it output the C++ source, but the autogen.sh script fails and I am not sure why. Below is the output and a dump of config.log and any help would be great. (and yes, I know, I shouldn't be using the C++ code that is generated and use libglademm instead. I will be doing this, but I'm taking small steps to get there :) ------------------------- output of autogen.sh: ------------------------- ./autogen.sh Found GNU Make at /export/home/abhatnag/bin/make ... good. This script runs configure and make... You did remember necessary arguments for configure, right? ./autogen.sh: libtoolize: not found autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: 5 stan:/export/home/abhatnag/Projects/gtempCpp% ./autogen.sh Found GNU Make at /export/home/abhatnag/bin/make ... good. This script runs configure and make... You did remember necessary arguments for configure, right? ./autogen.sh: libtoolize: not found autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. autoheader: error: AC_CONFIG_HEADERS not found in configure.in /usr/local/share/aclocal/xml-i18n-tools.m4:24: warning: underquoted definition of XML_I18N_TOOLS_NEWER_THAN_0_9 run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/local/share/aclocal/xml-i18n-tools.m4:28: warning: underquoted definition of AC_PROG_XML_I18N_TOOLS /usr/local/share/aclocal/xml-i18n-tools.m4:30: warning: underquoted definition of X18T_PFORG1 /usr/local/share/aclocal/xml-i18n-tools.m4:32: warning: underquoted definition of X18T_XML_KIND /usr/local/share/aclocal/xml-i18n-tools.m4:34: warning: underquoted definition of X18T_KEYS_KIND /usr/local/share/aclocal/xml-i18n-tools.m4:135: warning: underquoted definition of AM_PROG_XML_I18N_TOOLS /usr/local/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/local/share/aclocal/libxslt.m4:14: warning: underquoted definition of AM_PATH_XSLT /usr/local/share/aclocal/intltool.m4:27: warning: underquoted definition of AC_PROG_INTLTOOL /usr/local/share/aclocal/gtk-2.0.m4:8: warning: underquoted definition of AM_PATH_GTK_2_0 /usr/local/share/aclocal/glib-gettext.m4:378: warning: underquoted definition of AM_GLIB_GNU_GETTEXT /usr/local/share/aclocal/glib-gettext.m4:379: warning: underquoted definition of AM_GLIB_DEFINE_LOCALEDIR /usr/local/share/aclocal/glib-2.0.m4:8: warning: underquoted definition of AM_PATH_GLIB_2_0 /usr/local/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2 aclocal: configure.in: 15: macro `AM_PROG_LIBTOOL' not found in library configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal). /usr/local/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/local/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL ./configure: line 1262: syntax error near unexpected token `AM_INIT_AUTOMAKE(gtempcpp,' ./configure: line 1262: `AM_INIT_AUTOMAKE(gtempcpp, 0.0)' ------------------------- output of config.log: ------------------------- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.58. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = stan uname -m = sun4u uname -r = 5.8 uname -s = SunOS uname -v = Generic_108528-21 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = stan Release = 5.8 KernelID = Generic_108528-21 Machine = sun4u BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 2 /bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown hostinfo = System Name: stan Host Id: 80e56895 Host Type: SUNW,Ultra-60 OS Version: SunOS 5.8 Processor: sparc Kernel arch: sun4u System Memory: 1024 Mb Virtual Memory: 2702 Mb Number of CPUs: 2 Clock Rate: MHz /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: . PATH: /export/home/abhatnag/bin PATH: /export/home/abhatnag/gpf/config PATH: /export/home/abhatnag/gpf/etc PATH: /usr/ccs/bin PATH: /export/home/MCOS5.8.0/mercury/bin PATH: /export/home/MCOS5.8.0/mercury/bin/solaris-2_5-sparc_elf PATH: /export/home/MCOS5.8.0/mercury/greenhills/solaris-2_5-sparc_elf PATH: /export/home/tornado/Tornado2.2/host/sun4-solaris2/bin PATH: /usr/openwin/bin PATH: /bin PATH: /usr/ucb PATH: /usr/vcs.1/etc PATH: /export/home/saustin/blackbox/src PATH: /bin PATH: /usr/bin PATH: /usr/local/bin PATH: /usr/ucb PATH: /usr/sbin PATH: /usr/ccs/bin PATH: /etc PATH: /java PATH: /usr/local/gtk/bin PATH: /export/home/razor/Razor/bin PATH: /export/home/drdcgpf/razor/RAZOR_UNIVERSE/Scripts PATH: /export/home/razor/Razor/scripts ## ----------- ## ## Core tests. ## ## ----------- ## ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='' CFLAGS='' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GTKMM_CFLAGS='' GTKMM_LIBS='' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SHELL='/bin/bash' ac_ct_CC='' ac_ct_CXX='' bindir='${exec_prefix}/bin' build_alias='' datadir='${prefix}/share' exec_prefix='NONE' host_alias='' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 258 From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 5 23:05:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 54D9518333 for ; Mon, 5 Jan 2004 23:05:24 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AdiT3-0002lh-Tm for gtkmm-list@gnome.org; Mon, 05 Jan 2004 20:05:21 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AdiT3-0003Fx-Jc for gtkmm-list@gnome.org; Mon, 05 Jan 2004 20:05:21 -0800 Date: Mon, 05 Jan 2004 20:01:59 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #591 - 11 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 130351] Changed - Radiobutton not correctly drawn on Windows XP (bugzilla-daemon@widget.gnome.org) 2. [Bug 129848] Changed - libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard (bugzilla-daemon@widget.gnome.org) 3. [Bug 129844] Changed - 'make install' fails for gtkmm (bugzilla-daemon@widget.gnome.org) 4. [Bug 117964] Changed - TreeStore has undocumented methods (bugzilla-daemon@widget.gnome.org) 5. [Bug 129934] Changed - Problem compiling libgnomeprintuimm 2.5.0 (bugzilla-daemon@widget.gnome.org) 6. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 7. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 8. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 9. [Bug 129813] Changed - fix for spec file to include devhelp file (bugzilla-daemon@widget.gnome.org) 10. [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc (bugzilla-daemon@widget.gnome.org) 11. [Bug 129844] Changed - 'make install' fails for gtkmm (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, stefan.andressen@t-online.de Cc: Date: Mon, 5 Jan 2004 06:23:12 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn on Windows XP Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by murrayc@usa.net. --- shadow/130351 Fri Jan 2 11:51:02 2004 +++ shadow/130351.tmp.25334 Mon Jan 5 06:23:12 2004 @@ -1,21 +1,21 @@ Bug#: 130351 Product: gtkmm Version: 2.2 OS: Windows OS Details: WinXP Professional -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: minor Priority: Normal Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: stefan.andressen@t-online.de TargetMilestone: --- URL: -Summary: Radiobutton not correctly drawn +Summary: Radiobutton not correctly drawn on Windows XP I compiled the radiobutton example from the gtkmm-book, and when a radiobutton is selected, it doesn't draw the green point in the circle. P.S.: I do not understand what the "GNOME VERSION" meen... @@ -32,6 +32,12 @@ that it is a problem. Whether this is a theme problem or not lies beyond my knowledge, I just know that it is a problem. Bye. + +------- Additional Comments From murrayc@usa.net 2004-01-05 06:23 ------- +On the mailing list, we discovered that this is a known problem with +the latest GTK+ for Windows dropline.net installer, which is expected +to be fixed in the next release from dropline.net. Thanks for bringing +it to our attention. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Mon, 5 Jan 2004 08:52:36 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129848] Changed - libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129848 Changed by murrayc@usa.net. --- shadow/129848 Mon Dec 22 11:58:47 2003 +++ shadow/129848.tmp.16572 Mon Jan 5 08:52:36 2004 @@ -1,21 +1,22 @@ Bug#: 129848 -Product: gtkmm -Version: 2.2 +Product: gnomemm +Version: 2.0 OS: Linux OS Details: Linux version 2.4.23 (roger@wrynose) (gcc version 3.3.2 (Debian)) #1 Sat Nov 29 13:46:36 GMT 2003 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libglademm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roger@whinlatter.uklinux.net TargetMilestone: --- URL: Summary: libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard +BugsThisDependsOn: 130570 Interfaces containing menus with HSeparators (Gtk::SeparatorMenuItem): the separator is selectable with the keyboard when using keyboard navigation. The same interface constructed "by hand", or even during editing with Glade-2 does not exhibit this undesirable behaviour. @@ -23,6 +24,12 @@ This may be seen with the standard libglade menu test (gnomemm/libglademm/examples/menus). Regards, Roger + +------- Additional Comments From murrayc@usa.net 2004-01-05 08:52 ------- +This seems to be caused by glade bug #130570 which I just submitted. + +Changing class="GtkMenuItem" to class="GtkSeparatorMenuItem" in the +.glade file seems to fix it. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 5 Jan 2004 10:09:08 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129844] Changed - 'make install' fails for gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129844 Changed by murrayc@usa.net. --- shadow/129844 Fri Dec 26 04:15:08 2003 +++ shadow/129844.tmp.3578 Mon Jan 5 10:09:08 2004 @@ -1,13 +1,13 @@ Bug#: 129844 Product: gtkmm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: bugsqueesher@yahoo.com TargetMilestone: --- @@ -26,6 +26,10 @@ ^ plus lots of other similar errors. ------- Additional Comments From murrayc@usa.net 2003-12-26 04:14 ------- Thanks. What versýon of Doxygen do you have? Maybe a newer version of Doxygen would properly escape the < character. + +------- Additional Comments From murrayc@usa.net 2004-01-05 10:09 ------- +I'm confident that this is due to an old version of Doxygen. Please +reopen if I am wrong. --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 5 Jan 2004 10:10:44 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 117964] Changed - TreeStore has undocumented methods Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=117964 Changed by murrayc@usa.net. --- shadow/117964 Mon Jul 21 08:02:08 2003 +++ shadow/117964.tmp.5031 Mon Jan 5 10:10:43 2004 @@ -1,18 +1,22 @@ Bug#: 117964 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: reference documentation AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: murrayc@usa.net QAContact: gtkmm-forge@lists.sourceforge.net TargetMilestone: --- URL: Summary: TreeStore has undocumented methods Methods such as insert(), append() and prepend() are undocumented. + +------- Additional Comments From murrayc@usa.net 2004-01-05 10:10 ------- +Fixed, though I want to find the Standard C++ container documentation +and make it like that. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pierre42d@9online.fr Cc: Date: Mon, 5 Jan 2004 10:14:54 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129934] Changed - Problem compiling libgnomeprintuimm 2.5.0 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129934 Changed by murrayc@usa.net. --- shadow/129934 Fri Dec 26 04:07:55 2003 +++ shadow/129934.tmp.7733 Mon Jan 5 10:14:54 2004 @@ -1,16 +1,16 @@ Bug#: 129934 -Product: gtkmm +Product: gnomemm Version: unspecified OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pierre42d@9online.fr TargetMilestone: --- URL: Summary: Problem compiling libgnomeprintuimm 2.5.0 --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Mon, 5 Jan 2004 10:22:31 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Fri Jan 2 08:46:05 2004 +++ shadow/129846.tmp.14063 Mon Jan 5 10:22:31 2004 @@ -1,16 +1,16 @@ Bug#: 129846 -Product: gtkmm -Version: 2.2 +Product: gnomemm +Version: 2.0 OS: Linux OS Details: Linux version 2.4.23 (roger@wrynose) (gcc version 3.3.2 (Debian)) #1 Sat Nov 29 13:46:36 GMT 2003 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libglademm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roger@whinlatter.uklinux.net TargetMilestone: --- URL: Summary: libglademm: Gtk::MenuItem accelerators lost during reparenting --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 10:24:30 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Dec 22 12:39:48 2003 +++ shadow/129719.tmp.15030 Mon Jan 5 10:24:30 2004 @@ -1,8 +1,8 @@ Bug#: 129719 -Product: gtkmm +Product: gnomemm Version: unspecified OS: Linux OS Details: Status: NEW Resolution: Severity: normal --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 10:24:56 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Jan 5 10:24:30 2004 +++ shadow/129719.tmp.15186 Mon Jan 5 10:24:56 2004 @@ -4,13 +4,13 @@ OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal -Component: build +Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- URL: Summary: libgnomeprintmm-2.5.0 fails to build with older gcc --__--__-- Message: 9 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, ericb@computer.org Cc: Date: Mon, 5 Jan 2004 13:02:07 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129813] Changed - fix for spec file to include devhelp file Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129813 Changed by murrayc@usa.net. --- shadow/129813 Mon Dec 22 00:56:37 2003 +++ shadow/129813.tmp.24013 Mon Jan 5 13:02:06 2004 @@ -1,13 +1,13 @@ Bug#: 129813 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: ericb@computer.org TargetMilestone: --- @@ -17,6 +17,10 @@ fix for spec file to include devhelp file ------- Additional Comments From ericb@computer.org 2003-12-22 00:56 ------- Created an attachment (id=22629) patch for spec file against gtkmm2 cvs + +------- Additional Comments From murrayc@usa.net 2004-01-05 13:02 ------- +Applied, with changes because I changed the .devhelp install location. +Thanks. --__--__-- Message: 10 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 13:06:16 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129396 Changed by murrayc@usa.net. --- shadow/129396 Fri Dec 19 10:24:30 2003 +++ shadow/129396.tmp.14285 Mon Jan 5 13:06:16 2004 @@ -1,8 +1,8 @@ Bug#: 129396 -Product: gtkmm +Product: gnomemm Version: 2.4 OS: Linux OS Details: Status: NEW Resolution: Severity: normal --__--__-- Message: 11 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 5 Jan 2004 20:02:14 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129844] Changed - 'make install' fails for gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129844 Changed by bugsqueesher@yahoo.com. --- shadow/129844 Mon Jan 5 10:09:08 2004 +++ shadow/129844.tmp.28628 Mon Jan 5 20:02:14 2004 @@ -30,6 +30,11 @@ Thanks. What versýon of Doxygen do you have? Maybe a newer version of Doxygen would properly escape the < character. ------- Additional Comments From murrayc@usa.net 2004-01-05 10:09 ------- I'm confident that this is due to an old version of Doxygen. Please reopen if I am wrong. + +------- Additional Comments From bugsqueesher@yahoo.com 2004-01-05 20:02 ------- +Urgh... Sorry, I got busy and forgot to respond. I bet you are right +about the doxygen version and plan to try it out later this week; I'll +let you know if I find any surprises. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From n_gouda123@yahoo.com Mon Jan 5 23:58:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60505.mail.yahoo.com (web60505.mail.yahoo.com [216.109.116.126]) by mail.gnome.org (Postfix) with SMTP id 8011B182B8 for ; Mon, 5 Jan 2004 23:58:26 -0500 (EST) Message-ID: <20040106045826.23271.qmail@web60505.mail.yahoo.com> Received: from [164.164.89.226] by web60505.mail.yahoo.com via HTTP; Mon, 05 Jan 2004 20:58:26 PST Date: Mon, 5 Jan 2004 20:58:26 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] I want to select only the contigous rows Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, In multiple row selection tree, i want to provide only the contigous selction of rows...i.e i dont want the effect of CONTROL key..for the selection, only the SHIFT key... So Please let me know the solution asap... Thanx in Advance.... Naganagouda Meti. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From christof@petig-baender.de Tue Jan 6 07:00:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 8F695184F7 for ; Tue, 6 Jan 2004 07:00:28 -0500 (EST) Received: (qmail 15634 invoked by uid 4225); 6 Jan 2004 12:00:27 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 06 Jan 2004 12:00:27 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Adpsn-00070y-00; Tue, 06 Jan 2004 13:00:25 +0100 Message-ID: <3FFAA340.4010509@petig-baender.de> Date: Tue, 06 Jan 2004 13:00:00 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org, glademm-list Subject: Re: [gtkmm] Compilation errors.. References: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR schrieb: > Hi all. Hi Amit, wrong mailing list ;-) > I created a simple app with Glade and had it output the C++ source, but > the autogen.sh script fails and I am not sure why. Below is the output > and a dump of config.log and any help would be great. > > (and yes, I know, I shouldn't be using the C++ code that is generated > and use libglademm instead. I will be doing this, but I'm taking small > steps to get there :) Can you try the CVS version of glademm? : cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login cvs -z3 -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co glade-- I fixed some autoconf errors but did not yet publish the new release. Christof From gene@erachampion.com Tue Jan 6 12:01:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id D296718989 for ; Tue, 6 Jan 2004 12:01:38 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i06HBIp32604 for gtkmm-list@gnome.org; Tue, 6 Jan 2004 09:11:18 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Tue, 6 Jan 2004 09:11:17 -0800 Message-ID: <1073409077.3ffaec355a561@realtyroad.com> Date: Tue, 6 Jan 2004 09:11:17 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >1. Is there a way to connect the signal handler > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox Here's an example (someone can step in and tell me if this is the preferred way of doing things): Assume two classes.. A Main Window for your application, and a Main Menu (menubar) to be displayed on the Main Window. When you select File->Quit from the menubar, you want the application to quit by calling the on_quit() signal handler in the MainWindow object. 1) [mainmenu.h] class MainMenu : public Gtk::MenuBar { public: MainMenu(MainWindow &object); }; 2) [mainwindow.h] class MainWindow : public Gtk::Window { friend class MainMenu; public: MainWindow(); virtual ~MainWindow(); protected: // signal handlers virtual void on_quit(); }; 3) [mainmenu.cpp] #include "mainmenu.h" MainMenu::MainMenu(MainWindow &object) { // fill menus // File|New sub menu: { Gtk::Menu::MenuList& menulist = m_menu_file_new.items(); } // File menu: { Gtk::Menu::MenuList& menulist = m_menu_file.items(); menulist.push_back( Gtk::Menu_Helpers::MenuElem("_New", m_menu_file_new) ); //Add sub menu. menulist.push_back( Gtk::Menu_Helpers::MenuElem("_Quit", Gtk::Menu::AccelKey("q"), SigC::slot(object, &MainWindow::on_quit) ) ); } //Add the menus to the MenuBar: items().push_back( Gtk::Menu_Helpers::MenuElem("_File", m_menu_file) ); Gtk::MenuItem* pMenuItem = &items().back(); pMenuItem->set_right_justified(); show_all_children(); } The key is to pass a MainWindow pointer to the MainMenu constructor. You can then use this pointer to MainWindow to connect your signals to any signal handler in MainWindow. I've declared MainMenu to be a friend of MainWindow in order to allow access to the protected signal handlers. If anyone has a better way of doing this, please speak up. =) -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From epenharbel@yahoo.com.br Tue Jan 6 15:17:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by mail.gnome.org (Postfix) with SMTP id 285FB18239 for ; Tue, 6 Jan 2004 15:17:35 -0500 (EST) Received: from unknown (HELO 200-171-128-203.dsl.telesp.net.br) (epenharbel@200.171.128.203 with plain) by smtp011.mail.yahoo.com with SMTP; 6 Jan 2004 20:17:33 -0000 From: =?ISO-8859-1?Q?=C9der?= Augusto Penharbel To: gtkmm-list Content-Type: text/plain Message-Id: <1073420346.736.8.camel@lobo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 06 Jan 2004 18:19:06 -0200 Content-Transfer-Encoding: 7bit Subject: [gtkmm] is it possible? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: hello, i'm begginer in the gtkmm and gtk i need to draw a image from a pointer to a char in memory... it's possibly with: GCTmp = get_style()->get_fg_gc(Gtk::STATE_NORMAL); get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); but the buffer is in inverse byte_order and i need to draw it without invert in my code... is it possible? i try use the gdk_draw_image but the result is a segmentation fault GdkImage *image = gdk_image_new( GDK_IMAGE_NORMAL, get_window()->get_visual()->gobj(), width, height ); image->parent_instance = *( ( GObject * ) gobj() ); image->byte_order = GDK_LSB_FIRST; image->width = width; image->height = height; image->depth = 24; image->bpp = 3; image->bpl = width * 3; image->bits_per_pixel = 24; image->mem = ( gpointer ) imageBuffer; gdk_draw_image( ( get_window() )->gobj(), GCTmp->gobj(), image, 0, 0, 0, 0, width, height ); there are other way to do this without invert the bytes in my code? thanks.... :-) From abt@gmx.de Wed Jan 7 06:01:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A6E1C1821C for ; Wed, 7 Jan 2004 06:01:48 -0500 (EST) Received: (qmail 21675 invoked by uid 65534); 7 Jan 2004 11:01:47 -0000 Received: from pD9E9478D.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.71.141) by mail.gmx.net (mp012) with SMTP; 07 Jan 2004 12:01:47 +0100 X-Authenticated: #109577 Message-ID: <3FFBE71B.60802@gmx.de> Date: Wed, 07 Jan 2004 12:01:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] How to clear a tree view? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I´ve added some rows with data to a list store tree view using m_list_store_ref->append(). Later in my application I want to clear the rows to display completely new values. How can I clear all rows from the displayed treeView? TIA, Andi From matthew@alledora.co.uk Wed Jan 7 06:40:57 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mail.gnome.org (Postfix) with ESMTP id 4DFEE181D2 for ; Wed, 7 Jan 2004 06:40:57 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040107114052.YAAF2588.mta07-svc.ntlworld.com@alledora.co.uk>; Wed, 7 Jan 2004 11:40:52 +0000 Message-ID: <3FFBF079.6020307@alledora.co.uk> Date: Wed, 07 Jan 2004 11:41:45 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to clear a tree view? References: <3FFBE71B.60802@gmx.de> In-Reply-To: <3FFBE71B.60802@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: PLEASE read the API documentation at http://www.gtkmm.org/gtkmm2/docs/ - the answer to this is fairly easy to find there. Try calling clear() on your ListStore/TreeStore. Andreas B. Thun wrote: > Hi! > > I´ve added some rows with data to a list store tree view > using m_list_store_ref->append(). > > Later in my application I want to clear the > rows to display completely new values. How can I clear > all rows from the displayed treeView? From Murray.Cumming@Comneon.com Wed Jan 7 06:46:21 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id BFD3F18329 for ; Wed, 7 Jan 2004 06:46:20 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07BgJ7k028460; Wed, 7 Jan 2004 12:42:19 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 12:46:33 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: matthew@alledora.co.uk, abt@gmx.de Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] How to clear a tree view? Date: Wed, 7 Jan 2004 12:46:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Try calling clear() on your ListStore/TreeStore. And be careful to call refModel->clear() rather than refModel.clear(), so you call TreeModel::clear() instead of RefPtr::clear() (only a problem in gtkmm 2.0/2.2). Murray Cumming www.murrayc.com murrayc@usa.net From n_gouda123@yahoo.com Wed Jan 7 06:52:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60509.mail.yahoo.com (web60509.mail.yahoo.com [216.109.116.130]) by mail.gnome.org (Postfix) with SMTP id 50655187E4 for ; Wed, 7 Jan 2004 06:52:01 -0500 (EST) Message-ID: <20040107115157.31537.qmail@web60509.mail.yahoo.com> Received: from [164.164.89.226] by web60509.mail.yahoo.com via HTTP; Wed, 07 Jan 2004 03:51:57 PST Date: Wed, 7 Jan 2004 03:51:57 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Iam not able to fetch the row elements from a multiple row selected tree. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, Iam trying to fetch the rows selected using Gtk::TreeSelection::get_selected_rows(Glib::RefPtr& model).. But i dont know how to do it using gtkmm-2.2.0. So please oto do so... Thanx in advance... __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From Murray.Cumming@Comneon.com Wed Jan 7 06:58:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D1175182BB for ; Wed, 7 Jan 2004 06:58:47 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07Bso7k002524; Wed, 7 Jan 2004 12:54:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 12:59:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22545@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: n_gouda123@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Iam not able to fetch the row elements from a multipl e row selected tree. Date: Wed, 7 Jan 2004 12:58:45 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Hi, > Iam trying to fetch the rows selected using > Gtk::TreeSelection::get_selected_rows(Glib::RefPtr& > model).. > But i dont know how to do it using gtkmm-2.2.0. What have you tried? Std::list listPaths = get_selected_rows() should work. You could use TreeModel::get_iter(path) to get an iter, and then a row for each one: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeModel.html#a 3 Maybe we should have Gtk::TreeSelection::get_selected_rows_as_iters() as well. By the way, I have added _lots_ of TreeView reference docs in gtkmm 2.4, but they are not uploaded yet. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Wed Jan 7 06:59:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 079E2187E4 for ; Wed, 7 Jan 2004 06:59:30 -0500 (EST) Received: (qmail 31627 invoked by uid 65534); 7 Jan 2004 11:59:28 -0000 Received: from pD9E9467C.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.70.124) by mail.gmx.net (mp012) with SMTP; 07 Jan 2004 12:59:28 +0100 X-Authenticated: #109577 Message-ID: <3FFBF4A1.7020603@gmx.de> Date: Wed, 07 Jan 2004 12:59:29 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: matthew@alledora.co.uk, gtkmm-list@gnome.org Subject: Re: [gtkmm] How to clear a tree view? References: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > And be careful to call refModel->clear() rather than refModel.clear(), so > you call TreeModel::clear() instead of RefPtr::clear() (only a problem in > gtkmm 2.0/2.2). THX very much! From bevis@anvil.com Wed Jan 7 07:54:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 8F9C31832B for ; Wed, 7 Jan 2004 07:54:43 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2EC782C0; Wed, 7 Jan 2004 12:51:03 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 287F22BC for ; Wed, 7 Jan 2004 12:51:01 +0000 (GMT) Message-ID: <3FFC018E.5080606@anvil.co.uk> Date: Wed, 07 Jan 2004 12:54:38 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] iterating through the contents of a tree Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've searched the archives and the web and the gktmm class lists, but can't find out how to do this. I have a Gtk::TreeView with a Gtk::TreeStore, basically following the tree view example from the gtkmm pages. My Gtk::TreeModel::ColumnRecord contains two strings (one hidden). I can multi select entries on the tree. Now I want to iterate through all the entries selected in my tree when a button is pressed, ie something like: for (Gtk::TreeIter it=m_refTreeModel.begin(); it Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 946A81832B for ; Wed, 7 Jan 2004 07:58:24 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07CsL7k023442; Wed, 7 Jan 2004 13:54:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 13:58:36 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: bevis@anvil.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] iterating through the contents of a tree Date: Wed, 7 Jan 2004 13:58:15 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Bevis Peters > Sent: Mittwoch, 7. Januar 2004 13:55 > To: gtkmm-list@gnome.org > Subject: [gtkmm] iterating through the contents of a tree > > > I've searched the archives and the web and the gktmm class lists, but > can't find out how to do this. > > I have a Gtk::TreeView with a Gtk::TreeStore, basically following the > tree view example from the gtkmm pages. My > Gtk::TreeModel::ColumnRecord > contains two strings (one hidden). I can multi select > entries on the tree. > > Now I want to iterate through all the entries selected in my > tree when a > button is pressed, ie something like: > > for (Gtk::TreeIter it=m_refTreeModel.begin(); > it ++it) { > string str = m_Colmuns[it].m_string_name; > } > > Can this be done? surely it can, though I can't work out how. How to iterate over rows: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html Get column values from cells: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08.html#id2878009 Setting column values in cells: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08.html#id2877986 Should help. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 7 08:07:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A7B6C1832B; Wed, 7 Jan 2004 08:07:51 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07D3r7k027028; Wed, 7 Jan 2004 14:03:54 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 14:08:08 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Wed, 7 Jan 2004 14:07:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in > gtkmm 2.4, > gtkmm will also not be able to use gcc 2.96. > > Who needs gcc 2.96 and why? So, nobody needs gcc 2.96? Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Wed Jan 7 08:38:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 838F6182F9 for ; Wed, 7 Jan 2004 08:38:37 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2069D2D6; Wed, 7 Jan 2004 13:34:56 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 7DD212CC for ; Wed, 7 Jan 2004 13:34:55 +0000 (GMT) Message-ID: <3FFC0BD8.6020608@anvil.co.uk> Date: Wed, 07 Jan 2004 13:38:32 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >How to iterate over rows: >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html > > this is marvellous, but i only want to iterate over the selected rows, or iterate over all the rows and ignore the unselected ones somehow. i could create a 'selected' bool in my Gtk::TreeModel::ColumnRecord which gets set/unset as the rows are selected and then filter on that as i iterate over the rows. this would feel slightly redundant though, since the TreeModel must know which rows have been selected. bevis From Murray.Cumming@Comneon.com Wed Jan 7 08:45:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D0484186EB for ; Wed, 7 Jan 2004 08:45:06 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07Df87k025001; Wed, 7 Jan 2004 14:41:08 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 14:45:22 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: bevis@anvil.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] iterating through the contents of a tree Date: Wed, 7 Jan 2004 14:45:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > >How to iterate over rows: > >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html > > > > > this is marvellous, but i only want to iterate over the > selected rows OK, so use Gtk::TreeView::get_selection() and then Gtk::TreeSelection::get_selected_rows() as I described in a similar thread today. Murray Cumming www.murrayc.com murrayc@usa.net From ajr@ecs.soton.ac.uk Wed Jan 7 09:10:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from raven.ecs.soton.ac.uk (raven.ecs.soton.ac.uk [152.78.70.1]) by mail.gnome.org (Postfix) with ESMTP id 3974B18132; Wed, 7 Jan 2004 09:10:48 -0500 (EST) Received: from pigeon.ecs.soton.ac.uk (ns1 [152.78.68.1]) by raven.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id OAA26807; Wed, 7 Jan 2004 14:10:44 GMT Received: from login.ecs.soton.ac.uk (IDENT:root@login [152.78.68.162]) by pigeon.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id OAA13202; Wed, 7 Jan 2004 14:10:42 GMT Received: (from ajr@localhost) by login.ecs.soton.ac.uk (8.11.6/8.11.6) id i07EAgm25418; Wed, 7 Jan 2004 14:10:42 GMT Date: Wed, 7 Jan 2004 14:10:42 +0000 From: Alistair Riddoch To: gtkmm-list@gnome.org, libsigc-list@gnome.org Message-ID: <20040107141042.GC19081@login.ecs.soton.ac.uk> References: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zCKi3GIZzVBPywwA" Content-Disposition: inline In-Reply-To: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> User-Agent: Mutt/1.4i X-MailScanner-Information: Please contact helpdesk@ecs.soton.ac.uk for more information X-ECS-MailScanner: Found to be clean Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --zCKi3GIZzVBPywwA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 07, 2004 at 02:07:42PM +0100, Murray.Cumming@Comneon.com wrote: > > Libsigc++ 2 does not build with gcc 2.96. So if we use it in=20 > > gtkmm 2.4, > > gtkmm will also not be able to use gcc 2.96. > >=20 > > Who needs gcc 2.96 and why? >=20 > So, nobody needs gcc 2.96? >=20 Speaking as a developer who uses both gtkmm, and libsigc++ independantly, I see no burning need to support gcc 2.96 in libsigc++ 2 or later. Al --=20 Alistair Riddoch alriddoch@zepler.org http://www.zepler.org/~alriddoch/ --zCKi3GIZzVBPywwA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE//BNimpFnJxPk53QRAphiAJ49o48lxI/QgTOCFMmPoJoIWWeiGgCdEyfl WfGBzstTFFvxCdkXcZerD48= =wJvP -----END PGP SIGNATURE----- --zCKi3GIZzVBPywwA-- From eckhardt@satorlaser.com Wed Jan 7 10:27:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by mail.gnome.org (Postfix) with ESMTP id 19BC318A78; Wed, 7 Jan 2004 10:27:00 -0500 (EST) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AeFaF-0004mx-00; Wed, 07 Jan 2004 16:26:59 +0100 Received: from [62.109.77.97] (helo=b077097.adsl.hansenet.de) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1AeFaF-00041R-00; Wed, 07 Jan 2004 16:26:59 +0100 From: Ulrich Eckhardt To: libsigc-list@gnome.org Date: Wed, 7 Jan 2004 16:26:54 +0100 User-Agent: KMail/1.5.4 References: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> Organization: Sator Laser GmbH Cc: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401071626.54714.eckhardt@satorlaser.com> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:e35cee35a663f5c944b9750a965814ae Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.4, > gtkmm will also not be able to use gcc 2.96. > > Who needs gcc 2.96 and why? http://gcc.gnu.org/gcc-2.96.html Else, I saw those atrocities on Redhat and also recently on a Suse Alpha. I think both have the option to upgrade to a real GCC. One question, what about gcc 2.95? Is it anywhere near usability? just my EUR 0.02 Uli From find_all@hotmail.com Wed Jan 7 10:29:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f3.sea2.hotmail.com [207.68.165.3]) by mail.gnome.org (Postfix) with ESMTP id A55CF18AB0 for ; Wed, 7 Jan 2004 10:29:14 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 7 Jan 2004 07:29:10 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Wed, 07 Jan 2004 15:29:10 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Wed, 07 Jan 2004 15:29:10 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 07 Jan 2004 15:29:10.0465 (UTC) FILETIME=[FF4A5B10:01C3D532] Subject: [gtkmm] Glib::signal_io Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm having some problems with the Glib::signal_io().connect() function to do the reading from a serial port. The code: /* *********** serie.hh *********** */ #ifndef _SERIE_HH #define _SERIE_HH #include "config.h" #include #include #include #include #include #include class serie { public: serie(); bool callback_funcion(Glib::IOCondition); int fd; protected: private: SigC::Connection conexion; }; #endif /* *********** serie.cc ********** */ serie::serie() { // We put de descriptor of the serial port into fd // Make the polling of the port with the callback_funcion this->conexion = Glib::signal_io().connect(SigC::slot(*this,&serie::callback_funcion), this->fd, Glib::IO_IN); } bool serie::callback_funcion(Glib::IOCondition con) { // It doesn't work so does nothing :-( } When I try to compile I get this error message : g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -DORBIT2=1 -pthread -I/usr/include/libgnomeuimm-2.0 -I/usr/lib/libgnomeuimm-2.0/include -I/usr/include/libgnomemm-2.0 -I/usr/lib/libgnomemm-2.0/include -I/usr/include/libgnomecanvasmm-2.0 -I/usr/lib/libgnomecanvasmm-2.0/include -I/usr/include/gconfmm-2.0 -I/usr/lib/gconfmm-2.0/include -I/usr/include/libglademm-2.0 -I/usr/lib/libglademm-2.0/include -I/usr/include/libbonobouimm-2.0 -I/usr/lib/libbonobouimm-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libbonobomm-2.0 -I/usr/lib/libbonobomm-2.0/include -I/usr/include/libbonoboui-2.0 -I/usr/include/orbitcpp-2.0 -I/usr/local/include/mysql -c -o serie.o `test -f 'serie.cc' || echo './'`serie.cc In the file included of /usr/include/sigc++-1.2/sigc++/object_slot.h:98: /usr/include/sigc++-1.2/sigc++/object_slot.h: In the constructor `SigC::ObjectSlotNode::ObjectSlotNode(void (*)(void*), T*, void*, T2) [with T = serie, T2 = bool (serie::*)(Glib::IOCondition)]': /usr/include/sigc++-1.2/sigc++/slot.h:255: instanced from `SigC::Slot1::Slot1(SigC::SlotNode*) [with R = bool, P1 = Glib::IOCondition]' /usr/include/sigc++-1.2/sigc++/object_slot.h:98: instanced from `SigC::Slot1 SigC::slot(O1&, R (O2::*)(P1)) [with R = bool, P1 = Glib::IOCondition, O1 = serie, O2 = serie]' serie.cc:102: instanced from /usr/include/sigc++-1.2/sigc++/object_slot.h:35: no se encuentra una función coincidente para la llamada a `SigC::ObjectSlotNode::init(serie*&, void*&, void (SigC::Object::*&)())' /usr/include/sigc++-1.2/sigc++/object_slot.h:36: candidates are: void SigC::ObjectSlotNode::init(SigC::Object*, void*, void (SigC::Object::*)()) make: *** [serie.o] Error 1 _________________________________________________________________ Reserva y planifica tu viaje online. http://www.msn.es/Viajes/ From Murray.Cumming@Comneon.com Wed Jan 7 10:39:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E7D1718302; Wed, 7 Jan 2004 10:39:17 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07FZJ7k022520; Wed, 7 Jan 2004 16:35:20 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 16:39:34 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: eckhardt@satorlaser.com, libsigc-list@gnome.org Cc: gtkmm-list@gnome.org Date: Wed, 7 Jan 2004 16:39:07 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry, I mean gcc 2.9*. Actually, I mean gcc <3.2, but I think 3.0/3.1 was short-lived. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: libsigc-list-admin@gnome.org > [mailto:libsigc-list-admin@gnome.org] On Behalf Of Ulrich Eckhardt > Sent: Mittwoch, 7. Januar 2004 16:27 > To: libsigc-list@gnome.org > Cc: gtkmm-list@gnome.org > Subject: Re: [sigc] Abandoning gcc 2.96? > > > On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm > > Libsigc++ 2.4, > > gtkmm will also not be able to use gcc 2.96. > > > > Who needs gcc 2.96 and why? > http://gcc.gnu.org/gcc-2.96.html Else, I saw those atrocities on Redhat and also recently on a Suse Alpha. I think both have the option to upgrade to a real GCC. One question, what about gcc 2.95? Is it anywhere near usability? just my EUR 0.02 Uli _______________________________________________ libsigc-list mailing list libsigc-list@gnome.org http://mail.gnome.org/mailman/listinfo/libsigc-list From trollking@shaw.ca Wed Jan 7 11:01:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 535AA18AF0 for ; Wed, 7 Jan 2004 11:01:43 -0500 (EST) Received: from pd2mr1so.prod.shaw.ca (pd2mr1so-ser.prod.shaw.ca [10.0.141.110]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400G7TN05HW@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400M6QN05GU@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400C1GN05MV@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Date: Wed, 07 Jan 2004 08:57:41 -0700 From: Dean Kutryk To: gtkmm-list@gnome.org Message-id: <1073491061.6856.2.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT Subject: [gtkmm] A Gtkmm Forum Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I don't know how to use a mailing list. Do you think that one day Gtkmm programmers might have a forum? From Murray.Cumming@Comneon.com Wed Jan 7 11:09:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 15016180DB for ; Wed, 7 Jan 2004 11:09:54 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07G5u7k003236; Wed, 7 Jan 2004 17:05:56 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 17:10:10 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2258D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: trollking@shaw.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] A Gtkmm Forum Date: Wed, 7 Jan 2004 17:09:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I don't know how to use a mailing list. Clearly you do. Just remember to use Reply To All after this and you've understood everything. > Do you think that one > day Gtkmm programmers might have a forum? Feel free to use this, but there are 550 people here, and not many there: http://gnomesupport.org/forums/ Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Wed Jan 7 12:39:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id B49D218175 for ; Wed, 7 Jan 2004 12:38:59 -0500 (EST) Received: (qmail 15654 invoked by uid 65534); 7 Jan 2004 17:38:58 -0000 Received: from pD9E9467C.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.70.124) by mail.gmx.net (mp014) with SMTP; 07 Jan 2004 18:38:58 +0100 X-Authenticated: #109577 Message-ID: <3FFC4432.5010209@gmx.de> Date: Wed, 07 Jan 2004 18:38:58 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] TreeView: Any chance to get the parent when child is selected? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I am facing the following problem: child is selected but I also need the parents´ value. Is there any way...? btw: parent has not been selected before, just expanded with the little triangle to see the children... My list view: o parent ---+ | + child + child + child << this is selected From Murray.Cumming@Comneon.com Wed Jan 7 12:45:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E87AE1819C for ; Wed, 7 Jan 2004 12:45:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07HfM7k018431; Wed, 7 Jan 2004 18:41:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 18:45:36 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22599@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abt@gmx.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] TreeView: Any chance to get the parent when child is selected? Date: Wed, 7 Jan 2004 18:45:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am facing the following problem: > child is selected but I also need > the parents=B4 value. Is there any way...? >=20 > btw: > parent has not been selected before, > just expanded with the little triangle > to see the children... >=20 > My list view: >=20 > o parent ---+ > | > + child > + child > + child << this is selected You need TreeModel::Row::parent(), I think: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeRow.html= #a6 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 7 13:28:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A7EEB181E5; Wed, 7 Jan 2004 13:28:40 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07IOg7k028753; Wed, 7 Jan 2004 19:24:42 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 19:28:57 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Wed, 7 Jan 2004 19:28:35 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Abandoning gcc 2.9*? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'll ask this again, using the correct version number: Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Who needs gcc 2.9* and why? Murray Cumming www.murrayc.com murrayc@usa.net From jrzagar@cactus.org Wed Jan 7 13:24:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ns2.arlut.utexas.edu (ns2.arlut.utexas.edu [146.6.211.1]) by mail.gnome.org (Postfix) with ESMTP id 4D68118366; Wed, 7 Jan 2004 13:24:30 -0500 (EST) Received: from ns5.arlut.utexas.edu (ns5.arlut.utexas.edu [10.4.1.6]) by ns2.arlut.utexas.edu (8.12.10/8.12.9) with ESMTP id i07IOTuO099796; Wed, 7 Jan 2004 12:24:29 -0600 (CST) Received: from bofh.arlut.utexas.edu (bofh.arlut.utexas.edu [10.8.16.106]) by ns5.arlut.utexas.edu (8.12.10/8.12.9) with ESMTP id i07IOTpf022183; Wed, 7 Jan 2004 12:24:29 -0600 (CST) From: Randy Zagar To: libsigc-list@gnome.org Cc: gtkmm-list@gnome.org In-Reply-To: <200401071626.54714.eckhardt@satorlaser.com> References: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> <200401071626.54714.eckhardt@satorlaser.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ojQu7Er7G5GnknSmhsyP" X-Mailer: Ximian Evolution 1.0.8 (1.0.8-9.7x.1) Date: 07 Jan 2004 12:24:29 -0600 Message-Id: <1073499869.2713.4.camel@bofh> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-ojQu7Er7G5GnknSmhsyP Content-Type: multipart/alternative; boundary="=-tWWRsrJT5pESVVfE3FA5" --=-tWWRsrJT5pESVVfE3FA5 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Since RedHat no longer supports any systems that were built with gcc-2.96, it's probably time to think about dropping it... On Wed, 2004-01-07 at 09:26, Ulrich Eckhardt wrote: On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.= 4, > gtkmm will also not be able to use gcc 2.96. >=20 > Who needs gcc 2.96 and why? =20 http://gcc.gnu.org/gcc-2.96.html =20 Else, I saw those atrocities on Redhat and also recently on a Suse Alph= a. I=20 think both have the option to upgrade to a real GCC. =20 One question, what about gcc 2.95? Is it anywhere near usability? =20 just my EUR 0.02 =20 Uli =20 _______________________________________________ libsigc-list mailing list libsigc-list@gnome.org http://mail.gnome.org/mailman/listinfo/libsigc-list =20 --=-tWWRsrJT5pESVVfE3FA5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Since RedHat no longer supports any systems that were built with gcc-2.96, = it's probably time to think about dropping it...

On Wed, 2004-01-07 at 09:26, Ulrich Eckhardt wrote:
On Monday 05 January 2004 =
16:34, Murray.Cumming@Comneon.com wrote:
> Libsigc++ 2 does not build=
 with gcc 2.96. So if we use it in gtkmm 2.4,
> gtkmm will also not be abl=
e to use gcc 2.96.
> 
> Who needs gcc 2.96 and why=
?

http://gcc.gnu.org/gcc-2.96.htm=
l

Else, I saw those atrocities on=
 Redhat and also recently on a Suse Alpha. I 
think both have the option to u=
pgrade to a real GCC.

One question, what about gcc 2.=
95? Is it anywhere near usability?

just my EUR 0.02<=
/I>

Uli

_______________________________=
________________
libsigc-list mailing list
libsigc-list@gnome.org
http://mail.gnome.org/mailman/listinfo/libsigc-list

    
--=-tWWRsrJT5pESVVfE3FA5-- --=-ojQu7Er7G5GnknSmhsyP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA//E7drJr8p/YoerERAqzuAJ0UzhWfP+x6nyp0ybrL7s+fLaQ1kgCfVNob NFZM7EyjYGBBxCTF9tc13jU= =Vbck -----END PGP SIGNATURE----- --=-ojQu7Er7G5GnknSmhsyP-- From paul@linuxaudiosystems.com Wed Jan 7 13:33:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out005.verizon.net (out005pub.verizon.net [206.46.170.143]) by mail.gnome.org (Postfix) with ESMTP id 601C3183CF for ; Wed, 7 Jan 2004 13:33:51 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([151.197.35.110]) by out005.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040107183348.ELCH3381.out005.verizon.net@dhin.linuxaudiosystems.com>; Wed, 7 Jan 2004 12:33:48 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i07IXlWE002009; Wed, 7 Jan 2004 13:33:47 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i07IXlvT002005; Wed, 7 Jan 2004 13:33:47 -0500 Message-Id: <200401071833.i07IXlvT002005@dhin.linuxaudiosystems.com> To: "Find All" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Glib::signal_io In-reply-to: Your message of "Wed, 07 Jan 2004 15:29:10 GMT." Date: Wed, 07 Jan 2004 13:33:47 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.197.35.110] at Wed, 7 Jan 2004 12:33:48 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'm having some problems with the Glib::signal_io().connect() function to do >the reading from a serial port. >class serie #include class serie : public SigC::Object From ghenriks@rogers.com Wed Jan 7 13:55:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep04-mail.bloor.is.net.cable.rogers.com (fep04-mail.bloor.is.net.cable.rogers.com [66.185.86.74]) by mail.gnome.org (Postfix) with ESMTP id 6A00A18132; Wed, 7 Jan 2004 13:55:47 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep04-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040107185308.NJZC430912.fep04-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Wed, 7 Jan 2004 13:53:08 -0500 From: Gerald Henriksen To: Murray.Cumming@Comneon.com Cc: libsigc-list@gnome.org, gtkmm-list@gnome.org Subject: Re: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Date: Wed, 07 Jan 2004 13:55:41 -0500 Message-ID: References: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep04-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Wed, 7 Jan 2004 13:53:08 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 7 Jan 2004 16:39:07 +0100, you wrote: >Sorry, I mean gcc 2.9*. Actually, I mean gcc <3.2, but I think 3.0/3.1 = was >short-lived. gcc 3.0 and 3.1 were not widely used, mainstream adoption started with gcc 3.2 The only problem I can see is that I believe some of the *bsd releases are still using gcc 2.9* (ie FreeBSD 4.9 is using gcc 2.95.4). Having said that I think the benefits of moving to gcc 3.2 or better are significant enough from a C++ standpoint that it should be done anyway. From masterofgoon@yahoo.com Wed Jan 7 15:27:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web14802.mail.yahoo.com (web14802.mail.yahoo.com [216.136.224.218]) by mail.gnome.org (Postfix) with SMTP id 8C2AD181DD for ; Wed, 7 Jan 2004 15:27:26 -0500 (EST) Message-ID: <20040107202721.58835.qmail@web14802.mail.yahoo.com> Received: from [67.160.136.100] by web14802.mail.yahoo.com via HTTP; Wed, 07 Jan 2004 12:27:21 PST Date: Wed, 7 Jan 2004 12:27:21 -0800 (PST) From: Kevin Blah To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Link error Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For some reason i am getting the following error: /tmp/cc7BpFlS.o(.text+0x3f): In function `main': /home/kevin/Projects/PortageUI/src/portageui.cc:12: undefined reference to `MainWindow::MainWindow[in-charge]()' /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: undefined reference to `MainWindow::~MainWindow [in-charge]()' /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: undefined reference to `MainWindow::~MainWindow [in-charge]()' collect2: ld returned 1 exit status the constructor and destroctor are both defined and implemented. all the code compiles fine except for the main function which consists of the following: int main(int argc, char **argv) { /* Let GTK strip any args it needs */ Gtk::Main kit(&argc, &argv); /* run run run */ MainWindow mainwindow; Gtk::Main::run(mainwindow); return 0; } help appreciated, kevin __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From gene@erachampion.com Wed Jan 7 15:51:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 463BE18160 for ; Wed, 7 Jan 2004 15:51:54 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i07L1dN29589 for gtkmm-list@gnome.org; Wed, 7 Jan 2004 13:01:39 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Wed, 7 Jan 2004 13:01:38 -0800 Message-ID: <1073509298.3ffc73b2a125e@realtyroad.com> Date: Wed, 7 Jan 2004 13:01:38 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'll ask this again, using the correct version number: > >Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it >in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > >Who needs gcc 2.9* and why? > >Murray Cumming >www.murrayc.com >murrayc@usa.net I dont see a pressing need to support gcc 2.9* on the Linux or Win32 platforms where we have gcc 3.2 availiable. In my opinion, the benefits of Libsigc++ 2 should outweigh the negatives of dropping support for gcc 2.9*. Someone mentioned earlier that BSD may still require gcc 2.9* support. Is this still the case? I'd be happy to see Libsigc++ 2 used in gtkmm2.4. -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From e97_far@e.kth.se Wed Jan 7 16:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from amsfep16-int.chello.nl (amsfep16-int.chello.nl [213.46.243.26]) by mail.gnome.org (Postfix) with ESMTP id B49DF18160 for ; Wed, 7 Jan 2004 16:04:58 -0500 (EST) Received: from arrak ([213.89.195.49]) by amsfep16-int.chello.nl (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with ESMTP id <20040107210455.CLUG13071.amsfep16-int.chello.nl@arrak>; Wed, 7 Jan 2004 22:04:55 +0100 To: Gene Ruebsamen Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? X-Face: )i'EH9W6aRwKbLPj&v.hI$Lk:lK%VtSa&&.u%8q'7Gr515^/4s\@4h8Tx5yqBd8"b4pj. bO}eSbU]\0OaA|Do*]kv@NuqJ3 From: Fredrik Arnerup Date: Wed, 07 Jan 2004 22:07:04 +0100 In-Reply-To: <1073509298.3ffc73b2a125e@realtyroad.com> (Gene Ruebsamen's message of "Wed, 7 Jan 2004 13:01:38 -0800") Message-ID: <874qv779jb.fsf@e.kth.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Gene Ruebsamen writes: > Someone mentioned earlier that BSD may still require gcc 2.9* > support. Is this still the case? I believe OpenBSD uses 2.95 for all non-64-bit platforms. But OpenBSD is mostly used on servers anyway. -- Fredrik Arnerup From palm@nogui.se Wed Jan 7 17:42:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id 695EF181B6; Wed, 7 Jan 2004 17:42:25 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i07MdbT5027645; Wed, 7 Jan 2004 23:39:37 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <3FFC9977.5040100@nogui.se> Date: Thu, 08 Jan 2004 00:42:47 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What about non-gcc compilers? Murray.Cumming@Comneon.com wrote: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > From abhatnag@mda.ca Wed Jan 7 18:14:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 3068218384 for ; Wed, 7 Jan 2004 18:14:44 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i07NEfM26122 for ; Wed, 7 Jan 2004 15:14:42 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 15:14:41 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845D@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Wed, 7 Jan 2004 15:14:41 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Possible to use libglademm -without- a GNOME installation?? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello. I'm trying to load up my .glade file in my application, however I get compilation errors saying that "Gnome" is undeclared when trying to declare my Glib::RefPtr refXml;. I don't have Gnome installed, but I do have gtk-2.2.4, gtkmm-2.2.8 and libglademm-2.0.1 installed. I am using a solaris 8 machine. Is there anyway around this? amit. From pgasper@designadvantage.com Wed Jan 7 18:51:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 01CA21890C; Wed, 7 Jan 2004 18:51:42 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AeNSa-0003h2-4q; Wed, 07 Jan 2004 18:51:36 -0500 Subject: Re: [gtkmm] Abandoning gcc 2.9*? From: Peter Gasper To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> Content-Type: text/plain Organization: Message-Id: <1073519494.2196.3.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 07 Jan 2004 16:51:38 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What is the gtk+ road map on this issue? I assume that if they dropped support then gtkmm would by necessity do also. Do they have any good reasons for continued support of 2.9*? PG On Wed, 2004-01-07 at 11:28, Murray.Cumming@Comneon.com wrote: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list -- Peter Gasper From olau@hardworking.dk Wed Jan 7 18:53:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp010.tiscali.dk (smtp010.tiscali.dk [212.54.64.103]) by mail.gnome.org (Postfix) with ESMTP id 1E13618A2E for ; Wed, 7 Jan 2004 18:53:47 -0500 (EST) Received: from bach.composers (116.ppp1-1.abc.worldonline.dk [213.237.21.116]) by smtp010.tiscali.dk (8.12.10/8.12.10) with ESMTP id i07NugKp013735 for ; Thu, 8 Jan 2004 00:56:51 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AeNTa-0004OK-4u for gtkmm-list@gnome.org; Thu, 08 Jan 2004 00:52:38 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link error References: <20040107202721.58835.qmail@web14802.mail.yahoo.com> From: Ole Laursen Date: Thu, 08 Jan 2004 00:52:38 +0100 In-Reply-To: <20040107202721.58835.qmail@web14802.mail.yahoo.com> (Kevin Blah's message of "Wed, 7 Jan 2004 12:27:21 -0800 (PST)") Message-ID: <87ekub71vd.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Kevin Blah writes: > For some reason i am getting the following error: > > /tmp/cc7BpFlS.o(.text+0x3f): In function `main': > /home/kevin/Projects/PortageUI/src/portageui.cc:12: > undefined reference to > `MainWindow::MainWindow[in-charge]()' > /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > collect2: ld returned 1 exit status > > the constructor and destroctor are both defined and > implemented. Hm, but the linker is telling you that it can't find them. Are you sure you are linking them with the code for the main function properly? If you are using Automake, one possibility is that you have forgotten to add the .cpp (or .cc or whatever) file for the main window class to the _SOURCES list. -- Ole Laursen http://www.cs.auc.dk/~olau/ From matthew@alledora.co.uk Wed Jan 7 19:03:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mail.gnome.org (Postfix) with ESMTP id A5ED7189CB; Wed, 7 Jan 2004 19:03:51 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040108000352.HKPB1005.mta06-svc.ntlworld.com@alledora.co.uk>; Thu, 8 Jan 2004 00:03:52 +0000 Message-ID: <3FFC9E9E.9070402@alledora.co.uk> Date: Thu, 08 Jan 2004 00:04:46 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Gasper Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> <1073519494.2196.3.camel@PETE> In-Reply-To: <1073519494.2196.3.camel@PETE> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: They're written in pure C, so I very much doubt it's actually much of a problem for them unless they're using C99 which they probably aren't. It's only really C++ that this matters for, as far as I can see, because gcc 2.9* had good C support but woeful C++, which as we all know is much improved in 3.2. So I doubt it's something that they've even thought about. Peter Gasper wrote: > What is the gtk+ road map on this issue? I assume that if they dropped > support then gtkmm would by necessity do also. Do they have any good > reasons for continued support of 2.9*? > > PG > > > On Wed, 2004-01-07 at 11:28, Murray.Cumming@Comneon.com wrote: > >>I'll ask this again, using the correct version number: >> >>Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it >>in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. >> >>Who needs gcc 2.9* and why? >> >>Murray Cumming >>www.murrayc.com >>murrayc@usa.net >> >>_______________________________________________ >>gtkmm-list mailing list >>gtkmm-list@gnome.org >>http://mail.gnome.org/mailman/listinfo/gtkmm-list From billyoc@gnuyork.org Wed Jan 7 19:28:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 3493318124 for ; Wed, 7 Jan 2004 19:28:24 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AeO03-0006W4-DB; Wed, 07 Jan 2004 19:26:11 -0500 To: Kevin Blah Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link error References: <20040107202721.58835.qmail@web14802.mail.yahoo.com> From: Billy O'Connor Date: Wed, 07 Jan 2004 19:26:11 -0500 In-Reply-To: <20040107202721.58835.qmail@web14802.mail.yahoo.com> (Kevin Blah's message of "Wed, 7 Jan 2004 12:27:21 -0800 (PST)") Message-ID: <87brpfi8v0.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Kevin Blah writes: > For some reason i am getting the following error: > > /tmp/cc7BpFlS.o(.text+0x3f): In function `main': > /home/kevin/Projects/PortageUI/src/portageui.cc:12: > undefined reference to > `MainWindow::MainWindow[in-charge]()' > /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > collect2: ld returned 1 exit status Can you post a minimal example that fails? I've seen this exact error, but I need a memory jogger. From abhatnag@mda.ca Wed Jan 7 19:31:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id B456418124 for ; Wed, 7 Jan 2004 19:31:38 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i080VaM10083 for ; Wed, 7 Jan 2004 16:31:37 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 16:31:36 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> From: Amit BHATNAGAR To: Amit BHATNAGAR , gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Wed, 7 Jan 2004 16:31:36 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For what its worth, the following is what I am using to compile my application, (via makefile) g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc `pkg-config --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` `pkg-config libglademm-2.0 --cflags --libs` any ideas would be appreicated. > -----Original Message----- > From: Amit BHATNAGAR [mailto:abhatnag@mda.ca] > Sent: January 7, 2004 3:15 PM > To: gtkmm-list@gnome.org > Subject: [gtkmm] Possible to use libglademm -without- a GNOME > installation?? > > > Hello. > > I'm trying to load up my .glade file in my application, however > I get compilation errors saying that "Gnome" is undeclared when > trying to declare my Glib::RefPtr refXml;. > > I don't have Gnome installed, but I do have gtk-2.2.4, gtkmm-2.2.8 and > libglademm-2.0.1 installed. > > I am using a solaris 8 machine. > > Is there anyway around this? > > amit. > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From billyoc@gnuyork.org Wed Jan 7 19:46:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 8506E1812A for ; Wed, 7 Jan 2004 19:46:46 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AeOHs-0001KF-4K; Wed, 07 Jan 2004 19:44:36 -0500 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? References: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> From: Billy O'Connor Date: Wed, 07 Jan 2004 19:44:35 -0500 In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> (Amit BHATNAGAR's message of "Wed, 7 Jan 2004 16:31:36 -0800") Message-ID: <874qv7i80c.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR writes: > For what its worth, the following is what I am using to compile my > application, (via > makefile) > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc `pkg-config > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` `pkg-config libglademm-2.0 > --cflags --libs` > > any ideas would be appreicated. > Will this smal example compile for you? #include int main (int argc, char **argv) { Glib::RefPtr refXml; return 0; } From abhatnag@mda.ca Wed Jan 7 19:55:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id F2CA118464 for ; Wed, 7 Jan 2004 19:55:43 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i080teM14066; Wed, 7 Jan 2004 16:55:41 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 16:55:40 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845F@msxyvr5.mda.ca> From: Amit BHATNAGAR To: "'Billy O'Connor'" Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Wed, 7 Jan 2004 16:55:40 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes this does compile. Simply including in my test app solved the problem. I thought this was a much tougher problem when I realized that I didn't have gnome installed. My appologies! amit. > -----Original Message----- > From: Billy O'Connor [mailto:billyoc@gnuyork.org] > Sent: January 7, 2004 4:45 PM > To: Amit BHATNAGAR > Cc: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME > installa tion?? > > > Amit BHATNAGAR writes: > > > For what its worth, the following is what I am using to compile my > > application, (via > > makefile) > > > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc > `pkg-config > > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` > `pkg-config libglademm-2.0 > > --cflags --libs` > > > > any ideas would be appreicated. > > > > Will this smal example compile for you? > > #include > > int main (int argc, char **argv) > { > Glib::RefPtr refXml; > > return 0; > } > > From tkoskine@students.cc.tut.fi Wed Jan 7 20:28:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from paperi.ton.tut.fi (paperi.ton.tut.fi [193.166.234.15]) by mail.gnome.org (Postfix) with ESMTP id 829091831D for ; Wed, 7 Jan 2004 20:28:56 -0500 (EST) Received: from f125b.lanhovi.ton.tut.fi (gurb.ton.tut.fi) [193.166.80.51] by paperi.ton.tut.fi with esmtp (Exim 3.33 #3 (Debian)) id 1AeOyi-0004vl-00; Thu, 08 Jan 2004 03:28:52 +0200 Received: from gurb.ton.tut.fi (localhost.localnet [IPv6:::1]) by gurb.ton.tut.fi (8.12.10/8.12.10) with SMTP id i081SL8k026801 for ; Thu, 8 Jan 2004 03:28:21 +0200 (EET) Date: Thu, 8 Jan 2004 03:28:21 +0200 From: Tero Koskinen To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? Message-Id: <20040108032821.5c9f4b24.tkoskine@students.cc.tut.fi> In-Reply-To: <874qv779jb.fsf@e.kth.se> References: <1073509298.3ffc73b2a125e@realtyroad.com> <874qv779jb.fsf@e.kth.se> Reply-To: tkoskine@students.cc.tut.fi X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-unknown-openbsd3.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 07 Jan 2004 22:07:04 +0100 Fredrik Arnerup wrote: > Gene Ruebsamen writes: > > > Someone mentioned earlier that BSD may still require gcc 2.9* > > support. Is this still the case? > > I believe OpenBSD uses 2.95 for all non-64-bit platforms. Also NetBSD 1.6.1 (stable) and FreeBSD 4.9 (stable) use GCC 2.95 by their default compiler. All three BSDs provide GCC 3.3.x/3.2.x via ports/packages/pkg_src collection. GCC 3.3.x is the default compiler on NetBSD-current and FreeBSD-current. OpenBSD-current uses GCC 2.95 (on non-64-bit platforms). If the GCC 2.9x support is dropped from gtkmm, then one cannot compile gtkmm on stable release of any BSD without installing another compiler(GCC 3.[23].x) first. Having two GCCs on same system is a little bit chaotic since you need two different versions of C++ libraries, but usually there aren't too many of them and the amount of management stays reasonable. > But OpenBSD is mostly used on servers anyway. Personally I use OpenBSD-current as my primary desktop OS and like to play with gtkmm as a hobby. I have nothing against dropping the GCC 2.9x support since on my system gtkmm is compiled using GCC 3.2.3 because my own C++ code doesn't build with GCC 2.95. -- Tero Koskinen - tkoskine@students.cc.tut.fi From gtkmm-forge-admin@lists.sourceforge.net Wed Jan 7 23:04:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 6D1C618491 for ; Wed, 7 Jan 2004 23:04:24 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AeRPD-0008Lw-5U for gtkmm-list@gnome.org; Wed, 07 Jan 2004 20:04:23 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AeRPD-0008Ky-1j for gtkmm-list@gnome.org; Wed, 07 Jan 2004 20:04:23 -0800 Date: Wed, 07 Jan 2004 20:01:11 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #592 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm (bugzilla-daemon@widget.gnome.org) 2. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) 3. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Wed, 7 Jan 2004 03:16:47 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=86865 Changed by murrayc@usa.net. --- shadow/86865 Tue Jan 6 13:02:25 2004 +++ shadow/86865.tmp.14758 Wed Jan 7 03:16:47 2004 @@ -10,13 +10,13 @@ Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: murrayc@usa.net TargetMilestone: --- URL: Summary: Collection of minor GTK+ bugs that affect gtkmm -BugsThisDependsOn: 52877, 63768, 64601, 72426[FIXED] +BugsThisDependsOn: 52877[FIXED], 63768, 64601, 72426[FIXED] This umbrella bug helps us to know what GTK+ bugs are relevant to gtkmm. We have probably hacked around these bugs, but we'd still like them to be fixed properly. ------- Additional Comments From murrayc@usa.net 2003-07-18 09:55 ------- --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Wed, 7 Jan 2004 08:03:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Wed Dec 17 11:43:31 2003 +++ shadow/129210.tmp.6186 Wed Jan 7 08:03:27 2004 @@ -135,6 +135,11 @@ Hell, it certainly wasn't obvious to me that any of those files were generated when I do something like ``vi +100 gtkmm-2.3.1/gtk/gtkmm/radioaction.h'' ------- Additional Comments From murrayc@usa.net 2003-12-17 11:43 ------- I am happy to apply a patch for this. + +------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- +There is a chance that we will not support gcc 2.96 in future, because +we might use a newer libsigc++ that can not support it. On the mailing +list I am asking who needs 2.96 and why? Maybe you could reply to that. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Wed, 7 Jan 2004 14:45:39 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by dalgoda@ix.netcom.com. --- shadow/129210 Wed Jan 7 08:03:27 2004 +++ shadow/129210.tmp.25974 Wed Jan 7 14:45:38 2004 @@ -140,6 +140,81 @@ I am happy to apply a patch for this. ------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- There is a chance that we will not support gcc 2.96 in future, because we might use a newer libsigc++ that can not support it. On the mailing list I am asking who needs 2.96 and why? Maybe you could reply to that. + +------- Additional Comments From dalgoda@ix.netcom.com 2004-01-07 14:45 ------- +Hi. + +I'm on way too many email lists now as it is (if there was an NNTP +interface available, I'd use it). So I'll just comment here. I did +read the threads in the archives however. + +First, let me explain that I have been maintaining my own home-grown +Linux system since 1994. It's Linux from scratch before +linuxfromscratch existed. I usually keep bleeding edge on most +things, but lately (last couple of years or so) I have slacked off a +bit and not followed the 2.5 kernels. Since the Linux kernel, for a +long time, did not like to build with any gcc-3 [note: I just checked +2.6.1-rc2, and at least the docs there still recommend 2.95.x, x>=3], +I stuck with gcc-2. This also forced me to stay with glibc-2.2.5. +Now, I know that I can run two different versions of gcc, however +since the same `gcc' cannot handle -V for 2.x and 3.x (-V only works +withing the same major). I didn't feel there was anything to really be +gained by upgrading; it wasn't worth the effort of trying to keep gcc2 +and gcc3 executables. + +A few other things pushed this as well. + +For instance, gpc only works with gcc2. And I've always wanted to +play with gpc (in my ohhhh so ample spare time :-). + +It turns out that since gcc2 doesn't support C99 by default, I've +discovered a lot of code that would not build against non-C99 +compilers being put out by people (stuff in Gnome, stuff on CPAN, +etc). To paraphrase a well known saying, "All the world is not gcc." + With the fact that a lot of compilers are not C99 capable yet, my +bleeding edge updates have helped me submit a LOT of patches to +various projects. I imagine I could probably configure gcc3 to not do + C99 by default, but since I've not looked into upgrading, I've not +bothered doing that research. + +I don't do any C++ programming, so the personal need for the better +C++ support simply isn't there. + +Now, those are the reasons why *I* still use 2.95.*. Basically it +comes down to I'm lazy and it's useful for finding issues in the `C' +world. But I admit that for C++, it sucks. + +Some points to consider though: + +Ignore RedHat completely. 2.96 does not exist. Consider 2.95.3 (or +2.95.4 which is really cvs-tip from the 2_95 branch). Just because RH +doesn't support the older compiler doesn't mean other people don't. +You can buy support for older RH from Progeny. Heck, Sun continues to +build Java against RH6.2 or something like that. A better solution +would be to look at what Debian supports in their unstable branch (or +wherever the comparable gtkmm stuff would live). + +All the world is not Linux, either. Someone pointed out that one of +the BSD's is using gcc-2.95.*. What do other current OS's support in +their C++ environments as far as compatibilty goes? I think that's a +far better guage. + +If going to require the newer libsigc++, then yeah, definitely go +ahead an use modern C++ features and don't worry about backwards +compatibility. + +However, I would strongly advise against specifically checking against + version numbers of compilers. That is just too fragile (regressions, +branching, etc) and only works for g++. Instead, do feature checks +against whatever C++ compiler is being used. As bug, like this one, +appear, then add it as a feature check and say "Your compiler does not +support feature XYZ." + +Well, that's a lot of babbling. :-> + +I guess it could all be summarized with this: Go ahead and require +modern C++ features, but try to catch support for them up front with +autoconf. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From minutsil@cse.msu.edu Wed Jan 7 23:31:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from red.cse.msu.edu (red.cse.msu.edu [35.9.20.11]) by mail.gnome.org (Postfix) with ESMTP id 74EAB184D0 for ; Wed, 7 Jan 2004 23:31:34 -0500 (EST) Received: from arctic.cse.msu.edu (arctic.cse.msu.edu [35.9.20.20]) by red.cse.msu.edu (8.12.10/8.12.10) with ESMTP id i084VUnN006760; Wed, 7 Jan 2004 23:31:30 -0500 (EST) Date: Wed, 7 Jan 2004 23:31:30 -0500 (EST) From: Silviu D Minut To: Cc: Subject: RE: [gtkmm] A Gtkmm Forum In-Reply-To: <258B0164D480D5118D900800062B385801C2258D@vihsx09a.vih.infineon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Could we have a newsgroup? Could we move everybody on this list to the newsgroup? I find it much more convenient than the mailing list. On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > I don't know how to use a mailing list. > > Clearly you do. Just remember to use Reply To All after this and you've > understood everything. > > > Do you think that one > > day Gtkmm programmers might have a forum? > > Feel free to use this, but there are 550 people here, and not many there: > http://gnomesupport.org/forums/ > > Murray Cumming > www.murrayc.com > murrayc@usa.net > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From trollking@shaw.ca Wed Jan 7 23:50:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 505D0183D1 for ; Wed, 7 Jan 2004 23:50:26 -0500 (EST) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-ser.prod.shaw.ca [10.0.141.179]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR500J5ZMNQU7@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Received: from pn2ml7so.prod.shaw.ca (pn2ml7so-qfe0.prod.shaw.ca [10.0.121.151]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR5009QYMNQSN@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR50072IMNQ2B@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Date: Wed, 07 Jan 2004 21:47:50 -0700 From: Dean Kutryk In-reply-to: <20040107170020.15419.74567.Mailman@moniker.gnome.org> To: gtkmm-list@gnome.org Message-id: <1073537270.7353.0.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <20040107170020.15419.74567.Mailman@moniker.gnome.org> Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #809 - 2 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Can't we come out of the closet and get an operational forums. I'll kick in a few dollars even. On Wed, 2004-01-07 at 10:00, gtkmm-list-request@gnome.org wrote: > Send gtkmm-list mailing list submissions to > gtkmm-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.gnome.org/mailman/listinfo/gtkmm-list > or, via email, send a message with subject or body 'help' to > gtkmm-list-request@gnome.org > > You can reach the person managing the list at > gtkmm-list-admin@gnome.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gtkmm-list digest..." > > > Today's Topics: > > 1. A Gtkmm Forum (Dean Kutryk) > 2. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > > --__--__-- > > Message: 1 > Date: Wed, 07 Jan 2004 08:57:41 -0700 > From: Dean Kutryk > To: gtkmm-list@gnome.org > Subject: [gtkmm] A Gtkmm Forum > > I don't know how to use a mailing list. Do you think that one day Gtkmm > programmers might have a forum? > > > > --__--__-- > > Message: 2 > From: Murray.Cumming@Comneon.com > To: trollking@shaw.ca, gtkmm-list@gnome.org > Subject: RE: [gtkmm] A Gtkmm Forum > Date: Wed, 7 Jan 2004 17:09:47 +0100 > > > I don't know how to use a mailing list. > > Clearly you do. Just remember to use Reply To All after this and you've > understood everything. > > > Do you think that one > > day Gtkmm programmers might have a forum? > > Feel free to use this, but there are 550 people here, and not many there: > http://gnomesupport.org/forums/ > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > > --__--__-- > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > End of gtkmm-list Digest From cjnygard@fast.net Thu Jan 8 00:23:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from newmx1.fast.net (newmx1.fast.net [209.92.1.31]) by mail.gnome.org (Postfix) with SMTP id 2C2C31815D for ; Thu, 8 Jan 2004 00:23:22 -0500 (EST) Received: (qmail 8186 invoked from network); 8 Jan 2004 05:23:21 -0000 Received: from unknown (HELO ?192.168.1.19?) ([209.92.227.114]) (envelope-sender ) by newmx1.fast.net (qmail-ldap-1.03) with SMTP for ; 8 Jan 2004 05:23:21 -0000 Subject: RE: [gtkmm] A Gtkmm Forum From: Carl Nygard To: Silviu D Minut Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org In-Reply-To: References: Content-Type: text/plain Message-Id: <1073510602.25100.21.camel@traveler> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 07 Jan 2004 16:23:23 -0500 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-07 at 23:31, Silviu D Minut wrote: > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. > How about a conference call instead? I really enjoy those, especially hearing all the silly accents;) I propose every monday at 4pm (y'all pick the timezone)... oh wait, that's Oprah. Where's that XML-TV when you need it... > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list From gtkmm-list@mlists.thewrittenword.com Thu Jan 8 00:33:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from spuckler.il.thewrittenword.com (mail2.thewrittenword.com [67.95.107.111]) by mail.gnome.org (Postfix) with ESMTP id 4F4121815D for ; Thu, 8 Jan 2004 00:33:45 -0500 (EST) Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com [127.0.0.1]) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) with ESMTP id i085Xgne085918 for ; Wed, 7 Jan 2004 23:33:42 -0600 (CST) Received: (from china@localhost) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) id i085Xgc1085917 for gtkmm-list@gnome.org; Wed, 7 Jan 2004 23:33:42 -0600 (CST) Date: Wed, 7 Jan 2004 23:33:42 -0600 From: Albert Chin To: gtkmm-list@gnome.org Message-ID: <20040108053342.GA85860@spuckler.il.thewrittenword.com> Reply-To: gtkmm-list@gnome.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] Building gtkmm-2.2.8 with HP C++ compiler Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Do the following errors make sense to anyone? I'm trying to build gtkmm-2.2.8 with the HP C++ compiler on HP-UX 11.00 and 11i. aCC -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include -I/opt/TWWfsw/libsigc++12/lib/include -I/opt/TWWfsw/libsigc++12/include -D_REENTRANT -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include +O2 -AA -z +Onofltacc +ESlit +DAportable +Oentrysched +Odataprefetch +Onolimit -c convert.cc +Z -DPIC -o .libs/convert.o Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 221: "../../glib/glibmm/ustring.h", line 705 # Member 'SequenceToString' not declared in struct SequenceToString<#1,char> ["../../glib/glibmm/ustring.h", line 547]. ustring::SequenceToString::SequenceToString(In pbegin, In pend) ^^^^^^^^^^^^^^^^ Warning (anachronism) 600: "../../glib/glibmm/ustring.h", line 705 # Type specifier is omitted; "int" is no longer assumed. ustring::SequenceToString::SequenceToString(In pbegin, In pend) ^^^^^^^^^^^^^^^^ Error 188: "../../glib/glibmm/ustring.h", line 707 # Member and base class initializers may only be used in constructors. std::string(pbegin, pend) ^^^^^^^^^^^^ Error 221: "../../glib/glibmm/ustring.h", line 711 # Member 'SequenceToString' not declared in struct SequenceToString<#1,unsigned int> ["../../glib/glibmm/ustring.h", line 553]. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ Error 174: "../../glib/glibmm/ustring.h", line 711 # Function redefinition; previously defined as "int Glib::SequenceToString(#1,#1)" at ["../../glib/glibmm/ustring.h", line 705]. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ Error 445: "../../glib/glibmm/ustring.h", line 711 # Cannot recover from earlier errors. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ gmake[5]: *** [convert.lo] Error 1 gmake[5]: Leaving directory `/opt/build/gtkmm-2.2.8/glib/glibmm' -- albert chin (china@thewrittenword.com) From Murray.Cumming@Comneon.com Thu Jan 8 03:28:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 60B731812C; Thu, 8 Jan 2004 03:28:13 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088OE7k028094; Thu, 8 Jan 2004 09:24:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:28:29 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225D7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: palm@nogui.se Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? Date: Thu, 8 Jan 2004 09:28:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > What about non-gcc compilers? They are a differerent story. I would expect us to support at least SUN's Forte C++ compiler, and the Microsoft Visual C++ .Net 2003 compiler. But I don't think anybody has tried libsigc++ 2 with them yet. A couple of people did offer me some help with a SUN login, and hopefully I'll have a chance to try that soon. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 8 03:28:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ACB1618156 for ; Thu, 8 Jan 2004 03:28:53 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088Os7k028524; Thu, 8 Jan 2004 09:24:54 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:29:09 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225D8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abhatnag@mda.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Thu, 8 Jan 2004 09:28:51 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm trying to load up my .glade file in my application, however > I get compilation errors saying that "Gnome" is undeclared when > trying to declare my Glib::RefPtr refXml;. > > I don't have Gnome installed, but I do have gtk-2.2.4, > gtkmm-2.2.8 and libglademm-2.0.1 installed. > > I am using a solaris 8 machine. > > Is there anyway around this? I think you are just forgetting an #include. Please look at the libglademm examples. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 8 03:32:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D07C91812C for ; Thu, 8 Jan 2004 03:32:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088SH7k029781; Thu, 8 Jan 2004 09:28:17 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:32:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225DC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: minutsil@cse.msu.edu, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] A Gtkmm Forum Date: Thu, 8 Jan 2004 09:32:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I think that the MARC archive people have a newsgroup gateweay thingy. Tell us how it works if you investigate: http://marc.theaimsgroup.com/?l=gtkmm&r=1&w=2#gtkmm Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Silviu D Minut [mailto:minutsil@cse.msu.edu] > Sent: Donnerstag, 8. Januar 2004 05:32 > To: Murray.Cumming@Comneon.com > Cc: gtkmm-list@gnome.org > Subject: RE: [gtkmm] A Gtkmm Forum > > > Could we have a newsgroup? Could we move everybody on this > list to the newsgroup? I find it much more convenient than > the mailing list. > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and > > you've understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many > > there: http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > From find_all@hotmail.com Thu Jan 8 04:10:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f26.sea2.hotmail.com [207.68.165.26]) by mail.gnome.org (Postfix) with ESMTP id 96E3418149 for ; Thu, 8 Jan 2004 04:10:00 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 8 Jan 2004 01:09:59 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Thu, 08 Jan 2004 09:09:59 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: paul@linuxaudiosystems.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Glib::signal_io Date: Thu, 08 Jan 2004 09:09:59 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 08 Jan 2004 09:09:59.0727 (UTC) FILETIME=[3134FBF0:01C3D5C7] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >From: Paul Davis >To: "Find All" >CC: gtkmm-list@gnome.org >Subject: Re: [gtkmm] Glib::signal_io Date: Wed, 07 Jan 2004 13:33:47 -0500 > > >I'm having some problems with the Glib::signal_io().connect() function to >do > >the reading from a serial port. > > >class serie > >#include > >class serie : public SigC::Object I make a "locate sigc++/signal_system.h" an nothing :-( I've use sigc++/signal.h (I've sigc++1.2 not the 2 version) and it compiles, does this signal.h work as signal_system.h of the sigc++2? I'm having some problems with the serial port configuration (I want to use it at 115200 baud), so I can't verify if its executes well. Is there a example of using a serial port in gtkmm on the web that it really works (I have found the example of the monitoring I/O but it faults, it uses 'very' deprecated functions)? _________________________________________________________________ Una mejor experiencia en Internet. Prueba gratis dos meses MSN 8. http://join.msn.com/?pgmarket=es-es&XAPID=1577&DI=1055 From trollking@shaw.ca Thu Jan 8 05:18:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 681EE183E2 for ; Thu, 8 Jan 2004 05:18:30 -0500 (EST) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-ser.prod.shaw.ca [10.0.141.177]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600JEH1YTIV@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Received: from pn2ml4so.prod.shaw.ca (pn2ml4so-qfe0.prod.shaw.ca [10.0.121.148]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600E8U1YTQN@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600A0T1YTRF@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Date: Thu, 08 Jan 2004 03:18:29 -0700 From: Dean Kutryk To: gtkmm-list@gnome.org Message-id: <1073557109.7912.4.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT Subject: [gtkmm] A burning question about X Windows Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I realize that Gtkmm is a wrapper of the software library GTK+, however is it wrong for a C++ programmer to perhaps want to design some custom widgets or enhancements that he uses along with the the Gtkmm library. I was wondering why there are so few tutorials on XFree86. How on earth can people ignore all information and knowledge about such a core infrastructure, and yet the Linux kernel gets so much attention. From trollking@shaw.ca Thu Jan 8 05:19:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 00CCC18217 for ; Thu, 8 Jan 2004 05:19:42 -0500 (EST) Received: from pd4mr3so.prod.shaw.ca (pd4mr3so-qfe3.prod.shaw.ca [10.0.141.214]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600HNP1PL5K@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR6006TC1PL85@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600IEE1PLOA@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Date: Thu, 08 Jan 2004 03:12:57 -0700 From: Dean Kutryk In-reply-to: <20040108091104.10624.55859.Mailman@moniker.gnome.org> To: gtkmm-list@gnome.org Message-id: <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <20040108091104.10624.55859.Mailman@moniker.gnome.org> Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #811 - 13 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This 'newsgroup thing' looks like a massive batch of ideas all piled on top of each other. Talk about a barrier to technology, I see that technology only complicates old practices. I think it would be better to literally get out a pencil and a piece of paper and do this whole thing using the postal service. On Thu, 2004-01-08 at 02:11, gtkmm-list-request@gnome.org wrote: > Send gtkmm-list mailing list submissions to > gtkmm-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.gnome.org/mailman/listinfo/gtkmm-list > or, via email, send a message with subject or body 'help' to > gtkmm-list-request@gnome.org > > You can reach the person managing the list at > gtkmm-list-admin@gnome.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gtkmm-list digest..." > > > Today's Topics: > > 1. RE: Possible to use libglademm -without- a GNOME installa > tion?? (Amit BHATNAGAR) > 2. Re: Abandoning gcc 2.9*? (Tero Koskinen) > 3. Gtkmm-forge digest, Vol 1 #592 - 3 msgs (gtkmm-forge-request@lists.sourceforge.net) > 4. RE: A Gtkmm Forum (Silviu D Minut) > 5. Re: gtkmm-list digest, Vol 1 #809 - 2 msgs (Dean Kutryk) > 6. RE: A Gtkmm Forum (Carl Nygard) > 7. Building gtkmm-2.2.8 with HP C++ compiler (Albert Chin) > 8. RE: Abandoning gcc 2.9*? (Murray.Cumming@Comneon.com) > 9. RE: Possible to use libglademm -without- a GNOME installa > tion?? (Murray.Cumming@Comneon.com) > 10. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > 11. Re: Glib::signal_io (Find All) > > --__--__-- > > Message: 1 > From: Amit BHATNAGAR > To: "'Billy O'Connor'" > Cc: gtkmm-list@gnome.org > Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa > tion?? > Date: Wed, 7 Jan 2004 16:55:40 -0800 > > Yes this does compile. Simply including in my test > app solved the problem. > > I thought this was a much tougher problem when I realized that I didn't > have gnome installed. > > My appologies! > > amit. > > > -----Original Message----- > > From: Billy O'Connor [mailto:billyoc@gnuyork.org] > > Sent: January 7, 2004 4:45 PM > > To: Amit BHATNAGAR > > Cc: gtkmm-list@gnome.org > > Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME > > installa tion?? > > > > > > Amit BHATNAGAR writes: > > > > > For what its worth, the following is what I am using to compile my > > > application, (via > > > makefile) > > > > > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc > > `pkg-config > > > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` > > `pkg-config libglademm-2.0 > > > --cflags --libs` > > > > > > any ideas would be appreicated. > > > > > > > Will this smal example compile for you? > > > > #include > > > > int main (int argc, char **argv) > > { > > Glib::RefPtr refXml; > > > > return 0; > > } > > > > > > --__--__-- > > Message: 2 > Date: Thu, 8 Jan 2004 03:28:21 +0200 > From: Tero Koskinen > To: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Abandoning gcc 2.9*? > Reply-To: tkoskine@students.cc.tut.fi > > On Wed, 07 Jan 2004 22:07:04 +0100 > Fredrik Arnerup wrote: > > Gene Ruebsamen writes: > > > > > Someone mentioned earlier that BSD may still require gcc 2.9* > > > support. Is this still the case? > > > > I believe OpenBSD uses 2.95 for all non-64-bit platforms. > > Also NetBSD 1.6.1 (stable) and FreeBSD 4.9 (stable) use GCC 2.95 by their > default compiler. All three BSDs provide GCC 3.3.x/3.2.x via > ports/packages/pkg_src collection. > > GCC 3.3.x is the default compiler on NetBSD-current and FreeBSD-current. > OpenBSD-current uses GCC 2.95 (on non-64-bit platforms). > > If the GCC 2.9x support is dropped from gtkmm, then one cannot > compile gtkmm on stable release of any BSD without installing > another compiler(GCC 3.[23].x) first. > > Having two GCCs on same system is a little bit chaotic since you > need two different versions of C++ libraries, but usually there aren't > too many of them and the amount of management stays reasonable. > > > But OpenBSD is mostly used on servers anyway. > > Personally I use OpenBSD-current as my primary desktop OS and like > to play with gtkmm as a hobby. I have nothing against dropping the GCC 2.9x > support since on my system gtkmm is compiled using GCC 3.2.3 because my own > C++ code doesn't build with GCC 2.95. > > -- > Tero Koskinen - tkoskine@students.cc.tut.fi > > --__--__-- > > Message: 3 > Date: Wed, 07 Jan 2004 20:01:11 -0800 > From: gtkmm-forge-request@lists.sourceforge.net > Reply-To: gtkmm-forge@lists.sourceforge.net > To: gtkmm-forge@lists.sourceforge.net > Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #592 - 3 msgs > > Send Gtkmm-forge mailing list submissions to > gtkmm-forge@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gtkmm-forge > or, via email, send a message with subject or body 'help' to > gtkmm-forge-request@lists.sourceforge.net > > You can reach the person managing the list at > gtkmm-forge-admin@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gtkmm-forge digest..." > > > gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. > > > Today's Topics: > > 1. [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm (bugzilla-daemon@widget.gnome.org) > 2. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) > 3. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) > > -- __--__-- > > Message: 1 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net > Cc: > Date: Wed, 7 Jan 2004 03:16:47 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=86865 > > Changed by murrayc@usa.net. > > --- shadow/86865 Tue Jan 6 13:02:25 2004 > +++ shadow/86865.tmp.14758 Wed Jan 7 03:16:47 2004 > @@ -10,13 +10,13 @@ > Component: general > AssignedTo: gtkmm-forge@lists.sourceforge.net > ReportedBy: murrayc@usa.net > TargetMilestone: --- > URL: > Summary: Collection of minor GTK+ bugs that affect gtkmm > -BugsThisDependsOn: 52877, 63768, 64601, 72426[FIXED] > +BugsThisDependsOn: 52877[FIXED], 63768, 64601, 72426[FIXED] > > This umbrella bug helps us to know what GTK+ bugs are relevant to gtkmm. > We have probably hacked around these bugs, but we'd still like them to be > fixed properly. > > ------- Additional Comments From murrayc@usa.net 2003-07-18 09:55 ------- > > > -- __--__-- > > Message: 2 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com > Cc: > Date: Wed, 7 Jan 2004 08:03:27 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=129210 > > Changed by murrayc@usa.net. > > --- shadow/129210 Wed Dec 17 11:43:31 2003 > +++ shadow/129210.tmp.6186 Wed Jan 7 08:03:27 2004 > @@ -135,6 +135,11 @@ > Hell, it certainly wasn't obvious to me that any of those files were > generated when I do something like ``vi +100 > gtkmm-2.3.1/gtk/gtkmm/radioaction.h'' > > ------- Additional Comments From murrayc@usa.net 2003-12-17 11:43 ------- > I am happy to apply a patch for this. > + > +------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- > +There is a chance that we will not support gcc 2.96 in future, because > +we might use a newer libsigc++ that can not support it. On the mailing > +list I am asking who needs 2.96 and why? Maybe you could reply to that. > > > -- __--__-- > > Message: 3 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com > Cc: > Date: Wed, 7 Jan 2004 14:45:39 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=129210 > > Changed by dalgoda@ix.netcom.com. > > --- shadow/129210 Wed Jan 7 08:03:27 2004 > +++ shadow/129210.tmp.25974 Wed Jan 7 14:45:38 2004 > @@ -140,6 +140,81 @@ > I am happy to apply a patch for this. > > ------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- > There is a chance that we will not support gcc 2.96 in future, because > we might use a newer libsigc++ that can not support it. On the mailing > list I am asking who needs 2.96 and why? Maybe you could reply to that. > + > +------- Additional Comments From dalgoda@ix.netcom.com 2004-01-07 14:45 ------- > +Hi. > + > +I'm on way too many email lists now as it is (if there was an NNTP > +interface available, I'd use it). So I'll just comment here. I did > +read the threads in the archives however. > + > +First, let me explain that I have been maintaining my own home-grown > +Linux system since 1994. It's Linux from scratch before > +linuxfromscratch existed. I usually keep bleeding edge on most > +things, but lately (last couple of years or so) I have slacked off a > +bit and not followed the 2.5 kernels. Since the Linux kernel, for a > +long time, did not like to build with any gcc-3 [note: I just checked > +2.6.1-rc2, and at least the docs there still recommend 2.95.x, x>=3], > +I stuck with gcc-2. This also forced me to stay with glibc-2.2.5. > +Now, I know that I can run two different versions of gcc, however > +since the same `gcc' cannot handle -V for 2.x and 3.x (-V only works > +withing the same major). I didn't feel there was anything to really be > +gained by upgrading; it wasn't worth the effort of trying to keep gcc2 > +and gcc3 executables. > + > +A few other things pushed this as well. > + > +For instance, gpc only works with gcc2. And I've always wanted to > +play with gpc (in my ohhhh so ample spare time :-). > + > +It turns out that since gcc2 doesn't support C99 by default, I've > +discovered a lot of code that would not build against non-C99 > +compilers being put out by people (stuff in Gnome, stuff on CPAN, > +etc). To paraphrase a well known saying, "All the world is not gcc." > + With the fact that a lot of compilers are not C99 capable yet, my > +bleeding edge updates have helped me submit a LOT of patches to > +various projects. I imagine I could probably configure gcc3 to not do > + C99 by default, but since I've not looked into upgrading, I've not > +bothered doing that research. > + > +I don't do any C++ programming, so the personal need for the better > +C++ support simply isn't there. > + > +Now, those are the reasons why *I* still use 2.95.*. Basically it > +comes down to I'm lazy and it's useful for finding issues in the `C' > +world. But I admit that for C++, it sucks. > + > +Some points to consider though: > + > +Ignore RedHat completely. 2.96 does not exist. Consider 2.95.3 (or > +2.95.4 which is really cvs-tip from the 2_95 branch). Just because RH > +doesn't support the older compiler doesn't mean other people don't. > +You can buy support for older RH from Progeny. Heck, Sun continues to > +build Java against RH6.2 or something like that. A better solution > +would be to look at what Debian supports in their unstable branch (or > +wherever the comparable gtkmm stuff would live). > + > +All the world is not Linux, either. Someone pointed out that one of > +the BSD's is using gcc-2.95.*. What do other current OS's support in > +their C++ environments as far as compatibilty goes? I think that's a > +far better guage. > + > +If going to require the newer libsigc++, then yeah, definitely go > +ahead an use modern C++ features and don't worry about backwards > +compatibility. > + > +However, I would strongly advise against specifically checking against > + version numbers of compilers. That is just too fragile (regressions, > +branching, etc) and only works for g++. Instead, do feature checks > +against whatever C++ compiler is being used. As bug, like this one, > +appear, then add it as a feature check and say "Your compiler does not > +support feature XYZ." > + > +Well, that's a lot of babbling. :-> > + > +I guess it could all be summarized with this: Go ahead and require > +modern C++ features, but try to catch support for them up front with > +autoconf. > > > > -- __--__-- > > _______________________________________________ > Gtkmm-forge mailing list > Gtkmm-forge@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtkmm-forge > > > End of Gtkmm-forge Digest > > --__--__-- > > Message: 4 > Date: Wed, 7 Jan 2004 23:31:30 -0500 (EST) > From: Silviu D Minut > To: > Cc: > Subject: RE: [gtkmm] A Gtkmm Forum > > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > --__--__-- > > Message: 5 > Date: Wed, 07 Jan 2004 21:47:50 -0700 > From: Dean Kutryk > To: gtkmm-list@gnome.org > Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #809 - 2 msgs > > Can't we come out of the closet and get an operational forums. I'll kick > in a few dollars even. > > On Wed, 2004-01-07 at 10:00, gtkmm-list-request@gnome.org wrote: > > Send gtkmm-list mailing list submissions to > > gtkmm-list@gnome.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > or, via email, send a message with subject or body 'help' to > > gtkmm-list-request@gnome.org > > > > You can reach the person managing the list at > > gtkmm-list-admin@gnome.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of gtkmm-list digest..." > > > > > > Today's Topics: > > > > 1. A Gtkmm Forum (Dean Kutryk) > > 2. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > > > > -- __--__-- > > > > Message: 1 > > Date: Wed, 07 Jan 2004 08:57:41 -0700 > > From: Dean Kutryk > > To: gtkmm-list@gnome.org > > Subject: [gtkmm] A Gtkmm Forum > > > > I don't know how to use a mailing list. Do you think that one day Gtkmm > > programmers might have a forum? > > > > > > > > -- __--__-- > > > > Message: 2 > > From: Murray.Cumming@Comneon.com > > To: trollking@shaw.ca, gtkmm-list@gnome.org > > Subject: RE: [gtkmm] A Gtkmm Forum > > Date: Wed, 7 Jan 2004 17:09:47 +0100 > > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > > > > > -- __--__-- > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > > End of gtkmm-list Digest > > > --__--__-- > > Message: 6 > Subject: RE: [gtkmm] A Gtkmm Forum > From: Carl Nygard > To: Silviu D Minut > Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org > Date: Wed, 07 Jan 2004 16:23:23 -0500 > > On Wed, 2004-01-07 at 23:31, Silviu D Minut wrote: > > Could we have a newsgroup? Could we move everybody on this list to the > > newsgroup? I find it much more convenient than the mailing list. > > > > How about a conference call instead? I really enjoy those, especially > hearing all the silly accents;) > > I propose every monday at 4pm (y'all pick the timezone)... oh wait, > that's Oprah. Where's that XML-TV when you need it... > > > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > > > I don't know how to use a mailing list. > > > > > > Clearly you do. Just remember to use Reply To All after this and you've > > > understood everything. > > > > > > > Do you think that one > > > > day Gtkmm programmers might have a forum? > > > > > > Feel free to use this, but there are 550 people here, and not many there: > > > http://gnomesupport.org/forums/ > > > > > > Murray Cumming > > > www.murrayc.com > > > murrayc@usa.net > > > _______________________________________________ > > > gtkmm-list mailing list > > > gtkmm-list@gnome.org > > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > --__--__-- > > Message: 7 > Date: Wed, 7 Jan 2004 23:33:42 -0600 > From: Albert Chin > To: gtkmm-list@gnome.org > Reply-To: gtkmm-list@gnome.org > Subject: [gtkmm] Building gtkmm-2.2.8 with HP C++ compiler > > Do the following errors make sense to anyone? I'm trying to build > gtkmm-2.2.8 with the HP C++ compiler on HP-UX 11.00 and 11i. > > aCC -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include -I/opt/TWWfsw/libsigc++12/lib/include -I/opt/TWWfsw/libsigc++12/include -D_REENTRANT -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include +O2 -AA -z +Onofltacc +ESlit +DAportable +Oentrysched +Odataprefetch +Onolimit -c convert.cc +Z -DPIC -o .libs/convert.o > Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 221: "../../glib/glibmm/ustring.h", line 705 # Member 'SequenceToString' > not declared in struct SequenceToString<#1,char> > ["../../glib/glibmm/ustring.h", line 547]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend) > ^^^^^^^^^^^^^^^^ > Warning (anachronism) 600: "../../glib/glibmm/ustring.h", line 705 # Type > specifier is omitted; "int" is no longer assumed. > ustring::SequenceToString::SequenceToString(In pbegin, In pend) > ^^^^^^^^^^^^^^^^ > Error 188: "../../glib/glibmm/ustring.h", line 707 # Member and base class > initializers may only be used in constructors. > std::string(pbegin, pend) > ^^^^^^^^^^^^ > Error 221: "../../glib/glibmm/ustring.h", line 711 # Member 'SequenceToString' > not declared in struct SequenceToString<#1,unsigned int> > ["../../glib/glibmm/ustring.h", line 553]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > Error 174: "../../glib/glibmm/ustring.h", line 711 # Function redefinition; > previously defined as "int Glib::SequenceToString(#1,#1)" at > ["../../glib/glibmm/ustring.h", line 705]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > Error 445: "../../glib/glibmm/ustring.h", line 711 # Cannot recover from > earlier errors. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > gmake[5]: *** [convert.lo] Error 1 > gmake[5]: Leaving directory `/opt/build/gtkmm-2.2.8/glib/glibmm' From lx.develop@ntlworld.com Thu Jan 8 07:05:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by mail.gnome.org (Postfix) with ESMTP id 5345A18150 for ; Thu, 8 Jan 2004 07:05:24 -0500 (EST) Received: from ntlworld.com ([81.97.90.183]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040108120512.FTRL9852.mta03-svc.ntlworld.com@ntlworld.com> for ; Thu, 8 Jan 2004 12:05:12 +0000 Message-ID: <3FFD4879.93C43CDB@ntlworld.com> Date: Thu, 08 Jan 2004 12:09:29 +0000 From: "Darren W." X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.19-16mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [gtkmm] walking trees Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I writing an app that needs to search a tree, so decided to walk a tree using foreach method. Since TreeView inherits from TreeModel i assumed I wouldn't have to cast my TreeView object to a TreeModel object. Gtk::TreeModel* foo; foo = (Gtk::TreeModel*) this; foo->foreach(SigC::slot(&myfunc)); however if I don't, it uses the foreach method which is inherited from Container. Firstly am I right trying to search the tree this way, and secondary, am I would have thought it didn't make sense to override the foreach method this way? thanks, From Murray.Cumming@Comneon.com Thu Jan 8 07:10:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 66D8B18150 for ; Thu, 8 Jan 2004 07:10:50 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i08C6pDb021887; Thu, 8 Jan 2004 13:06:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 13:11:06 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22620@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lx.develop@ntlworld.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] walking trees Date: Thu, 8 Jan 2004 13:10:41 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I writing an app that needs to search a tree, so decided to > walk a tree using foreach method. Since TreeView inherits > from TreeModel No, it does not. Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Thu Jan 8 07:14:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 0C18618150 for ; Thu, 8 Jan 2004 07:14:53 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 08A5D278; Thu, 8 Jan 2004 12:11:11 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 371C6274 for ; Thu, 8 Jan 2004 12:11:10 +0000 (GMT) Message-ID: <3FFD49B6.1030307@anvil.co.uk> Date: Thu, 08 Jan 2004 12:14:46 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: > >OK, so use Gtk::TreeView::get_selection() and then >Gtk::TreeSelection::get_selected_rows() as I described in a similar thread >today. > > marvellous. i've got something that works, though i strongly suspect it's not the cleanest way to do it: Glib::RefPtr sel = mw_tree_view.get_selection(); list listPaths = sel->get_selected_rows(); list::iterator it; for (it=listPaths.begin(); it != listPaths.end(); ++it) { Gtk::TreeModel::Path path = *it; Gtk::TreeModel::iterator qwe = m_refTreeModel->get_iter(path); Gtk::TreeModel::Row row = *qwe; string dir = row[mc_columns.m_path_name]; } bevis From Murray.Cumming@Comneon.com Thu Jan 8 07:27:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8D00F18910 for ; Thu, 8 Jan 2004 07:27:05 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i08CN5Db027552; Thu, 8 Jan 2004 13:23:05 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 13:27:21 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: trollking@shaw.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] A burning question about X Windows Date: Thu, 8 Jan 2004 13:26:59 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I realize that Gtkmm is a wrapper of the software library > GTK+, however is it wrong for a C++ programmer to perhaps > want to design some custom widgets or enhancements that he > uses along with the the Gtkmm library. You can of course create custom widgets with gtkmm, without using an X calls. If you need to do any special drawing or even handling then you can use gdkmm (GDK), though it is rare that you need to. GDK wraps X in a cross-platform way, so if you use gtkmm and gdkmm instead of X calls, then your widget will work on Windows and the linux framebuffer as well as X. > I was wondering why > there are so few tutorials on XFree86. How on earth can > people ignore all information and knowledge about such a core > infrastructure, and yet the Linux kernel gets so much attention. Because almost nobody needs to know about X, because we have GTK+ and gtkmm and Qt? Murray Cumming www.murrayc.com murrayc@usa.net From matthew@alledora.co.uk Thu Jan 8 07:39:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 3162B1810F for ; Thu, 8 Jan 2004 07:39:10 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AeZPH-000394-9r for gtkmm-list@gnome.org; Thu, 08 Jan 2004 12:36:59 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AeZPG-00038q-92; Thu, 08 Jan 2004 12:36:58 +0000 Message-ID: <3FFD4FA2.60508@alledora.co.uk> Date: Thu, 08 Jan 2004 12:40:02 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Silviu D Minut Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] A Gtkmm Forum References: In-Reply-To: X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Silviu D Minut wrote: > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. What about the people who like mailing lists and don't like newsgroups? (that's me, by the way) I suppose a mail-news gateway of some sort is a technical possibility. From trollking@shaw.ca Thu Jan 8 09:03:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id EA1901811A for ; Thu, 8 Jan 2004 09:03:14 -0500 (EST) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-ser.prod.shaw.ca [10.0.141.177]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600F1KCDE2B@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca (pn2ml3so-qfe0.prod.shaw.ca [10.0.121.147]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600LXFCDEO2@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600KHTCDE8H@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Date: Thu, 08 Jan 2004 07:03:13 -0700 From: Dean Kutryk Subject: RE: [gtkmm] A burning question about X Windows In-reply-to: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Message-id: <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: All this stuff is very nice. I am using Linux. I had to set a couple environment variables in $HOME/.bashrc to get Gtkmm running: PKG_CONFIG_PATH=/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig LD_LIBRARY_PATH=/usr/lib/:/usr/local/lib/ I think this information should be somewhere on the website. I'm disappointed that all the books on XFree86 are out of print and a decade old, but at least there are libraries like GDK (long live the guys who maintain them). I suppose that a Forum costs money and most people are flat broke losers. Well if someone independently started a Linux programming forum that concentrated on Standard C++ and Gtkmm, as well as pumping out a few books on the subject, maybe there wouldn't be a massive revolt here, over something like that. On Thu, 2004-01-08 at 05:26, Murray.Cumming@Comneon.com wrote: > > I realize that Gtkmm is a wrapper of the software library > > GTK+, however is it wrong for a C++ programmer to perhaps > > want to design some custom widgets or enhancements that he > > uses along with the the Gtkmm library. > > You can of course create custom widgets with gtkmm, without using an X > calls. If you need to do any special drawing or even handling then you can > use gdkmm (GDK), though it is rare that you need to. GDK wraps X in a > cross-platform way, so if you use gtkmm and gdkmm instead of X calls, then > your widget will work on Windows and the linux framebuffer as well as X. > > > I was wondering why > > there are so few tutorials on XFree86. How on earth can > > people ignore all information and knowledge about such a core > > infrastructure, and yet the Linux kernel gets so much attention. > > Because almost nobody needs to know about X, because we have GTK+ and gtkmm > and Qt? > > Murray Cumming > www.murrayc.com > murrayc@usa.net From abt@gmx.de Thu Jan 8 09:31:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 0897818A15 for ; Thu, 8 Jan 2004 09:31:37 -0500 (EST) Received: (qmail 19841 invoked by uid 65534); 8 Jan 2004 14:31:33 -0000 Received: from pD9E94CA9.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.169) by mail.gmx.net (mp026) with SMTP; 08 Jan 2004 15:31:33 +0100 X-Authenticated: #109577 Message-ID: <3FFD69C6.6060802@gmx.de> Date: Thu, 08 Jan 2004 15:31:34 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Bevis Peters Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <3FFC018E.5080606@anvil.co.uk> In-Reply-To: <3FFC018E.5080606@anvil.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Same here. I can´t figure out how to iterate trough a tree like this starting at the selected row (including parents!) to select the following line. child12->child13->parent2->child21->child22 o parent1 ---+ | + child11 + child12 << this is selected + child13 | o parent2 ---+ | + child21 + child22 > I have a Gtk::TreeView with a Gtk::TreeStore, basically following the > tree view example from the gtkmm pages. My Gtk::TreeModel::ColumnRecord > contains two strings (one hidden). I can multi select entries on the tree. > > Now I want to iterate through all the entries selected in my tree when a > button is pressed, ie something like: From bee@pickle.me.uk Thu Jan 8 09:51:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mail.gnome.org (Postfix) with ESMTP id 93227188FB for ; Thu, 8 Jan 2004 09:51:01 -0500 (EST) X-Sasl-enc: pOHMsA+VjJfjVM3icKvU1g 1073573460 Received: from purple (cpc5-cmbg2-3-0-cust234.cmbg.cable.ntl.com [81.105.236.234]) by mail.messagingengine.com (Postfix) with ESMTP id C687F49F9C9 for ; Thu, 8 Jan 2004 09:50:59 -0500 (EST) Received: from barnaby by purple with local (Exim 3.36 #1 (Debian)) id 1AebUf-00028i-00 for ; Thu, 08 Jan 2004 14:50:41 +0000 Date: Thu, 8 Jan 2004 14:50:41 +0000 From: Barnaby Gray To: gtkmm-list@gnome.org Subject: Re: [gtkmm] A burning question about X Windows Message-ID: <20040108145041.GA4260@purple> Mail-Followup-To: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> User-Agent: Mutt/1.5.4i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Thu, Jan 08, 2004 at 07:03:13AM -0700, Dean Kutryk wrote: > I suppose that a Forum costs money and most people are flat broke > losers. I think everybody that obsesses about forums is a flat broke loser. But that's just my matter of opinion. ;-) Barnaby From abt@gmx.de Thu Jan 8 10:07:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7271018A86 for ; Thu, 8 Jan 2004 10:07:48 -0500 (EST) Received: (qmail 6773 invoked by uid 65534); 8 Jan 2004 15:07:46 -0000 Received: from pD9E94CA9.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.169) by mail.gmx.net (mp027) with SMTP; 08 Jan 2004 16:07:46 +0100 X-Authenticated: #109577 Message-ID: <3FFD7243.3010206@gmx.de> Date: Thu, 08 Jan 2004 16:07:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: Bevis Peters , gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> In-Reply-To: <3FFD69C6.6060802@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: To be more precise: The problem is, I cannot see the selection. The row is not highlighted: Does a list view has children? void ConstraintTable::onNextClicked() { cout << "START ConstraintTable::onNextClicked()" << endl; typedef Gtk::TreeModel::Children type_children; type_children children = m_list_store_ref->children(); for(type_children::iterator iter = children.begin(); iter != children.end(); ++iter) { // is this my next row? Gtk::TreeModel::Row row = *iter; if(row) m_tree_sel_ref->select(row); } cout << "END ConstraintTable::onNextClicked()" << endl; } > Same here. I can´t figure out how to iterate trough a tree like this > starting > at the selected row (including parents!) to select the following line. From arvind@acarlab.com Thu Jan 8 10:34:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.97.9]) by mail.gnome.org (Postfix) with SMTP id D9D0D1860C for ; Thu, 8 Jan 2004 10:34:46 -0500 (EST) Received: (qmail 760 invoked by uid 1000); 8 Jan 2004 04:01:17 -0000 Date: Thu, 8 Jan 2004 09:31:16 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling Message-ID: <20040108040116.GA737@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, On Tue, 6 Jan 2004, Gene Ruebsamen wrote: > >is there a way to connect the signal handler > > B::something_in_B_selected() to A::update_values_in_A()? > > class A : public Gtk::VBox > > class B : public Gtk::VBox > Here's an example (someone can step in and tell me if this is the > preferred way of doing things): > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox > // Example given here > The key is to pass a MainWindow pointer to the MainMenu constructor. > You can then use this pointer to MainWindow to connect your signals > to any signal handler in MainWindow. I've declared MainMenu to be > a friend of MainWindow in order to allow access to the protected > signal handlers. > If anyone has a better way of doing this, please speak up. =) I CAN'T MAKE THE LETTERS ANY BIGGER; but ... If the goal is just to get your program working, this is as good a way as any - but it defeats the whole purpose of classes. One way would be - Provide class A with a register() interface function so that if an event in B occurs, it is left to A to decide upon the necessary action - maybe postpone it! The main thing is to act through interfaces so that instances don't become classes! e.g. class A { typedef enum { E1, E2, E3 } ACTION; class_B b; void register( ACTION now ) { if( can_do_it( now ) ) do_it(); } } Another way would be - Since in the example given it appears that the MainWindow and the MainMenu are essentially in existence together or not at all; one could derive MainGate e.g. class MainGate : public Gtk::Window, public Gtk::Menu { // class definition }; and do the signal connection in MainGate c'tor or func. where the data of both parent classes are accessible. Hope this is useful. - arvind r. From paul@linuxaudiosystems.com Thu Jan 8 11:42:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out011.verizon.net (out011pub.verizon.net [206.46.170.135]) by mail.gnome.org (Postfix) with ESMTP id 9FE7718256 for ; Thu, 8 Jan 2004 11:42:19 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out011.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040108164219.GTDP26708.out011.verizon.net@dhin.linuxaudiosystems.com>; Thu, 8 Jan 2004 10:42:19 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i08GgHZ8003984; Thu, 8 Jan 2004 11:42:18 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i08GgHeB003980; Thu, 8 Jan 2004 11:42:17 -0500 Message-Id: <200401081642.i08GgHeB003980@dhin.linuxaudiosystems.com> To: Dean Kutryk Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org Subject: Re: [gtkmm] A burning question about X Windows In-reply-to: Your message of "Thu, 08 Jan 2004 07:03:13 MST." <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> Date: Thu, 08 Jan 2004 11:42:16 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out011.verizon.net from [141.151.15.227] at Thu, 8 Jan 2004 10:42:18 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'm disappointed that all the books on XFree86 are out of print and a >decade old, but at least there are libraries like GDK (long live the you can still get them quite easily second hand. and to be honest, they *are* useful if you want to understand what is going on under the hood. but with pango (i.e. client side rendering) for text and cairo on the horizon, pretty soon most Xlib stuff is going to become fairly irrelevant even when running GTK on X. >I suppose that a Forum costs money and most people are flat broke >losers. Well if someone independently started a Linux programming forum channels on irc.freenode.net are free. they work well. however, i suspect that few of us have time to hang on in such a place. mailing lists work well for toolkits and libraries, because they are asynchronous. From palm@nogui.se Thu Jan 8 12:55:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id B802218560 for ; Thu, 8 Jan 2004 12:55:49 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i08Hr0T5093424; Thu, 8 Jan 2004 18:53:00 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <3FFDA7CE.6050406@nogui.se> Date: Thu, 08 Jan 2004 19:56:14 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dean Kutryk Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Re: gtkmm-list digest, Vol 1 #811 - 13 msgs References: <20040108091104.10624.55859.Mailman@moniker.gnome.org> <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> In-Reply-To: <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi Dean! That is just because you selected to receive the messages as a daily digest when you subscribed to the mailing list. Uncheck that in the list administration webpage and you will receive each message as an individual mail. I would then suggest that you configure your mail client to organize the mails in a threaded fashion in a separate mailbox. Btw, this is a "mailing list", not a newsgroup. Dean Kutryk wrote: > This 'newsgroup thing' looks like a massive batch of ideas all piled on > top of each other. Talk about a barrier to technology, I see that > technology only complicates old practices. I think it would be better to > literally get out a pencil and a piece of paper and do this whole thing > using the postal service. > From abt@gmx.de Fri Jan 9 03:38:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id CD273185C4 for ; Fri, 9 Jan 2004 03:38:53 -0500 (EST) Received: (qmail 13221 invoked by uid 65534); 9 Jan 2004 08:38:50 -0000 Received: from pD9E9434D.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.67.77) by mail.gmx.net (mp004) with SMTP; 09 Jan 2004 09:38:50 +0100 X-Authenticated: #109577 Message-ID: <3FFE689B.3020805@gmx.de> Date: Fri, 09 Jan 2004 09:38:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: gtkmm-list@gnome.org References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> In-Reply-To: <3FFD7243.3010206@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] How to make a selected row in a tree view highlighted Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I select a row with: m_tree_sel_ref->select(row); Can somebody throw light on this? The row is selected ( I can get the value ) but the selected row is not highlighted in the GUI. TIA, Andi From Murray.Cumming@Comneon.com Fri Jan 9 08:29:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C4F9F184F9 for ; Fri, 9 Jan 2004 08:29:31 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DPWDb020703 for ; Fri, 9 Jan 2004 14:25:32 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:29:49 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Fri, 9 Jan 2004 14:29:29 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] API documentation: aiming for 100% Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I added quite a lot of API documentation to the TreeView and TextView classes and associated classes, in gtkmm 2.4. For instance: http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/group__TreeView.html I think that 100% API documentation should be possible, and it's an easy way to help. Undocumented class methods are probably undocumented because - They are hand-coded because they use a different parameter order compared to the underlying C function. In this case you should look at the C docs and modify it accordingly. Look at the generated html of the C docs because not everything is in the .c files: http://www.gtk.org/api/ - They are _MEMBER_GET() or _MEMBER_SET() accessors for struct fields. These needs little "Get the something" descriptions if there is nothing else to say. All classes should also have documentation for the class itself. Again, you can usually rephrase the C documentation for these. If you run "make doxygen-warnings" in gtkmm/docs/reference/, it will generate a text file with warnings about undocumented methods and classes. I'm not sure how complete that will be, but it's a start. I think we can reach 100%. That would be good. Murray Cumming www.murrayc.com murrayc@usa.net From gcgg-gtkmm-list@m.gmane.org Fri Jan 9 08:30:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 34EF0185BB for ; Fri, 9 Jan 2004 08:30:32 -0500 (EST) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AewiY-0000Yu-00 for ; Fri, 09 Jan 2004 14:30:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AewX2-0000Oz-00 for ; Fri, 09 Jan 2004 14:18:32 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AewX2-00025F-00 for ; Fri, 09 Jan 2004 14:18:32 +0100 From: Mike Hearn Date: Fri, 09 Jan 2004 13:21:45 +0000 Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] PropertyProxies vs get/set? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I have a feeling this might be an FAQ, but hey, it's not actually in the FAQ so it must be OK to ask, right? :) I'd like to know why GTKmm apparently relegates PropertyProxies to a minor implementation detail, and favours accessor methods instead. Coming from a Delphi background, it seems natural to me to write code like this: tree.reorderable = true; rather than tree.set_reorderable(true); I wouldn't really mind get/setters if the propertyproxies were actually named after the properties and documented, but it seems that instead all the documentation is attached to the accessors instead and propertyproxies need a slightly ugly property_ prefix. I'm curious as to the reasoning behind this. I can understand having accessors for those who prefer them - matter of taste - but it seems these are the official GTKmm way and the ability to treat properties syntax-wise as variables isn't used. Why not? thanks -mike From christof@petig-baender.de Fri Jan 9 08:43:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id B9039181A4 for ; Fri, 9 Jan 2004 08:43:18 -0500 (EST) Received: (qmail 27828 invoked by uid 4225); 9 Jan 2004 13:43:17 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 09 Jan 2004 13:43:17 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aewux-0003UJ-00; Fri, 09 Jan 2004 14:43:15 +0100 Message-ID: <3FFEAFEB.1040703@petig-baender.de> Date: Fri, 09 Jan 2004 14:43:07 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list , gtk-devel-list@gnome.org References: <258B0164D480D5118D900800062B385801C226C4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C4@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: signals versus vfuncs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I see that Christof understands gtkmm internals very well. I'll be sending > relevant patch requests to him in future. I had to learn it the hard way to implement (and debug) a custom tree model :-/ . [An easy example with 3.5G virtual rows is at http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/manuproc/Komponenten/examples/owntreemodel.cc?rev=HEAD&content-type=text/plain ] Christof ----- more of interest to gtkmm-list ------- Do you still feel that a custom tree model is unnecessary? My feeling is that for _massive_ amounts of lines the C++ wrapper imposes too much overhead (vfunc indirection, iterator conversion etc. sum up once the [] operator on a Gtk::Tree::Row is used many times to access the columns). My std::map based model easily handles sorted insertion/reorganization of 100k rows into a tree without significant slowdown. PS: It seems that because of the Gtk::TreeModel::add_interface(get_type()); call during type creation I cannot use the Glib provided custom type infrastructure. [Try to leave it out ...] Perhaps it's worth fixing the need for it (IMHO deriving from Gtk::TreeModel should do the trick as well). But to judge or fix that I understand too few of the gtkmm type internals (still learning) and their proposed API. From Murray.Cumming@Comneon.com Fri Jan 9 08:46:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8CA73185E5 for ; Fri, 9 Jan 2004 08:46:44 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DgiDb016092; Fri, 9 Jan 2004 14:42:44 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:47:01 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: mike@theoretic.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] PropertyProxies vs get/set? Date: Fri, 9 Jan 2004 14:46:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm curious as to the reasoning behind this. I can understand > having accessors for those who prefer them - matter of taste > - but it seems these are the official GTKmm way and the > ability to treat properties syntax-wise as variables isn't > used. Why not? I would remove the property proxies, but they have one extra feature - they have a signal so you can monitor changes. Maybe sometime in the future we will think of a simpler type-safe way to offer this notification signal. The get and set methods can be thought of as convenience syntax (as they are in GTK+), but I do think that it is convenient, because the average C++ developer is very familiar with them. button.property_something() == 2; is strange and unusual to a lot of people, even if it's obvious to us. Feel free to document them - our tools/extra_defs_gen programs should be able to extract the properties documentation for reuse by gmmproc. That should not be difficult to implement. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Fri Jan 9 08:54:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ABD8B1818B; Fri, 9 Jan 2004 08:54:27 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DoRDb020358; Fri, 9 Jan 2004 14:50:27 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:54:44 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: christof@petig-baender.de Cc: gtkmm-list@gnome.org, gtk-devel-list@gnome.org Date: Fri, 9 Jan 2004 14:54:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Christof wrote: > Do you still feel that a custom tree model is unnecessary? My feeling is > that for _massive_ amounts of lines the C++ wrapper imposes too much > overhead (vfunc indirection, iterator conversion etc. sum up once the [] > operator on a Gtk::Tree::Row is used many times to access the columns). > > My std::map based model easily handles sorted insertion/reorganization > of 100k rows into a tree without significant slowdown. I would like to see some proof that it's faster in GTK+ when using normal TreeStores or ListStores. Such proof should be in bugzilla as a gtkmm performance bug. > PS: It seems that because of the > Gtk::TreeModel::add_interface(get_type()); call during type creation I > cannot use the Glib provided custom type infrastructure. I'm not sure what you want to do instead, or can't do. What "Glib provided custom type infrastructure" do you mean? API docs URLS are nicest. > [Try to leave > it out ...] Perhaps it's worth fixing the need for it (IMHO deriving > from Gtk::TreeModel should do the trick as well). But to judge or fix > that I understand too few of the gtkmm type internals (still learning) > and their proposed API. The problem, I think, is that the Gtype must come from the derived type, but you want that type to be registered in the base C++ class, whose constructor runs before the derived part of the class exists. I don't think the add_interface() call is too bad for something that is very rarely done. Murray Cumming www.murrayc.com murrayc@usa.net From christof@petig-baender.de Fri Jan 9 08:56:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id AF61C1872B for ; Fri, 9 Jan 2004 08:56:45 -0500 (EST) Received: (qmail 23017 invoked by uid 4225); 9 Jan 2004 13:56:44 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 13:56:44 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aex7y-0003WH-00; Fri, 09 Jan 2004 14:56:42 +0100 Message-ID: <3FFEB313.1010601@petig-baender.de> Date: Fri, 09 Jan 2004 14:56:35 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Go for it, even the 'official' _woody_backport_ of gtkmm2 already uses gcc 3.0. [Woody is what I would call a dinosaur system for gtk2] And 2.9x was never an option for me ever since I encountered the dynamic_cast bug (see SIGSEGV with glademm, gtk2 and gcc 2.95) about one year ago. Christof From mike@theoretic.com Fri Jan 9 09:04:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mail.gnome.org (Postfix) with ESMTP id 633AA18469 for ; Fri, 9 Jan 2004 09:04:02 -0500 (EST) Received: from [192.168.0.4] ([81.97.76.53]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040109140402.ROMH1005.mta06-svc.ntlworld.com@[192.168.0.4]>; Fri, 9 Jan 2004 14:04:02 +0000 Subject: RE: [gtkmm] PropertyProxies vs get/set? From: Mike Hearn To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1073657235.3120.5.camel@linux.littlegreen> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 09 Jan 2004 14:07:15 +0000 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 2004-01-09 at 13:46, Murray.Cumming@Comneon.com wrote: > button.property_something() == 2; > is strange and unusual to a lot of people, even if it's obvious to us. Really? It seems the most intuitive syntax to me, I hadn't realise some people found it wierd. I also hadn't realised these were functions. Why not simply have them as member variables that hold the proxies, so you can do "button.something = 2"? > Feel free to document them - our tools/extra_defs_gen programs should be > able to extract the properties documentation for reuse by gmmproc. That > should not be difficult to implement. Heh, well I noticed that often the GTKmm docs for properties in the get/set methods are often better than the plain GTK+ ones.... thanks -mike From Nick.Huxley@barclayscapital.com Fri Jan 9 09:14:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id 598C8187AC; Fri, 9 Jan 2004 09:14:41 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i09ECuof003751; Fri, 9 Jan 2004 09:12:56 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i09ECn67003690; Fri, 9 Jan 2004 09:12:49 -0500 (EST) Received: from NYKPSMEH001.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Fri, 9 Jan 2004 09:14:32 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by NYKPSMEH001.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Fri, 9 Jan 2004 09:14:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Date: Fri, 9 Jan 2004 09:14:31 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Thread-Index: AcPWuTQ4Z1Av0BT6RXSsty3Z3Ac7gwAARp5Q From: "Huxley, Nick: IT (NYK)" To: "Christof Petig" , Cc: , X-OriginalArrivalTime: 09 Jan 2004 14:14:32.0175 (UTC) FILETIME=[E6D907F0:01C3D6BA] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: http://gcc.gnu.org/releases.html Says it all really. 2.9 is 5 years old and sucks for C++. It's not that hard to install two gcc's on one machine for all those *BSD users who want to build gtkmm. At the end of the day gtkmm uses templates and you need a compiler that supports them properly. gcc 3.2 is over 18 months old and it's free. If people are developing they should know enough to install a compiler and all modern Linuces come with at leat gcc 3.2. Do we now the oldest version of gcc 3.x that will compile libsigc++? Nick -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Christof Petig Sent: Friday, January 09, 2004 8:57 AM To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org; libsigc-list@gnome.org Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Murray.Cumming@Comneon.com schrieb: > I'll ask this again, using the correct version number: >=20 > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we=20 > Libsigc++ use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Go for it, even the 'official' _woody_backport_ of gtkmm2 already uses=20 gcc 3.0. [Woody is what I would call a dinosaur system for gtk2] And=20 2.9x was never an option for me ever since I encountered the=20 dynamic_cast bug (see SIGSEGV with glademm, gtk2 and gcc 2.95) about one year ago. Christof _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ From christof@petig-baender.de Fri Jan 9 09:41:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 501A9185D8 for ; Fri, 9 Jan 2004 09:41:47 -0500 (EST) Received: (qmail 21264 invoked by uid 4225); 9 Jan 2004 14:41:45 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 14:41:45 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AexpX-0003c7-00; Fri, 09 Jan 2004 15:41:43 +0100 Message-ID: <3FFEBDA0.4020305@petig-baender.de> Date: Fri, 09 Jan 2004 15:41:36 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > Christof wrote: > >>Do you still feel that a custom tree model is unnecessary? My feeling is >>that for _massive_ amounts of lines the C++ wrapper imposes too much >>overhead (vfunc indirection, iterator conversion etc. sum up once the [] >>operator on a Gtk::Tree::Row is used many times to access the columns). >> >>My std::map based model easily handles sorted insertion/reorganization >>of 100k rows into a tree without significant slowdown. > > > I would like to see some proof that it's faster in GTK+ when using normal > TreeStores or ListStores. Such proof should be in bugzilla as a gtkmm > performance bug. I really have no intention to port a three additional library involving, heavily STL using _example_ program to C (custom smart pointers, custom GValue like with user defined sort order etc.). And to be honest, I really gave up to further research this issue once you told me so, back then. The implementation was using STL's lower_bound on Gtk::TreeStore and performed poorly, now with minimal changes and std::map it flies. Perhaps I might code an trivial example in C++ with Gtk::TreeModel vs. GtkTreeModel. If you _really_ want to analyze this. And if I ever find the time for it. Feel free to ask/confirm. >>PS: It seems that because of the >>Gtk::TreeModel::add_interface(get_type()); call during type creation I >>cannot use the Glib provided custom type infrastructure. > > > I'm not sure what you want to do instead, or can't do. What "Glib provided > custom type infrastructure" do you mean? API docs URLS are nicest. I did not find any API docs when I researched implementing Gtk::Interfaces. While I really like the easy Glib::ObjectBase(typeid(...)) way of getting a GType (e.g. custom cellrenderer), I have to use Glib::ObjectBase("MyTreeModel"), Glib::Object(Glib::ConstructParams(myclass.init(), (char*) 0)), create a custom Class struct: class MyTreeModel_Class : public Glib::Class {public: const Glib::Class& init(); static void class_init_function(void* g_class, void* class_data); }; a custom GTypeInfo and call g_type_register_static and Gtk::TreeModel::add_interface. IMHO it should be possible to just derive from some class (e.g. Gtk::CustomTreeModelBase) and override the vfuncs. Perhaps the key to this overhead is the fact that a TreeModel is not a GObject and there's no way to specify additional things to be done at GType registration "TreeModel::add_interface" (is there?). > The problem, I think, is that the Gtype must come from the derived type, but > you want that type to be registered in the base C++ class, whose constructor > runs before the derived part of the class exists. I don't think the > add_interface() call is too bad for something that is very rarely done. add_interface is ok with me. It's the bulk of lines needed to get a minimal custom TreeModel that bothers me. Christof From christof@petig-baender.de Fri Jan 9 09:48:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id 068A018567 for ; Fri, 9 Jan 2004 09:48:08 -0500 (EST) Received: (qmail 9107 invoked by uid 4225); 9 Jan 2004 14:48:06 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 09 Jan 2004 14:48:06 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aexvg-0003cy-00; Fri, 09 Jan 2004 15:48:04 +0100 Message-ID: <3FFEBF1D.5020403@petig-baender.de> Date: Fri, 09 Jan 2004 15:47:57 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: "Huxley, Nick: IT (NYK)" Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? References: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> In-Reply-To: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Huxley, Nick: IT (NYK) schrieb: > http://gcc.gnu.org/releases.html > > Says it all really. 2.9 is 5 years old and sucks for C++. It's not that > hard to install two gcc's on one machine for all those *BSD users who > want to build gtkmm. At the end of the day gtkmm uses templates and you > need a compiler that supports them properly. > > gcc 3.2 is over 18 months old and it's free. If people are developing > they should know enough to install a compiler and all modern Linuces > come with at leat gcc 3.2. Using binary incompatible compilers on one machine is a major pain. You have to make sure that each and every C++ library you want to use is compiled with the same compiler. So abandoning the compiler used to compile nearly any other library present on the system is not an easy choice. I simply wanted to say that nowadays g++-3.x-only systems are commonplace. Drop support for 2.9x, but don't tell people that switching to a binary incompatible compiler is a piece of cake. Christof From Murray.Cumming@Comneon.com Fri Jan 9 10:48:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 3BC4B18AFE for ; Fri, 9 Jan 2004 10:48:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09FiKDb016099; Fri, 9 Jan 2004 16:44:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 16:48:37 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: christof@petig-baender.de Cc: gtkmm-list@gnome.org Date: Fri, 9 Jan 2004 16:48:18 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > >>Do you still feel that a custom tree model is unnecessary? > My feeling > >>is > >>that for _massive_ amounts of lines the C++ wrapper imposes > too much > >>overhead (vfunc indirection, iterator conversion etc. sum > up once the [] > >>operator on a Gtk::Tree::Row is used many times to access > the columns). > >> > >>My std::map based model easily handles sorted > insertion/reorganization > >>of 100k rows into a tree without significant slowdown. > > > > > > I would like to see some proof that it's faster in GTK+ when using > > normal TreeStores or ListStores. Such proof should be in > bugzilla as a > > gtkmm performance bug. > > I really have no intention to port a three additional library > involving, > heavily STL using _example_ program to C (custom smart > pointers, custom > GValue like with user defined sort order etc.). I don't think a simple test case should be too difficult. But even if you don't put a test case in bugzilla, please report your suspicion to bugzilla and maybe someone else will test the theory with test cases. > And to be honest, I really gave up to further research this > issue once > you told me so, back then. The implementation was using STL's > lower_bound on Gtk::TreeStore and performed poorly, now with minimal > changes and std::map it flies. > > Perhaps I might code an trivial example in C++ with > Gtk::TreeModel vs. > GtkTreeModel. If you _really_ want to analyze this. I do. gtkmm should not require you to write a custom tree model to get better performance, unless GTK+ also requires it. And I won't try to solve such a problem until I know that such a problem exists. > And if I > ever find > the time for it. Feel free to ask/confirm. > > >>PS: It seems that because of the > >>Gtk::TreeModel::add_interface(get_type()); call during type > creation I > >>cannot use the Glib provided custom type infrastructure. > > > > > > I'm not sure what you want to do instead, or can't do. What "Glib > > provided custom type infrastructure" do you mean? API docs URLS are > > nicest. > > I did not find any API docs when I researched implementing > Gtk::Interfaces. > > While I really like the easy Glib::ObjectBase(typeid(...)) way of > getting a GType (e.g. custom cellrenderer), I have to use > Glib::ObjectBase("MyTreeModel"), > Glib::Object(Glib::ConstructParams(myclass.init(), (char*) > 0)), create a > custom Class struct: > > class MyTreeModel_Class : public Glib::Class > {public: > const Glib::Class& init(); > static void class_init_function(void* g_class, void* > class_data); }; > > a custom GTypeInfo > and call g_type_register_static and > Gtk::TreeModel::add_interface. IMHO > it should be possible to just derive from some class (e.g. > Gtk::CustomTreeModelBase) and override the vfuncs. OK, that's horrible. You should never have to create the GCLass yourself, or write those C callbacks. And I don't think we do that in our custom cellrenderer example. Please add your example code here: http://bugzilla.gnome.org/show_bug.cgi?id=124297 and I will try to get around to it later. > Perhaps the key to this overhead is the fact that a TreeModel > is not a > GObject and there's no way to specify additional things to be done at > GType registration "TreeModel::add_interface" (is there?). Yes, that might be relevant - Gtk::CellRenderer is a Gtk::Object already, but Gtk::TreeModel is just a Glib::Interface. > > The problem, I think, is that the Gtype must come from the derived > > type, but you want that type to be registered in the base > C++ class, > > whose constructor runs before the derived part of the class > exists. I > > don't think the > > add_interface() call is too bad for something that is very > rarely done. > > add_interface is ok with me. It's the bulk of lines needed to get a > minimal custom TreeModel that bothers me. Yes, that's surprising and horrible. I'll try to investigate before our 2.4 API freeze. However, as I said above, I don't think this should be necessary for performance. Murray Cumming www.murrayc.com murrayc@usa.net From christof@petig-baender.de Fri Jan 9 11:51:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 8913B18770 for ; Fri, 9 Jan 2004 11:51:10 -0500 (EST) Received: (qmail 14505 invoked by uid 4225); 9 Jan 2004 16:51:08 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 16:51:08 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aezqk-0003sW-00; Fri, 09 Jan 2004 17:51:06 +0100 Message-ID: <3FFEDBF2.9010704@petig-baender.de> Date: Fri, 09 Jan 2004 17:50:58 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I don't think a simple test case should be too difficult. But even if > you don't put a test case in bugzilla, please report your suspicion > to bugzilla and maybe someone else will test the theory with test > cases. http://bugzilla.gnome.org/show_bug.cgi?id=131019 >> Perhaps I might code an trivial example in C++ with Gtk::TreeModel >> vs. GtkTreeModel. If you _really_ want to analyze this. > > I do. gtkmm should not require you to write a custom tree model to > get better performance, unless GTK+ also requires it. And I won't try > to solve such a problem until I know that such a problem exists. > I'll give it a go. > OK, that's horrible. You should never have to create the GCLass > yourself, or write those C callbacks. And I don't think we do that in > our custom cellrenderer example. Please add your example code here: > http://bugzilla.gnome.org/show_bug.cgi?id=124297 and I will try to > get around to it later. done Christof From ghenriks@rogers.com Fri Jan 9 11:58:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by mail.gnome.org (Postfix) with ESMTP id 919581875D; Fri, 9 Jan 2004 11:58:48 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep01-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040109165633.UCPU23685.fep01-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Fri, 9 Jan 2004 11:56:33 -0500 From: Gerald Henriksen To: Cc: Subject: Re: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Date: Fri, 09 Jan 2004 11:58:51 -0500 Message-ID: References: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> In-Reply-To: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Fri, 9 Jan 2004 11:56:33 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 9 Jan 2004 09:14:31 -0500, you wrote: >Do we now the oldest version of gcc 3.x that will compile libsigc++? gcc 3.2 or better should be sufficient as there was a binary incompatibility introduced with the move from gcc 3.1 to gcc 3.2 From gene@erachampion.com Fri Jan 9 12:31:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 0455B1874B for ; Fri, 9 Jan 2004 12:31:24 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i09HfFG13436 for gtkmm-list@gnome.org; Fri, 9 Jan 2004 09:41:15 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Fri, 9 Jan 2004 09:41:14 -0800 Message-ID: <1073670074.3ffee7bab23a2@realtyroad.com> Date: Fri, 9 Jan 2004 09:41:14 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, > > >is there a way to connect the signal handler > > > B::something_in_B_selected() to A::update_values_in_A()? > > > class A : public Gtk::VBox > > > class B : public Gtk::VBox > > Here's an example (someone can step in and tell me if this is the > > preferred way of doing things): > > B::something_in_B_selected() to A::update_values_in_A()? > > class A : public Gtk::VBox > > class B : public Gtk::VBox > > // Example given here > > The key is to pass a MainWindow pointer to the MainMenu constructor. > > You can then use this pointer to MainWindow to connect your signals > > to any signal handler in MainWindow. I've declared MainMenu to be > > a friend of MainWindow in order to allow access to the protected > > signal handlers. > > If anyone has a better way of doing this, please speak up. =) > I CAN'T MAKE THE LETTERS ANY BIGGER; but ... > If the goal is just to get your program working, this is as good > a way as any - but it defeats the whole purpose of classes. > One way would be - > Provide class A with a register() interface function so > that if an event in B occurs, it is left to A to decide upon > the necessary action - maybe postpone it! The main thing is > to act through interfaces so that instances don't become classes! > e.g. > class A > { > typedef enum { E1, E2, E3 } ACTION; > class_B b; > void register( ACTION now ) { if( can_do_it( now ) ) do_it(); } > } Can you elaborate (or point me to some online resources) on how this register() interface function works. In the example above, is the register() function in class A acting as a signal handler for a signal emitted in class B, thus resulting in a connection as follows? b.some_signal().connect( SigC::slot(*this, &A::register) ); If this is the case, what about when class A and class B are two separate classes (ie. class_A does not encapsulate class_B). Can you still use the register method above, or at that point, is the most logical approach to use multiple inheritance to make class_C which inherits from both class_A and class_B? I always thought that passing pointers (as in the original example) was not the best way of doing things. > Hope this is useful. Yes, it is very useful. Thank You for your help! Sorry for all the questions. I'm fairly new to gtkmm and GUI programming in C++ in general. -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From Sarah.Leitner@ngc.com Fri Jan 9 13:10:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from xcgtx812.ngxcgtxr1.com (xcgtx812.northgrum.com [208.20.220.60]) by mail.gnome.org (Postfix) with ESMTP id CF1CC185EA for ; Fri, 9 Jan 2004 13:10:26 -0500 (EST) Received: by xcgtx812.northgrum.com with Internet Mail Service (5.5.2656.59) id ; Fri, 9 Jan 2004 10:10:16 -0800 Message-ID: <727B82C682D8E8409BD807B361874F410147EB6E@xcgmd050.northgrum.com> From: "Leitner, Sarah" To: "'gtkmm-list@gnome.org'" Date: Fri, 9 Jan 2004 10:10:01 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain Subject: [gtkmm] losing signals Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've got a GUI that I will be using several places in the code, so I decided to make it into a class and called it daemonGUI. So the code that is using it (I called in the stub) inherits from it. So, all the GUI code is in daemonGUI, and all the file opening, closing, etc, is in the stub. So far, it all works, EXCEPT that I am losing all the signals. They aren't working automatically. Anyone have any ideas? Thanks! Sarah From cjnygard@fast.net Fri Jan 9 14:50:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from newmx3.fast.net (newmx3.fast.net [209.92.1.33]) by mail.gnome.org (Postfix) with SMTP id C4E651817F for ; Fri, 9 Jan 2004 14:50:28 -0500 (EST) Received: (qmail 624 invoked from network); 9 Jan 2004 19:50:27 -0000 Received: from unknown (HELO ?192.168.1.19?) ([209.92.60.87]) (envelope-sender ) by newmx3.fast.net (qmail-ldap-1.03) with SMTP for ; 9 Jan 2004 19:50:27 -0000 From: Carl Nygard To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1073649030.25100.47.camel@traveler> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 09 Jan 2004 06:50:30 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Probably a stupid Gtk+ question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Like I said, this is probably stupid. I've had this question rattling around in my skull for a while, and instead of actually researching it, I'm taking the easy way out and just asking: If Gtk+ is built on an object model, why did those folks go to such (rumored to be) herculean lengths to build one in C, instead of just using C++? I can think perhaps language bindings had something to do, but the only problem that jumps out there would be scheme/lisp binding. Perl/python/ruby are already OO themselves. I'm sure theres a good reason, just curious... and not looking to start a language war. From ssalter@sympatico.ca Fri Jan 9 15:14:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tomts13-srv.bellnexxia.net (tomts13-srv.bellnexxia.net [209.226.175.34]) by mail.gnome.org (Postfix) with ESMTP id 9AB8618BC2 for ; Fri, 9 Jan 2004 15:14:03 -0500 (EST) Received: from [192.168.1.103] ([65.93.92.119]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040109201402.DBEE23150.tomts13-srv.bellnexxia.net@[192.168.1.103]> for ; Fri, 9 Jan 2004 15:14:02 -0500 From: Steven Salter Reply-To: ssalter@sympatico.ca To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Salter Programming Services Message-Id: <1073678905.28724.551.camel@zeus.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 09 Jan 2004 15:08:25 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Compilation problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I get the following error when trying to compile gtkmm 2.2.8: g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -MT convert.lo -MD -MP -MF .deps/convert.Tpo -c convert.cc -fPIC -DPIC -o .libs/convert.o In file included from ../../glib/glibmm/exception.h:25, from ../../glib/glibmm/error.h:28, from ../../glib/glibmm/convert.h:29, from convert.cc:3: ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:548: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:554: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:560: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:566: error: within this context make[5]: *** [convert.lo] Error 1 The compiler: gcc -v Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc version 3.3 20030226 (prerelease) (SuSE Linux) Any suggestions or requests for further information gratefully received. Steve From paul@linuxaudiosystems.com Fri Jan 9 16:41:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mail.gnome.org (Postfix) with ESMTP id CE368189AF for ; Fri, 9 Jan 2004 16:41:05 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040109214102.YEBX18505.out010.verizon.net@dhin.linuxaudiosystems.com>; Fri, 9 Jan 2004 15:41:02 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i09Lf2gG002453; Fri, 9 Jan 2004 16:41:02 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i09Lf2Qb002449; Fri, 9 Jan 2004 16:41:02 -0500 Message-Id: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> To: Carl Nygard Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question In-reply-to: Your message of "Fri, 09 Jan 2004 06:50:30 EST." <1073649030.25100.47.camel@traveler> Date: Fri, 09 Jan 2004 16:41:02 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [141.151.15.227] at Fri, 9 Jan 2004 15:41:02 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >If Gtk+ is built on an object model, why did those folks go to such >(rumored to be) herculean lengths to build one in C, instead of just >using C++? I can think perhaps language bindings had something to do, a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is to all effects and purposes so hard as to be impractical. when you add in the instability of the C++ ABI, even if you loved C++, its a pretty clear choice. --p From julian@jabber.org Fri Jan 9 16:48:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 7B7F818675 for ; Fri, 9 Jan 2004 16:48:31 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id E546F6C2F1; Fri, 9 Jan 2004 15:48:30 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02019-04; Fri, 9 Jan 2004 15:48:30 -0600 (CST) Received: from [192.168.0.194] (pcp05178369pcs.swedsb01.nj.comcast.net [68.46.15.3]) by mail.aspect.net (Postfix) with ESMTP id 3E1996B9A4; Fri, 9 Jan 2004 15:48:27 -0600 (CST) In-Reply-To: <1073649030.25100.47.camel@traveler> References: <1073649030.25100.47.camel@traveler> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8CB79196-42ED-11D8-B13E-000393B4C928@jabber.org> Content-Transfer-Encoding: 7bit Cc: gtkmm-list@gnome.org From: Julian Missig Subject: Re: [gtkmm] Probably a stupid Gtk+ question Date: Fri, 9 Jan 2004 16:48:24 -0500 To: Carl Nygard X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 9 Jan, 2004, at 6:50, Carl Nygard wrote: > > > Like I said, this is probably stupid. I've had this question rattling > around in my skull for a while, and instead of actually researching it, > I'm taking the easy way out and just asking: > > If Gtk+ is built on an object model, why did those folks go to such > (rumored to be) herculean lengths to build one in C, instead of just > using C++? I can think perhaps language bindings had something to do, > but the only problem that jumps out there would be scheme/lisp binding. > Perl/python/ruby are already OO themselves. > > I'm sure theres a good reason, just curious... and not looking to start > a language war. C++ has a history of particularly poor support on Linux. C has been the favored language for development on Linux for a long time. g++ had poor support for STL and has always been rather slow to compile C++. Not to mention the fact that ABI compatibility was broken with every g++ release and that different architectures supported different parts of STL! So basically, when Gtk+ started, C++ was a rather poor choice if you wanted to build a well-supported cross-architecture library. And yes, language bindings are another part of the argument. Supposedly it's much easier to make language bindings to various other languages if the core library is in C than if it were in C++. Also, a lot of the Gtk+ and/or Gnome developers feel that C++ is a crummy language and it makes more sense to build the OO features they need into C. Or something like that. Julian From gtkmm-forge-admin@lists.sourceforge.net Fri Jan 9 23:04:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 38E67183D4 for ; Fri, 9 Jan 2004 23:04:22 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AfAMH-0004yV-7p for gtkmm-list@gnome.org; Fri, 09 Jan 2004 20:04:21 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AfAMH-0007fw-2H for gtkmm-list@gnome.org; Fri, 09 Jan 2004 20:04:21 -0800 Date: Fri, 09 Jan 2004 20:01:57 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #593 - 5 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 2. [Bug 131019] New - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 3. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 4. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 5. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Fri, 9 Jan 2004 11:06:46 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by christof@petig-baender.de. --- shadow/124297 Fri Oct 10 11:07:25 2003 +++ shadow/124297.tmp.22337 Fri Jan 9 11:06:46 2004 @@ -14,6 +14,11 @@ URL: Summary: Need a custom TreeModel example Some people have managed to implement custom Gtk::TreeModels, but they seem to be using strange hacky techniques. It needs to register a GType, but that should be similar to the custom cell renderer. + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:06 ------- +Created an attachment (id=23167) +Feel free to simplify the GObject related stuff + --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:15:16 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] New - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:15:16 2004 +++ shadow/131019.tmp.28018 Fri Jan 9 11:15:16 2004 @@ -0,0 +1,24 @@ +Bug#: 131019 +Product: gtkmm +Version: 2.2 +OS: Linux +OS Details: +Status: NEW +Resolution: +Severity: enhancement +Priority: Normal +Component: TreeView +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: christof@petig-baender.de +TargetMilestone: --- +URL: +Summary: TreeStore has no decent performance on massive inserts + +As reported by several people on the net there seems to be a performance +problem with Gtk::TreeStore insertions. + +I personally have seen more than 30seconds for inserting 10k lines when +generating a tree out of a linear multi-columned list. My std::map based +custom model manages 100k in less than 2 seconds (300MHz G3 powerpc). + +I'm going to simplify my example down to one file. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:37:02 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:15:16 2004 +++ shadow/131019.tmp.9200 Fri Jan 9 11:37:02 2004 @@ -19,6 +19,11 @@ I personally have seen more than 30seconds for inserting 10k lines when generating a tree out of a linear multi-columned list. My std::map based custom model manages 100k in less than 2 seconds (300MHz G3 powerpc). I'm going to simplify my example down to one file. + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:37 ------- +Created an attachment (id=23168) +reported at http://mail.gnome.org/archives/gtk-list/2003-March/msg00361.html + --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:48:12 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:37:02 2004 +++ shadow/131019.tmp.17553 Fri Jan 9 11:48:12 2004 @@ -24,6 +24,14 @@ I'm going to simplify my example down to one file. ------- Additional Comments From christof@petig-baender.de 2004-01-09 11:37 ------- Created an attachment (id=23168) reported at http://mail.gnome.org/archives/gtk-list/2003-March/msg00361.html + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:48 ------- +See also the mailing list thread at +http://mail.gnome.org/archives/gtkmm-list/2003-October/msg00090.html + +[I admit that I do no longer remember the exect timings but it was +simply too much and more O(N^2+) than O(N logN).] + --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Fri, 9 Jan 2004 12:23:25 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Wed Jan 7 14:45:38 2004 +++ shadow/129210.tmp.5563 Fri Jan 9 12:23:25 2004 @@ -215,6 +215,22 @@ Well, that's a lot of babbling. :-> I guess it could all be summarized with this: Go ahead and require modern C++ features, but try to catch support for them up front with autoconf. + +------- Additional Comments From murrayc@usa.net 2004-01-09 12:23 ------- +> if there was NNTP interface available, I'd use it + +Apparently these people have a newsgroup gateway: +http://marc.theaimsgroup.com/?l=gtkmm&r=1&w=2#gtkmm + +Thanks. So, you seem to need gcc 2.9* becuase your need it to build +your kernel. Other mainstream distros don't have this problem - I +guess that they either use 2 compilers or they can compile the kernel +and user space apps with the same compiler. So I believe that it is +not a real problem. Of course, I also believe that linuxfromscratch +people actually enjoy having these problems. + +So, I guess we'll drop the gcc 2.9* support. But thanks for showing us +that we needed to think about it. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From ghenriks@rogers.com Fri Jan 9 23:48:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep04-mail.bloor.is.net.cable.rogers.com (fep04-mail.bloor.is.net.cable.rogers.com [66.185.86.74]) by mail.gnome.org (Postfix) with ESMTP id B19D218BD8 for ; Fri, 9 Jan 2004 23:48:14 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep04-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040110044542.UWXZ430912.fep04-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com> for ; Fri, 9 Jan 2004 23:45:42 -0500 From: Gerald Henriksen To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question Date: Fri, 09 Jan 2004 23:48:23 -0500 Message-ID: References: <1073649030.25100.47.camel@traveler> In-Reply-To: <1073649030.25100.47.camel@traveler> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep04-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Fri, 9 Jan 2004 23:45:42 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 09 Jan 2004 06:50:30 -0500, you wrote: >If Gtk+ is built on an object model, why did those folks go to such >(rumored to be) herculean lengths to build one in C, instead of just >using C++? I can think perhaps language bindings had something to do, Gtk+ is quite old and C++ compiler support back then was a nightmare as each compiler vendor implemented different parts of the standard at any given time. Thus any cross-platform code in C++ quickly either became a mess of compiler specific code or you had to code to a very poor lowest common denominator version of C++. C++ compilers also had a reputation for producing bloated, slow code compared to C. It is only recently that all the major compilers have finally come close to fully implementing the C++ standard, and the peformance issues have disappeared. The other major reason is that many open source programmers first pick up C and never move beyond it. It is typically much easier to pick up procedural programming, and easier to site down and start coding without doing any planning. From billyoc@gnuyork.org Sat Jan 10 00:18:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 0E57518444 for ; Sat, 10 Jan 2004 00:18:03 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AfBTM-0007nV-KV; Sat, 10 Jan 2004 00:15:44 -0500 To: Gerald Henriksen Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <1073649030.25100.47.camel@traveler> From: Billy O'Connor Date: Sat, 10 Jan 2004 00:15:44 -0500 In-Reply-To: (Gerald Henriksen's message of "Fri, 09 Jan 2004 23:48:23 -0500") Message-ID: <87d69s4c5b.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Gerald Henriksen writes: > On Fri, 09 Jan 2004 06:50:30 -0500, you wrote: > >>If Gtk+ is built on an object model, why did those folks go to such >>(rumored to be) herculean lengths to build one in C, instead of just >>using C++? I can think perhaps language bindings had something to do, > > Gtk+ is quite old and C++ compiler support back then was a nightmare > as each compiler vendor implemented different parts of the standard at > any given time. Thus any cross-platform code in C++ quickly either > became a mess of compiler specific code or you had to code to a very > poor lowest common denominator version of C++. C++ compilers also had > a reputation for producing bloated, slow code compared to C. > > It is only recently that all the major compilers have finally come > close to fully implementing the C++ standard, and the peformance > issues have disappeared. > > The other major reason is that many open source programmers first pick > up C and never move beyond it. It is typically much easier to pick up > procedural programming, and easier to site down and start coding > without doing any planning. And the number 1 reason Gtk+ is written in C(drumroll)... It's UNIX, for God's sake! :) From Murray.Cumming@Comneon.com Sat Jan 10 02:36:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6F75718200 for ; Sat, 10 Jan 2004 02:36:51 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0A7WoDb022399; Sat, 10 Jan 2004 08:32:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Sat, 10 Jan 2004 08:37:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22705@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Compilation problem Date: Sat, 10 Jan 2004 08:36:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: SUSE shipped an unofficial version of gcc, and it's broken. Apparently they have an update. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Steven Salter > Sent: Freitag, 9. Januar 2004 21:08 > To: gtkmm-list@gnome.org > Subject: [gtkmm] Compilation problem > > > I get the following error when trying to compile gtkmm 2.2.8: > > g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION > -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED > -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED > -I../../glib -I../../glib -I../../pango -I../../pango > -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk > -I../../gtk -I/usr/local/lib/sigc++-1.2/include > -I/usr/local/include/sigc++-1.2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -g -O2 -Wall -MT convert.lo -MD > -MP -MF .deps/convert.Tpo -c convert.cc > -fPIC -DPIC -o .libs/convert.o > In file included from ../../glib/glibmm/exception.h:25, > from ../../glib/glibmm/error.h:28, > from ../../glib/glibmm/convert.h:29, > from convert.cc:3: > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:548: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:554: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:560: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:566: error: within this context > make[5]: *** [convert.lo] Error 1 > > The compiler: > > gcc -v > Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs > Configured with: ../configure --enable-threads=posix > --prefix=/usr --with-local-prefix=/usr/local > --infodir=/usr/share/info --mandir=/usr/share/man > --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada > --disable-checking --enable-libgcj > --with-gxx-include-dir=/usr/include/g++ > --with-slibdir=/lib --with-system-zlib --enable-shared > --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc > version 3.3 20030226 (prerelease) (SuSE Linux) > > Any suggestions or requests for further information > gratefully received. > > Steve > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From abt@gmx.de Sat Jan 10 04:21:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7895A18CB1 for ; Sat, 10 Jan 2004 04:21:17 -0500 (EST) Received: (qmail 4487 invoked by uid 65534); 10 Jan 2004 09:21:13 -0000 Received: from dialin-212-144-078-225.arcor-ip.net (EHLO gmx.de) (212.144.78.225) by mail.gmx.net (mp021) with SMTP; 10 Jan 2004 10:21:13 +0100 X-Authenticated: #109577 Message-ID: <3FFFC3FE.10206@gmx.de> Date: Sat, 10 Jan 2004 10:21:02 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: Re: [gtkmm] Compilation problem References: <258B0164D480D5118D900800062B385801C22705@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > SUSE shipped an unofficial version of gcc, and it's broken. Apparently they > have an update. Go for SuSE Linux 9.0 or download the new rmp package gcc from www.suse.de Andi From njh@hawthorn.csse.monash.edu.au Fri Jan 9 19:36:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail015.syd.optusnet.com.au (mail015.syd.optusnet.com.au [211.29.132.161]) by mail.gnome.org (Postfix) with ESMTP id D287818758 for ; Fri, 9 Jan 2004 19:36:27 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail015.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0A0aHO05157; Sat, 10 Jan 2004 11:36:18 +1100 Message-ID: <3FFF4900.5010200@hawthorn.csse.monash.edu.au> Date: Sat, 10 Jan 2004 11:36:16 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Paul Davis Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> In-Reply-To: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Paul Davis wrote: >>If Gtk+ is built on an object model, why did those folks go to such >>(rumored to be) herculean lengths to build one in C, instead of just >>using C++? I can think perhaps language bindings had something to do, >> >> > >a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >to all effects and purposes so hard as to be impractical. when you add >in the instability of the C++ ABI, even if you loved C++, its a pretty >clear choice. > This is not particularly true. I've written python interfaces to pure C++ libraries without trauma. I don't think even FuzzyBaseClass isn't the problem that people claim it is. njh From m.barinskis@apollo.lv Sat Jan 10 09:16:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.apollo.lv (smtp1.apollo.lv [80.232.168.211]) by mail.gnome.org (Postfix) with ESMTP id E0094181A2 for ; Sat, 10 Jan 2004 09:16:49 -0500 (EST) Received: from [81.198.145.45] (HELO apollo.lv) by smtp1.apollo.lv (CommuniGate Pro SMTP 4.1) with ESMTP id 4960642 for gtkmm-list@gnome.org; Sat, 10 Jan 2004 16:09:48 +0200 Message-ID: <4000097B.5000608@apollo.lv> Date: Sat, 10 Jan 2004 16:17:31 +0200 From: Martins Barinskis User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040105 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] 'GLIBMM_CHECK_PERL(5.6.0)' configure error Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've already successfully installed the glibmm and libsigc++ but now, compiling a fresh cvs copy of gtkmm after invoking ./autogen.sh, the configure script fails with error: ./configure: line 8021: syntax error near unexpected token `5.6.0' ./configure: line 8021: `GLIBMM_CHECK_PERL(5.6.0)' According to error text, there's something to do with perl: perl -v This is perl, v5.8.0 built for i486-linux Yes, i've got Perl 5.8.0 (I'm using Slackware 9.1, btw). Does gtkmm need _exactly_ perl 5.6.0, not _at least_ perl 5.6.0? Or maybe i've glibmm compiled incorrectly (./autogen.sh --prefix=/usr/devgnome2 , all paths and ld.so.conf are updateded accordingly) ? Thanks in advance, Martins. From paul@linuxaudiosystems.com Sat Jan 10 11:44:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mail.gnome.org (Postfix) with ESMTP id 18F431875A for ; Sat, 10 Jan 2004 11:44:41 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040110164438.XJY38.out012.verizon.net@dhin.linuxaudiosystems.com>; Sat, 10 Jan 2004 10:44:38 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0AGibgG003808; Sat, 10 Jan 2004 11:44:37 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i0AGibcW003804; Sat, 10 Jan 2004 11:44:37 -0500 Message-Id: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> To: Nathan Hurst Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question In-reply-to: Your message of "Sat, 10 Jan 2004 11:36:16 +1100." <3FFF4900.5010200@hawthorn.csse.monash.edu.au> Date: Sat, 10 Jan 2004 11:44:37 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [141.151.15.227] at Sat, 10 Jan 2004 10:44:38 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >>a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >>to all effects and purposes so hard as to be impractical. when you add >>in the instability of the C++ ABI, even if you loved C++, its a pretty >>clear choice. >> >This is not particularly true. I've written python interfaces to pure >C++ libraries without trauma. I don't think even FuzzyBaseClass isn't >the problem that people claim it is. you either to have export "extern C" static functions, or you have to know how names are mangled. you can't call a C++ function unless one of those two things has been done. either one of them is pretty problematic. --p From js8582003@yahoo.com Sat Jan 10 13:41:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60910.mail.yahoo.com (web60910.mail.yahoo.com [216.155.196.86]) by mail.gnome.org (Postfix) with SMTP id 58A251876F for ; Sat, 10 Jan 2004 13:41:45 -0500 (EST) Message-ID: <20040110184141.67996.qmail@web60910.mail.yahoo.com> Received: from [65.33.238.55] by web60910.mail.yahoo.com via HTTP; Sat, 10 Jan 2004 10:41:41 PST Date: Sat, 10 Jan 2004 10:41:41 -0800 (PST) From: Jerry Stahl To: Gtkmm list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] IPC between Gtkmm objects Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, As part of a larger application, I currently have a Gtkmm 2.2 "main" display dialog that uses my .bashrc file to launch it after the GNOME desktop is loaded. I intend to use this main display to show time from an external source, the currently logged in user and group the user belongs to. I would like to use a separately launched dialog to be able to change the user at any time for the purposes of controlling allowed operations. Initially, it seems that the best approach is to have the main display, login dialog and time source all running their own process ID. I need to have execution of the main display to be non-blocking since I would like to have no interruption of the time display when the user name updates. I'm not an IPC expert but have thought about using signals for this application. Does anyone know if the Gtkmm libraries have any IPC APIs or if there is any other better way to handle the needed IPC calls between PIDs. Any help on this would be appreciated. Thanks in advance, Jerry Stahl __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From billyoc@gnuyork.org Sat Jan 10 14:05:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 22A8A1849B for ; Sat, 10 Jan 2004 14:05:30 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AfOO5-0007K2-Co; Sat, 10 Jan 2004 14:03:09 -0500 To: Jerry Stahl Cc: Gtkmm list Subject: Re: [gtkmm] IPC between Gtkmm objects References: <20040110184141.67996.qmail@web60910.mail.yahoo.com> From: Billy O'Connor Date: Sat, 10 Jan 2004 14:03:09 -0500 In-Reply-To: <20040110184141.67996.qmail@web60910.mail.yahoo.com> (Jerry Stahl's message of "Sat, 10 Jan 2004 10:41:41 -0800 (PST)") Message-ID: <877jzzk4nm.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Jerry Stahl writes: > updates. I'm not an IPC expert but have thought about > using signals for this application. Does anyone know > if the Gtkmm libraries have any IPC APIs or if there > is > any other better way to handle the needed IPC calls > between PIDs. Any help on this would be appreciated. Check out dbus. From chris@cvine.freeserve.co.uk Sat Jan 10 17:13:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailm5.svr.pol.co.uk (cmailm5.svr.pol.co.uk [195.92.193.21]) by mail.gnome.org (Postfix) with ESMTP id 31B63183F9 for ; Sat, 10 Jan 2004 17:13:37 -0500 (EST) Received: from modem-1925.jaguar.dialup.pol.co.uk ([81.76.183.133] helo=boulder.localdomain) by cmailm5.svr.pol.co.uk with esmtp (Exim 4.14) id 1AfRM2-00071o-0V; Sat, 10 Jan 2004 22:13:14 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0AMDZot011725; Sat, 10 Jan 2004 22:13:35 GMT From: Chris Vine To: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: Re: [gtkmm] Compilation problem Date: Sat, 10 Jan 2004 22:13:34 +0000 User-Agent: KMail/1.5.4 References: <1073678905.28724.551.camel@zeus.local> In-Reply-To: <1073678905.28724.551.camel@zeus.local> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200401102213.34958.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Friday 09 January 2004 8:08 pm, Steven Salter wrote: > I get the following error when trying to compile gtkmm 2.2.8: [snip] You are using a pre-release of gcc 3.3. Try getting a stable release of either gcc-3.2 or gcc-3.3 (I think I recall seeing similar reports from others using the Suse pre-release you are using). Chris. From ssalter@sympatico.ca Sat Jan 10 20:32:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tomts36-srv.bellnexxia.net (tomts36-srv.bellnexxia.net [209.226.175.93]) by mail.gnome.org (Postfix) with ESMTP id AF21218566 for ; Sat, 10 Jan 2004 20:32:30 -0500 (EST) Received: from [192.168.1.103] ([65.93.71.21]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040111013226.RRHP11804.tomts36-srv.bellnexxia.net@[192.168.1.103]> for ; Sat, 10 Jan 2004 20:32:26 -0500 Subject: Re: [gtkmm] Compilation problem From: Steven Salter Reply-To: ssalter@sympatico.ca To: gtkmm-list@gnome.org In-Reply-To: <200401102213.34958.chris@cvine.freeserve.co.uk> References: <1073678905.28724.551.camel@zeus.local> <200401102213.34958.chris@cvine.freeserve.co.uk> Content-Type: text/plain Organization: Salter Programming Services Message-Id: <1073784399.2169.558.camel@zeus.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 10 Jan 2004 20:26:48 -0500 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sat, 2004-01-10 at 17:13, Chris Vine wrote: > On Friday 09 January 2004 8:08 pm, Steven Salter wrote: > > I get the following error when trying to compile gtkmm 2.2.8: > > [snip] > > You are using a pre-release of gcc 3.3. Try getting a stable release of > either gcc-3.2 or gcc-3.3 (I think I recall seeing similar reports from > others using the Suse pre-release you are using). Yes, that solved the problem. Thanks to Murray, Andi and Chris. Steve From gcgg-gtkmm-list@m.gmane.org Sun Jan 11 07:56:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 54A6D18154 for ; Sun, 11 Jan 2004 07:56:52 -0500 (EST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aff99-0007SQ-00 for ; Sun, 11 Jan 2004 13:56:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aff98-0007SI-00 for ; Sun, 11 Jan 2004 13:56:50 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aff97-0000Zi-00 for ; Sun, 11 Jan 2004 13:56:49 +0100 From: Mike Hearn Date: Sun, 11 Jan 2004 13:00:08 +0000 Lines: 13 Message-ID: References: <727B82C682D8E8409BD807B361874F410147EB6E@xcgmd050.northgrum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] Re: losing signals Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 09 Jan 2004 10:10:01 -0800, Leitner, Sarah wrote: > I've got a GUI that I will be using several places in the code, so I decided > to make it into a class and called it daemonGUI. So the code that is using > it (I called in the stub) inherits from it. So, all the GUI code is in > daemonGUI, and all the file opening, closing, etc, is in the stub. So far, > it all works, EXCEPT that I am losing all the signals. They aren't working > automatically. Anyone have any ideas? Thanks! I think you'd have to explain what exactly is going wrong a bit better. I'm having a hard time understanding the problem. When you say you are "losing" the signals, does that mean you are connecting them without error but the signal handlers are never invoked? From abt@gmx.de Sun Jan 11 11:00:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id B3889184F7 for ; Sun, 11 Jan 2004 11:00:41 -0500 (EST) Received: (qmail 29999 invoked by uid 65534); 11 Jan 2004 16:00:38 -0000 Received: from pD9E95095.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.80.149) by mail.gmx.net (mp009) with SMTP; 11 Jan 2004 17:00:38 +0100 X-Authenticated: #109577 Message-ID: <40017327.4080505@gmx.de> Date: Sun, 11 Jan 2004 17:00:39 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a selected row in a tree view highlighted References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> <3FFE689B.3020805@gmx.de> In-Reply-To: <3FFE689B.3020805@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I have not found the solution yet. No idea, someone? TIA, Andi > I select a row with: > m_tree_sel_ref->select(row); > > Can somebody throw light on this? The row > is selected ( I can get the value ) but > the selected row is not highlighted in the GUI. From njh@hawthorn.csse.monash.edu.au Sat Jan 10 17:46:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail007.syd.optusnet.com.au (mail007.syd.optusnet.com.au [211.29.132.55]) by mail.gnome.org (Postfix) with ESMTP id 11DA8181B9 for ; Sat, 10 Jan 2004 17:46:00 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail007.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0AMjlH26504; Sun, 11 Jan 2004 09:45:47 +1100 Message-ID: <4000809A.5090700@hawthorn.csse.monash.edu.au> Date: Sun, 11 Jan 2004 09:45:46 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Paul Davis Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> In-Reply-To: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Paul Davis wrote: >>>a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >>>to all effects and purposes so hard as to be impractical. when you add >>>in the instability of the C++ ABI, even if you loved C++, its a pretty >>>clear choice. >>> >>> >>> >>This is not particularly true. I've written python interfaces to pure >>C++ libraries without trauma. I don't think even FuzzyBaseClass isn't >>the problem that people claim it is. >> >> > >you either to have export "extern C" static functions, or you have to >know how names are mangled. you can't call a C++ function unless >one of those two things has been done. either one of them is pretty >problematic. > Sure, but that's no worse than having to call functions things like gtk_window_new() Your main implementation can still be done in a clear and simple manner. The interface could even be automatically generated. njh From arvind@acarlab.com Sun Jan 11 18:02:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.96.162]) by mail.gnome.org (Postfix) with SMTP id 9A6FE189A3 for ; Sun, 11 Jan 2004 18:02:01 -0500 (EST) Received: (qmail 8657 invoked by uid 1000); 11 Jan 2004 23:01:10 -0000 Date: Mon, 12 Jan 2004 04:31:09 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Cc: js8582003@yahoo.com Subject: [gtkmm] IPC between Gtkmm objects Message-ID: <20040111230109.GA8645@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, On Sat, 10 Jan 2004 Jerry Stahl wrote : > As part of a larger application, I currently have a > Gtkmm 2.2 "main" display dialog that uses my .bashrc > > Does anyone know if the Gtkmm libraries have any IPC > APIs or if there is any other better way to handle > the needed IPC calls between PIDs. Being in land of limited bit-rates and scarce CD-images I'm not sure if bleeding-edge Gtkmm has preserved its links with the out-of-date gtkmm-1.2.8; but gtkmm-1.2 has the Gtk::Plug and Gtk::Socket, which together with the standard IPC socket ( a STREAMS pipe would have been generally easier, but linux doesn't seem to favour it too much ) is probably what you are looking for. You will find such an implementation in the 'qtstu' app. from http://www.acarlab.com in which a device specific extensions ( for the philips web-cam ) are packaged into a seperate process gtkmm- window but realized in the main app window. - arvind From gtkmm-forge-admin@lists.sourceforge.net Sun Jan 11 23:04:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 7130E182D9 for ; Sun, 11 Jan 2004 23:04:08 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AftJ8-00049w-Nd for gtkmm-list@gnome.org; Sun, 11 Jan 2004 20:04:06 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AftJ8-0004tF-KH for gtkmm-list@gnome.org; Sun, 11 Jan 2004 20:04:06 -0800 Date: Sun, 11 Jan 2004 20:01:55 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #594 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 2. [Bug 131172] New - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) 3. [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Sun, 11 Jan 2004 13:41:34 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Mon Jan 5 10:22:31 2004 +++ shadow/129846.tmp.9726 Sun Jan 11 13:41:34 2004 @@ -58,6 +58,10 @@ This works with the normal gnomemm/libglademm/examples/menus/example program. Regards, Roger + +------- Additional Comments From murrayc@usa.net 2004-01-11 13:41 ------- +So, the problem seems to be only with _stock_ accelerators. I still +have not found any example of this in C, however. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Sun, 11 Jan 2004 14:52:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] New - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by takekawa@users.sourceforge.jp. --- shadow/131172 Sun Jan 11 14:52:17 2004 +++ shadow/131172.tmp.24196 Sun Jan 11 14:52:17 2004 @@ -0,0 +1,49 @@ +Bug#: 131172 +Product: gtkmm +Version: 2.2 +OS: Linux +OS Details: +Status: NEW +Resolution: +Severity: normal +Priority: Normal +Component: build +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: takekawa@users.sourceforge.jp +TargetMilestone: --- +URL: +Summary: duplicate namespace in atkmm/text.h and gtkmm/enums.h + +Intel compiler (both version 7 and 8) can not compile atk/atkmm/text.cc and +gtk/gtkmm/enums.cc because of the duplicate namespace definitions such as +`namespace Glib { class Glib::XXX; }`. + +../../atk/atkmm/text.h(181): error: qualified name is not allowed in +namespace member declaration + class Glib::Value : public +Glib::Value_Enum + ^ + +../../atk/atkmm/text.h(181): error: class "Glib::" is not an entity +that can be explicitly specialized + class Glib::Value : public +Glib::Value_Enum + ^ + +text.cc(33): error: incomplete type is not allowed + GType Glib::Value::value_type() + ^ + +../../gtk/gtkmm/enums.h(1321): error: qualified name is not allowed in +namespace member declaration + class Glib::Value : public Glib::Value_Enum + ^ + +../../gtk/gtkmm/enums.h(1321): error: class "Glib::" is not an +entity that can be explicitly specialized + class Glib::Value : public Glib::Value_Enum + ^ + +enums.cc(32): error: incomplete type is not allowed + GType Glib::Value::value_type() + ^ --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Sun, 11 Jan 2004 14:55:55 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by takekawa@users.sourceforge.jp. --- shadow/131172 Sun Jan 11 14:52:17 2004 +++ shadow/131172.tmp.26142 Sun Jan 11 14:55:55 2004 @@ -44,6 +44,11 @@ class Glib::Value : public Glib::Value_Enum ^ enums.cc(32): error: incomplete type is not allowed GType Glib::Value::value_type() ^ + +------- Additional Comments From takekawa@users.sourceforge.jp 2004-01-11 14:55 ------- +Created an attachment (id=23239) +patch to fix duplicate namespace + --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From Murray.Cumming@Comneon.com Mon Jan 12 03:26:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id EFA3618144 for ; Mon, 12 Jan 2004 03:26:52 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0C8MlDb003611; Mon, 12 Jan 2004 09:22:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 09:27:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22766@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: m.barinskis@apollo.lv, gtkmm-list@gnome.org Subject: RE: [gtkmm] 'GLIBMM_CHECK_PERL(5.6.0)' configure error Date: Mon, 12 Jan 2004 09:26:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've already successfully installed the glibmm and libsigc++ but now, > compiling a fresh cvs copy of gtkmm after invoking ./autogen.sh, the > configure script fails with error: > > > ./configure: line 8021: syntax error near unexpected token `5.6.0' > ./configure: line 8021: `GLIBMM_CHECK_PERL(5.6.0)' > Did you install glibmm from cvs as well? This is a new .m4 macro that I added recently. It should be installed from glibmm/scripts to /share/aclocal/glibmm_check_perl.m4. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Mon Jan 12 04:08:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id DDFD0181E2 for ; Mon, 12 Jan 2004 04:08:49 -0500 (EST) Received: (qmail 22752 invoked by uid 65534); 12 Jan 2004 09:08:46 -0000 Received: from pD9E9459B.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.69.155) by mail.gmx.net (mp010) with SMTP; 12 Jan 2004 10:08:46 +0100 X-Authenticated: #109577 Message-ID: <4002641B.1090107@gmx.de> Date: Mon, 12 Jan 2004 10:08:43 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: "Darren W." , gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a selected row in a tree view highlighted References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> <3FFE689B.3020805@gmx.de> <40017327.4080505@gmx.de> <40018292.BC784CE6@ntlworld.com> In-Reply-To: <40018292.BC784CE6@ntlworld.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Same thing. The selection is not visible in the tree view. I guess something is not right with my code?! void ConstraintTable::onNextClicked() { Gtk::TreeModel::iterator curr_iter = m_tree_sel_ref->get_selected(); Gtk::TreeModel::Row curr_row = *curr_iter; // selected row typedef Gtk::TreeModel::Children type_children; type_children children = m_list_store_ref->children(); for(type_children::iterator iter = children.begin(); iter != children.end(); ++iter) { Gtk::TreeModel::Row row = *iter; if(row) { m_tree_sel_ref->select(row); // selection is ok but invisible selection_made_cb(); // my callback for a selected row } } } ... m_tree_sel_ref = m_tree_view.get_selection(); m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); m_tree_sel_ref->signal_changed ().connect ( SigC::slot (*this, &ConstraintTable::selection_made_cb)); > What happens if for testing you try > > m_tree_sel_ref->set_mode(Gtk::SELECTION_MULTIPLE); > m_tree_sel_ref->select_all(); > > > I'm afraid I'm fairly new to Gtk, so am not an expert. From Murray.Cumming@Comneon.com Mon Jan 12 07:15:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C253F18106; Mon, 12 Jan 2004 07:15:15 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CCBDDb017513; Mon, 12 Jan 2004 13:11:13 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 13:15:33 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227BF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? Date: Mon, 12 Jan 2004 13:15:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So, we will abandon gcc 2.9* support in libsigc++ 2 and gtkmm 2.4. Of course we will apply any reasonable patches [1] that people provide to support any compilers, but nobody should expect core developers to waste time on gcc 2.9*. [1] So far, there are only unfinished gcc 2.9* patches in gtkmm's bugzilla. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cumming > Murray (CN L External) > Sent: Mittwoch, 7. Januar 2004 19:29 > To: gtkmm-list@gnome.org; libsigc-list@gnome.org > Subject: [gtkmm] Abandoning gcc 2.9*? > > > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we > Libsigc++ use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Mon Jan 12 08:53:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 96F7D1852F for ; Mon, 12 Jan 2004 08:53:49 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CDnlDb028355; Mon, 12 Jan 2004 14:49:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 14:54:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: palm@nogui.se Cc: gtkmm-list@gnome.org Subject: RE: [[gtkmm] Alternate libglademm interface] Date: Mon, 12 Jan 2004 14:53:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: We must freeze the libglademm 2.4 API on February 16th http://www.gnome.org/start/2.5/bindings/#ApiFreeze Are you likely to have a patch for me to look at soon? Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Christer Palm [mailto:palm@nogui.se] > Sent: Dienstag, 7. Oktober 2003 20:54 > To: Murray Cumming > Cc: gtkmm-list@gnome.org > Subject: Re: [[gtkmm] Alternate libglademm interface] > > > Hi! > > Murray Cumming wrote: > >> > >> - Allow arbitrary constructor arguments for derived > widget classes. > > > > > > This could be nice. Obviously it would be impractical to typedef an > > Adapter for every possible class, so I think that the example code > > should use the Adapter template without a typedef. > > > > The typedef's are just there for convenience, of course. > The Adapter should stay visible to enable it to be used directly for > other classes. And yes, the example could be much better. > > > > >> - Straightforward creation of derived widgets, no Xml::create(), > >>get_derived_widget(), etc. > > > > > > By putting the glade filename in the constructor, yes. But > would this > > allow us to have 2 derived child-widgets that have been > layed out in > > the same container widget in a .glade file. I think the existing > > get_widget_derived() method allows us to reuse an existing > > Gnome::Glade::Xml instance, but this one creates a new one for each > > class. > > > > This could quite easily be fixed by adding additional XmlWidget::Base > constructors for building the widget from an existing > Gnome::Glade::Xml > instance. > > The other way around, the internal Xml instance should > probably also be > made accessable in some way. > > A version intended for general use should probably also have > constructors for building from a memory buffer, specifying the root, > etc., just as with Gnome::Glade::Xml. > > I didn't put it in there because I didn't need it personally... > > > > >> - Hides more (most) glade stuff from the user. > > > > > > See above. This might be a problem if the top-most class is > not one of > > your derived classes. Maybe that is not a common case. > > > > It appears that it is not. Most gtkmm code I've seen so far > only derives > top-level widgets such as windows and dialogs. > > > > >> - Makes it easy to catch runtime errors when, for > example, making a > >>bunch of get_widget() calls by using exceptions. > > > > > > I don't see a need to create a new exception class. > > Gnome::Glade::Xml::Error should be enough. Also, I don't > think we use > > throw() declarations in our *mm stuff. > > > > Well, I wasn't planning on throwing the actual > XmlWidget::Exception, but > more detailed exceptions derived from it, but I got a little > lazy on the > way and just put in throw(Exception):s for now. > > The idea is to give the user a flexible choice of what level > he (she?) > wants to provide error handling. If you just want to know if > _anything_ > went wrong, catch Glib::Exception. If you want to know if > something went > wrong with XmlWidget, catch XmlWidget::Exception. If you specifically > want to know when a widget is missing from the glade file, catch > XmlWidget::MissingWidgetException. You get the idea... > > throw specifiers are actually used in Glib, so they shouldn't > cause any > porting issues that are not already there. Personally I love > them - they > definitely help to improve your code quality. > > Both mechanisms are practically free from a runtime resource > perspective. Just too bad that they aren't very frequently used, in > gtkmm or elsewhere. > > All this of course subject matter to each and everyones > personal taste > and level on conservativism :-) > > > > >>Please keep in mind that this is a quick proof-of-concept hack. I'd > >>like > >>to hear your comments, as I suspect that the approach I'm > using may not > >>be 100% flawless. > > > > > > I don't see where you are instantiating the gtkmm GTypes. This code > > just seems to instantiate the GTK+ Gtype: > > > > :-) > > The instantiation is well hidden inside libglademm thanks to the fact > that I pass xml->gobj() to glade_xml_get_widget(), and xml is a > Gnome::Glade::Xml instance (providing the virtual function > for looking > up the proper GType). > > > > > In general, I would prefer patches (although new files > generally need > > to be tarballed up separately) in bugzilla. You can put the URL in > > emails. > > > > Yes, of course. As I wrote, this wasn't meant to be an "official" > submission to libglademm in any way (at least not at this stage), but > merely a simple way to demonstrate the concept and gain some > comments on it. > > > This is interesting. I particularly don't like that the > classes used > > with the current get_widget_derived() are forced to all > have the same > > constructor parameters. > > > > Yes. That's actually the main reason to why I cooked this up. > It was a > showstopper in my case. > > -- > Christer Palm > > From Murray.Cumming@Comneon.com Mon Jan 12 08:55:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 63FC718320 for ; Mon, 12 Jan 2004 08:55:49 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CDplDb029042 for ; Mon, 12 Jan 2004 14:51:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 14:56:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Mon, 12 Jan 2004 14:55:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So, are there no volunteers for this? It's starting to bother me that we have had almost no patches for gtkmm 2.4 so far. Don't expect me do everything myself. Murray Cumming www.murrayc.com murrayc@usa.net > I added quite a lot of API documentation to the TreeView and > TextView classes and associated classes, in gtkmm 2.4. For > instance: > http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/group__TreeView.html > > I think that 100% API documentation should be possible, and it's an easy way to help. > > Undocumented class methods are probably undocumented because > - They are hand-coded because they use a different parameter order compared to the underlying C function. In this case you should look > at the C docs and modify it accordingly. Look at the generated html of the C docs because not everything is in the .c files: > http://www.gtk.org/api/ > - They are _MEMBER_GET() or _MEMBER_SET() accessors for struct fields. These needs little "Get the something" descriptions if there is > nothing else to say. > > All classes should also have documentation for the class itself. Again, you can usually rephrase the C documentation for these. > > If you run "make doxygen-warnings" in gtkmm/docs/reference/, it will generate a text file with warnings about undocumented methods and > classes. I'm not sure how complete that will be, but it's a start. > > I think we can reach 100%. That would be good. From abt@gmx.de Mon Jan 12 09:27:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3B7E818526 for ; Mon, 12 Jan 2004 09:27:33 -0500 (EST) Received: (qmail 776 invoked by uid 65534); 12 Jan 2004 14:27:31 -0000 Received: from pD9E940BA.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.64.186) by mail.gmx.net (mp001) with SMTP; 12 Jan 2004 15:27:31 +0100 X-Authenticated: #109577 Message-ID: <4002AED1.2060808@gmx.de> Date: Mon, 12 Jan 2004 15:27:29 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] CheckMenuItem editable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, how do I make the Item editable? I´ve created a CheckMenuItem but I cannot change the value with my mouse and I found no "make_editable()" or something like it. Gtk::CheckMenuItem m_checkItem; TIA, Andi From js8582003@yahoo.com Mon Jan 12 10:56:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60902.mail.yahoo.com (web60902.mail.yahoo.com [216.155.196.78]) by mail.gnome.org (Postfix) with SMTP id 32D3318294 for ; Mon, 12 Jan 2004 10:56:33 -0500 (EST) Message-ID: <20040112155627.79118.qmail@web60902.mail.yahoo.com> Received: from [128.217.80.107] by web60902.mail.yahoo.com via HTTP; Mon, 12 Jan 2004 07:56:27 PST Date: Mon, 12 Jan 2004 07:56:27 -0800 (PST) From: Jerry Stahl Subject: Re: [gtkmm] IPC between Gtkmm objects To: "Arvind R." Cc: Gtkmm list In-Reply-To: <20040111230109.GA8645@mail.acarlab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Arvind, Thanks for the response. I'll take a look at the example you mentioned. Jerry --- "Arvind R." wrote: > Hi, > On Sat, 10 Jan 2004 Jerry Stahl wrote : > > > As part of a larger application, I currently have > a > > Gtkmm 2.2 "main" display dialog that uses my > .bashrc > > > > Does anyone know if the Gtkmm libraries have any > IPC > > APIs or if there is any other better way to > handle > > the needed IPC calls between PIDs. > > Being in land of limited bit-rates and scarce > CD-images > I'm not sure if bleeding-edge Gtkmm has preserved > its > links with the out-of-date gtkmm-1.2.8; but > gtkmm-1.2 > has the Gtk::Plug and Gtk::Socket, which together > with > the standard IPC socket ( a STREAMS pipe would have > been generally easier, but linux doesn't seem to > favour > it too much ) is probably what you are looking for. > > You will find such an implementation in the 'qtstu' > app. > from http://www.acarlab.com in which a device > specific > extensions ( for the philips web-cam ) are packaged > into > a seperate process gtkmm- window but realized in the > main app window. > > - arvind > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From matthew@alledora.co.uk Mon Jan 12 11:03:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 6E5E41865D for ; Mon, 12 Jan 2004 11:03:31 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Ag4Ut-0007fp-Fb for gtkmm-list@gnome.org; Mon, 12 Jan 2004 16:00:59 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Ag4Us-0007fb-D8; Mon, 12 Jan 2004 16:00:58 +0000 Message-ID: <4002C58B.1070501@alledora.co.uk> Date: Mon, 12 Jan 2004 16:04:27 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: > So, are there no volunteers for this? It's starting to bother me that we > have had almost no patches for gtkmm 2.4 so far. Don't expect me do > everything myself. I don't think I got this e-mail originally, or if I did I didn't see it. I'll see if I can find the time to do anything along these lines. From billyoc@gnuyork.org Mon Jan 12 11:16:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 2931018152 for ; Mon, 12 Jan 2004 11:16:06 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Ag4h8-0007l8-2G; Mon, 12 Jan 2004 11:13:38 -0500 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Mon, 12 Jan 2004 11:13:37 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Mon, 12 Jan 2004 14:55:47 +0100") Message-ID: <873cal16xa.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > So, are there no volunteers for this? It's starting to bother me that we > have had almost no patches for gtkmm 2.4 so far. Don't expect me do > everything myself. I'm working on this, I'll have some patches in this week. Billy From Murray.Cumming@Comneon.com Mon Jan 12 11:17:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 58A1018521 for ; Mon, 12 Jan 2004 11:17:56 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CGDrDb018427; Mon, 12 Jan 2004 17:13:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 17:18:14 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: billyoc@gnuyork.org Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Mon, 12 Jan 2004 17:17:49 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > So, are there no volunteers for this? It's starting to > bother me that > > we have had almost no patches for gtkmm 2.4 so far. Don't > expect me do > > everything myself. > > I'm working on this, I'll have some patches in this week. Excellent. To avoid duplication of effort, it might help people to know what parts you expect to work on. (There is plenty for everybody). Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 12 13:39:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DD25B18415 for ; Mon, 12 Jan 2004 13:38:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CIYvDb017285; Mon, 12 Jan 2004 19:34:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 19:39:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Mon, 12 Jan 2004 19:38:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > Well, anyway, I'll be leaving campus soon and no longer have this > > bandwidth. > > > > The packages are at > > http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > > I have downloaded them for safety. I am a bit reluctant to > put binary packages on gtkmm.org until > - I am sure that they will be maintained in future. Isn't > there some central repository for things like this? > - The build process is documented. I would like a > README.MacOSX, like our current README.win32 and README.SUN > - I see that you have at least tried to get libtool fixed > instead of patching it locally. > > I do appreciate your efforts, but I don't want them to be wasted. If anybody wants this file, I can provide it on request, but 27Mb is a bit too much for me to host. And I won't put it on sourceforge until it's documented and there is a maintainer and we know that we can't put it somewhere more central. Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Mon Jan 12 13:41:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 18BF3187B0 for ; Mon, 12 Jan 2004 13:41:54 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Ag6yE-0001wy-2s for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:39:26 -0500 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Mon, 12 Jan 2004 13:39:26 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Mon, 12 Jan 2004 17:17:49 +0100") Message-ID: <877jzxypsx.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: >> I'm working on this, I'll have some patches in this week. > > Excellent. To avoid duplication of effort, it might help people to know what > parts you expect to work on. (There is plenty for everybody). I'm working on Gtk:TextBuffer and Gtk::Tree* Billy From julian@jabber.org Mon Jan 12 13:54:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 0992F18366 for ; Mon, 12 Jan 2004 13:54:58 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id 5670B43597; Mon, 12 Jan 2004 12:54:57 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16490-05; Mon, 12 Jan 2004 12:54:56 -0600 (CST) Received: from [128.2.74.52] (SKADI.WV.CC.cmu.edu [128.2.74.52]) by mail.aspect.net (Postfix) with ESMTP id 3E35B404A6; Mon, 12 Jan 2004 12:54:55 -0600 (CST) In-Reply-To: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: gtkmm-list@gnome.org, Thomas Muldowney From: Julian Missig Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Mon, 12 Jan 2004 13:54:53 -0500 To: Murray.Cumming@Comneon.com X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: >>> Well, anyway, I'll be leaving campus soon and no longer have this >>> bandwidth. >>> >>> The packages are at >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg >> >> I have downloaded them for safety. I am a bit reluctant to >> put binary packages on gtkmm.org until >> - I am sure that they will be maintained in future. Isn't >> there some central repository for things like this? DarwinPorts does not host binary packages. Fink hosts binary versions of their packages... eventually... but these were generated using DarwinPorts, which uses a different path prefix from Fink. Fink also does not use these double-clickable installers like DarwinPorts can produce. osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but I'm not sure whether they'd host something generated by DarwinPorts. >> - The build process is documented. I would like a >> README.MacOSX, like our current README.win32 and README.SUN >> - I see that you have at least tried to get libtool fixed >> instead of patching it locally. What more do you want me to do? I've contacted all the people I can and no one seems to know why it works like that or give a shit. >> >> I do appreciate your efforts, but I don't want them to be wasted. Whatever. I made these so that my users could get gtkmm installed. I've battled with this stuff for so long with so many unhelpful people I honestly don't care whether they're "officially" distributed anywhere. I have something which works, so that's good enough to get Gabber2 on OS X. I'm done as far as I'm concerned. Julian From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 12 16:22:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 1A0E218380 for ; Mon, 12 Jan 2004 16:22:03 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Ag9Va-0005Bp-0o for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:22:02 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1Ag9VZ-0007VK-Sw for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:22:01 -0800 Date: Mon, 12 Jan 2004 13:21:03 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #595 - 17 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 131200] New - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 2. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 3. [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) 4. [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc (bugzilla-daemon@widget.gnome.org) 5. [Bug 128932] Changed - gnome-vfsmm-1.3.4 won't build with gcc-2.95.x (bugzilla-daemon@widget.gnome.org) 6. [Bug 121646] Changed - won't build with older gcc (bugzilla-daemon@widget.gnome.org) 7. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 8. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) 9. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 10. [Bug 97036] Changed - Gdk::Drawable::draw_glyphs() uses a C type. (bugzilla-daemon@widget.gnome.org) 11. [Bug 125969] Changed - Scale button_pressed_event needs connect_notify() (bugzilla-daemon@widget.gnome.org) 12. [Bug 89780] Changed - Treeview: signal_button_press_event needs connect_notify() (bugzilla-daemon@widget.gnome.org) 13. [Bug 123082] Changed - directfb build (bugzilla-daemon@widget.gnome.org) 14. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 15. [Bug 126324] Changed - gtkmm 2.2 doesn't build with GTK+ 2.3 (bugzilla-daemon@widget.gnome.org) 16. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 17. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 00:07:13 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] New - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by billyoc@gnuyork.org. --- shadow/131200 Mon Jan 12 00:07:13 2004 +++ shadow/131200.tmp.4773 Mon Jan 12 00:07:13 2004 @@ -0,0 +1,17 @@ +Bug#: 131200 +Product: gtkmm +Version: 2.4 +OS: Linux +OS Details: Debian Sid +Status: NEW +Resolution: +Severity: normal +Priority: Normal +Component: build +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: billyoc@gnuyork.org +TargetMilestone: --- +URL: +Summary: gtkmm/demo syntax error, breaks build. + +Syntax error in HEAD, just a stray comma. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 00:07:52 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by billyoc@gnuyork.org. --- shadow/131200 Mon Jan 12 00:07:13 2004 +++ shadow/131200.tmp.4978 Mon Jan 12 00:07:52 2004 @@ -12,6 +12,11 @@ ReportedBy: billyoc@gnuyork.org TargetMilestone: --- URL: Summary: gtkmm/demo syntax error, breaks build. Syntax error in HEAD, just a stray comma. + +------- Additional Comments From billyoc@gnuyork.org 2004-01-12 00:07 ------- +Created an attachment (id=23249) +removes stray comma + --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, takekawa@users.sourceforge.jp Cc: Date: Mon, 12 Jan 2004 03:15:00 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by murrayc@usa.net. --- shadow/131172 Sun Jan 11 14:55:55 2004 +++ shadow/131172.tmp.26313 Mon Jan 12 03:15:00 2004 @@ -49,6 +49,15 @@ ^ ------- Additional Comments From takekawa@users.sourceforge.jp 2004-01-11 14:55 ------- Created an attachment (id=23239) patch to fix duplicate namespace + +------- Additional Comments From murrayc@usa.net 2004-01-12 03:14 ------- +Thanks. I will investigate. + +Please see +http://www.gtkmm.org/bugs.shtml +about creating patches. This patch patches generated files, and has no +ChangeLog entry. + --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:22:51 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129396 Changed by murrayc@usa.net. --- shadow/129396 Mon Jan 5 13:06:16 2004 +++ shadow/129396.tmp.22913 Mon Jan 12 07:22:51 2004 @@ -1,13 +1,13 @@ Bug#: 129396 Product: gnomemm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -43,6 +43,11 @@ Fortunately, this seems restricted to the examples directory. ------- Additional Comments From murrayc@usa.net 2003-12-19 10:24 ------- Not many people are using this compiler anymore, but patches are welcome. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:22 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:24:46 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 128932] Changed - gnome-vfsmm-1.3.4 won't build with gcc-2.95.x Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=128932 Changed by murrayc@usa.net. --- shadow/128932 Fri Dec 12 11:46:41 2003 +++ shadow/128932.tmp.23792 Mon Jan 12 07:24:46 2004 @@ -1,13 +1,13 @@ Bug#: 128932 Product: gnomemm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: gnome-vfsmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -469,6 +469,15 @@ } ------- Additional Comments From murrayc@usa.net 2003-12-12 11:46 ------- Thanks, but please _attach_ your patch and patch the ChangeLog. In general, please see: http://www.gtkmm.org/bugs.shtml + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:24 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. + +This bug has a patch, but there isn't much point in applying it until +gtkmm 2.4 builds with gcc 2.9*. That will be even less likely when +gtkmm 2.4 uses libsigc++ 2, as it soon will. --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: p@kapcoweb.com Date: Mon, 12 Jan 2004 07:25:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 121646] Changed - won't build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=121646 Changed by murrayc@usa.net. --- shadow/121646 Sun Oct 12 06:05:50 2003 +++ shadow/121646.tmp.24203 Mon Jan 12 07:25:27 2004 @@ -1,13 +1,13 @@ Bug#: 121646 Product: gnomemm Version: 2.0 OS: other OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: libgnomeuimm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -98,6 +98,11 @@ ------- Additional Comments From murrayc@usa.net 2003-10-12 06:05 ------- You have patched generated files, so this is not actually a patch. Please see http://www.gtkmm.org/bugs.shtml about making patches. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:25 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:26:20 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Jan 5 10:24:56 2004 +++ shadow/129719.tmp.24718 Mon Jan 12 07:26:20 2004 @@ -1,13 +1,13 @@ Bug#: 129719 Product: gnomemm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -114,6 +114,12 @@ project. There is definite precedence for it and I think it would fall under "least surprise" to have the ability to regen them by default. ------- Additional Comments From murrayc@usa.net 2003-12-22 12:39 ------- Of course generated files should be regenerated if the source file has changed. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:26 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. + --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:27:51 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Fri Jan 9 12:23:25 2004 +++ shadow/129210.tmp.25666 Mon Jan 12 07:27:51 2004 @@ -1,13 +1,13 @@ Bug#: 129210 Product: gtkmm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -231,6 +231,11 @@ and user space apps with the same compiler. So I believe that it is not a real problem. Of course, I also believe that linuxfromscratch people actually enjoy having these problems. So, I guess we'll drop the gcc 2.9* support. But thanks for showing us that we needed to think about it. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:27 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 9 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, billyoc@gnuyork.org Cc: Date: Mon, 12 Jan 2004 07:29:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by murrayc@usa.net. --- shadow/131200 Mon Jan 12 00:07:52 2004 +++ shadow/131200.tmp.26856 Mon Jan 12 07:29:17 2004 @@ -17,6 +17,9 @@ Syntax error in HEAD, just a stray comma. ------- Additional Comments From billyoc@gnuyork.org 2004-01-12 00:07 ------- Created an attachment (id=23249) removes stray comma + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:29 ------- +Thanks. Someone please commit this. --__--__-- Message: 10 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, morus.walter@xipolis.net Cc: Date: Mon, 12 Jan 2004 07:30:45 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 97036] Changed - Gdk::Drawable::draw_glyphs() uses a C type. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=97036 Changed by murrayc@usa.net. --- shadow/97036 Thu May 22 06:22:48 2003 +++ shadow/97036.tmp.28600 Mon Jan 12 07:30:45 2004 @@ -92,6 +92,9 @@ --Daniel ------- Additional Comments From murrayc@usa.net 2002-10-31 06:58 ------- OK, thanks for the explanation. Awaiting a patch for a future API-break maybe 2.2. or 2.4. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:30 ------- +Now would be a good time to submit a patch. We must freeze the API soon. --__--__-- Message: 11 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, chalil@boun.edu.tr Cc: Date: Mon, 12 Jan 2004 08:02:59 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 125969] Changed - Scale button_pressed_event needs connect_notify() Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=125969 Changed by murrayc@usa.net. --- shadow/125969 Wed Nov 5 07:10:46 2003 +++ shadow/125969.tmp.15003 Mon Jan 12 08:02:59 2004 @@ -1,9 +1,9 @@ Bug#: 125969 Product: gtkmm -Version: 2.2 +Version: 2.4 OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal --__--__-- Message: 12 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, steve@przepiora.org Cc: Date: Mon, 12 Jan 2004 08:03:30 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 89780] Changed - Treeview: signal_button_press_event needs connect_notify() Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=89780 Changed by murrayc@usa.net. --- shadow/89780 Wed Nov 5 07:09:47 2003 +++ shadow/89780.tmp.15315 Mon Jan 12 08:03:29 2004 @@ -1,9 +1,9 @@ Bug#: 89780 Product: gtkmm -Version: 2.0 +Version: 2.4 OS: Linux OS Details: Status: REOPENED Resolution: Severity: minor Priority: Normal --__--__-- Message: 13 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pgasper@designadvantage.com Cc: Date: Mon, 12 Jan 2004 08:04:32 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 123082] Changed - directfb build Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=123082 Changed by murrayc@usa.net. --- shadow/123082 Tue Nov 25 11:44:11 2003 +++ shadow/123082.tmp.15782 Mon Jan 12 08:04:32 2004 @@ -4,13 +4,13 @@ OS: Linux OS Details: Mandrake 9.1 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pgasper@designadvantage.com TargetMilestone: --- URL: Summary: directfb build --__--__-- Message: 14 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, christof@petig-baender.de Cc: Date: Mon, 12 Jan 2004 08:05:34 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by murrayc@usa.net. --- shadow/131019 Fri Jan 9 11:48:12 2004 +++ shadow/131019.tmp.16360 Mon Jan 12 08:05:34 2004 @@ -2,13 +2,13 @@ Product: gtkmm Version: 2.2 OS: Linux OS Details: Status: NEW Resolution: -Severity: enhancement +Severity: normal Priority: Normal Component: TreeView AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: christof@petig-baender.de TargetMilestone: --- URL: --__--__-- Message: 15 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pierre42d@9online.fr Cc: Date: Mon, 12 Jan 2004 08:13:05 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 126324] Changed - gtkmm 2.2 doesn't build with GTK+ 2.3 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=126324 Changed by murrayc@usa.net. --- shadow/126324 Tue Dec 23 03:19:34 2003 +++ shadow/126324.tmp.19618 Mon Jan 12 08:13:05 2004 @@ -1,13 +1,13 @@ Bug#: 126324 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pierre42d@9online.fr TargetMilestone: --- @@ -102,6 +102,11 @@ ------- Additional Comments From murrayc@usa.net 2003-11-12 10:34 ------- I would like you to check whether gtkmm 2.2 from cvs builds without error. ------- Additional Comments From pierre42d@9online.fr 2003-12-23 03:19 ------- could you put a cvs snapshot somewhere? would be easier for me. + +------- Additional Comments From murrayc@usa.net 2004-01-12 08:12 ------- +Hmm, this build error had nothing to do with the API change - it was +just because we disabled deprecations before. Closing. I'll release a +new gtkmm 2.2.x version soon. --__--__-- Message: 16 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, billyoc@gnuyork.org Cc: Date: Mon, 12 Jan 2004 15:13:49 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by murrayc@usa.net. --- shadow/131200 Mon Jan 12 07:29:17 2004 +++ shadow/131200.tmp.19023 Mon Jan 12 15:13:49 2004 @@ -1,13 +1,13 @@ Bug#: 131200 Product: gtkmm Version: 2.4 OS: Linux OS Details: Debian Sid -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: billyoc@gnuyork.org TargetMilestone: --- --__--__-- Message: 17 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 16:20:36 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Fri Jan 9 11:06:46 2004 +++ shadow/124297.tmp.24398 Mon Jan 12 16:20:36 2004 @@ -19,6 +19,17 @@ that should be similar to the custom cell renderer. ------- Additional Comments From christof@petig-baender.de 2004-01-09 11:06 ------- Created an attachment (id=23167) Feel free to simplify the GObject related stuff + +------- Additional Comments From murrayc@usa.net 2004-01-12 16:20 ------- +So, the question is, why do need the awful C GClass stuff. Here +(gtkmm_custom_treemodel2.cc) is a version that is more like what we +would expect. Ignore the first warning. But it gives this bizarre warning: + +(a.out:24508): GLib-GObject-WARNING **: cannot add interface type +`GtkTreeModel' to type `GObject', since type `GtkListStore' already +conforms to interface + +But we don't mention ListStore anywhere in the example. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From palm@nogui.se Mon Jan 12 17:29:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id 7B52318413 for ; Mon, 12 Jan 2004 17:29:46 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i0CMTd07005775; Mon, 12 Jan 2004 23:29:40 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <40032E07.4090101@nogui.se> Date: Tue, 13 Jan 2004 00:30:15 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [[gtkmm] Alternate libglademm interface] References: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes. As a matter of fact I finished up all the suggested changes a couple of weeks ago - still need to do some more testing and wrap it up as a patch, but I should be able to do that in the upcoming weekend. Murray.Cumming@Comneon.com wrote: > We must freeze the libglademm 2.4 API on February 16th > http://www.gnome.org/start/2.5/bindings/#ApiFreeze > > Are you likely to have a patch for me to look at soon? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > >>-----Original Message----- >>From: Christer Palm [mailto:palm@nogui.se] >>Sent: Dienstag, 7. Oktober 2003 20:54 >>To: Murray Cumming >>Cc: gtkmm-list@gnome.org >>Subject: Re: [[gtkmm] Alternate libglademm interface] >> >> >>Hi! >> >>Murray Cumming wrote: >> >>>> - Allow arbitrary constructor arguments for derived >> >>widget classes. >> >>> >>>This could be nice. Obviously it would be impractical to typedef an >>>Adapter for every possible class, so I think that the example code >>>should use the Adapter template without a typedef. >>> >> >>The typedef's are just there for convenience, of course. >>The Adapter should stay visible to enable it to be used directly for >>other classes. And yes, the example could be much better. >> >> >>>> - Straightforward creation of derived widgets, no Xml::create(), >>>>get_derived_widget(), etc. >>> >>> >>>By putting the glade filename in the constructor, yes. But >> >>would this >> >>>allow us to have 2 derived child-widgets that have been >> >>layed out in >> >>>the same container widget in a .glade file. I think the existing >>>get_widget_derived() method allows us to reuse an existing >>>Gnome::Glade::Xml instance, but this one creates a new one for each >>>class. >>> >> >>This could quite easily be fixed by adding additional XmlWidget::Base >>constructors for building the widget from an existing >>Gnome::Glade::Xml >>instance. >> >>The other way around, the internal Xml instance should >>probably also be >>made accessable in some way. >> >>A version intended for general use should probably also have >>constructors for building from a memory buffer, specifying the root, >>etc., just as with Gnome::Glade::Xml. >> >>I didn't put it in there because I didn't need it personally... >> >> >>>> - Hides more (most) glade stuff from the user. >>> >>> >>>See above. This might be a problem if the top-most class is >> >>not one of >> >>>your derived classes. Maybe that is not a common case. >>> >> >>It appears that it is not. Most gtkmm code I've seen so far >>only derives >>top-level widgets such as windows and dialogs. >> >> >>>> - Makes it easy to catch runtime errors when, for >> >>example, making a >> >>>>bunch of get_widget() calls by using exceptions. >>> >>> >>>I don't see a need to create a new exception class. >>>Gnome::Glade::Xml::Error should be enough. Also, I don't >> >>think we use >> >>>throw() declarations in our *mm stuff. >>> >> >>Well, I wasn't planning on throwing the actual >>XmlWidget::Exception, but >>more detailed exceptions derived from it, but I got a little >>lazy on the >>way and just put in throw(Exception):s for now. >> >>The idea is to give the user a flexible choice of what level >>he (she?) >>wants to provide error handling. If you just want to know if >>_anything_ >>went wrong, catch Glib::Exception. If you want to know if >>something went >>wrong with XmlWidget, catch XmlWidget::Exception. If you specifically >>want to know when a widget is missing from the glade file, catch >>XmlWidget::MissingWidgetException. You get the idea... >> >>throw specifiers are actually used in Glib, so they shouldn't >>cause any >>porting issues that are not already there. Personally I love >>them - they >>definitely help to improve your code quality. >> >>Both mechanisms are practically free from a runtime resource >>perspective. Just too bad that they aren't very frequently used, in >>gtkmm or elsewhere. >> >>All this of course subject matter to each and everyones >>personal taste >>and level on conservativism :-) >> >> >>>>Please keep in mind that this is a quick proof-of-concept hack. I'd >>>>like >>>>to hear your comments, as I suspect that the approach I'm >> >>using may not >> >>>>be 100% flawless. >>> >>> >>>I don't see where you are instantiating the gtkmm GTypes. This code >>>just seems to instantiate the GTK+ Gtype: >>> >> >>:-) >> >>The instantiation is well hidden inside libglademm thanks to the fact >>that I pass xml->gobj() to glade_xml_get_widget(), and xml is a >>Gnome::Glade::Xml instance (providing the virtual function >>for looking >>up the proper GType). >> >> >>>In general, I would prefer patches (although new files >> >>generally need >> >>>to be tarballed up separately) in bugzilla. You can put the URL in >>>emails. >>> >> >>Yes, of course. As I wrote, this wasn't meant to be an "official" >>submission to libglademm in any way (at least not at this stage), but >>merely a simple way to demonstrate the concept and gain some >>comments on it. >> >> >>>This is interesting. I particularly don't like that the >> >>classes used >> >>>with the current get_widget_derived() are forced to all >> >>have the same >> >>>constructor parameters. >>> >> >>Yes. That's actually the main reason to why I cooked this up. >>It was a >>showstopper in my case. >> >>-- >>Christer Palm >> >> > > From tor.arvid.lund@idi.ntnu.no Mon Jan 12 17:50:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from totto.homelinux.net (119.80-202-31.nextgentel.com [80.202.31.119]) by mail.gnome.org (Postfix) with ESMTP id E027918323 for ; Mon, 12 Jan 2004 17:50:26 -0500 (EST) Received: from totto.homelinux.net ([127.0.0.1] helo=idi.ntnu.no) by totto.homelinux.net with esmtp (Exim 3.36 #1 (Debian)) id 1AgAu4-0005tC-00 for ; Mon, 12 Jan 2004 23:51:24 +0100 Message-ID: <400324EC.2050006@idi.ntnu.no> Date: Mon, 12 Jan 2004 23:51:24 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] How to make a column in a TreeView a ProgressBar? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. I am new to gtkmm (and this list), and have been going through the tutorials on gtkmm.org. I am trying to make a TreeView with one column showing a ProgessBar (think DC++ in Windows). I gather from the Documentation that I need to make my own CellRenderer, but that part of the Documentation seemed somewhat unfinished. Can I find information regarding this somewhere else (maybe some of you on this list has experience...?) Any pointers would be helpful. Thanks. - -- Tor Arvid Lund -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAAyTs8CJw6vM17R4RAicFAJ9FeUPdJsbNZmu8qFtWwNRVbzQebgCeI/EX GEDU7YOUKPe/IbGkgPQdqvw= =Xr+s -----END PGP SIGNATURE----- From abhatnag@mda.ca Mon Jan 12 19:50:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 93DD01865D for ; Mon, 12 Jan 2004 19:50:51 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0D0onW08771 for ; Mon, 12 Jan 2004 16:50:49 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 12 Jan 2004 16:50:48 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Mon, 12 Jan 2004 16:50:44 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Examples of libglademm in action? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I'm looking for example source of applications using libglademm. I don't find the "basic" example that comes with the libglademm tarball that usefull. Does anyone know where I can find such examples? thanks. From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 12 23:05:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 4C2BC182E3 for ; Mon, 12 Jan 2004 23:05:42 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AgFoD-0002JF-21 for gtkmm-list@gnome.org; Mon, 12 Jan 2004 20:05:41 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AgFoC-00025B-Q9 for gtkmm-list@gnome.org; Mon, 12 Jan 2004 20:05:40 -0800 Date: Mon, 12 Jan 2004 20:02:37 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #596 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 2. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 3. [Bug 108971] Changed - Deriving from Glib::Object produces debug spew (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 16:21:18 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Mon Jan 12 16:20:36 2004 +++ shadow/124297.tmp.25018 Mon Jan 12 16:21:18 2004 @@ -30,6 +30,11 @@ (a.out:24508): GLib-GObject-WARNING **: cannot add interface type `GtkTreeModel' to type `GObject', since type `GtkListStore' already conforms to interface But we don't mention ListStore anywhere in the example. + +------- Additional Comments From murrayc@usa.net 2004-01-12 16:21 ------- +Created an attachment (id=23281) +gtkmm_custom_treemodel2.cc + --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 17:10:50 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Mon Jan 12 16:21:18 2004 +++ shadow/124297.tmp.26846 Mon Jan 12 17:10:50 2004 @@ -35,6 +35,17 @@ But we don't mention ListStore anywhere in the example. ------- Additional Comments From murrayc@usa.net 2004-01-12 16:21 ------- Created an attachment (id=23281) gtkmm_custom_treemodel2.cc + +------- Additional Comments From murrayc@usa.net 2004-01-12 17:10 ------- +I just checked in a fix to both branches that makes +gtkmm_custom_treemodel2.cc work. It properly implements the +Glib::Object default constructor so that it generates a custom +on-the-fly derived GType (derived from GObject) when you have already +called teh ObjectBase(typeid(MyCustomClass)) constructor. + +So, now the nasty GType stuff is gone, and we just need to tidy this +example up (Separate files for each class. No method implementation in +a .h file.) and add some comments. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 17:15:41 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 108971] Changed - Deriving from Glib::Object produces debug spew Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=108971 Changed by murrayc@usa.net. --- shadow/108971 Wed Jul 16 11:29:57 2003 +++ shadow/108971.tmp.30420 Mon Jan 12 17:15:41 2004 @@ -1,13 +1,13 @@ Bug#: 108971 Product: gtkmm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: trivial Priority: Low Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: seth@gnome.org TargetMilestone: --- @@ -46,6 +46,11 @@ opinion about this. ------- Additional Comments From murrayc@usa.net 2003-07-16 11:29 ------- At the least we should put a bit more information in that warning, such as "You probably have no reason to derive directly from Glib::Object." + +------- Additional Comments From murrayc@usa.net 2004-01-12 17:15 ------- +This has been fixed as part of bug #124297. The Glib::Object default +constructor is now known to be useful for implementing custom +TreeModels, because they need a GType. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From Murray.Cumming@Comneon.com Tue Jan 13 04:38:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 14FBA1843F for ; Tue, 13 Jan 2004 04:38:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0D9YgDc012481 for ; Tue, 13 Jan 2004 10:34:43 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 10:39:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22866@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtkmm-forge@lists.sourceforge.net mailing list remind er Date: Tue, 13 Jan 2004 10:38:36 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry about this. I don't know why it started sending this password reminder to the list. Please ignore it (and don't use the password to change anythign). This is the gtkmm-list digest subscription for gtkmm-forge, not your own subscription to gtkmm-forge. Gtkmm-forge receives bugzilla notifications and then sends a digest of them to the list. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of > gtkmm-forge-request@lists.sourceforge.net > Sent: Montag, 12. Januar 2004 22:39 > To: gtkmm-list@gnome.org > Subject: [gtkmm] Gtkmm-forge@lists.sourceforge.net mailing > list reminder > > > This is a reminder of how to unsubscribe or change your > configuration for the address "gtkmm-list@gnome.org" on the > mailing list Gtkmm-forge. You need to have your password for > these things. YOUR Gtkmm-forge PASSWORD IS: > > panuar > > To make changes to your subscription, use the password on > your options World Wide Web page: > https://lists.sourceforge.net/lists/options/gtkmm-forge/gtkmm-list%40gnome.o rg You can also make such changes via email - send a message to: gtkmm-forge-request@lists.sourceforge.net with the text "help" in the subject or body, and you will be emailed instructions. Questions or comments? Please send them to gtkmm-forge-admin@lists.sourceforge.net. _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list From Murray.Cumming@Comneon.com Tue Jan 13 05:43:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A9B83183D2 for ; Tue, 13 Jan 2004 05:43:19 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DAcmDb001460; Tue, 13 Jan 2004 11:38:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 11:43:09 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22880@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org, temas@box5.net Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 13 Jan 2004 11:42:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I think that this is very recent, but it looks good. Could you try it please?: http://fink.sourceforge.net/pdb/package.php/gtkmm2 Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Julian Missig [mailto:julian@jabber.org] > Sent: Montag, 12. Januar 2004 19:55 > To: Cumming Murray (CN L External) > Cc: gtkmm-list@gnome.org; Thomas Muldowney > Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer > for Mac OS X > > > On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > > >>> Well, anyway, I'll be leaving campus soon and no longer have this > >>> bandwidth. > >>> > >>> The packages are at > >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >> > >> I have downloaded them for safety. I am a bit reluctant to > put binary > >> packages on gtkmm.org until > >> - I am sure that they will be maintained in future. Isn't > there some > >> central repository for things like this? > > DarwinPorts does not host binary packages. Fink hosts binary versions > of their packages... eventually... but these were generated using > DarwinPorts, which uses a different path prefix from Fink. Fink also > does not use these double-clickable installers like DarwinPorts can > produce. osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but > I'm not sure whether they'd host something generated by DarwinPorts. > > >> - The build process is documented. I would like a > README.MacOSX, like > >> our current README.win32 and README.SUN > >> - I see that you have at least tried to get libtool fixed > instead of > >> patching it locally. > > What more do you want me to do? I've contacted all the people > I can and > no one seems to know why it works like that or give a shit. > > >> > >> I do appreciate your efforts, but I don't want them to be wasted. > > Whatever. I made these so that my users could get gtkmm > installed. I've > battled with this stuff for so long with so many unhelpful people I > honestly don't care whether they're "officially" distributed > anywhere. > I have something which works, so that's good enough to get Gabber2 on > OS X. I'm done as far as I'm concerned. > > Julian > From roger@whinlatter.uklinux.net Tue Jan 13 07:45:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by mail.gnome.org (Postfix) with ESMTP id 9EE9018960 for ; Tue, 13 Jan 2004 07:45:29 -0500 (EST) Received: from wrynose.whinlatter.uklinux.net (unknown [213.162.108.80]) by mail.metronet.co.uk (MetroNet Mail) with ESMTP id 8120A407290 for ; Tue, 13 Jan 2004 12:45:19 +0000 (GMT) Received: from roger by wrynose.whinlatter.uklinux.net with local (Exim 3.36 #1 (Debian)) id 1AgL93-0001ma-00; Tue, 13 Jan 2004 09:47:33 +0000 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Examples of libglademm in action? References: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> From: Roger Leigh Date: Tue, 13 Jan 2004 09:47:33 +0000 In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> (Amit BHATNAGAR's message of "Mon, 12 Jan 2004 16:50:44 -0800") Message-ID: <87k73wrxhm.fsf@wrynose.whinlatter.uklinux.net> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR writes: > I'm looking for example source of applications using libglademm. > I don't find the "basic" example that comes with the libglademm > tarball that usefull. Does anyone know where I can find such examples? http://people.debian.org/~rleigh/gtk/ogcalc/ HTH, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. From roger@whinlatter.uklinux.net Tue Jan 13 07:45:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by mail.gnome.org (Postfix) with ESMTP id A0B721897C for ; Tue, 13 Jan 2004 07:45:29 -0500 (EST) Received: from wrynose.whinlatter.uklinux.net (unknown [213.162.108.80]) by mail.metronet.co.uk (MetroNet Mail) with ESMTP id A1013408E5E; Tue, 13 Jan 2004 12:45:18 +0000 (GMT) Received: from roger by wrynose.whinlatter.uklinux.net with local (Exim 3.36 #1 (Debian)) id 1Ag84P-00009x-00; Mon, 12 Jan 2004 19:49:53 +0000 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> From: Roger Leigh Date: Mon, 12 Jan 2004 19:49:53 +0000 In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Fri, 9 Jan 2004 14:29:29 +0100") Message-ID: <87vfnht09q.fsf@wrynose.whinlatter.uklinux.net> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > I think that 100% API documentation should be possible, and it's an easy way > to help. I'm familiar with Doxygen, but not with the way Gtkmm preprocesses its source--where should the documentation be placed? Would it be OK for non-developers to contribute patches? I've checked out Gtkmm from CVS. Is the mainline the right place to be working from? I don't have a huge amount of free time, so this would probably be on an "as I find something undocumented that I need" basis. Regards, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. From Murray.Cumming@Comneon.com Tue Jan 13 07:50:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id AC99B1899C for ; Tue, 13 Jan 2004 07:50:31 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DCkSDb028591; Tue, 13 Jan 2004 13:46:28 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 13:50:49 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22893@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: roger@whinlatter.uklinux.net, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Tue, 13 Jan 2004 13:50:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > I think that 100% API documentation should be possible, and it's an > > easy way to help. > > I'm familiar with Doxygen, but not with the way Gtkmm > preprocesses its source--where should the documentation be > placed? Most .h and .cc files are generated from .hg and .ccg files. Doxygen documentation should be placed above the method declarations in the .hg files. Methods that are generated by _WRAP_METHOD() will almost always have generated documentation automatically, so you don't need to worry about them. You can read more about gmmproc in glibmm/docs/internals/ > Would it be OK for non-developers to contribute patches? It's always OK for anyone to submit patches: http://www.gtkmm.org/bugs.shtml > I've checked out Gtkmm from CVS. Is the mainline the right > place to be working from? Yes: http://www.gtkmm.org/cvs.shtml > I don't have a huge amount of free time, so this would > probably be on an "as I find something undocumented that I > need" basis. OK, but this should not take much time. It's just a case of - looking at part of the C++ docs - finding undocmented methods or classes - looking at the C docs. - Writing C++ docs based on those C docs. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 13 07:51:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7B338189AA for ; Tue, 13 Jan 2004 07:51:14 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DClBDb028807; Tue, 13 Jan 2004 13:47:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 13:51:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22894@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abhatnag@mda.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Examples of libglademm in action? Date: Tue, 13 Jan 2004 13:51:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm looking for example source of applications using > libglademm. I don't find the "basic" example that comes with > the libglademm tarball that usefull. Does anyone know where I > can find such examples? If there is anything particular that you would like the libglademm examples to show, then please do tell us. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 13 12:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 52F0B18A44 for ; Tue, 13 Jan 2004 12:04:58 -0500 (EST) Received: (qmail 3734 invoked by uid 65534); 13 Jan 2004 17:04:54 -0000 Received: from pD9E948EC.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.72.236) by mail.gmx.net (mp021) with SMTP; 13 Jan 2004 18:04:54 +0100 X-Authenticated: #109577 Message-ID: <4004253B.40805@gmx.de> Date: Tue, 13 Jan 2004 18:04:59 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] example for TextView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! Can somebody please provide a small example how to fill the widget with text? TIA, Andi From billyoc@gnuyork.org Tue Jan 13 13:49:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id B762D18516 for ; Tue, 13 Jan 2004 13:49:16 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AgTYq-000288-M0; Tue, 13 Jan 2004 13:46:44 -0500 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] example for TextView References: <4004253B.40805@gmx.de> From: Billy O'Connor Date: Tue, 13 Jan 2004 13:46:44 -0500 In-Reply-To: <4004253B.40805@gmx.de> (Andreas B. Thun's message of "Tue, 13 Jan 2004 18:04:59 +0100") Message-ID: <87u12zit4b.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > Hi! > > Can somebody please provide a small example how to fill > the widget with text? > The code in gtkmm/examples/book/textview should show everything you need. From ramachandrap@dpsl.net Wed Jan 14 01:26:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id DDE2118368 for ; Wed, 14 Jan 2004 01:26:36 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 12:08:42 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZXZK0; Wed, 14 Jan 2004 12:08:32 +0530 Received: FROM comp448 BY khyber.enigma ; Wed Jan 14 12:08:30 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <008b01c3da68$0fafa890$5f0210ac@enigma> References: <20040112214048.28318.55929.Mailman@moniker.gnome.org> Date: Wed, 14 Jan 2004 12:01:37 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Re: API documentation: aiming for 100% Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi In response to your call for documentation of GTKmm classes, below are the classes for which we can do the API documentaion. NAMESPACE - GDK CLASSES- GC Pixbuf Pixmap NAMESPACE - GLIB CLASSES- Thread Thread::Exit Thread::Error Mutex Mutex::Lock NAMESPACE - GTK CLASSES - Window Widget FileSelection NAMESPACE- Gnome::Canvas CLASSES- Canvas CanvasAA Pixbuf and the format we can use for the documentation is- API NAME INPUT PARAMETERS DESCRIPTION OUTPUT Please guide me. Regards, Ramachandra From alberto@paro.homeunix.org Wed Jan 14 03:13:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep03-svc.flexmail.it (fep03.tuttopmi.it [212.131.248.106]) by mail.gnome.org (Postfix) with ESMTP id 9DA0B18441 for ; Wed, 14 Jan 2004 03:13:14 -0500 (EST) Received: from paro.homeunix.org ([82.88.53.142]) by fep03-svc.flexmail.it with ESMTP id <20040114081329.PZQW12265.fep03-svc.flexmail.it@paro.homeunix.org> for ; Wed, 14 Jan 2004 09:13:29 +0100 Message-ID: <4004FA68.3040201@paro.homeunix.org> Date: Wed, 14 Jan 2004 09:14:32 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >I think that 100% API documentation should be possible, and it's an easy way >to help. > > > I'm checking doc for glibmm, but last cvs was unable to merge the doc. I've genered the docs XML file with docgen of pygtk. Something was changed in gtkmmproc and it does not recognize the --mergedocs options. Some ideas? Thanks, Alberto From Murray.Cumming@Comneon.com Wed Jan 14 05:56:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0FA061827D for ; Wed, 14 Jan 2004 05:56:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EAqqDb020919; Wed, 14 Jan 2004 11:52:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 11:57:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228E2@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: alberto@paro.homeunix.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Wed, 14 Jan 2004 11:56:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm checking doc for glibmm, but last cvs was unable to merge > the doc. I've genered the docs XML file with docgen of pygtk. Yes, there is currently no glibmm_docs.xml in glibmm. Please do add it if would be useful. > Something was changed in gtkmmproc It's now "gmmproc" > and it does not recognize the > --mergedocs options. > Some ideas? Yes, I removed the option in glibmm in cvs. It now _always_ merges the docs. Please report any actual build errors with the code in cvs. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 14 05:59:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D8EC31857E for ; Wed, 14 Jan 2004 05:59:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EAtADb021769; Wed, 14 Jan 2004 11:55:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 11:59:34 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228E3@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] Re: API documentation: aiming for 100% Date: Wed, 14 Jan 2004 11:59:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Hi > In response to your call for documentation of GTKmm classes, > below are the classes for which we can do the API documentaion. > > NAMESPACE - GDK > CLASSES- > GC > Pixbuf > Pixmap > > NAMESPACE - GLIB > CLASSES- > Thread > Thread::Exit > Thread::Error > Mutex > Mutex::Lock > > NAMESPACE - GTK > CLASSES - > Window > Widget > FileSelection > > NAMESPACE- Gnome::Canvas > CLASSES- > Canvas > CanvasAA > Pixbuf Great. > and the format we can use for the documentation is- > API NAME > INPUT PARAMETERS > DESCRIPTION > OUTPUT > > Please guide me. I am not quite sure what specific help you need. Are you familiar with the doxygen/javadoc format that we use? Are you not familiar with the way that gmmproc merges the C docs to generate some doxygen comments automatically? Murray Cumming www.murrayc.com murrayc@usa.net From jvilarroig@terra.es Wed Jan 14 06:33:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tsmtp6.mail.isp (smtp.terra.es [213.4.129.129]) by mail.gnome.org (Postfix) with ESMTP id 42AC5183C8 for ; Wed, 14 Jan 2004 06:33:55 -0500 (EST) Received: from 62-151-131-24.tp24.ya.com ([62.151.131.24]) by tsmtp6.mail.isp (terra.es) with ESMTP id HRH9G502.4FS for ; Wed, 14 Jan 2004 12:33:41 +0100 From: Javier Vilarroig To: Gtkmm e-list Content-Type: text/plain Message-Id: <1074078978.4605.16.camel@javor.vilarroig.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 14 Jan 2004 12:16:18 +0100 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Newbie libglademm question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi. Excuse me if this is not the right place for this question. I'm starting to write my first serious app with gtkmm/libglademm, and I'm having a strange problem, at least to me :). I'm creating a separate .glade file for every dialog on the app, and I load it on the class constructor in order to be able to open multiple instances of them. I do that because , to my understanding, when the .glade file is opened only one instance for every dialog is created and I need to be able to open multiple instances. Also I understand that whe the .glade file is loaded, all and every dialog are created, so it seems a memory waste to have only one .glade file. Correct me if I missunderstood that. I open the main app window without problem, but when I create the first independent dialog I got a lot of errors on stderr, there is a sample at mail end. The dialog opens correctly and it seems it's working correctly, but I'm affraid I have misunderstood something on the libglademm "filosofy" and that it can lead to unespected failures later. Any help would be apreciated. Thanks in advance Javor PS. Pls, excuse my bad english. It's not my native tonge. Error listing: -------------------------------- (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GConf-CRITICAL **: file gconf-client.c: line 546 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 869 (gnome_program_locate_file): assertion `program != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 869 (gnome_program_locate_file): assertion `program != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed -------------- From Murray.Cumming@Comneon.com Wed Jan 14 09:15:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6C286188FB for ; Wed, 14 Jan 2004 09:15:06 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EEArDb002025; Wed, 14 Jan 2004 15:10:55 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 15:15:18 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Re: API documentation: aiming for 100% Date: Wed, 14 Jan 2004 15:14:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I would like to clarify whether documentation should commence > on all the below mentioned classes in order to avoid > duplication of the work if someone is already o the same job. Yes, please go ahead. I am not aware of anybody who is working on the documentation of the same classes. Everybody is announcing their work on the list, so it should be easy to avoid conflicts. > Further, is the format as mentioned below is acceptable to > you? You have not really described a format precisely here: > > > and the format we can use for the documentation is- > > > API NAME > > > INPUT PARAMETERS > > > DESCRIPTION > > > OUTPUT but I am confident that you can look at the existing doxygen comments and do the same for new documentation. > Do you need us to give more headers in .h file? I don't understand that sentence, but again, I don't see any way to be confused about the task. > We are fully conversant with Doxygen. Great. Murray Cumming www.murrayc.com murrayc@usa.net > > > In response to your call for documentation of GTKmm > classes, below > > > are the classes for which we can do the API documentaion. > > > > > > NAMESPACE - GDK > > > CLASSES- > > > GC > > > Pixbuf > > > Pixmap > > > > > > NAMESPACE - GLIB > > > CLASSES- > > > Thread > > > Thread::Exit > > > Thread::Error > > > Mutex > > > Mutex::Lock > > > > > > NAMESPACE - GTK > > > CLASSES - > > > Window > > > Widget > > > FileSelection > > > > > > NAMESPACE- Gnome::Canvas > > > CLASSES- > > > Canvas > > > CanvasAA > > > Pixbuf > > > > Great. > > > > > and the format we can use for the documentation is- > > > API NAME > > > INPUT PARAMETERS > > > DESCRIPTION > > > OUTPUT > > > > > > Please guide me. > > > > I am not quite sure what specific help you need. Are you > familiar with > > the doxygen/javadoc format that we use? Are you not > familiar with the > > way that gmmproc merges the C docs to generate some doxygen > comments > > automatically? > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > From abhatnag@mda.ca Wed Jan 14 15:50:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id B07E818A8B for ; Wed, 14 Jan 2004 15:50:30 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0EKoOW10104; Wed, 14 Jan 2004 12:50:25 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 14 Jan 2004 12:50:24 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942848B@msxyvr5.mda.ca> From: Amit BHATNAGAR To: "'Roger Leigh'" Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Examples of libglademm in action? Date: Wed, 14 Jan 2004 12:50:24 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thank you! This is exactly what I needed, an excellent tutorial on GTK+, C++ and glade! amit. > -----Original Message----- > From: Roger Leigh [mailto:roger@whinlatter.uklinux.net] > Sent: January 13, 2004 1:48 AM > To: Amit BHATNAGAR > Cc: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Examples of libglademm in action? > > > Amit BHATNAGAR writes: > > > I'm looking for example source of applications using libglademm. > > I don't find the "basic" example that comes with the libglademm > > tarball that usefull. Does anyone know where I can find > such examples? > > http://people.debian.org/~rleigh/gtk/ogcalc/ > > > HTH, > Roger > > -- > Roger Leigh > > Printing on GNU/Linux? > http://gimp-print.sourceforge.net/ > GPG Public Key: 0x25BFB848. Please sign and > encrypt your mail. > > From gene@erachampion.com Wed Jan 14 18:03:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 0A886182C9 for ; Wed, 14 Jan 2004 18:03:07 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i0ENDHF10205; Wed, 14 Jan 2004 15:13:17 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Wed, 14 Jan 2004 15:13:16 -0800 Message-ID: <1074121996.4005cd0c72c01@realtyroad.com> Date: Wed, 14 Jan 2004 15:13:16 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Cc: roger.whinlatter@uklinux.net Subject: [gtkmm] Gtkmm Tutorials (was: Re: Examples of libglademm in action?) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Roger Leigh writes: > > I'm looking for example source of applications using libglademm. > > I don't find the "basic" example that comes with the libglademm > > tarball that usefull. Does anyone know where I can find such examples? > http://people.debian.org/~rleigh/gtk/ogcalc/ This is exactly what gtkmm needs (ie. more documentation/tutorials). This is an excellent tutorial on gtk+/gtkmm & glade. I think a 'Tutorials' link should be created on the main gtkmm webpage with links to all gtkmm tutorials. Anyone aware of any other gtkmm tutorials out there? -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From Stefan.Andressen@t-online.de Thu Jan 15 00:35:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mail.gnome.org (Postfix) with ESMTP id A436118696 for ; Thu, 15 Jan 2004 00:35:16 -0500 (EST) Received: from fwd08.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1Ah09z-0003eQ-00; Thu, 15 Jan 2004 06:35:15 +0100 Received: from stefanxp1800 (E2KvA+Za8eHYyz20QAvuB3CuNv2Jfa397P4iFNpnjO1S5ESOkTr04s@[62.224.224.223]) by fwd08.sul.t-online.com with smtp id 1Ah09j-05QquW0; Thu, 15 Jan 2004 06:34:59 +0100 Message-ID: <002201c3db29$5000fd10$dfe0e03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 15 Jan 2004 06:34:56 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01C3DB31.B13D7060" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: E2KvA+Za8eHYyz20QAvuB3CuNv2Jfa397P4iFNpnjO1S5ESOkTr04s Subject: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C3DB31.B13D7060 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! Can i compile and run gtkmm applications with gcc 3.3/gcc 3.4, or are = there known problems? I would like to use this newer versions, because they are faster and = more ansi.=20 I did it with gcc 3.3 and it worked fine, at least for me. What about = gcc 3.4 (would be a great advantages, because of the precompiled = headers)? Bye, Stedan ------=_NextPart_000_001F_01C3DB31.B13D7060 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I would like to use this newer = versions,=20 because they are faster and more ansi.
I did it with gcc 3.3 and it worked = fine, at least=20 for me. What about gcc 3.4 (would be a great advantages, because of the=20 precompiled headers)?
 
Bye,
Stedan
------=_NextPart_000_001F_01C3DB31.B13D7060-- From Nathan.Hurst@infotech.monash.edu.au Wed Jan 14 22:47:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ALPHA9.ITS.MONASH.EDU.AU (alpha9.its.monash.edu.au [130.194.1.9]) by mail.gnome.org (Postfix) with ESMTP id 8483618394 for ; Wed, 14 Jan 2004 22:47:11 -0500 (EST) Received: from localhost ([130.194.13.84]) by vaxh.its.monash.edu.au (PMDF V5.2-31 #39306) with ESMTP id <01L5FIFBTYBS9004FK@vaxh.its.monash.edu.au> for gtkmm-list@gnome.org; Thu, 15 Jan 2004 14:10:00 +1100 Received: from blammo.its.monash.edu.au (localhost.its.monash.edu.au [127.0.0.1]) by localhost (Postfix) with ESMTP id 3F74839C004; Thu, 15 Jan 2004 14:10:00 +1100 (EST) Received: from nexus.csse.monash.edu.au (nexus.csse.monash.edu.au [130.194.64.4]) by blammo.its.monash.edu.au (Postfix) with ESMTP id 258BE2DC010; Thu, 15 Jan 2004 14:10:00 +1100 (EST) Received: from mail.csse.monash.edu.au (nudibranch.csse.monash.edu.au [130.194.67.14]) by nexus.csse.monash.edu.au (8.12.8+Sun/8.12.8) with ESMTP id i0F39vsQ024040; Thu, 15 Jan 2004 14:09:59 +1100 (EST) Date: Thu, 15 Jan 2004 14:06:49 +1100 From: Nathan Hurst In-reply-to: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Message-id: <400603C9.5080008@mail.csse.monash.edu.au> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en References: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> Subject: [gtkmm] tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: In the Appendix B of the tutorial there is this example: void on_button_clicked(); class some_class { void on_button_clicked(); }; some_class some_object; main() { Gtk::Button button; button.signal_clicked().connect( SigC::slot(&on_button_clicked) ); button.signal_clicked().connect( SigC::slot(some_object, &some_class::on_button_clicked) ); } After much frustration I finally found out that some_class needs to be derived from SigC::Object. Could something to this effect be added please? njh From abt@gmx.de Thu Jan 15 05:38:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id ACB4818513 for ; Thu, 15 Jan 2004 05:38:51 -0500 (EST) Received: (qmail 4704 invoked by uid 65534); 15 Jan 2004 10:38:47 -0000 Received: from port-213-61-210-205.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.205) by mail.gmx.net (mp003) with SMTP; 15 Jan 2004 11:38:47 +0100 X-Authenticated: #109577 Message-ID: <40066DA9.7080900@gmx.de> Date: Thu, 15 Jan 2004 11:38:33 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] I am stuck with a C++ problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi members, I have a C++ problem I just cannot solve. I am new to C++ so maybe you can help easily: I want to create 10 ParameterLines holding 4 widgets within class ParameterLine. ParameterLine is derived from HBox. class Parameters is calling ParameterLine to create those boxes. Parameters is derived from VBox, holding all objects of ParameterLine. My problem is I cannot see any widget in my table! Something is wrong with creation of my objects. When I create the widgets directly in main.cpp without classes involved it works.... main.h Parameters m_Parameters; main.cpp: myTable->attach(m_Parameters, 0, 6, 1, 2); Parameters.h: ------------- class Parameters : public Gtk::VBox { public: Parameters(); virtual ~Parameters(); }; Parameters.cpp: --------------- // An object of this class represents all ParameterLines in a VBox Parameters::Parameters() { // Generate ParameterLines for (int i=0; i<10; i++) { ParameterLine pLine; pack_start(pLine); } } ParameterLine.h: ---------------- class ParameterLine : public Gtk::HBox { public: ParameterLine(); virtual ~ParameterLine(); protected: Gtk::Label m_paramNameLabel; Gtk::Entry m_paramValEntry; Gtk::Label m_paramTypeLabel; Gtk::Button m_descButton; }; ParameterLine.cpp: ------------------ ParameterLine::ParameterLine() : m_descButton("Help") { // View Name of Parameter as Label m_paramNameLabel.set_alignment(Gtk::ALIGN_LEFT); m_paramNameLabel.set_text("m_name"); // View Value of Parameter in an entry m_paramValEntry.set_text(m_value); m_paramValEntry.set_editable("true"); // View Type of Parameter as Label m_paramTypeLabel.set_text("m_type"); // Pack all widgets into this object pack_start(m_paramNameLabel); pack_start(m_paramValEntry); pack_start(m_paramTypeLabel); pack_start(m_descButton); } TIA, Andi From matthew@alledora.co.uk Thu Jan 15 05:54:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id C6AC518775 for ; Thu, 15 Jan 2004 05:54:55 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Ah56h-0007Wh-S2 for gtkmm-list@gnome.org; Thu, 15 Jan 2004 10:52:11 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Ah56g-0007WS-Qt; Thu, 15 Jan 2004 10:52:10 +0000 Message-ID: <400671BD.60007@alledora.co.uk> Date: Thu, 15 Jan 2004 10:55:57 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> In-Reply-To: <40066DA9.7080900@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Are you calling show_all() on your Parameters object? show_all() causes a widget and all its children to be displayed, and I didn't see any calls to it or to show() in your code. From Murray.Cumming@Comneon.com Thu Jan 15 06:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 1211818C6B for ; Thu, 15 Jan 2004 06:04:58 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FB0pDb022125; Thu, 15 Jan 2004 12:00:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 12:05:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Nathan.Hurst@infotech.monash.edu.au, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Date: Thu, 15 Jan 2004 12:04:55 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes. Thanks for noticing that. Feel free to submit a patch. It should explain it and also explain that Gtk widgets do this automatically. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Nathan Hurst [mailto:Nathan.Hurst@infotech.monash.edu.au] > Sent: Donnerstag, 15. Januar 2004 04:07 > To: Murray.Cumming@Comneon.com > Cc: gtkmm-list@gnome.org > Subject: tutorial appendix B on signals misleading > > > In the Appendix B of the tutorial there is this example: > > void on_button_clicked(); > > class some_class > { > void on_button_clicked(); > }; > > some_class some_object; > > main() > { > Gtk::Button button; > button.signal_clicked().connect( SigC::slot(&on_button_clicked) ); > button.signal_clicked().connect( SigC::slot(some_object, > &some_class::on_button_clicked) ); } > > After much frustration I finally found out that some_class > needs to be > derived from SigC::Object. Could something to this effect be > added please? > > njh > From Murray.Cumming@Comneon.com Thu Jan 15 06:09:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D5A2418185 for ; Thu, 15 Jan 2004 06:09:28 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FB5MDb023808; Thu, 15 Jan 2004 12:05:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 12:09:48 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2293D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 12:09:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Can i compile and run gtkmm applications with gcc 3.3 Yes, as you have discovered. >/gcc 3.4 I am not sure what "gcc 3.4" means. Is there a stable release already?: http://gcc.gnu.org/releases.html >, or are there known problems? No, all known problems are either - in bugzilla: http://www.gtkmm.org/bugs.shtml or - listed as fixed in the ChangeLog in cvs. or - in the FAQ Of course we would like to here about any problems, even with prerelease versions of gcc. > I would like to use this newer versions, because they are faster and more ansi. > I did it with gcc 3.3 and it worked fine, at least for me. What about gcc 3.4 (would be a great advantages, because of the precompiled > headers)? Please do try, and tell us about the results. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Thu Jan 15 06:36:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id EFAC418C82 for ; Thu, 15 Jan 2004 06:36:22 -0500 (EST) Received: (qmail 21787 invoked by uid 65534); 15 Jan 2004 11:36:21 -0000 Received: from pD902B4DF.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.223) by mail.gmx.net (mp012) with SMTP; 15 Jan 2004 12:36:21 +0100 X-Authenticated: #109577 Message-ID: <40067B23.6030804@gmx.de> Date: Thu, 15 Jan 2004 12:36:03 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> <400671BD.60007@alledora.co.uk> In-Reply-To: <400671BD.60007@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes, I do. All other widgets in my table are visible. When I create the widgets in main() it works... :-/ > Are you calling show_all() on your Parameters object? show_all() causes a widget and all its children to be displayed, and I didn't see any calls to it or to show() in your code. From ramachandrap@dpsl.net Thu Jan 15 07:03:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id 0960618C93 for ; Thu, 15 Jan 2004 07:03:01 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 17:45:12 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZX02M; Thu, 15 Jan 2004 17:45:06 +0530 Received: FROM comp448 BY khyber.enigma ; Thu Jan 15 17:45:04 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <014b01c3db60$3cf13550$5f0210ac@enigma> Date: Thu, 15 Jan 2004 17:38:08 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0148_01C3DB8E.569BB5B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Change Mouse cursor Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0148_01C3DB8E.569BB5B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, here i have small code snipet, my main intention is to change the mouse = cursor, but refptr_gdkwindow is NULL, i.e. line if(refptr_gdkwindow) is = never true. any help or suggestions would greatly be appreaciated. i am using gtkmm-2.0.1 Thanx. Regards Ramachandra =20 ------=_NextPart_000_0148_01C3DB8E.569BB5B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,

here i have small code snipet, my main intention is to = change the=20 mouse
cursor, but refptr_gdkwindow is NULL, i.e. line = if(refptr_gdkwindow)=20 is
never true. any help or suggestions would greatly be=20 appreaciated.

i am using=20 gtkmm-2.0.1

Thanx.

Regards


Ramachandra
 
------=_NextPart_000_0148_01C3DB8E.569BB5B0-- From Murray.Cumming@Comneon.com Thu Jan 15 07:48:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E98AE181B3 for ; Thu, 15 Jan 2004 07:48:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FChrDb011211; Thu, 15 Jan 2004 13:43:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 13:48:19 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2294D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: njh@hawthorn.csse.monash.edu.au Cc: Nathan.Hurst@infotech.monash.edu.au, gtkmm-list@gnome.org Date: Thu, 15 Jan 2004 13:47:58 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks, but please see www.gtkmm.org/bugs.shtml about creating patches. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Nathan Hurst [mailto:njh@hawthorn.csse.monash.edu.au] > Sent: Donnerstag, 15. Januar 2004 13:10 > To: Murray.Cumming@Comneon.com > Cc: Nathan.Hurst@infotech.monash.edu.au; gtkmm-list@gnome.org > Subject: Re: tutorial appendix B on signals misleading > > > Murray.Cumming@Comneon.com wrote: > > >Yes. Thanks for noticing that. Feel free to submit a patch. > It should > >explain it and also explain that Gtk widgets do this automatically. > > > >Murray Cumming > >www.murrayc.com > >murrayc@usa.net > > > > > > --- docs/tutorial/gtkmm-tut-with-examples.xml 2004-01-15 > 22:22:35.000000000 +1100 > +++ docs/tutorial/gtkmm-tut-with-examples-njh.xml 2004-01-15 > 23:08:25.000000000 +1100 > @@ -11005,7 +11005,7 @@ > > void on_button_clicked(); > > -class some_class > +class some_class : public SigC::Object > { > void on_button_clicked(); > }; > @@ -11029,7 +11029,7 @@ > second argument is a pointer to one of its methods. This > particular version of slot() creates a > slot which will, when > "called", call > the pointed-to method of the specified object, in this case > -some_object.on_button_clicked(). > +some_object.on_button_clicked(). Note that some_class must > be derived > from SigC::Object - most classes will be > derived from > a Gtk::Widget which includes SigC::Object > as an ancestor. > > > > From bevis@anvil.com Thu Jan 15 08:45:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 765B618887 for ; Thu, 15 Jan 2004 08:45:27 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 62AF4224; Thu, 15 Jan 2004 13:41:35 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 8148221F for ; Thu, 15 Jan 2004 13:41:34 +0000 (GMT) Message-ID: <40069964.5080108@anvil.co.uk> Date: Thu, 15 Jan 2004 13:45:08 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] simple window size question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I want to get the size of a maximised window. I do something like: C_Mywindow mc_mywindow; (inherits Gtk::Window) mc_mywindow.move(0, 0); mc_mywindow.maximize(); int w, h; mc_mywindow.get_size(w, h); (or w=mc_mywindow.get_width(); etc) but the size I get back is not it's maximised size. if i put in a mc_mywindow.set_size_request(400, 400); before the maximize, i actually get back a size of 620x620. what have i missed? bevis From abt@gmx.de Thu Jan 15 08:48:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 699E218887 for ; Thu, 15 Jan 2004 08:48:09 -0500 (EST) Received: (qmail 15021 invoked by uid 65534); 15 Jan 2004 13:48:06 -0000 Received: from pD902B4D4.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.212) by mail.gmx.net (mp012) with SMTP; 15 Jan 2004 14:48:06 +0100 X-Authenticated: #109577 Message-ID: <400699AB.5070309@gmx.de> Date: Thu, 15 Jan 2004 14:46:19 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> In-Reply-To: <40066DA9.7080900@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I solved it! I must allocate objects dynamically: for (int i=0; i<10; i++) { ParameterLine *pLine; Pline = new(ParameterLine); pack_start(pLine); } Andreas B. Thun wrote: > Hi members, > > I have a C++ problem I just cannot solve. > I am new to C++ so maybe you can help easily: > > I want to create 10 ParameterLines holding > 4 widgets within class ParameterLine. > ParameterLine is derived from HBox. > > class Parameters is calling ParameterLine > to create those boxes. Parameters is > derived from VBox, holding all objects > of ParameterLine. > > My problem is I cannot see any widget > in my table! Something is wrong with > creation of my objects. > When I create the widgets directly in > main.cpp without classes involved it works.... > > > main.h > Parameters m_Parameters; > > main.cpp: > myTable->attach(m_Parameters, 0, 6, 1, 2); > > > Parameters.h: > ------------- > class Parameters : public Gtk::VBox { > public: > Parameters(); > virtual ~Parameters(); > }; > > > Parameters.cpp: > --------------- > // An object of this class represents all ParameterLines in a VBox > Parameters::Parameters() > { > // Generate ParameterLines > for (int i=0; i<10; i++) > { > ParameterLine pLine; > pack_start(pLine); > } > } > > > ParameterLine.h: > ---------------- > class ParameterLine : public Gtk::HBox { > public: > ParameterLine(); > virtual ~ParameterLine(); > > protected: > Gtk::Label m_paramNameLabel; > Gtk::Entry m_paramValEntry; > Gtk::Label m_paramTypeLabel; > Gtk::Button m_descButton; > }; > > > ParameterLine.cpp: > ------------------ > ParameterLine::ParameterLine() : m_descButton("Help") > { > // View Name of Parameter as Label > m_paramNameLabel.set_alignment(Gtk::ALIGN_LEFT); > m_paramNameLabel.set_text("m_name"); > > // View Value of Parameter in an entry > m_paramValEntry.set_text(m_value); > m_paramValEntry.set_editable("true"); > > // View Type of Parameter as Label > m_paramTypeLabel.set_text("m_type"); > > // Pack all widgets into this object > pack_start(m_paramNameLabel); > pack_start(m_paramValEntry); > pack_start(m_paramTypeLabel); > pack_start(m_descButton); > } > > > > TIA, > Andi > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From bevis@anvil.com Thu Jan 15 08:53:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id C063D18140 for ; Thu, 15 Jan 2004 08:53:14 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 8D100231; Thu, 15 Jan 2004 13:49:23 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id B9DB522C for ; Thu, 15 Jan 2004 13:49:22 +0000 (GMT) Message-ID: <40069B39.80706@anvil.co.uk> Date: Thu, 15 Jan 2004 13:52:57 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org References: <40069964.5080108@anvil.co.uk> In-Reply-To: <40069964.5080108@anvil.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] simple window size question part 2 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: OK, let me clarify that a bit. This code: mc_image_window.set_size_request(400, 400); mc_image_window.move(0, 0); mc_image_window.maximize(); int w=0, h=0; mc_image_window.get_size(w, h); cout << w<<", "< I want to get the size of a maximised window. I do something like: > > C_Mywindow mc_mywindow; (inherits Gtk::Window) > mc_mywindow.move(0, 0); > mc_mywindow.maximize(); > int w, h; > mc_mywindow.get_size(w, h); > (or w=mc_mywindow.get_width(); etc) > > but the size I get back is not it's maximised size. > > if i put in a > mc_mywindow.set_size_request(400, 400); > before the maximize, i actually get back a size of 620x620. > > what have i missed? > > > > bevis > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From Stefan.Andressen@t-online.de Thu Jan 15 08:54:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mail.gnome.org (Postfix) with ESMTP id 294E7183B4 for ; Thu, 15 Jan 2004 08:54:29 -0500 (EST) Received: from fwd09.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1Ah7x5-0002yB-00; Thu, 15 Jan 2004 14:54:27 +0100 Received: from stefanxp1800 (Z2D9t6ZAreCpPbdFdRUaqdJsHWrAVPe1oPB4jlY393xIZHRqTd+HUE@[62.224.223.57]) by fwd09.sul.t-online.com with smtp id 1Ah7wq-1e0arw0; Thu, 15 Jan 2004 14:54:12 +0100 Message-ID: <001201c3db6f$0d5876a0$39dfe03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: References: <258B0164D480D5118D900800062B385801C2293D@vihsx09a.vih.infineon.com> Subject: Re: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 14:54:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: Z2D9t6ZAreCpPbdFdRUaqdJsHWrAVPe1oPB4jlY393xIZHRqTd+HUE Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: No, gcc 3.4 is still in stage 3 and therefore not a stable release version. But it looks very promising:). Thanks for your answer. Bye, Stefan ----- Original Message ----- From: To: ; Sent: Thursday, January 15, 2004 12:09 PM Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm > > Can i compile and run gtkmm applications with gcc 3.3 > > Yes, as you have discovered. > > >/gcc 3.4 > > I am not sure what "gcc 3.4" means. Is there a stable release already?: > http://gcc.gnu.org/releases.html > > >, or are there known problems? > > No, all known problems are either > - in bugzilla: > http://www.gtkmm.org/bugs.shtml > or > - listed as fixed in the ChangeLog in cvs. > or > - in the FAQ > > Of course we would like to here about any problems, even with prerelease > versions of gcc. > > > I would like to use this newer versions, because they are faster and more > ansi. > > I did it with gcc 3.3 and it worked fine, at least for me. What about gcc > 3.4 (would be a great advantages, because of the precompiled > headers)? > > Please do try, and tell us about the results. > > Murray Cumming > www.murrayc.com > murrayc@usa.net From njh@hawthorn.csse.monash.edu.au Thu Jan 15 07:10:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail019.syd.optusnet.com.au (mail019.syd.optusnet.com.au [211.29.132.73]) by mail.gnome.org (Postfix) with ESMTP id 18B0818C93 for ; Thu, 15 Jan 2004 07:10:03 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail019.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0FC9pB10347; Thu, 15 Jan 2004 23:09:52 +1100 Message-ID: <4006830E.3080509@hawthorn.csse.monash.edu.au> Date: Thu, 15 Jan 2004 23:09:50 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: Nathan.Hurst@infotech.monash.edu.au, gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >Yes. Thanks for noticing that. Feel free to submit a patch. It should >explain it and also explain that Gtk widgets do this automatically. > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > --- docs/tutorial/gtkmm-tut-with-examples.xml 2004-01-15 22:22:35.000000000 +1100 +++ docs/tutorial/gtkmm-tut-with-examples-njh.xml 2004-01-15 23:08:25.000000000 +1100 @@ -11005,7 +11005,7 @@ void on_button_clicked(); -class some_class +class some_class : public SigC::Object { void on_button_clicked(); }; @@ -11029,7 +11029,7 @@ second argument is a pointer to one of its methods. This particular version of slot() creates a slot which will, when "called", call the pointed-to method of the specified object, in this case -some_object.on_button_clicked(). +some_object.on_button_clicked(). Note that some_class must be derived from SigC::Object - most classes will be derived from a Gtk::Widget which includes SigC::Object as an ancestor. From Nick.Huxley@barclayscapital.com Thu Jan 15 08:42:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id 5FAF618C9C for ; Thu, 15 Jan 2004 08:42:02 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0FDe8VQ007976 for ; Thu, 15 Jan 2004 08:40:08 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0FDe5lc007970 for ; Thu, 15 Jan 2004 08:40:06 -0500 (EST) Received: from nykpsmeh003.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Thu, 15 Jan 2004 08:41:58 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by nykpsmeh003.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Thu, 15 Jan 2004 08:41:58 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3DB6D.58A5373C" content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 08:41:58 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF054@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Thread-Index: AcPbKjclchAac/kzQ/u210OF1aUHfgAQvCTQ From: "Huxley, Nick: IT (NYK)" To: , X-OriginalArrivalTime: 15 Jan 2004 13:41:58.0551 (UTC) FILETIME=[58E02A70:01C3DB6D] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C3DB6D.58A5373C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 3.4 is still in a development phase and _not_ stable. I really wouldn't use it unless you want to use gtkmm as a test case for the compiler. They've just improved the template look up code for example but other stuff is mid re-write. =20 Nick -----Original Message----- From: Stefan.Andressen@t-online.de [mailto:Stefan.Andressen@t-online.de]=20 Sent: Thursday, January 15, 2004 12:35 AM To: gtkmm-list@gnome.org Subject: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm =09 =09 Hi! =20 Can i compile and run gtkmm applications with gcc 3.3/gcc 3.4, or are there known problems? I would like to use this newer versions, because they are faster and more ansi.=20 I did it with gcc 3.3 and it worked fine, at least for me. What about gcc 3.4 (would be a great advantages, because of the precompiled headers)? =20 Bye, Stedan ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ ------_=_NextPart_001_01C3DB6D.58A5373C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
3.4 is=20 still in a development phase and _not_ stable. I really wouldn't use it unl= ess=20 you want to use gtkmm as a test case for the compiler.
They've just improved the template look up code for example but ot= her=20 stuff is mid re-write.
 
Nick
-----Original Message-----
From:=20 Stefan.Andressen@t-online.de [mailto:Stefan.Andressen@t-online.de]=20
Sent: Thursday, January 15, 2004 12:35 AM
To:=20 gtkmm-list@gnome.org
Subject: [gtkmm] gcc 3.3/gcc 3.4 with=20 Gtkmm

Hi!
 
Can i compile and run gtkmm applications= with=20 gcc 3.3/gcc 3.4, or are there known problems?
I would like to use this newer vers= ions,=20 because they are faster and more ansi.
I did it with gcc 3.3 and it worked fine= , at=20 least for me. What about gcc 3.4 (would be a great advantages, because of= the=20 precompiled headers)?
 
Bye,
Stedan


------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays
Group does not accept legal responsibility for the contents of this
message. Although the Barclays Group operates anti-virus programmes,
it does not accept responsibility for any damage whatsoever that is
caused by viruses being passed. Any views or opinions presented are
solely those of the author and do not necessarily represent those of the Barclays Group. Replies to this email may be monitored by the Barclays
Group for operational or business reasons.

------------------------------------------------------------------------
=00 ------_=_NextPart_001_01C3DB6D.58A5373C-- From ufk2003@yahoo.com Thu Jan 15 08:56:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx-in-01.simplementehosting.net (mx-in-01.simplementehosting.net [66.216.79.177]) by mail.gnome.org (Postfix) with ESMTP id B119918140 for ; Thu, 15 Jan 2004 08:56:48 -0500 (EST) Received: from tux-in (CBL62-0-171-41.bb.netvision.net.il [62.0.171.41]) by mx-in-01.simplementehosting.net (Postfix) with ESMTP id A2AF4234048 for ; Thu, 15 Jan 2004 07:56:47 -0600 (CST) Received: from tux-in (localhost [127.0.0.1]) by tux-in (Postfix) with ESMTP id 1C3046C09DB for ; Wed, 14 Jan 2004 16:55:13 +0200 (IST) Date: Sat, 27 Sep 2003 18:19:31 +0300 From: Kfir Ozer To: gtkmm-list@gnome.org Message-ID: <20030927151931.GA24606@tux-in> Mime-Version: 1.0 Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: Balsa 2.0.14 Lines: 27 Subject: [gtkmm] (no subject) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: i have a small project that i did a few months ago that used to compile just fine. now when i compile it this is what i get: In file included from /usr/include/gtkmm-2.0/gtkmm.h:85, from common.hh:4, from callback.cc:1: /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const Gtk::Notebook_Helpers::Page& Gtk::Notebook_Helpers::PageIterator::operator*() const': /usr/include/gtkmm-2.0/gtkmm/notebook.h:822: error: ` Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` Gtk::Notebook_Helpers::Page' /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const Gtk::Notebook_Helpers::Page* Gtk::Notebook_Helpers::PageIterator::operator->() const': /usr/include/gtkmm-2.0/gtkmm/notebook.h:828: error: ` Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` Gtk::Notebook_Helpers::Page' make[2]: *** [callback.o] Error 1 make[2]: Leaving directory `/home/ufk/Projects/gebuilder/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ufk/Projects/gebuilder' make: *** [all-recursive-am] Error 2 ufk@tux-in gebuilder $ any ideas? thanks From Murray.Cumming@Comneon.com Thu Jan 15 09:56:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 25806187C6 for ; Thu, 15 Jan 2004 09:56:35 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FEqSDb008482; Thu, 15 Jan 2004 15:52:28 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 15:56:54 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22964@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ufk2003@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] (no subject) Date: Thu, 15 Jan 2004 15:56:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: You are maybe using a new compiler. This might require an update version of gtkmm 2.2, or you might need to update your compiler (SUSE's gcc in SUSE 8.2 was broken, for instance). Details will help us. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Kfir Ozer > Sent: Samstag, 27. September 2003 17:20 > To: gtkmm-list@gnome.org > Subject: [gtkmm] (no subject) > > > i have a small project that i did a few months ago that used > to compile just fine. now when i compile it this is what i get: > > In file included from /usr/include/gtkmm-2.0/gtkmm.h:85, > from common.hh:4, > from callback.cc:1: > /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const > Gtk::Notebook_Helpers::Page& > Gtk::Notebook_Helpers::PageIterator::operator*() const': > /usr/include/gtkmm-2.0/gtkmm/notebook.h:822: error: ` > Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` > Gtk::Notebook_Helpers::Page' > /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const > Gtk::Notebook_Helpers::Page* > Gtk::Notebook_Helpers::PageIterator::operator->() const': > /usr/include/gtkmm-2.0/gtkmm/notebook.h:828: error: ` > Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` > Gtk::Notebook_Helpers::Page' > make[2]: *** [callback.o] Error 1 > make[2]: Leaving directory `/home/ufk/Projects/gebuilder/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/ufk/Projects/gebuilder' > make: *** [all-recursive-am] Error 2 > ufk@tux-in gebuilder $ > > > any ideas? thanks _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From abas@aix.meng.auth.gr Thu Jan 15 10:24:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id 46390180D9 for ; Thu, 15 Jan 2004 10:24:04 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1Ah9LR-00032k-00; Thu, 15 Jan 2004 17:23:41 +0200 Subject: Re: [gtkmm] simple window size question part 2 From: Anastasios Bassoukos To: Bevis Peters Cc: gtkmm-list@gnome.org In-Reply-To: <40069B39.80706@anvil.co.uk> References: <40069964.5080108@anvil.co.uk> <40069B39.80706@anvil.co.uk> Content-Type: multipart/alternative; boundary="=-874lnvL2TPnNexFYg4Eu" Organization: LHTEE, AUTh Message-Id: <1074180221.25593.7.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 15 Jan 2004 17:23:41 +0200 X-Scanner: exiscan *1Ah9LR-00032k-00*BsVFtVGOCR.* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-874lnvL2TPnNexFYg4Eu Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, 2004-01-15 at 15:52, Bevis Peters wrote: > OK, let me clarify that a bit. This code: > > mc_image_window.set_size_request(400, 400); > mc_image_window.move(0, 0); > mc_image_window.maximize(); > int w=0, h=0; > mc_image_window.get_size(w, h); > cout << w<<", "< > gets back 400x400, not the windows true maximised size. > > what have i missed? By the time you get to the get_size(), the resize request has not even been sent to the window manager. You will need to add a slot to the "size-allocate" signal , and only then will your window be maximized. Also read the documentation on that method. Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri --=-874lnvL2TPnNexFYg4Eu Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit On Thu, 2004-01-15 at 15:52, Bevis Peters wrote:
OK, let me clarify that a bit.  This code:

  mc_image_window.set_size_request(400, 400);
  mc_image_window.move(0, 0);
  mc_image_window.maximize();
  int w=0, h=0;
  mc_image_window.get_size(w, h);
  cout << w<<", "<<h<<endl;

gets back 400x400, not the windows true maximised size.

what have i missed?

By the time you get to the get_size(), the resize request has not even been sent to the window manager. You will need to add a slot to the "size-allocate" signal , and only then will your window be maximized. Also read the documentation on that method.

Tassos

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master." 
	-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri
--=-874lnvL2TPnNexFYg4Eu-- From lupv@gmv.es Thu Jan 15 10:54:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 8100E18735 for ; Thu, 15 Jan 2004 10:54:35 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0FFrO78027690 for ; Thu, 15 Jan 2004 16:53:24 +0100 Received: from gmvmailhost.gmv.es (gmvmailhost.gmv.es [172.22.2.4]) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) with ESMTP id i0FFrlZ09255 for ; Thu, 15 Jan 2004 16:53:47 +0100 (MET) Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0FFsXiO000440 for ; Thu, 15 Jan 2004 16:54:33 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Thu, 15 Jan 2004 17:04:14 +0100 Message-ID: <4006B7E0.2030201@gmv.es> Date: Thu, 15 Jan 2004 16:55:12 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] gtkmm resources Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm new using gtkmm and I would like to know how to configure the properties of a customized class, e.g. MyLabel that derives from Gtk::Label, to change its default font, font size, background, etc, from a resource file. I don't know how to apply themes for a simple gtkmm application (not gnome application). I'm first using gtkmm without knowing anything about GTK+ and perhaps this is my problem. I've reviewed the gtkmm documentation and I haven't found any clue. Thank you for your help, Luis From jonnyyu@online.sh.cn Thu Jan 15 11:26:13 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep2.online.sh.cn (unknown [202.96.209.41]) by mail.gnome.org (Postfix) with ESMTP id 0614318DEC for ; Thu, 15 Jan 2004 11:26:13 -0500 (EST) Received: from STARDUSTS ([218.80.108.37]) by fep2.online.sh.cn with ESMTP id <20040115162608.IRWJ5474.fep2.online.sh.cn@STARDUSTS> for ; Fri, 16 Jan 2004 00:26:08 +0800 Reply-To: From: "Jonny Yu" To: Date: Fri, 16 Jan 2004 00:27:42 +0800 Organization: Microsoft Message-ID: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: [gtkmm] Link problem using gtkmm with MSVC 7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I'm trying to build the example code of gtkmm with MSVC 7.1, Although I got several warnings ,such as e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: 'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via dominance e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning C4181: qualifier applied to reference type; ignored the sample did compiled through, the problem is I don't have the lib file (in .lib format). I downloaded the win32 port of http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ however the lib format is in .dll.a format, which could not be recognized by VC linker. Where can I find the .lib format gtkmm lib file? If not, can I build the .lib file from source or convert the .dll.a to .lib format? Any suggestions are grealy appreciated! Best Regards, Ying-Shen Yu From cedric.gustin@swing.be Fri Jan 16 04:17:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id CEBFA187EA for ; Fri, 16 Jan 2004 04:16:59 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0G9Ajte019688; Fri, 16 Jan 2004 10:10:53 +0100 (MET) Message-Id: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Fri, 16 Jan 2004 10:16:26 +0100 To: , From: Cedric Gustin Subject: Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 In-Reply-To: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> References: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:27 PM 1/15/2004, Jonny Yu wrote: >I'm trying to build the example code of gtkmm with MSVC 7.1, >Although I got several warnings ,such as > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: >'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via >dominance > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning >C4181: qualifier applied to reference type; ignored > >the sample did compiled through, the problem is I don't have the lib >file (in .lib format). I downloaded the win32 port of >http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ >however the lib format is in .dll.a format, which could not be >recognized by VC linker. Right, because of the different C++ name mangling schemes used by gcc and MSVC, their import libraries are incompatible. You cannot simply rename the .dll.a files to .lib (unlike their C counterparts, in most cases). >Where can I find the .lib format gtkmm lib file? >If not, can I build the .lib file from source or convert the .dll.a to >.lib format? I only support mingw32-gcc on my page but the projects files for MSVC 7.1 are in the MSVC_NET2003 directory. Don't know if they are up to date and/or if somebody provides binaries. Cedric From fnaumann@cs.uni-magdeburg.de Fri Jan 16 04:28:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10]) by mail.gnome.org (Postfix) with ESMTP id A484C1822D for ; Fri, 16 Jan 2004 04:28:00 -0500 (EST) Received: from wh58-508.st.uni-magdeburg.de ([141.44.198.58]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.30) id 1AhQGf-0004zj-J4; Fri, 16 Jan 2004 10:27:53 +0100 Date: Fri, 16 Jan 2004 10:27:50 +0100 (CET) From: Frank Naumann X-X-Sender: fnaumann@wh58-508.st.uni-magdeburg.de To: jonnyyu@online.sh.cn Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 In-Reply-To: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> Message-ID: References: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: ---- Start SpamAssassin results -4.9 points, 5.0 required; -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] ---- End of SpamAssassin results X-Scan-Signature: a6013c0e33abd25698719c75475606ab Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello! > >Where can I find the .lib format gtkmm lib file? > >If not, can I build the .lib file from source or convert the .dll.a to > >.lib format? There is no binary distribution of gtkmm for MSVC 7.1 yet. You need to compile the library itself (I can also send you the .lib files). > I only support mingw32-gcc on my page but the projects files for MSVC 7.1 > are in the MSVC_NET2003 directory. Don't know if they are up to date and/or > if somebody provides binaries. They are uptodate for gtkmm 2.2. I don't found any time to look at 2.4 yet :-( Regards, Frank Naumann From bevis@anvil.com Fri Jan 16 06:28:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 225611819D for ; Fri, 16 Jan 2004 06:28:55 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 6542D346; Fri, 16 Jan 2004 11:24:59 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id A7DFB342; Fri, 16 Jan 2004 11:24:58 +0000 (GMT) Message-ID: <4007CAE0.9060109@anvil.co.uk> Date: Fri, 16 Jan 2004 11:28:32 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Anastasios Bassoukos Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] simple window size question part 2 References: <40069964.5080108@anvil.co.uk> <40069B39.80706@anvil.co.uk> <1074180221.25593.7.camel@lhtee912.meng.auth.gr> In-Reply-To: <1074180221.25593.7.camel@lhtee912.meng.auth.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > By the time you get to the get_size(), the resize request has not even > been sent to the window manager. You will need to add a slot to the > "size-allocate" signal , and only then will your window be maximized. > Also read the documentation on that method. marvellous! that worked. bevis From lupv@gmv.es Fri Jan 16 06:36:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 598FD182A1 for ; Fri, 16 Jan 2004 06:36:27 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0GBZFfb021264 for ; Fri, 16 Jan 2004 12:35:15 +0100 Received: from gmvmailhost.gmv.es (gmvmailhost.gmv.es [172.22.2.4]) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) with ESMTP id i0GBZdZ18351 for ; Fri, 16 Jan 2004 12:35:39 +0100 (MET) Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0GBaPiO020963; Fri, 16 Jan 2004 12:36:25 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Fri, 16 Jan 2004 12:46:08 +0100 Message-ID: <4007CCE1.6090507@gmv.es> Date: Fri, 16 Jan 2004 12:37:05 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm resources References: <4006B7E0.2030201@gmv.es> In-Reply-To: <4006B7E0.2030201@gmv.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Luis Pastor Vegas wrote: > Hi, > > I'm new using gtkmm and I would like to know how to configure the > properties of a customized class, e.g. MyLabel that derives from > Gtk::Label, to change its default font, font size, background, etc, > from a resource file. I don't know how to apply themes for a simple > gtkmm application (not gnome application). I'm first using gtkmm > without knowing anything about GTK+ and perhaps this is my problem. > I've reviewed the gtkmm documentation and I haven't found any clue. > > Thank you for your help, > Luis Ok. I have already learnt that I have to use the Gtk::RC class, and reading the GTK+ documentation I am somewhat familiar to the resource file format. I have created two styles in the gtkrc file, but only the "default" style works. This is my gtkrc file: ---- style "default" { font_name = "Sans 14" } class "*" style "default" style "my-label" { font_name = "Sans Italic 10" } class "MyLabel" style "my-label" ---- In the "MyLabel" constructor there is a call to set_name("MyLabel"). What's wrong? I don't know how is the class path format that must be specified in a gtkmm application, since the only documentation I have found is for GTK+ applications. Can anybody send me a gtkrc example file? Thank you very much. From abas@aix.meng.auth.gr Fri Jan 16 07:09:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id D740B18120 for ; Fri, 16 Jan 2004 07:09:33 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1AhSmc-0007sW-00; Fri, 16 Jan 2004 14:09:02 +0200 Subject: Re: [gtkmm] gtkmm resources From: Anastasios Bassoukos To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org In-Reply-To: <4007CCE1.6090507@gmv.es> References: <4006B7E0.2030201@gmv.es> <4007CCE1.6090507@gmv.es> Content-Type: text/plain Organization: LHTEE, AUTh Message-Id: <1074254941.27735.14.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 16 Jan 2004 14:09:01 +0200 Content-Transfer-Encoding: 7bit X-Scanner: exiscan *1AhSmc-0007sW-00*lwOEDbw04ws* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 2004-01-16 at 13:37, Luis Pastor Vegas wrote: [snip] > Ok. I have already learnt that I have to use the Gtk::RC class, and > reading the GTK+ documentation I am somewhat familiar to the resource > file format. I have created two styles in the gtkrc file, but only the > "default" style works. This is my gtkrc file: > ---- > style "default" { > font_name = "Sans 14" > } > class "*" style "default" > > style "my-label" { > font_name = "Sans Italic 10" > } > class "MyLabel" style "my-label" ^^^^^ > ---- > In the "MyLabel" constructor there is a call to set_name("MyLabel"). ^^^^ > What's wrong? I don't know how is the class path format that must be > specified in a gtkmm application, since the only documentation I have > found is for GTK+ applications. Can anybody send me a gtkrc example file? > > Thank you very much. In the RC file, you should use widget "*.MyLabel" style "my-label" as the "widget" declaration sets styles by widget *names*. HTH, Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri From abt@gmx.de Fri Jan 16 08:27:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A14C818622 for ; Fri, 16 Jan 2004 08:27:46 -0500 (EST) Received: (qmail 25301 invoked by uid 65534); 16 Jan 2004 13:27:44 -0000 Received: from pD902B4D2.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.210) by mail.gmx.net (mp011) with SMTP; 16 Jan 2004 14:27:44 +0100 X-Authenticated: #109577 Message-ID: <4007E6BC.1040705@gmx.de> Date: Fri, 16 Jan 2004 14:27:24 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Strange behaviour of my Gtk::Notebook. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, I've created a Notebook with some widgets arranged in a table on it. On "button click" I create another table and append it to the notebook pages. New tab appears .... .. when I click the append-Button size of my current notebook window #1 doubles in size!! Any hints for me? TIA, Andi From jonnyyu@online.sh.cn Fri Jan 16 11:16:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep1.online.sh.cn (unknown [202.96.209.39]) by mail.gnome.org (Postfix) with ESMTP id 5CC391852C for ; Fri, 16 Jan 2004 11:16:30 -0500 (EST) Received: from STARDUSTS ([127.0.0.1]) by fep1.online.sh.cn with ESMTP id <20040116161745.JCZM11001.fep1.online.sh.cn@STARDUSTS>; Sat, 17 Jan 2004 00:17:45 +0800 Reply-To: From: "Jonny Yu" To: "'Cedric Gustin'" , Date: Sat, 17 Jan 2004 00:17:59 +0800 Organization: Microsoft Message-ID: <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> Subject: [gtkmm] =?gb2312?B?tPC4tDogW290aGVyXSBSZTogW2d0a21tXSBMaW5rIHByb2JsZW0gdQ==?= =?gb2312?B?c2luZyBndGttbSB3aXRoIE1TVkMgNy4x?= Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi Cedric, Thanks for your reply! Thanks for your help, I'd like to try the project file, however I couldn't find the MSVC_NET2003 directory in the installed files. Do you mean a web directory on your homepage? Could you give me a link to it? Thanks a lot! Best Regards, Ying-Shen Yu -----=D3=CA=BC=FE=D4=AD=BC=FE----- =B7=A2=BC=FE=C8=CB: Cedric Gustin [mailto:cedric.gustin@swing.be]=20 =B7=A2=CB=CD=CA=B1=BC=E4: Friday, January 16, 2004 5:16 PM =CA=D5=BC=FE=C8=CB: jonnyyu@online.sh.cn; gtkmm-list@gnome.org =D6=F7=CC=E2: [other] Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 At 05:27 PM 1/15/2004, Jonny Yu wrote: >I'm trying to build the example code of gtkmm with MSVC 7.1, >Although I got several warnings ,such as > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: >'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via >dominance > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning >C4181: qualifier applied to reference type; ignored > >the sample did compiled through, the problem is I don't have the lib >file (in .lib format). I downloaded the win32 port of >http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ >however the lib format is in .dll.a format, which could not be >recognized by VC linker. Right, because of the different C++ name mangling schemes used by gcc and=20 MSVC, their import libraries are incompatible. You cannot simply rename the=20 .dll.a files to .lib (unlike their C counterparts, in most cases). >Where can I find the .lib format gtkmm lib file? >If not, can I build the .lib file from source or convert the .dll.a to >.lib format? I only support mingw32-gcc on my page but the projects files for MSVC 7. 1=20 are in the MSVC_NET2003 directory. Don't know if they are up to date and/or=20 if somebody provides binaries. Cedric=20 From kmilo@softhome.net Fri Jan 16 11:42:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id B7586187D4 for ; Fri, 16 Jan 2004 11:42:51 -0500 (EST) Received: (qmail 27983 invoked by uid 417); 16 Jan 2004 16:42:51 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 16 Jan 2004 16:42:51 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Fri, 16 Jan 2004 09:42:51 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Fri, 16 Jan 2004 09:42:51 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.163] Message-ID: Subject: [gtkmm] how close the console gtkmm app's open in windows? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: every gtkmm app that run(in windows XP) open a console, there is any form to close it? anybody know a multiplataform compression library? there is support for html in any widget of gtkmm? From kickvb@touva.be Fri Jan 16 12:59:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moses.all2all.org (sys2.all2all.org [62.58.108.3]) by mail.gnome.org (Postfix) with ESMTP id 045FA180EF for ; Fri, 16 Jan 2004 12:59:11 -0500 (EST) Received: from buddha.all2all.org ([62.58.108.9] helo=all2all.org) by moses.all2all.org with smtp (ALL2ALL.ORG The Independent Network) id 1AhYFV-0007KC-00; Fri, 16 Jan 2004 18:59:14 +0100 Date: Fri, 16 Jan 2004 17:59:09 -0000 To: "Tor Arvid Lund" , Subject: Re: [gtkmm] How to make a column in a TreeView a ProgressBar? From: X-Mailer: TWIG 2.7.7 Message-ID: In-Reply-To: <400324EC.2050006@idi.ntnu.no> X-Client-IP: 81.11.157.116 Reply-To: kickvb@touva.be MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--------part4008266d49517" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ----------part4008266d49517 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > I am trying to make a TreeView with one column showing a ProgessBar > (think DC++ in Windows). I gather from the Documentation that I need to > make my own CellRenderer, but that part of the Documentation seemed > somewhat unfinished. Can I find information regarding this somewhere > else (maybe some of you on this list has experience...?) I have a made a class an a test program for a progress bar in a treeview (class ProgressCellRenderer, extending Gtk::CellRenderer). The files are in attachment. This progress bar is somewhat advanced as the foreground is drawn from an image file, allowing to have some nice look. I think this is a cool example to be added to the gtkmm package as it is somewhat common and can save lot of time for other programmers. Murray or anybody else, can I add a patch to the CVS? Can I put it in examples\book\treeview\progresscellrenderer? Regards, Christian Van Brussel ----------part4008266d49517 Content-Type: application/x-zip-compressed; name="progresscellrenderer.zip" Content-Transfer-Encoding: base64 UEsDBBQAAAAIAFp3LjAQS6YGXAYAACkUAAAsAAAAcHJvZ3Jlc3NjZWxscmVuZGVyZXIvUHJvZ3Jl c3NDZWxsUmVuZGVyZXIuY2O9WG1v2zYQ/p5fcc3QTu4cvyTYhtmpN8dxUgNOYthOg2AYBFqiLC6y KFCUba3YfvuOFO34RYrToZ1QIDJ199zxuYdHstX33/CpHlXNG3zVJwf+IyXz9IYH9LD3wScHvsOj VLCpL8HqlOC0VqsB9CvQDiVnIYVzkr3MfgtYmCxnhAUVLqat18LnPZ0KfCIhTEQSxzSA8yfmPM0n hwO8Ev6/PjnwY5/FEAk+FWQG+OoJSiHmnlwQQZuQ8gQcnImgLoulYJNEUmASSOhWuTgMP+Mu81Ll kYQuFSB9CpKKWQzc0z+ub+/hmoZUkAAGySRgDvSZQ8N4Xww58ARzV06xT12YpBrxSs1gZGYAVxwD E8l42ATK8LuAORUx/obTg/AmR5NQGXDGFpGKFAE8UqAlZCKFgMhn3Mpe4kXwX/PJgd8t7XMFXWCh npnPI6yHj3PCCi1YEMCEQhJTLwnKh+ARCB56449392No3z7CQ3s4bN+OH5sIJH2OX+mcZmHYLAoY RsWKCFxtqSL2EPxNd9j5iHjti16/N35U3F/1xrfd0Qiu7obQhkF7OO517vvtIQzuh4O7UReZH1Gq Ix6Ef0F3HoaacdSOSyWu1bigoC/Cf80nB/4Rl2WMHAcu+GROcXk6lM2RYQIOdrsvWlw58CTg4VSX EWGeRdQE5kHIZRkWgmEfkDxnwb0i++c1WYZe6FTK8OMvMKYoEgqDgDgUTmCUqAhnZ7UyXPBYKtOb NkDttF6vn9TPaj+X4X7Urvzv3H+Tp3p09B0LnSBx1XaEW4aQFb+1MXg8UBWgcdyhQTCkqpVSUfH9 46OjvC+NRt6oVYLGESo/YJNG427yJ3XkBYmpJdOIMtfKcymVyspDPjUa20hqGFURYaapHRlPe06C hNpgvVeqKcPx9ofjMtQKHCOG22KU55l9OS4dfd50xG2F4nQ+mNS6/b497N5edofdoX1zd9m1e7fd 4bi56bKMiKtdalvD6cbw30Vs/lNA52flkvE5MID4d5nailfIx7LXoYUeI5OAaijAVSwTERbxapWa BeHOWShbBeEKwV4R0a5MqVRjy/SF4EZQQ+oNpDi/drEgA7acJF4LXp9UVuZDWRmZ7KU158wtCKVM Y/YXtedeEjqW1ssDc3H4HTY49beMLTOMJejMh7goSDgN6DtwEMfGjkbKuFui9dLmnhcre/0z3f6J WNI37z5Vp81sLsXk7MwKJVhMi57xWgWQRcs8Ng1PWspOf8zsskyKDLOvhznMhGoYNGTtTeuBhS5f tBQT6qUMX0D1hDhPU6F2BUP4wYrkG9BlxGNqTPa61kjiMQ28gEzjrDbVKmBSgMA+dZ5AGDuIlSF+ x2I+E6fZzy2SqctujbI+bu0AtLDTwLt3u7jnH6Beq2m/b6MYk82bHcMKi+0wCQKrhFYZJQ6fReqU jywInD+Pmdqp1ZGCzch0xYv+ai8xh3VVdMglruEfwNoeNIrEbf0lwZaqcNrcgk/34FMNX1/l6qHW wEkElk6uy6YLr4s9xp0tG15tFaNxe9y1b++GN+2+juWBZWlJoAxyNpNRt9/tjLuXJXiDhSsdqTPB CtDKRF3xSWx73ElinAL8uhln5Q2NzdF2Z9z71F1NQSlwNYPrzvdxrgKuOy2YTO2pg2FNVN3YZKo2 D8OijycmNMnqjcj66BaoK66FJ9oFnvLxQC7wcBdwB09feMIjEFNcSW5+xJK++TlIPU5XmU49kgSr mxwu87PTwmQlXcqX0zUWlmZzLT5XkIU6gNOsHehWp9rJSUt9UarBlWBpKsq7YsLjhf5npLl6Scs7 i23Pcbsblk1bub6wL/F6gyLI5JLBl5pKAibbSNBInXkj7D8cb4GpuvXoYzOuSjxnS1wvmopdngbK odHoa4/WyvMDbI03Ghn31gaFOpKNNVOoetECdi8iIHJ+r//0h/oZRwJXkGdFyNDxW/ft2+NdArRX FvOkFZtaoP3euIdxbJfGjmD6tmsVFVMZ5rQQhbvuIGZlZ/g2bhDmzTdy9TgKc6FkqZOMQTGr7hdq +1YXViwWDdb/caCxCWrX3IMm6hZEXPAEn2kDQyrXB931xOwF0nxae56prfbR+tmq8chl1tWslzoV NrIVWgmwa1Vqm+5poftKYs/+/tp/Q/9GMVvKz+wts2rWIsdmqDNei90MpCt69eb+L1BLAwQUAAAA CABady4wHMbxVnUDAABlCwAALAAAAHByb2dyZXNzY2VsbHJlbmRlcmVyL1Byb2dyZXNzQ2VsbFJl bmRlcmVyLmhovVVtb+JGEP7Orxgp0impfEASVVUhQnUoSZAIQQYa5ZO1tsd4xdpr7a4d3Kr97Z01 VnNtnMCdct0v3vXsPPPM6/Z++I6r1+k1O/jQ1QJ/h6ys7qVAuErsNqXtL0YWJesGODoM+eVqgR/L vFJ8kxg4HZ/BRb/fB5h1wc2M5BnZZPtNeozJI4Mz7sJvLINAFVqjgKstD7dlcNjAkfDfulrgVwnX kCu5USwF2sYKEbSMzTNTOIRKFhCSJwojro3iQWEQuAGWRT2pDsOnMuJxZTWKLEIFJkEwqFINMq4P t/M13GKGiglYFIHgIcx4iJnGY9gz4m6VdIIRBFWNeGM9WDYewI0kw8xwmQ0BOckVlKg0neHiIHzD sSHkAHl8yowNigKZW9AzikQFgpkX3O4r4m/Bf+Rqgf9val8yGAHPas8SmVM+EvKJMvTMhYAAodAY F8I5BE9A8Dhd3T2sV+DOn+DR9Tx3vnoaEpBJJEmxxL0ZnuaCk1XKiKJuq2xgD8HfT7zxHeG519PZ dPVkY38zXc0nyyXcPHjgwsL1VtPxeuZ6sFh7i4flhCK/RKwtHoR/p+5iMpVKqp0IDeNCv5HQd+E/ crXAP1FbaoqxiCBhJVJ7hshLijCDkKbdVzVXCzwTMtvUaSSYlyIaAo8hk8aBZ8VpDhjZ0nBHsH/p SQemWdh14MefYYVUJAgLwUKEz7AsrIXLy74D11Ibe/XeBehfnJ+ffz6/7P/kwHrpdv/32H+X1et0 TnhMAzIGf+E93HpU5ePJbOZN5r9OvInXOSGRfavapaSchaKI6C3bmG2adpNRpxMKpjUsbOZQ6zEK 4aEdwTSoBvuhGcKt2Q4GX4o6f3T2okEHWnVPz4YkKbkyBdXUX29dsXckj2CDxtf8d/TLuMjC09re I4/o9ycqL/t1qGAzbeA2IpGHoWHZRuAnCAnRp3piDs0qur3zZRxre78+Vv8+EpZJmn2C9q3f87Qc VM2rYdAYEzyw1uKFUVe15UeeRfJ5ZJHsxoGvoBqwcLtRtqYbwgc9ar+Au1xqbK68Ss3S0CMDsWAb 3QS4ScLeGcpEjspU9N1V/jWjFvfz5p+/DwELBO7z16JyRbEbwT8aeZNYv2SieEerJZQLvguKeARt aDnfpSyvK4T+GfIdo8Er6He5+K+pfBsLAvqTeJxQbGis9XpvNNffUEsDBBQAAAAIAEmSLjAneDQM CAQAAAYOAAAwAAAAcHJvZ3Jlc3NjZWxscmVuZGVyZXIvUHJvZ3Jlc3NDZWxsUmVuZGVyZXJUZXN0 LmNj7Vdbb+I4FH7PrzhlNJXTUhaotg+hRRqh3VGl6U7VsrtazY4ikxiw6sSR40C7qP99j20SQpsy UO3jvoA51+/Y58YHnkaiiBlczvRDkvyUUJ525kPvQ0XPteLpbOhtSK1bJWeK5fmICXHH0pgppjrz ecvzIkHzHMYs12PF2IKzJQSQFRPBI/isH4LAkP9AsrfyHDnwPNhSID4ESAJYUFEw0vXb9hfNI/RE tCqYj4SVJX4WfBIEd2x6q9Wltf+F5/peS8WGIPCYmyNcwTYvCCLFqGYkCUdSFEma+wNrL2c6TGTM BKmUkeNYOg4Cdxcw5YKlNDGGW9n6LnqdxyxpOTNaPcEq44+TYtozzmN0fmt/lp7DqZJJaOyQ0pg/ eLbKEdXRHIgL7Vdk/qKUVMB8WME0Q/96ShAMU6oNrd+kBZPDVBZpDDyFj/nfaatdQexEIYImvj8A 9sg16eFh288G3C5H1yk+B0cPCZ0xa31vZ9Zb05X1m6+s//+VuYzPMsz4MLIZSlr1YhuzR41GqvTt JEYsLC821MgvE7epWOFElacrSGiKAEmKtdoka7C5YqvXr3MMJ+h220SDFGlsGIi/QlG62A7ZGF8z 8HQ2pHEcUo0lOCmwdkvdsyGGnTGlnzbxu9bh77ghK/E+45ilCc12Wnci5QsouTRt4KTqKejNBkrW AIzAt52P+d3UDZ0o2tpHwwZnVLr7SDuwRnzdsjaw+z+C3d8DdkTjGuwdGhXs8/N9xF/i7m9wn/8I 9/keuCeySI5a+6hUwC8u9hF/68Jd/8r5LKUi1DxhstDE70QyTVmkyT2fjZAtpCYnes7zNhzX52YQ FFls+mTpBxP0564N2TaUicRSfSGCs9YNUj4F4iYsHB+7yQtXV9DrdkuJcgIj6iN3Gqzph2VXv6Z2 wOP2amoHXO3a27qjmiiPGsL8z4PsvS/I/vuC7L0K0mH3XYSnp47PRM4c5eys1pn2SGt7OKiCibvb UyxlHz6aPDqojir1i4ua+jOAge12zBuzpq3tNOyYlh0ETuCORVLF9o3LpdOAqZsgtRSIY9I8T9/k 16dJo0A1ENxDmc9tqA7GZW3LHEIDiMHbqrh8vFKpPVyjzosFerPXDOGVLReCfQebPVsPUD2pZb1t dZ2w7XrCV8ju5NJmZNtmmf20gwAj26SgbWNlbRokhmv+tRBzoGoWtSGaU1xx8Lz49t33VqWPG5SC B1yynJThuxG99X9FLypQf/I0RkxL+1VR7yMlhWDxhmtY+NUxfx8yifn1RKzk7dcv16O/wk+/j7/e fBpfj9rQSPZLfZM4elH+ROOWgsc6yTiJ2ZQWQoc5/4eRfrfbtp26LjSXy5AK4UZeFX0QqCIlLmjF dKFSsyI8e/8CUEsDBBQAAAAIAPiWMDDucnF7WgwAACUnAAAiAAAAcHJvZ3Jlc3NjZWxscmVuZGVy ZXIvcHJvZ3Jlc3MyLnhwbc2YWVPeuBZFn29X9X8QbWaB+OzPI1PJIxDCDGEqphCmJAwBkhCm396y jvbJ801uVW7zlFW0ra11tmw8Niy2lhfE8Njff93dH91fHIvj86NbMSxubq/Pbk/u7oKDh5vL3T0x JZ7+/usfv9MRfiTCTiSCf0YMEOI/x2Lx+urE/ku1//KapmP+s0ASqP3IAU2g6uI3PAJFWDjQSyCP Ewf6HEhKB/oJZGnowDBA5cCUAxluO0ogzWoHJhzIcZdpAkneODDiQJE6MOBA6TswRCAuMwd6HKgC B14BcgeeCER114E9AITbJ9BtcI0xC+rSAN+CQQKRAV0LDiyoGgNCC8YJpAZEFkwS8A2ILdi1oCwM SC14IRAakFnwbEFRG5Bb4BNIDCgtCAh0mm6nsqBrQZ4bUFsQEug2XZ+yRBZkpQGUJSYQG0DzlFiQ NgZQuJRAagBlyQgEBlCWjgWJbwAt/ciCqG5Cnxb23oKwbMKAbntsQTczgHbsgwVBYgDtx4kFfthE QWHBqQWd0gC66BmJqn2oPCdQBZixCwJlCPsfCeQxxvKTAwmG/zOBLMU4XBJIM4z2lQN57MA1AAb3 hkBSYLS/OFCic7cE4gqTfEcgqjF09wBY2FcL6oqn8BuB2AAy992CKuOheyAQ8ND9sKCMeMYeLSh8 nqDcgnZgOo0FBc1HxQNTkv2Mx6Ei+wHbry2IO2y/IfuVcUtZZsh+wfZnyX7K9ufIfsz230A2dmwe siHqLWTjuFggUMSYj0XIxjgsQTZ+Y9mBDAfbCtxiYFYBMGNrkA3765CNdWxANk6pdwRCPmE2SWWH z48tElXy6bBNotoDhfZjh0QVXPVDAiGbE8qaS7jZikCHmy0tSLtcZG1BErJKz4LYNyrpyOm1IGxY ZZ8F3ZJV9lsQ5AYkFgxb4CesckqRyg52bFQ5lfAyoZxKVGxaOZWwP6KcOWzhAAD6MkQgzTAfPQ7k KPKrcuZwlycHSvR2Tzlz6O0+gajGOsYAsPRBC+qEW3lgQZVzK8cJdLmVk4pl047tEoi5pi8WFA0/ Cp4JBNxbn9zWXNOA3JpHgU9euuQ2YrchuQ3YbWRB1GG3Mblte0sDk5Dbgt2m5DZltxncYpM7cIs2 HMEtKvbeuY0wDscE8gR9+QC32OQTBzL09hRucdEzuEVvzwH42eDclrjtR8jGSj85wLI/QzYWdukA F/mK7Nd8SF8T8PlV4YbcViz7C6nMuNm3FuQRF/nup1u6yz2BlJv9lYDPzf5G9kNu9ney3z7m6UB5 IPsh2/9B9tuq020fyX7D9nOyX7L9guznxj6NZQn7KGEF+6hYDfvYsQb2MTAzsA8Ns7APDXOwj2u8 cfYz3HYe48DPBtjHXRYcKLGwRdhH95dgH91fhmysY4Xcplz1VQuqkJu9RrITLvI6gQ4XeYPst89b 0vCO7Jd8rm+S24btb5Hbgpu9TW5TdrtDbiN2e0huu+xWyBaEHXarLAjMG1tAS5cW+AW71dK5xfB7 0rlFxXqlc4sd65POLbz0S+cWuz4snVv8L1MAuMuodG752eBAju5PS+cW3R8hEJeo+oADFao+RCCq MWM9FtQN9/aVQMC9fbKgKvgY37OgrLnI+5Jlk4YxC4qcmz1oQR5zsw8syALu7bgFacQvV5MWJBm7 3bUgjo1KuuiLBVHIbp/Jrc9ufXLbsNuA3Jbstgu3GP4QbrHJkXPbxZ7GcAtRCdxCQwqV2OTMgQwF 6kAlinwEgIF5D7co8rEDJYbuA9xipE7gFllOHWgwY2fkNuPenv90S426IBBxkT+SW597+4nchtzb z+S24t5eEuhwb69IdsaP6GuSXXKRb0h2+8x2zwaSnbLsW5Idsew7km2aHVCWewu6HZb9lWTXLPsb ZGMLv0M2vDxANnb9B2RjTx8hG+Zy5zZBxQrIxq6Xzm2GgakgG82uIRtD10A2RmrGyS5xjM/CPsZy DvaxjjcEOvyInif7XW72W5Jdsv0Fkt1wsxcJpNzsJbJfcLOXf9qn97EVAglXfZXsd7nqayS7ZNnr JDtj2Rsk2/xJ7NNIvSPZIcveJNkBy94i2Y2RTQ+cbcjGnu442T426BCyoUFoJxvzobSTzd+UCGQp xkFrpxIT5GmnErveC4Bm92mnkr8pOVDhtsPaqUSzpyyoc+7tqAVVzDWdsKAM+Hk7bUHRPpGppiMW 5DWLGiDgc02HLMhyrmmPBWnFNX0lEPMh/WRBUrHKPQvinFXuWxClrHLMgjBilYMWdNsi00UPLAg6 rHLcgk7N3z8mtXOLXd/Vzi3q8aKdWxzBz3CLcfCd2xjjEDi3CRrVhWz8RuhkZ7hoBPtodgzZGKnE gRK3TSEbzc4A+O8G2Mc6jgj4XOT3NA4hF/mYxqHiIn/4OR+0pycEOtzsUwvKjJt9ZkFRcrPPCUQ8 QRcW5Ck3+6MFWchv459oHGoeh880DubF2acj+JLGIeNxuKJxSHgcrmkcQh6HGxqHgMfhC41DW3Va 2C3so2J3sI8C3cM+BuYr7GPXv8E+wHfYxzUeYB/d/wH7OB0eYR93yWEf5gonu8RKS9jHYVDBPg6D mmQX/ILWkMqE3c6Qyi53f5ZENVz1uZ/maNffEAi4+/OksuDuv7Ugrbn7CwQS7v4igQ7/pbVEstvD gGQvk+yCZa+Q7JQ/hq6S7Ihlr5HsLstet8DvsOwNyOZvSpCNRm062SF6uwXZ2PVtB1j2DmRj1w8B UELhOfu4qHIgx2EgPWcfC9Oek43DwHOgwmHQ6znZWHofABbWTyDg7g9bUNVc9SkCPjd71IIy52ZP WFBU3OxpAvHPZ4MFecbzMWBBFnGzhyxIfZbdY0Fcs+xXC6KSv30+WRBmLHvPgm7CsvctCNoP3e7v Bgv8gGUPUvzaR+cOPCcb+zHuOdnYsUnPyYaGXZhDkV8gCr19hhfMh/9zxyhcQPEbbkPXgqTD8UOK X3H8iOIXHD+m+Cl/L0wofsyfflOK3+X4Svx3P1Jo4Yle0Sf6xbCYEqNiQkyLETEghkSPeBVPYk/s izExKA7EuJgUu+JFPAtfBKIrQhGJWCQiFZnoiCPxXhyLD+JEnP4Pfn4pzJk4Fxfio/hkwnw2YS7F lbgWN+KLCXNrwtyJexPmq/hmwnwXDybMDxvm0YTJRWHDlCZMJWrRiBkxK+Z+O0j780th3oh58VYs iEWxZMIsmzArYtWEWRPrJsyGDfPOhtm0YbZsmG0TZkccmjBCKVUKqbTyVK/qU/1qWP1+lF8MM6VG 1YSaVotiRA2oZTGkVkSPelVr4kntqQ2xr8ZUG2ZQbYoDNa4m1a56UdviWbVhfNWGCZRUXRWqSMUq UemfC5OpjjpS79WxGlEf1IkaUqeqR52pc/WkLtRH9Ul9VpfqSg2qa9WGubFhvqg2zK26U/fqqwnz TX1XD+qHelS5Kv5cmFJVqlaNmlGzJsycemPCzJswb9WCCbOolkyYZRNmxYZZNWHW1LoJs6HeqVu1 acNsmTDbakcdmvNESSl/P8ovhtHSk72yT/bLYTkl59SonJDzalq2YUbkohqQQ3JZ9cgV9Sqf5Kra k/tyXY3JNsygbMMcyC01LiflrnyRz9KXwZ8L05WhjGQsExMmlZkclR15JKfle3ksR+QHOSBP5Kns kWfyVZ7LC9mG+SjH5Cf5WQ7KS3klD+S1HJc38ou8lXfyXn79c2G+ye/yQf6QjzI3YQpZmjCVrE2Y Rs6YMLMmzJx8Y8LMy7cmzIJcNGGWTJhluWLDrNowa3Jdbsh3clNu/bkw23JHHponp9K5lLoNo3Ul Pd2rG9mn+/WsHNZtmCndhhnVbZgJvSSn9YhekQN6SK/KHv2qn/Se3tdjelAf6HH9h8JM6l39op+1 rwMtdVeHWutIezrWie7Tqc70sO7oIz2l3+tj/UGf6FM9oc/0uQlzodswH3Ub5pP+rC/1lb7WN/qL /t0ovxhGiVt9p+/1V/1NfzdhHvQPE+bRhMl1YcKUurJhahum0ScmzIwNM6vn9Bs9b8K81Qt6US/p Zb2iV/WaXte/G+WXw2zod3pTb+ltvaMPTRjhKe/RHHK51p7nlbrX6/P6vTbMsNfoKW/Um9ET3rQ3 q0e8NsyA14YZ8nq8V+/J2/P2vTHvj4UZ9A68cW/S6xM7eljsesKbEC+e9AaE9nrEs9fr7Yl+r33V HPbGRRvmRfgmTCDaMJEY8AIvFUNe1wu9yIu9xEv/XJj/z/fmf14m/v7rX1BLAwQUAAAACAD0ljAw rMXwbyAGAABFGAAAIgAAAHByb2dyZXNzY2VsbHJlbmRlcmVyL3Byb2dyZXNzMS54cG29l9dSFVsQ QJ+vVf5DK0i2mRxUKCYSBCQKSgEikiUekiJ++9107+6jXhPXg8UTq9gzvTrtob8HFqcmoKf//r3G 6drpzjqsb6+dQA8cnRxunWw0Gu7q5dH+0jIMwNX9ew9dxwE3BDdxwXvYZwDAP+sweXiwQb/hzW9t TlGHXkmgl0GlYIiAmxqQEWgj4IV14CUE2gn4rgERgUcMSgN8Ah0EgtQAl0APgdA8w60JDBCIHAP4 tY8ZFAbwa58SiJPad/m1gwQSzwB+bR+DyICQQCeDzICAQDeD2gAO7AGB1FfwmUFsAKfrikFuAIe+ TCBzDHAIrDAIat9hl34GiYIuBoUBFYFVArlrANs+YRDWnlMQeMYgNSAnsMSgNIDzcU2g8BR8YhAZ kBJwGWQGcMY8BpUBMQGfQOkbwCkMGMQGcApDBrmCiEFtAOc0JlAFBnAKEwaJAZzClEFhAKfQIVA7 BnAK1xiECt5aUBUWrAuILXgnwLVgg0FUypFNAZEFWwLkyLYFRW7BDoO4kCO7AhwL9izI5ch7AaEF +wLkyAGDJMssOBQgR44sSGsLjgXIkRMGaRpY0LAgkSOnAlILzgT4FpxbEFcWXDDI4sSCSwsiSfIH BnkokX5kUAQSR2aBL5XLGZSeJLlgcFMnBiUDE7gFFQGn1JVTE6D9wT02TCAMdF2MEKBB5r8YFVsJ bExCl1I+l0glH+MEgkSX0gQ/tNKHThJIax31FwRyR+d2ikDh6hBOEyg9nagZApWv4zHLcYRVaeOY kzJI5eYlhZLTlwRoBfMyWCBgVnBoV/AiZ6zQjL3iZwQ6Ua/ltQLeMIhKKTagrb60A6IttlS/l4DZ arLohwjEse7kNj4SFTKE7QziQtrhkX2oL4XqQNsf8hc9BNxEbQcIeIHaPiYQ5c27wb4ll2IPMkgy GdM+tO0gtp0EwlovnG4CiavXyQMCqde8Gwhkvu71KwJ5oFt7mUAR6gpeIVBGuj77CVSxLscuiVSm YZVBmkrWn1iQyDJ4JnUR2yUGpSetfW1zqiP2iW19HSDXPjSW/eFJ9aULfS52ri0VEAhinZdQSimR RlJK6bGYK1drwyTNynFtUz4SVtJ0DoOolPFYE6B3g5RSjqyLrXTQO36trw2z0Qyds75JII60cbe4 +qF+O2xz9SP9ENjh6sda/V2ufqJX9B5XP9X79j1XP9Pq73P1c70JDzj0uJC2PLQglwE6kmLLXxxL sWWATgi4sc5Lg4tdaWufctYzzfoZP8PROM7ltZLCCwZJJj12Kf0hXfhBii1N97GZdW7+jOPwtOly zlipGSs4QZFuy9K+NpW5rRikqXRyLdWXPh22CfIl0hEudqTFHuXK+brGxziOmy82ntvn9i2JdPK4 tY3FdsLaOtKFkwT8TMfjBQFzh0sHTRFIM/1ynOY4cv0MnOE4Cs3HLIGi1A+0OU5QpV9b8wSqWiv3 kgMLK7nVF2w+AhmPRQalJ3II3//phSFog3Z4BB3m34kBeAxPYRD6oBO64QF8hitYhhXohy5YhSfw DJbgGj6B+b8CfAgghAhiSCAFB9bgLazDO9iATdiCbdiBXdiD97APB3AIR3AMJ9CAUziDc7iAS/gA HyGDHAoob/HzU5nKytRGZvgrmZE7khm1MmNG5vldyYx/IzNhZSatzAsrM2Vlpq3MjMrM/rbMnMrM t1bmJSwYmcU/lnlFMq+NzJvfkAEcA8Q7kenFpswQtkKmDXegHX8l8wjnoQNbKNODA/iFDLZW5inu wyB+T6YPWy6DX8l04o1MN1oZZJnPyDJXyDLLyDIryDL9+GuZLjyGVWzAE2zKPDMyS9iB17fQ+W2Z T/h3ZFycA+8uZXwM8O/LhEYmarVMrDLJH8mk+BocfANr+GuZtyqz3kqZdySzYWU2jcwWssw2sswO sswusswessx7ZJl9/K/MAbbjIf5M5sjIHLdW5uQLmQae/k+ZM/yRzDkO4gV+K3OpMh9aK/PRymS/ IZNjU6a4lUyJq1hhU6Y2MsN3JTPyQ5lRKzPWEpnn6OI4fikz0WqZyW9kXiDLTCHLTCPLzFiZWWSZ OWSZeSPzEm8ns2BkFm8rc/30/r1/AVBLAwQKAAAAAABJki4wAAAAAAAAAAAAAAAAFQAAAHByb2dy ZXNzY2VsbHJlbmRlcmVyL1BLAQIUABQAAAAIAFp3LjAQS6YGXAYAACkUAAAsAAAAAAAAAAEAIAC2 gQAAAABwcm9ncmVzc2NlbGxyZW5kZXJlci9Qcm9ncmVzc0NlbGxSZW5kZXJlci5jY1BLAQIUABQA AAAIAFp3LjAcxvFWdQMAAGULAAAsAAAAAAAAAAEAIAC2gaYGAABwcm9ncmVzc2NlbGxyZW5kZXJl ci9Qcm9ncmVzc0NlbGxSZW5kZXJlci5oaFBLAQIUABQAAAAIAEmSLjAneDQMCAQAAAYOAAAwAAAA AAAAAAEAIAC2gWUKAABwcm9ncmVzc2NlbGxyZW5kZXJlci9Qcm9ncmVzc0NlbGxSZW5kZXJlclRl c3QuY2NQSwECFAAUAAAACAD4ljAw7nJxe1oMAAAlJwAAIgAAAAAAAAABACAAtoG7DgAAcHJvZ3Jl c3NjZWxscmVuZGVyZXIvcHJvZ3Jlc3MyLnhwbVBLAQIUABQAAAAIAPSWMDCsxfBvIAYAAEUYAAAi AAAAAAAAAAEAIAC2gVUbAABwcm9ncmVzc2NlbGxyZW5kZXJlci9wcm9ncmVzczEueHBtUEsBAhQA CgAAAAAASZIuMAAAAAAAAAAAAAAAABUAAAAAAAAAAAAQAP9BtSEAAHByb2dyZXNzY2VsbHJlbmRl cmVyL1BLBQYAAAAABgAGAPUBAADoIQAAAAA= ----------part4008266d49517-- From tor.arvid.lund@idi.ntnu.no Fri Jan 16 16:57:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from totto.homelinux.net (119.80-202-31.nextgentel.com [80.202.31.119]) by mail.gnome.org (Postfix) with ESMTP id 44F1418201 for ; Fri, 16 Jan 2004 16:57:53 -0500 (EST) Received: from totto.homelinux.net ([127.0.0.1] helo=idi.ntnu.no) by totto.homelinux.net with esmtp (Exim 3.36 #1 (Debian)) id 1AhbzP-0007rU-00; Fri, 16 Jan 2004 22:58:51 +0100 Message-ID: <40085E97.50605@idi.ntnu.no> Date: Fri, 16 Jan 2004 22:58:47 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: kickvb@touva.be Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a column in a TreeView a ProgressBar? References: In-Reply-To: X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: kickvb@touva.be wrote (amongst other things): >I have a made a class an a test program for a progress bar in a treeview >(class ProgressCellRenderer, extending Gtk::CellRenderer). The files are in attachment. > > Thank you for responding. It sure is the best solution I've seen so far. Still, I was hoping to find a way to draw (and use) the existing Gtk::ProgressBar widget. Actually, it would really be nice to be able to put any widget inside a treeview column. Then one could also use the functions already implemented in that widget. I just looked briefly at the code, but it seemed unfortunate that it might segfault on Win32 (but there may be an easy workaround... I'll look into it later). Thanks again. regards, Tor Arvid Lund From kmilo@softhome.net Fri Jan 16 18:52:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id 5EF33182D7 for ; Fri, 16 Jan 2004 18:52:44 -0500 (EST) Received: (qmail 24449 invoked by uid 417); 16 Jan 2004 23:52:43 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 16 Jan 2004 23:52:43 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Fri, 16 Jan 2004 16:52:43 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Fri, 16 Jan 2004 16:52:43 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.162] Message-ID: Subject: [gtkmm] Subject: possible bug in Gtk::Main kit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: the first time the function ayudar run fine, but the second time (after Gtk::Main kit) ayudar print bad the file #include #include #include void ayudar(){ char* buffer=NULL; int tamanoBytesFname=0; std::ifstream file ("help.txt"); file.seekg (0, std::ios::end); tamanoBytesFname = file.tellg();// obtiene el tamano del archivo file.seekg (0, std::ios::beg); buffer = new char [tamanoBytesFname]; file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda file.close(); std::cout << buffer << std::endl << std::endl; delete[] buffer; } int main(int argc, char *argv[]) { ayudar(); Gtk::Main kit(argc, argv); ayudar(); std::cin.get(); return 0; } I'm ussing gtkmm in windows following the instructions from here: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ape.html From arvind@acarlab.com Fri Jan 16 22:52:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.117.31]) by mail.gnome.org (Postfix) with SMTP id 6476B1850F for ; Fri, 16 Jan 2004 22:52:17 -0500 (EST) Received: (qmail 1882 invoked by uid 1000); 17 Jan 2004 03:51:39 -0000 Date: Sat, 17 Jan 2004 09:21:39 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Cc: abt@gmx.de Subject: Re: [gtkmm] I am stuck with a C++ problem Message-ID: <20040117035139.GA1875@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Thu, 15 Jan 2004, Andreas B. Thun wrote: > Parameters::Parameters() > { > // Generate ParameterLines > for (int i=0; i<10; i++) > { > ParameterLine pLine; > pack_start(pLine); Change to // create and manage storage ParameterLine * pLine = manage( new pLine ); pack_start( *pLine ); > } > } Would like to know : How come no runtime errors? Does the new gtkmm exception handlers neatly, quietly trap them? - arvind r. From abt@gmx.de Sat Jan 17 10:01:13 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3AE5D185C7 for ; Sat, 17 Jan 2004 10:01:13 -0500 (EST) Received: (qmail 28179 invoked by uid 65534); 17 Jan 2004 15:01:07 -0000 Received: from dialin-212-144-000-156.arcor-ip.net (EHLO gmx.de) (212.144.0.156) by mail.gmx.net (mp017) with SMTP; 17 Jan 2004 16:01:07 +0100 X-Authenticated: #109577 Message-ID: <40094E23.6060008@gmx.de> Date: Sat, 17 Jan 2004 16:00:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] ever tried a Gtk::HandleBox? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've experimented with HandleBoxes, but nothing happens in my GUI. A horizontal bar is drawn but I cannot drag it with the mouse?! Any hints would be appreciated. TIA, Andi ... // Add the Button Box and the ScrolledWindow with the TreeView to a VBox Gtk::VBox *VBox = Gtk::manage(new Gtk::VBox()); VBox->pack_start(*ButtonBox); VBox->pack_start(m_ScrolledWindow); // Add a HandleBox at the bottom of the VBox Gtk::HandleBox *TabHandleBox = Gtk::manage(new Gtk::HandleBox()); TabHandleBox->set_snap_edge(Gtk::POS_BOTTOM); VBox->pack_start(*TabHandleBox); // Add VBox to frame (a frame can only hold one widget) m_Frame.add(*VBox); // Pack frame into this object pack_start(m_Frame); show_all(); ... From billyoc@gnuyork.org Sat Jan 17 11:34:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 3978D181E7 for ; Sat, 17 Jan 2004 11:34:11 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AhtM3-0002rk-Ct; Sat, 17 Jan 2004 11:31:23 -0500 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] ever tried a Gtk::HandleBox? References: <40094E23.6060008@gmx.de> From: Billy O'Connor Date: Sat, 17 Jan 2004 11:31:20 -0500 In-Reply-To: <40094E23.6060008@gmx.de> (Andreas B. Thun's message of "Sat, 17 Jan 2004 16:00:51 +0100") Message-ID: <87ptdi8rl3.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > Hi! > > I've experimented with HandleBoxes, but > nothing happens in my GUI. A horizontal > bar is drawn but I cannot drag it with > the mouse?! > Any hints would be appreciated. > As a sanity check, make sure this compiles, and that you can drag the entry out of the frame window. If you need further help with this, try to post the smallest example that will actually compile. #include int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Gtk::Window window; Gtk::HandleBox hbox; Gtk::Entry entry1; entry1.show(); hbox.add(entry1); hbox.show(); window.add(hbox); window.show(); Gtk::Main::run(window); return 0; } -- Billy O'Connor From olau@hardworking.dk Sat Jan 17 12:14:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 546D818562 for ; Sat, 17 Jan 2004 12:14:04 -0500 (EST) Received: from bach.composers (122.ppp1-1.abc.worldonline.dk [213.237.21.122]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0HHE17x014231 for ; Sat, 17 Jan 2004 18:14:02 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AhsFz-0000HI-TG for gtkmm-list@gnome.org; Sat, 17 Jan 2004 16:21:03 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Subject: possible bug in Gtk::Main kit References: From: Ole Laursen Date: Sat, 17 Jan 2004 16:21:03 +0100 In-Reply-To: (kmilo@softhome.net's message of "Fri, 16 Jan 2004 16:52:43 -0700") Message-ID: <87oet21u00.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: kmilo@softhome.net writes: > the first time the function ayudar run fine, but the second time (after > Gtk::Main kit) ayudar print bad the file > > #include > #include > #include > > void ayudar(){ > char* buffer=NULL; > int tamanoBytesFname=0; > std::ifstream file ("help.txt"); > file.seekg (0, std::ios::end); > tamanoBytesFname = file.tellg();// obtiene el tamano del archivo > file.seekg (0, std::ios::beg); > buffer = new char [tamanoBytesFname]; > file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda > file.close(); > std::cout << buffer << std::endl << std::endl; > delete[] buffer; > } Your function is buggy. The call to 'std::cout <<' expects buffer to be a null-terminated C string, which it is not. Try something like: buffer = new char [tamanoBytesFname + 1]; // extra space for '\0' file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda file.close(); buffer[tamanoBytesFname] = '\0'; std::cout << buffer << std::endl << std::endl; -- Ole Laursen http://www.cs.auc.dk/~olau/ From olau@hardworking.dk Sat Jan 17 12:14:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 4E1451849E for ; Sat, 17 Jan 2004 12:14:07 -0500 (EST) Received: from bach.composers (122.ppp1-1.abc.worldonline.dk [213.237.21.122]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0HHE181014231 for ; Sat, 17 Jan 2004 18:14:05 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AgrOw-0000Ht-Tb for gtkmm-list@gnome.org; Wed, 14 Jan 2004 21:14:06 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Newbie libglademm question References: <1074078978.4605.16.camel@javor.vilarroig.com> From: Ole Laursen Date: Wed, 14 Jan 2004 21:14:06 +0100 In-Reply-To: <1074078978.4605.16.camel@javor.vilarroig.com> (Javier Vilarroig's message of "Wed, 14 Jan 2004 12:16:18 +0100") Message-ID: <873cainv8x.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Javier Vilarroig writes: > I'm creating a separate .glade file for every dialog on the app, and I > load it on the class constructor in order to be able to open multiple > instances of them. I do that because , to my understanding, when the > .glade file is opened only one instance for every dialog is created and > I need to be able to open multiple instances. Also I understand that whe > the .glade file is loaded, all and every dialog are created, so it seems > a memory waste to have only one .glade file. Correct me if I > missunderstood that. Perhaps that is correct. I really don't know - it would very interesting to experiment with. I asked James Henstridge about this stuff a couple of months ago, but never got a reply. > I open the main app window without problem, but when I create the first > independent dialog I got a lot of errors on stderr, there is a sample at > mail end. The dialog opens correctly and it seems it's working > correctly, but I'm affraid I have misunderstood something on the > libglademm "filosofy" and that it can lead to unespected failures later. As far as I can tell, you've understood it correctly. Unfortunately, your listings don't really help without the code. > Error listing: > -------------------------------- > (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 > (gnome_program_get_app_id): assertion `program != NULL' failed > > (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 > (g_string_prepend): assertion `val != NULL' failed [...] Probably, you have a simple bug somewhere. You need to show us some code (the minimal code, please) exhibiting the problem. -- Ole Laursen http://www.cs.auc.dk/~olau/ From drink_n_park@hotmail.com Sun Jan 18 08:36:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (law10-f97.law10.hotmail.com [64.4.15.97]) by mail.gnome.org (Postfix) with ESMTP id 4946D18392 for ; Sun, 18 Jan 2004 08:36:14 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 Jan 2004 05:36:13 -0800 Received: from 203.217.38.178 by lw10fd.law10.hotmail.msn.com with HTTP; Sun, 18 Jan 2004 13:36:13 GMT X-Originating-IP: [203.217.38.178] X-Originating-Email: [drink_n_park@hotmail.com] X-Sender: drink_n_park@hotmail.com From: "Drinkin Park" To: gtkmm-list@gnome.org Date: Sun, 18 Jan 2004 13:36:13 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Jan 2004 13:36:13.0478 (UTC) FILETIME=[0A6F7460:01C3DDC8] Subject: [gtkmm] Function pointers question (gtkmm related) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I am having a small problem implementing the callback functions for menu items, toolbar buttons, etc: My current code looks like this: ------------------------------------------------------------ class MyToolbar:Gtk::Toolbar { public: MyToolbar(); private: AnotherClass* anotherObject; }; class OtherClass { public: doStuff(); }; MyToolbar::MyToolbar() { ... push_back(StockElem(Gtk::Stock::NEW, SigC::slot(*this, &MyToolbar::newButtonClicked), "New")); ... } //callback function MyToolbar::newButtonClicked() { //do stuff otherObject->doStuff(); } ------------------------------------------------------------ What I'm after, is to be able to pass a method belonging to another object, in a similar method to this (which doesn't compile): ------------------------------------------ MyToolbar::MyToolbar() { ... push_back(StockElem(Gtk::Stock::NEW, SigC::slot(*this, &OtherClass::newButtonClicked), "New")); ... } --------------------------------------------- Is this possible, or will I have to stick with the method that I am currently using? Thanks in advance. _________________________________________________________________ Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp From pierric@descamps.net Sun Jan 18 09:53:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.insa-lyon.fr (csiges9.insa-lyon.fr [134.214.79.200]) by mail.gnome.org (Postfix) with ESMTP id B24AA18596 for ; Sun, 18 Jan 2004 09:53:05 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.insa-lyon.fr (Postfix) with ESMTP id 638234B4C1 for ; Sun, 18 Jan 2004 15:53:02 +0100 (CET) Received: from J534-a.resJ.insa-lyon.fr (J534-a.resJ.insa-lyon.fr [134.214.166.190]) by mail.insa-lyon.fr (Postfix) with SMTP id 15E1E4B48B for ; Sun, 18 Jan 2004 15:53:01 +0100 (CET) Date: Sun, 18 Jan 2004 15:54:27 +0000 From: Pierric Descamps To: gtkmm-list@gnome.org Message-Id: <20040118155427.35a424cd.pierric@descamps.net> Organization: X-Mailer: Sylpheed version 0.9.4-gtk2-20030802 (GTK+ 2.2.2; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd 0.1 Subject: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview.cc Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, 2.0.2, and 2.2.8. In any case, I get the following error: --- g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -Dgtkmm_COMPILATION -DG_DISABLE_DEP RECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_D EPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I.. /../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/gnome2/include/gt k-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gno me2/include/pango-1.0 -I/opt/gnome2//include/glib-2.0 -I/opt/gnome2//lib/glib-2. 0/include -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -p thread -I/opt/gnome2//include/glib-2.0 -I/opt/gnome2//lib/glib-2.0/include -g -O 2 -Wall -c treeview.cc -fPIC -DPIC -o treeview.lo treeview.cc: In function `static void Gtk::TreeView_Class::class_init_function(void *, void *)': treeview.cc:891: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:892: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:893: assignment to `gboolean (*)(_GtkTreeView *, int)' from `void (*)(GtkTreeView *, int)' treeview.cc:894: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:895: assignment to `gboolean (*)(_GtkTreeView *, int, int, int)' from `void (*)(GtkTreeView *, int, int, int)' treeview.cc:896: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:897: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' make[5]: *** [treeview.lo] Error 1 --- Note (if it's of any help) that everything concerning Gnome2 on my system has been compiled from the sources, no package here. Of course I tried some research and the only piece of information I found was this message, for someone who had the same problem with Gtk 2.2.0 and gtkmm 2.0.2: --- Please see the gtkmm 2.1.2 release notes. GTK+ broke its API slightly. gtkmm2 was one of the few projects affected. You could use gtkmm 2.2 or GTK+ 2.0, but not both. --- I wasn't sure of the meaning of the last sentence: should I install a new Gtk version, or a new gtkmm version? As for gtkmm, I had already tried 2.0 and 2.2. Concerning Gtk+, I decided to install the unstable, 2.3 version. But it looks like I need Xft for that, and my X server is too old, so I'll have to do without. To be honest, I'm quite lost here. My goal is too be able to generate a gtkmm2 project with the Anjuta2 IDE, use glade to build the interface, and then compile the program correctly. Can you help me? If I forgot any useful information, please tell me, I'll try to be fast at answering. Thanks in advance, Pierric Descamps. From alberto@paro.homeunix.org Sun Jan 18 11:36:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx-in-01.simplementehosting.net (mx-in-01.simplementehosting.net [66.216.79.177]) by mail.gnome.org (Postfix) with ESMTP id 51C39180F5 for ; Sun, 18 Jan 2004 11:36:39 -0500 (EST) Received: from fep04-svc.flexmail.it (fep04.tuttopmi.it [212.131.248.107]) by mx-in-01.simplementehosting.net (Postfix) with ESMTP id EE08523406C for ; Sun, 18 Jan 2004 10:36:37 -0600 (CST) Received: from paro.homeunix.org ([82.88.53.142]) by fep04-svc.flexmail.it with ESMTP id <20040118163610.NMHR26403.fep04-svc.flexmail.it@paro.homeunix.org> for ; Sun, 18 Jan 2004 17:36:10 +0100 Message-ID: <400AB660.60406@paro.homeunix.org> Date: Sun, 18 Jan 2004 17:37:52 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've fixed some undocumentated functions in glibmm. I've posted the result on Bugzilla http://bugzilla.gnome.org/show_bug.cgi?id=131841 Now I think that I'll look to fix some documentation on gnomemm. (Lots of people are working on gtkmm docs) I'll propose an API add in calendar widget that return a Glib::Date of the date selected. Do I need to post the API change on Bugzilla or we have to discuss this API change? Hi, Alberto From chris@cvine.freeserve.co.uk Sun Jan 18 13:01:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailg6.svr.pol.co.uk (cmailg6.svr.pol.co.uk [195.92.195.176]) by mail.gnome.org (Postfix) with ESMTP id 388CA185D6 for ; Sun, 18 Jan 2004 13:01:53 -0500 (EST) Received: from modem-598.putangitangi.dialup.pol.co.uk ([81.78.194.86] helo=boulder.localdomain) by cmailg6.svr.pol.co.uk with esmtp (Exim 4.14) id 1AiHEl-0007mV-Li; Sun, 18 Jan 2004 18:01:28 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0IHxl8l002831; Sun, 18 Jan 2004 17:59:47 GMT From: Chris Vine To: "Andreas B. Thun" , gtkmm-list@gnome.org Subject: Re: [gtkmm] ever tried a Gtk::HandleBox? Date: Sun, 18 Jan 2004 17:59:47 +0000 User-Agent: KMail/1.5.4 References: <40094E23.6060008@gmx.de> In-Reply-To: <40094E23.6060008@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181759.47340.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Saturday 17 January 2004 3:00 pm, Andreas B. Thun wrote: > Hi! > > I've experimented with HandleBoxes, but > nothing happens in my GUI. A horizontal > bar is drawn but I cannot drag it with > the mouse?! > Any hints would be appreciated. [snip] You don't seem to have added anything to the HandleBox. What widget have you put in it? Chris From chris@cvine.freeserve.co.uk Sun Jan 18 13:11:57 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailg4.svr.pol.co.uk (cmailg4.svr.pol.co.uk [195.92.195.174]) by mail.gnome.org (Postfix) with ESMTP id C8857186EB for ; Sun, 18 Jan 2004 13:11:56 -0500 (EST) Received: from modem-598.putangitangi.dialup.pol.co.uk ([81.78.194.86] helo=boulder.localdomain) by cmailg4.svr.pol.co.uk with esmtp (Exim 4.14) id 1AiHOs-0005NY-PF; Sun, 18 Jan 2004 18:11:55 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0IIBp8l003001; Sun, 18 Jan 2004 18:11:51 GMT From: Chris Vine To: "Drinkin Park" , gtkmm-list@gnome.org Subject: Re: [gtkmm] Function pointers question (gtkmm related) Date: Sun, 18 Jan 2004 18:11:50 +0000 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181811.50771.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sunday 18 January 2004 1:36 pm, Drinkin Park wrote: [snip] > MyToolbar::MyToolbar() { > ... > push_back(StockElem(Gtk::Stock::NEW, > SigC::slot(*this, &OtherClass::newButtonClicked), "New")); ^^^^^^ You are not passing the right object to the slot. You need to pass an object of type OtherClass. Chris. From cedric.gustin@swing.be Sun Jan 18 16:44:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 6EA4F183E0 for ; Sun, 18 Jan 2004 16:44:36 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0ILcDte008058; Sun, 18 Jan 2004 22:38:19 +0100 (MET) Message-Id: <6.0.1.1.2.20040118103944.01be84c0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 18 Jan 2004 10:44:55 +0100 To: , From: Cedric Gustin In-Reply-To: <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> References: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Subject: [gtkmm] Re: [gtkmm] =?gb2312?B?tPC4tDogW290aGVyXSBSZTogW2d0a21tXSBMaW5rIHByb2JsZW0gdQ==?= =?gb2312?B?c2luZyBndGttbSB3aXRoIE1TVkMgNy4x?= Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:17 PM 1/16/2004, Jonny Yu wrote: >Hi Cedric, > >Thanks for your reply! >Thanks for your help, I'd like to try the project file, however I >couldn't find the MSVC_NET2003 directory in the installed files. It's in the source tarball. Download it from http://www.gtkmm.org. Cedric P.S. : Could you check please the text encoding you're using for sending messages to mailing lists ? The subject of this thread has been somewhat messed up , which is bad for the browsing/searching of the mailinglist archives. I suppose the mailing list engine is not unicode-compliant yet ! From mxpxfifws@yahoo.com Sun Jan 18 22:49:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web13805.mail.yahoo.com (web13805.mail.yahoo.com [216.136.175.15]) by mail.gnome.org (Postfix) with SMTP id C3BEA18115 for ; Sun, 18 Jan 2004 22:49:58 -0500 (EST) Message-ID: <20040119034958.58723.qmail@web13805.mail.yahoo.com> Received: from [65.243.233.2] by web13805.mail.yahoo.com via HTTP; Sun, 18 Jan 2004 19:49:58 PST Date: Sun, 18 Jan 2004 19:49:58 -0800 (PST) From: Bryan Forbes To: Gtkmm List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Convert Enum to GType Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is there a way to take a typedef'd enum and turn it into a GType? The reason I ask is I'm deriving a class from Gtk::TreeStore, but my derived TreeModel uses an enum I made up. here are the classes: class DataColumns : public Gtk::TreeModel::ColumnRecord { public: DataColumns() { add(m_col_name); add(m_col_size); add(m_col_uri); add(m_col_entity_type); } Gtk::TreeModelColumn m_col_name; Gtk::TreeModelColumn m_col_size; Gtk::TreeModelColumn m_col_uri; Gtk::TreeModelColumn m_col_entity_type; // cstr_EntityType is my enum }; class cstr_TreeStoreDnd : public Gtk::TreeStore { protected: explicit cstr_TreeStoreDnd(const Gtk::TreeModelColumnRecord& columns); public: static DataColumns m_modelColumns; static Glib::RefPtr create(); protected: // Overridden virtual functions virtual bool row_draggable_vfunc(const Gtk::TreeModel::Path& path); }; When I run the program with these two classes compiled in, I get this warning: (process:760): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function And when I actually use the TreeStore class, I get these warnings: (process:2315): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function (coaster:2315): Gtk-WARNING **: gtktreestore.c:384: Invalid type (null) passed to gtk_tree_store_set_column_types and it segfaults when I try to add things to the treestore. I figure it's because I'm using that custom enum value. I've even tried using Glib::ObjectBase(typeid(cstr_TreeStoreDnd)) in the constructor, and I still get those warnings. Is there any easy way to register that enum as a GType? Thanks in advance! -Bryan __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From pks@timing.com Sun Jan 18 23:50:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by mail.gnome.org (Postfix) with ESMTP id 9610718307 for ; Sun, 18 Jan 2004 23:50:46 -0500 (EST) Received: from jester.timing.com (root@jester.timing.com [206.168.13.216]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i0J4ojDf006826; Sun, 18 Jan 2004 21:50:45 -0700 (MST) (envelope-from pks@timing.com) Received: from jester.timing.com (pks@localhost.timing.com [127.0.0.1]) by jester.timing.com (8.12.6/8.12.6) with ESMTP id i0J4ojvx081592; Sun, 18 Jan 2004 21:50:45 -0700 (MST) (envelope-from pks@jester.timing.com) Received: (from pks@localhost) by jester.timing.com (8.12.6/8.12.6/Submit) id i0J4ojBx081589; Sun, 18 Jan 2004 21:50:45 -0700 (MST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16395.25125.213863.500622@jester.timing.com> Date: Sun, 18 Jan 2004 21:50:45 -0700 From: pks@timing.com To: Bryan Forbes Cc: Gtkmm List Subject: Re: [gtkmm] Convert Enum to GType In-Reply-To: <20040119034958.58723.qmail@web13805.mail.yahoo.com> References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> X-Mailer: VM 7.00 under Emacs 20.7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Bryan Forbes writes: > > class DataColumns : public Gtk::TreeModel::ColumnRecord > { > public: > Gtk::TreeModelColumn m_col_entity_type; // cstr_EntityType is my enum > }; > > class cstr_TreeStoreDnd : public Gtk::TreeStore > { > public: > static DataColumns m_modelColumns; > }; > When I run the program with these two classes compiled in, I get this warning: > (process:760): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, > use g_type_init() prior to this function > and it segfaults when I try to add things to the treestore. I figure it's because I'm > using that custom enum value. At the first glance, this doesn't seem related to your enum at all. This variation on the simplest gtkmm application will cause you the same grief! #include int main(int argc, char *argv[]) { Gtk::Window win; Gtk::Main kit(argc, argv); kit.run(win); return 0; } When win is created it checks if its type is registered with glib, and will register its type if it hasn't been. Well, the glib type database is not initialized until kit (the Gtk::Main object) is created ... My guess is that *static* DataColumns is the culprit (with or without the TreeModelColumn instantiated on your enum). That is m_modelColumns behaves as Gtk::Window does in the example above, before main(), where you presumably create a Gtk::Main object, has a chance to initialize the type registration database ... I assume that making m_modelColumn non static will eliminate the runtime errors. You will be using redundant copies thereof ... You could consider making it a pointer, and creating it the first time you need it, after :) Gtk::Main has been instantiated, then reusing that instance ... An alternative would be to follow the error message's advice: > use g_type_init() prior to this function but can't give advice on how to ensure it's called before your static object is created, and won't investigate that either, the singleton method has worked well enough for me. From pks@timing.com Mon Jan 19 00:07:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from Daffy.timing.com (smtp.timing.com [206.168.13.218]) by mail.gnome.org (Postfix) with ESMTP id 92112182CF for ; Mon, 19 Jan 2004 00:07:55 -0500 (EST) Received: from jester.timing.com (root@jester.timing.com [206.168.13.216]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i0J57sDf007262 for ; Sun, 18 Jan 2004 22:07:54 -0700 (MST) (envelope-from pks@timing.com) Received: from jester.timing.com (pks@localhost.timing.com [127.0.0.1]) by jester.timing.com (8.12.6/8.12.6) with ESMTP id i0J57svx081614 for ; Sun, 18 Jan 2004 22:07:54 -0700 (MST) (envelope-from pks@jester.timing.com) Received: (from pks@localhost) by jester.timing.com (8.12.6/8.12.6/Submit) id i0J57sbZ081611; Sun, 18 Jan 2004 22:07:54 -0700 (MST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16395.26154.771085.413384@jester.timing.com> Date: Sun, 18 Jan 2004 22:07:54 -0700 From: pks@timing.com To: Gtkmm List Subject: Re: [gtkmm] Convert Enum to GType In-Reply-To: <16395.25125.213863.500622@jester.timing.com> References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> <16395.25125.213863.500622@jester.timing.com> X-Mailer: VM 7.00 under Emacs 20.7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: pks@timing.com writes: > An alternative would be to follow the error message's advice: > > use g_type_init() prior to this function this does raise a question, which may well have been asked before. Please blow me off if you've dealt with it one too many times, and forgive me for adding another copy! why do we determine that the type system is uninitialized, complain, then crash and burn, instead of just initializing it? From murrayc@usa.net Mon Jan 19 05:34:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmsrelay02.mx.net (cmsrelay02.mx.net [165.212.11.111]) by mail.gnome.org (Postfix) with SMTP id 03853183BA for ; Mon, 19 Jan 2004 05:34:43 -0500 (EST) Received: from uadvg129.cms.usa.net (165.212.11.129) by cmsoutbound.mx.net with SMTP; 19 Jan 2004 10:34:35 -0000 Received: from uwdvg017.cms.usa.net [165.212.8.17] by uadvg129.cms.usa.net (ASMTP/) via mtad (C8.MAIN.3.11E) with ESMTP id 462iaskIh0493M29; Mon, 19 Jan 2004 10:34:33 GMT X-USANET-Auth: 165.212.8.17 AUTO murrayc@usa.net uwdvg017.cms.usa.net Received: from 194.175.117.85 [194.175.117.85] by uwdvg017.cms.usa.net (USANET web-mailer CM.0402.7.03); Mon, 19 Jan 2004 10:34:32 -0000 Date: Mon, 19 Jan 2004 11:34:32 +0100 From: Murray Cumming To: Bryan Forbes , Gtkmm List Subject: Re: [[gtkmm] Convert Enum to GType] X-Mailer: USANET web-mailer (CM.0402.7.03) Mime-Version: 1.0 Message-ID: <516iaskIG5648S17.1074508472@uwdvg017.cms.usa.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Bryan Forbes wrote: > Is there a way to take a typedef'd enum and turn it into a GType? = The reason I ask > is I'm deriving a class from Gtk::TreeStore, but my derived TreeModel u= ses an enum I made > up. By the way, I will check in some derived-treemodel changes today, to gtkm= m 2.4. It's a lot more C++-like. It should help here, because it uses Glib::Value instead of GValue, and Glib::Value does all that enum/whatever-GType stuff for you. Murray Cumming murrayc@usa.net www.murrayc.com From kgergely@mlabdial.hit.bme.hu Mon Jan 19 07:46:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id CD5641864B for ; Mon, 19 Jan 2004 07:46:54 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JCksg21866 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 13:46:54 +0100 Date: Mon, 19 Jan 2004 13:46:54 +0100 From: KONTRA Gergely To: gtkmm-list@gnome.org Message-ID: <20040119124654.GB21675@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] ItemFactory Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've seen nice Gtk code (ruby bindings), and started to learn it. During menu creation, I've come into a so called ItemFactory class. Is this widget part of gtk2? I cannot find any useful info, and I cannot find it in /usr/include. thx Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From abt@gmx.de Mon Jan 19 08:09:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 99177185E9 for ; Mon, 19 Jan 2004 08:09:38 -0500 (EST) Received: (qmail 31590 invoked by uid 65534); 19 Jan 2004 13:09:36 -0000 Received: from pD9E9473E.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.71.62) by mail.gmx.net (mp007) with SMTP; 19 Jan 2004 14:09:36 +0100 X-Authenticated: #109577 Message-ID: <400BD718.7030700@gmx.de> Date: Mon, 19 Jan 2004 14:09:44 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Size of a TextView window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I wonder how I can set the size of my TextView window within a scrolled window. Per default six lines are displayed but I only want one. I´ve tried with set_border_window_size but it has no effect... // Scrolled Window that holds text view for description m_scrolledDescWindow.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); m_DescriptionBuffer = Gtk::TextBuffer::create(); m_DescriptionBuffer->set_text("This is my text"); m_textViewDesc.set_buffer(m_DescriptionBuffer); m_textViewDesc.set_border_window_size(Gtk::TEXT_WINDOW_TOP, 2); m_scrolledDescWindow.add(m_textViewDesc); From kgergely@mlabdial.hit.bme.hu Mon Jan 19 08:40:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id 511F1188A9 for ; Mon, 19 Jan 2004 08:40:00 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JDdxj22418 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 14:39:59 +0100 Date: Mon, 19 Jan 2004 14:39:59 +0100 From: KONTRA Gergely To: gtkmm mailing list Message-ID: <20040119133958.GA22071@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] widget for displaying icons Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! Can I easily set up a widget, which will show me thumbnail images? I have a LOT of images, I want a multicolumn-multirow solution, where the number of columns depends on the widget size. thx Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From gcgg-gtkmm-list@m.gmane.org Mon Jan 19 09:06:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 175E2187CE for ; Mon, 19 Jan 2004 09:06:46 -0500 (EST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aia3B-0001bd-00 for ; Mon, 19 Jan 2004 15:06:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aia39-0001bV-00 for ; Mon, 19 Jan 2004 15:06:43 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aia39-0002nc-00 for ; Mon, 19 Jan 2004 15:06:43 +0100 From: Mike Hearn Date: Mon, 19 Jan 2004 14:10:17 +0000 Lines: 5 Message-ID: References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> <16395.25125.213863.500622@jester.timing.com> <16395.26154.771085.413384@jester.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] Re: Convert Enum to GType Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sun, 18 Jan 2004 22:07:54 -0700, pks wrote: > why do we determine that the type system is uninitialized, complain, > then crash and burn, instead of just initializing it? That probably wouldn't be thread safe. From drink_n_park@hotmail.com Mon Jan 19 09:12:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (law10-f78.law10.hotmail.com [64.4.15.78]) by mail.gnome.org (Postfix) with ESMTP id 3BC3D18903 for ; Mon, 19 Jan 2004 09:12:24 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 19 Jan 2004 06:12:23 -0800 Received: from 203.217.38.178 by lw10fd.law10.hotmail.msn.com with HTTP; Mon, 19 Jan 2004 14:12:23 GMT X-Originating-IP: [203.217.38.178] X-Originating-Email: [drink_n_park@hotmail.com] X-Sender: drink_n_park@hotmail.com From: "Drinkin Park" To: chris@cvine.freeserve.co.uk, gtkmm-list@gnome.org Subject: Re: [gtkmm] Function pointers question (gtkmm related) Date: Mon, 19 Jan 2004 14:12:23 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Jan 2004 14:12:23.0352 (UTC) FILETIME=[4231B380:01C3DE96] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks for the help :) >From: Chris Vine >To: "Drinkin Park" , gtkmm-list@gnome.org >Subject: Re: [gtkmm] Function pointers question (gtkmm related) >Date: Sun, 18 Jan 2004 18:11:50 +0000 > >On Sunday 18 January 2004 1:36 pm, Drinkin Park wrote: > >[snip] > > > MyToolbar::MyToolbar() { > > ... > > push_back(StockElem(Gtk::Stock::NEW, > > SigC::slot(*this, &OtherClass::newButtonClicked), "New")); > ^^^^^^ > >You are not passing the right object to the slot. You need to pass an >object >of type OtherClass. > >Chris. > > _________________________________________________________________ Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp From yzine_zjdt@yahoo.com Mon Jan 19 10:39:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web20726.mail.yahoo.com (web20726.mail.yahoo.com [216.136.226.109]) by mail.gnome.org (Postfix) with SMTP id 6600C18270 for ; Mon, 19 Jan 2004 10:39:49 -0500 (EST) Message-ID: <20040119153945.14882.qmail@web20726.mail.yahoo.com> Received: from [156.56.116.58] by web20726.mail.yahoo.com via HTTP; Mon, 19 Jan 2004 07:39:45 PST Date: Mon, 19 Jan 2004 07:39:45 -0800 (PST) From: L Yang To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-697103962-1074526785=:14281" Subject: [gtkmm] Set a unicode string as the label of button Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --0-697103962-1074526785=:14281 Content-Type: text/plain; charset=us-ascii Dear all, I have a txt file, coded with unicode (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian. gedit told me it's Unicode UTF-16) How to search " Lingyun Yang ..... Thank you in advance! #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;Lingyun Yang #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;yzine@etang.com #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;2004-01-19 --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-697103962-1074526785=:14281 Content-Type: text/html; charset=us-ascii
Dear all,
  I have a txt file, coded with unicode
(MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian.
gedit told me it's Unicode UTF-16)
How to search "<!" in it and how to make it the caption or label of a button
(I am using set_label() from gtkmm and glib::ustring seems doesn't work
and I'm working with dev-c++ under windows)
or even better, could you give me a hint or help to parse this txt file?
it's orgnized like XML format:
<RECORD>
  <FIRST NAME>Lingyun<FIRST NAME>
  <LAST NAME>Yang</LAST NAME>
</RECORD>
<RECORD>
.....
</RECORD>
     
Thank you in advance!
        Lingyun Yang
        yzine@etang.com
          2004-01-19


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-697103962-1074526785=:14281-- From abas@aix.meng.auth.gr Mon Jan 19 11:57:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id 0DDA718431 for ; Mon, 19 Jan 2004 11:57:15 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1Aichx-0001P5-00; Mon, 19 Jan 2004 18:57:01 +0200 Subject: Re: [gtkmm] Set a unicode string as the label of button From: Anastasios Bassoukos To: L Yang Cc: gtkmm-list@gnome.org In-Reply-To: <20040119153945.14882.qmail@web20726.mail.yahoo.com> References: <20040119153945.14882.qmail@web20726.mail.yahoo.com> Content-Type: multipart/alternative; boundary="=-s0dNXruK0qvWbL7ne2Fw" Organization: LHTEE, AUTh Message-Id: <1074531420.3765.1.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 19 Jan 2004 18:57:00 +0200 X-Scanner: exiscan *1Aichx-0001P5-00*lfhfBnxbB9I* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-s0dNXruK0qvWbL7ne2Fw Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2004-01-19 at 17:39, L Yang wrote: > Dear all, > I have a txt file, coded with unicode > (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or > Big-Endian. > gedit told me it's Unicode UTF-16) > How to search " button > (I am using set_label() from gtkmm and glib::ustring seems doesn't > work > and I'm working with dev-c++ under windows) > or even better, could you give me a hint or help to parse this txt > file? > it's orgnized like XML format: > > Lingyun > Yang > > > ..... > > > Thank you in advance! Use the iconv command to transcode the file to UTF-8 and the use standard XML parsing techniques. HTH, Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri --=-s0dNXruK0qvWbL7ne2Fw Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit On Mon, 2004-01-19 at 17:39, L Yang wrote:
Dear all,
  I have a txt file, coded with unicode
(MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian.
gedit told me it's Unicode UTF-16)
How to search "<!" in it and how to make it the caption or label of a button
(I am using set_label() from gtkmm and glib::ustring seems doesn't work
and I'm working with dev-c++ under windows)
or even better, could you give me a hint or help to parse this txt file?
it's orgnized like XML format:
<RECORD>
  <FIRST NAME>Lingyun<FIRST NAME>
  <LAST NAME>Yang</LAST NAME>
</RECORD>
<RECORD>
.....
</RECORD>
     
Thank you in advance!

Use the iconv command to transcode the file to UTF-8 and the use standard XML parsing techniques.

HTH,
Tassos

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master." 
	-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri
--=-s0dNXruK0qvWbL7ne2Fw-- From Murray.Cumming@Comneon.com Mon Jan 19 12:42:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7072F185E6 for ; Mon, 19 Jan 2004 12:42:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JHcZDb002938; Mon, 19 Jan 2004 18:38:35 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 18:43:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A7D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: yzine_zjdt@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Set a unicode string as the label of button Date: Mon, 19 Jan 2004 18:42:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-2022-jp" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Glib::convert() can convert between text encodings: http://www.gtkmm.org/gtkmm2/docs/reference/html/group__CharsetConv.html You might wish to use libxml++ for XML parsing in C++: http://libxmlplusplus.sourceforge.net/ Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of L Yang Sent: Montag, 19. Januar 2004 16:40 To: gtkmm-list@gnome.org Subject: [gtkmm] Set a unicode string as the label of button Dear all, I have a txt file, coded with unicode (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian. gedit told me it's Unicode UTF-16) How to search " Lingyun Yang ..... Thank you in advance! $B!!!!!!!!!!!!!!!!(JLingyun Yang $B!!!!!!!!!!!!!!!!(Jyzine@etang.com $B!!!!!!!!!!!!!!!!!!!!(J2004-01-19 Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes From kgergely@mlabdial.hit.bme.hu Mon Jan 19 13:00:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id AD5DD184B2 for ; Mon, 19 Jan 2004 13:00:03 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JI02g25116 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 19:00:02 +0100 Date: Mon, 19 Jan 2004 19:00:02 +0100 From: KONTRA Gergely To: gtkmm mailing list Subject: Re: [gtkmm] Set a unicode string as the label of button Message-ID: <20040119180002.GA25094@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 0119, L Yang wrote: > I have a txt file, coded with unicode > (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or > Big-Endian. > gedit told me it's Unicode UTF-16) > or even better, could you give me a hint or help to parse this txt > file? > it's orgnized like XML format: Give vim a try. I can handle extreme character sets, knows utf-8, and so on... official: ftp://ftp.vim.org/pub/vim/pc/gvim62.exe unofficial (patched): http://cream.sourceforge.net/gvim-6-2-170.exe If you don't know vim, you can use it, as a notepad, just click on the created vim easy icon. It behaves almost like notepad. But it's a great text editor, and you can use it for compiling gtk project as well... Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ ----- End forwarded message ----- -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From Murray.Cumming@Comneon.com Mon Jan 19 12:46:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 3006018612 for ; Mon, 19 Jan 2004 12:46:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JHflDb016397; Mon, 19 Jan 2004 18:41:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 18:46:19 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pierric@descamps.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview .cc Date: Mon, 19 Jan 2004 18:45:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an > old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, > 2.0.2, and 2.2.8. In any case, I get the following error: gtkmm 2.0 does not build with GTK+ 2.2. gtkmm 2.2 should have no such problems - please check again. Murray Cumming www.murrayc.com murrayc@usa.net From DonScorgie@Blueyonder.co.uk Mon Jan 19 13:30:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp-out7.blueyonder.co.uk (smtp-out7.blueyonder.co.uk [195.188.213.10]) by mail.gnome.org (Postfix) with ESMTP id A6B8318406 for ; Mon, 19 Jan 2004 13:30:37 -0500 (EST) Received: from 82-41-53-103.cable.ubr07.edin.blueyonder.co.uk ([82.41.53.103]) by smtp-out7.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Mon, 19 Jan 2004 18:30:56 +0000 From: Donald To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1074537036.2594.8.camel@Madaline.mydomain.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 19 Jan 2004 18:30:36 +0000 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jan 2004 18:30:56.0622 (UTC) FILETIME=[60D2D8E0:01C3DEBA] Subject: [gtkmm] Gtk::Image and Eventbox Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: hi, I'm new here, so don't be too hard. I've been using gtkmm for a while, but run across a problem. I have a window containing a Gtk::Image which is set with a Gdk::Image / Gdk::Pixmap. I need to recieve events on this, so I proceeded to put it in an eventbox. The problem arises when I try to connect a signal up to it. With no signal (i.e. the eventbox is doing nothing), it is fine and the image displays properly. But when a signal is connected up, the Image / eventbox is displayed as grey. I've check this on the archives and Google, and the nearest I come was a posting saying that the background color of the eventbox can be changed, but nothing else relavent. So, my question after all this rambling is, can I get my Image to display with signals, or do I have to go look for another way to do this? Cheers Don From Murray.Cumming@Comneon.com Mon Jan 19 16:26:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C46C418673 for ; Mon, 19 Jan 2004 16:26:05 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JLLnDb009247; Mon, 19 Jan 2004 22:21:49 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 22:26:21 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: DonScorgie@Blueyonder.co.uk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::Image and Eventbox Date: Mon, 19 Jan 2004 22:25:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've been using gtkmm for a while, but run across a problem. > > I have a window containing a Gtk::Image which is set with a > Gdk::Image / Gdk::Pixmap. > > I need to recieve events on this, so I proceeded to put it in > an eventbox. > > The problem arises when I try to connect a signal up to it. > > With no signal (i.e. the eventbox is doing nothing), it is > fine and the image displays properly. But when a signal is > connected up, the Image / eventbox is displayed as grey. You should probably tell us exactly what signal you are talking about. But I guess that you probably just need to use the correct return type in your event signal handler: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/apbs06.html Murray Cumming www.murrayc.com murrayc@usa.net From pierric@descamps.net Mon Jan 19 16:03:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.insa-lyon.fr (csiges9.insa-lyon.fr [134.214.79.200]) by mail.gnome.org (Postfix) with ESMTP id 132E9189AD for ; Mon, 19 Jan 2004 16:03:47 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.insa-lyon.fr (Postfix) with ESMTP id D10254B4E4 for ; Mon, 19 Jan 2004 22:03:38 +0100 (CET) Received: from J534-a.resJ.insa-lyon.fr (J534-a.resJ.insa-lyon.fr [134.214.166.190]) by mail.insa-lyon.fr (Postfix) with SMTP id DB2174B5F9 for ; Mon, 19 Jan 2004 22:03:36 +0100 (CET) Date: Mon, 19 Jan 2004 22:05:10 +0000 From: Pierric Descamps To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview .cc Message-Id: <20040119220510.48f22caa.pierric@descamps.net> In-Reply-To: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> Organization: X-Mailer: Sylpheed version 0.9.4-gtk2-20030802 (GTK+ 2.2.2; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd 0.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm really sorry. Why is it that every time I post a message, I forget to double-check? Version 2.2.8 actually compiled, though I was completly sure it once failed. Maybe the fact that I updated glib from 2.1.something to 2.2.something helped. I don't know. But it now works, thanks a lot. You might hear from me for stupid newbie questions in the near future. :-) Pierric. On Mon, 19 Jan 2004 18:45:56 +0100 Murray.Cumming@Comneon.com wrote: > > I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an > > old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, > > 2.0.2, and 2.2.8. In any case, I get the following error: > > gtkmm 2.0 does not build with GTK+ 2.2. gtkmm 2.2 should have no such > problems - please check again. > > Murray Cumming > www.murrayc.com > murrayc@usa.net > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From hellish@comcast.net Mon Jan 19 19:33:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mail.gnome.org (Postfix) with ESMTP id DE52418283 for ; Mon, 19 Jan 2004 19:33:26 -0500 (EST) Received: from osiris (c-24-20-76-138.client.comcast.net[24.20.76.138]) by comcast.net (sccrmhc12) with SMTP id <20040120003325012001sdm0e> (Authid: hellish); Tue, 20 Jan 2004 00:33:25 +0000 Date: Mon, 19 Jan 2004 16:33:18 -0800 From: Nick Nolan To: gtkmm-list Message-Id: <20040119163318.0eaba60a.hellish@comcast.net> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; powerpc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j" Subject: [gtkmm] libglademm problem... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit I can compile my extremely simple program fine, but when I run it I get: hellish@Osiris:~/hacking/space-battle/src$ ./a.out (a.out:28347): libglade-WARNING **: Expected . Got . (a.out:28347): libglade-WARNING **: did not finish in PARSER_FINISH state Aborted anyone know what that means? google and list archives turn up nothing. code: #include #include int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Glib::RefPtr refXml = Gnome::Glade::Xml::create("space-battle.glade"); return 0; } The .glade is attached if it's of any interest. Thanks in advance, Nick Nolan --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFADHdUpa1ZoSmkxrkRAi+HAJ95j9aXR+fK3T857EHPdOfhz5W6+ACeLbKT vegTejoGoCFQV8GvbYDb3co= =pyK2 -----END PGP SIGNATURE----- --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j-- From hellish@comcast.net Mon Jan 19 19:51:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mail.gnome.org (Postfix) with ESMTP id 74D121815B for ; Mon, 19 Jan 2004 19:51:54 -0500 (EST) Received: from osiris (c-24-20-76-138.client.comcast.net[24.20.76.138]) by comcast.net (rwcrmhc11) with SMTP id <20040120005149013007u9l0e> (Authid: hellish); Tue, 20 Jan 2004 00:51:50 +0000 Date: Mon, 19 Jan 2004 16:51:31 -0800 From: Nick Nolan To: gtkmm-list@gnome.org Subject: Re: [gtkmm] libglademm problem... Message-Id: <20040119165131.636fd793.hellish@comcast.net> In-Reply-To: <20040119163318.0eaba60a.hellish@comcast.net> References: <20040119163318.0eaba60a.hellish@comcast.net> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; powerpc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn Content-Type: multipart/mixed; boundary="Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD" --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Mon, 19 Jan 2004 16:33:18 -0800 Nick Nolan wrote: > The .glade is attached if it's of any interest. oops... anyway here's the glade --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD Content-Type: application/octet-stream; name="space-battle.glade" Content-Disposition: attachment; filename="space-battle.glade" Content-Transfer-Encoding: base64 PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxHVEstSW50ZXJmYWNlPgoKPHByb2plY3Q+CiAgPG5hbWU+ c3BhY2UtYmF0dGxlPC9uYW1lPgogIDxwcm9ncmFtX25hbWU+c3BhY2UtYmF0dGxlPC9wcm9ncmFt X25hbWU+CiAgPGRpcmVjdG9yeT48L2RpcmVjdG9yeT4KICA8c291cmNlX2RpcmVjdG9yeT5zcmM8 L3NvdXJjZV9kaXJlY3Rvcnk+CiAgPHBpeG1hcHNfZGlyZWN0b3J5PnBpeG1hcHM8L3BpeG1hcHNf ZGlyZWN0b3J5PgogIDxsYW5ndWFnZT5DKys8L2xhbmd1YWdlPgogIDxnbm9tZV9zdXBwb3J0PkZh bHNlPC9nbm9tZV9zdXBwb3J0PgogIDxnZXR0ZXh0X3N1cHBvcnQ+VHJ1ZTwvZ2V0dGV4dF9zdXBw b3J0PgogIDxvdXRwdXRfbWFpbl9maWxlPkZhbHNlPC9vdXRwdXRfbWFpbl9maWxlPgogIDxvdXRw dXRfc3VwcG9ydF9maWxlcz5GYWxzZTwvb3V0cHV0X3N1cHBvcnRfZmlsZXM+CiAgPG91dHB1dF9i dWlsZF9maWxlcz5GYWxzZTwvb3V0cHV0X2J1aWxkX2ZpbGVzPgogIDxiYWNrdXBfc291cmNlX2Zp bGVzPkZhbHNlPC9iYWNrdXBfc291cmNlX2ZpbGVzPgo8L3Byb2plY3Q+Cgo8d2lkZ2V0PgogIDxj bGFzcz5HdGtXaW5kb3c8L2NsYXNzPgogIDxuYW1lPk1haW5XaW5kb3c8L25hbWU+CiAgPHRpdGxl PlNwYWNlIEJhdHRsZSE8L3RpdGxlPgogIDx0eXBlPkdUS19XSU5ET1dfVE9QTEVWRUw8L3R5cGU+ CiAgPHBvc2l0aW9uPkdUS19XSU5fUE9TX05PTkU8L3Bvc2l0aW9uPgogIDxtb2RhbD5GYWxzZTwv bW9kYWw+CiAgPGFsbG93X3Nocmluaz5GYWxzZTwvYWxsb3dfc2hyaW5rPgogIDxhbGxvd19ncm93 PlRydWU8L2FsbG93X2dyb3c+CiAgPGF1dG9fc2hyaW5rPkZhbHNlPC9hdXRvX3Nocmluaz4KCiAg PHdpZGdldD4KICAgIDxjbGFzcz5HdGtWQm94PC9jbGFzcz4KICAgIDxuYW1lPnZib3gxPC9uYW1l PgogICAgPGhvbW9nZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAgIDxzcGFjaW5nPjA8L3Nw YWNpbmc+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0ltYWdlPC9jbGFzcz4KICAgICAg PG5hbWU+aW1hZ2UxPC9uYW1lPgogICAgICA8eGFsaWduPjAuNTwveGFsaWduPgogICAgICA8eWFs aWduPjAuNTwveWFsaWduPgogICAgICA8eHBhZD4wPC94cGFkPgogICAgICA8eXBhZD4wPC95cGFk PgogICAgICA8aW1hZ2Vfd2lkdGg+NTEyPC9pbWFnZV93aWR0aD4KICAgICAgPGltYWdlX2hlaWdo dD4yNTY8L2ltYWdlX2hlaWdodD4KICAgICAgPGltYWdlX3R5cGU+R0RLX0lNQUdFX05PUk1BTDwv aW1hZ2VfdHlwZT4KICAgICAgPGltYWdlX3Zpc3VhbD5HREtfVklTVUFMX1NZU1RFTTwvaW1hZ2Vf dmlzdWFsPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5UcnVl PC9leHBhbmQ+Cgk8ZmlsbD5UcnVlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRnZXQ+ CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1l PkNvbmZpZ3VyZVNlcnZlckJ1dHRvbjwvbmFtZT4KICAgICAgPGNhbl9mb2N1cz5UcnVlPC9jYW5f Zm9jdXM+CiAgICAgIDxsYWJlbD5TdGFydCBhIG5ldyBnYW1lIChsYXVuY2ggc2VydmVyKTwvbGFi ZWw+CiAgICAgIDxyZWxpZWY+R1RLX1JFTElFRl9OT1JNQUw8L3JlbGllZj4KICAgICAgPGNoaWxk PgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+RmFsc2U8L2V4cGFuZD4KCTxmaWxsPkZh bHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAg ICAgPGNsYXNzPkd0a0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1lPkNvbm5lY3RCdXR0b248L25h bWU+CiAgICAgIDxjYW5fZm9jdXM+VHJ1ZTwvY2FuX2ZvY3VzPgogICAgICA8bGFiZWw+Q29ubmVj dCB0byBhIGN1cnJlbnQgZ2FtZTwvbGFiZWw+CiAgICAgIDxyZWxpZWY+R1RLX1JFTElFRl9OT1JN QUw8L3JlbGllZj4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+ RmFsc2U8L2V4cGFuZD4KCTxmaWxsPkZhbHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93 aWRnZXQ+CiAgPC93aWRnZXQ+Cjwvd2lkZ2V0PgoKPHdpZGdldD4KICA8Y2xhc3M+R3RrV2luZG93 PC9jbGFzcz4KICA8bmFtZT5TdGFydFNlcnZlcldpbmRvdzwvbmFtZT4KICA8dGl0bGU+U3RhcnRp bmcgYSBnYW1lLi4uPC90aXRsZT4KICA8dHlwZT5HVEtfV0lORE9XX1RPUExFVkVMPC90eXBlPgog IDxwb3NpdGlvbj5HVEtfV0lOX1BPU19OT05FPC9wb3NpdGlvbj4KICA8bW9kYWw+RmFsc2U8L21v ZGFsPgogIDxhbGxvd19zaHJpbms+RmFsc2U8L2FsbG93X3Nocmluaz4KICA8YWxsb3dfZ3Jvdz5U cnVlPC9hbGxvd19ncm93PgogIDxhdXRvX3Nocmluaz5GYWxzZTwvYXV0b19zaHJpbms+CgogIDx3 aWRnZXQ+CiAgICA8Y2xhc3M+R3RrVkJveDwvY2xhc3M+CiAgICA8bmFtZT52Ym94MjwvbmFtZT4K ICAgIDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICA8c3BhY2luZz4wPC9zcGFj aW5nPgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtMYWJlbDwvY2xhc3M+CiAgICAgIDxu YW1lPmxhYmVsMTwvbmFtZT4KICAgICAgPGxhYmVsPlN0YXJ0aW5nIGEgbmV3IFNwYWNlIEJhdHRs ZSBnYW1lPC9sYWJlbD4KICAgICAgPGp1c3RpZnk+R1RLX0pVU1RJRllfQ0VOVEVSPC9qdXN0aWZ5 PgogICAgICA8d3JhcD5GYWxzZTwvd3JhcD4KICAgICAgPHhhbGlnbj4wLjU8L3hhbGlnbj4KICAg ICAgPHlhbGlnbj4wLjU8L3lhbGlnbj4KICAgICAgPHhwYWQ+MDwveHBhZD4KICAgICAgPHlwYWQ+ MDwveXBhZD4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+RmFs c2U8L2V4cGFuZD4KCTxmaWxsPkZhbHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRn ZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0hCb3g8L2NsYXNzPgogICAgICA8bmFt ZT5oYm94MTwvbmFtZT4KICAgICAgPGhvbW9nZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAg ICAgPHNwYWNpbmc+MDwvc3BhY2luZz4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGlu Zz4KCTxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJPGZpbGw+VHJ1ZTwvZmlsbD4KICAgICAgPC9jaGls ZD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+R3RrTGFiZWw8L2NsYXNzPgoJPG5hbWU+bGFiZWwy PC9uYW1lPgoJPGxhYmVsPlBvcnQ/PC9sYWJlbD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZX0NFTlRF UjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGlnbj4KCTx5 YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4wPC94cGFkPgoJPHlwYWQ+MDwveXBhZD4KCTxjaGls ZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJICA8 ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgoKICAgICAgPHdpZGdl dD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+Cgk8bmFtZT5Qb3J0RW50cnk8L25hbWU+Cgk8Y2Fu X2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxlZGl0YWJsZT5UcnVlPC9lZGl0YWJsZT4KCTx0ZXh0 X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxlPgoJPHRleHRfbWF4X2xlbmd0aD4wPC90ZXh0X21h eF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+ CgkgIDxleHBhbmQ+RmFsc2U8L2V4cGFuZD4KCSAgPGZpbGw+RmFsc2U8L2ZpbGw+Cgk8L2NoaWxk PgogICAgICA8L3dpZGdldD4KICAgIDwvd2lkZ2V0PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFz cz5HdGtDaGVja0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1lPlBsYXlJblRoaXNHYW1lPC9uYW1l PgogICAgICA8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KICAgICAgPGxhYmVsPlBsYXkgaW4g dGhpcyBnYW1lPzwvbGFiZWw+CiAgICAgIDxhY3RpdmU+RmFsc2U8L2FjdGl2ZT4KICAgICAgPGRy YXdfaW5kaWNhdG9yPlRydWU8L2RyYXdfaW5kaWNhdG9yPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGlu Zz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+ CiAgICAgIDwvY2hpbGQ+CiAgICA8L3dpZGdldD4KCiAgICA8d2lkZ2V0PgogICAgICA8Y2xhc3M+ R3RrSEJveDwvY2xhc3M+CiAgICAgIDxuYW1lPmhib3gyPC9uYW1lPgogICAgICA8aG9tb2dlbmVv dXM+RmFsc2U8L2hvbW9nZW5lb3VzPgogICAgICA8c3BhY2luZz4wPC9zcGFjaW5nPgogICAgICA8 Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZp bGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0 a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVsMzwvbmFtZT4KCTxsYWJlbD5UdXJucyBwZXIgaG91 cj88L2xhYmVsPgoJPGp1c3RpZnk+R1RLX0pVU1RJRllfQ0VOVEVSPC9qdXN0aWZ5PgoJPHdyYXA+ RmFsc2U8L3dyYXA+Cgk8eGFsaWduPjAuNTwveGFsaWduPgoJPHlhbGlnbj4wLjU8L3lhbGlnbj4K CTx4cGFkPjA8L3hwYWQ+Cgk8eXBhZD4wPC95cGFkPgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9w YWRkaW5nPgoJICA8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+CgkgIDxmaWxsPkZhbHNlPC9maWxsPgoJ PC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0VudHJ5 PC9jbGFzcz4KCTxuYW1lPlRQSEVudHJ5PC9uYW1lPgoJPGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9j dXM+Cgk8ZWRpdGFibGU+VHJ1ZTwvZWRpdGFibGU+Cgk8dGV4dF92aXNpYmxlPlRydWU8L3RleHRf dmlzaWJsZT4KCTx0ZXh0X21heF9sZW5ndGg+MDwvdGV4dF9tYXhfbGVuZ3RoPgoJPHRleHQ+PC90 ZXh0PgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRkaW5nPgoJICA8ZXhwYW5kPlRydWU8L2V4 cGFuZD4KCSAgPGZpbGw+VHJ1ZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgogICAg PC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0NoZWNrQnV0dG9uPC9jbGFz cz4KICAgICAgPG5hbWU+Y2hlY2tidXR0b24xPC9uYW1lPgogICAgICA8Y2FuX2ZvY3VzPlRydWU8 L2Nhbl9mb2N1cz4KICAgICAgPGxhYmVsPkxhdW5jaCBsb2cgdmlld2VyPyBsb2dzIGFyZSBhdCB+ Ly5zcGFjZS1iYXR0bGUvbG9nPC9sYWJlbD4KICAgICAgPGFjdGl2ZT5GYWxzZTwvYWN0aXZlPgog ICAgICA8ZHJhd19pbmRpY2F0b3I+VHJ1ZTwvZHJhd19pbmRpY2F0b3I+CiAgICAgIDxjaGlsZD4K CTxwYWRkaW5nPjA8L3BhZGRpbmc+Cgk8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+Cgk8ZmlsbD5GYWxz ZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KICAgIDwvd2lkZ2V0PgoKICAgIDx3aWRnZXQ+CiAgICAg IDxjbGFzcz5HdGtCdXR0b248L2NsYXNzPgogICAgICA8bmFtZT5TdGFydFNlcnZlckJ1dHRvbjwv bmFtZT4KICAgICAgPGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9jdXM+CiAgICAgIDxsYWJlbD5MZXQg dGhlIGdhbWUgYmVnaW4hPC9sYWJlbD4KICAgICAgPHJlbGllZj5HVEtfUkVMSUVGX05PUk1BTDwv cmVsaWVmPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxz ZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+CiAgICA8L3dpZGdl dD4KICA8L3dpZGdldD4KPC93aWRnZXQ+Cgo8d2lkZ2V0PgogIDxjbGFzcz5HdGtXaW5kb3c8L2Ns YXNzPgogIDxuYW1lPkNvbm5lY3RXaW5kb3c8L25hbWU+CiAgPHRpdGxlPkNvbm5lY3RpbmcgdG8g YSBnYW1lLi4uPC90aXRsZT4KICA8dHlwZT5HVEtfV0lORE9XX1RPUExFVkVMPC90eXBlPgogIDxw b3NpdGlvbj5HVEtfV0lOX1BPU19OT05FPC9wb3NpdGlvbj4KICA8bW9kYWw+RmFsc2U8L21vZGFs PgogIDxhbGxvd19zaHJpbms+RmFsc2U8L2FsbG93X3Nocmluaz4KICA8YWxsb3dfZ3Jvdz5UcnVl PC9hbGxvd19ncm93PgogIDxhdXRvX3Nocmluaz5GYWxzZTwvYXV0b19zaHJpbms+CgogIDx3aWRn ZXQ+CiAgICA8Y2xhc3M+R3RrVkJveDwvY2xhc3M+CiAgICA8bmFtZT52Ym94MzwvbmFtZT4KICAg IDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICA8c3BhY2luZz4wPC9zcGFjaW5n PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtIQm94PC9jbGFzcz4KICAgICAgPG5hbWU+ aGJveDM8L25hbWU+CiAgICAgIDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICAg IDxzcGFjaW5nPjA8L3NwYWNpbmc+CiAgICAgIDxjaGlsZD4KCTxwYWRkaW5nPjA8L3BhZGRpbmc+ Cgk8ZXhwYW5kPlRydWU8L2V4cGFuZD4KCTxmaWxsPlRydWU8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+ CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVsNDwv bmFtZT4KCTxsYWJlbD5JUCBvZiBzZXJ2ZXI/PC9sYWJlbD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZ X0NFTlRFUjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGln bj4KCTx5YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4wPC94cGFkPgoJPHlwYWQ+MDwveXBhZD4K CTxjaGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5k PgoJICA8ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgoKICAgICAg PHdpZGdldD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+Cgk8bmFtZT5JUEVudHJ5PC9uYW1lPgoJ PGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9jdXM+Cgk8ZWRpdGFibGU+VHJ1ZTwvZWRpdGFibGU+Cgk8 dGV4dF92aXNpYmxlPlRydWU8L3RleHRfdmlzaWJsZT4KCTx0ZXh0X21heF9sZW5ndGg+MDwvdGV4 dF9tYXhfbGVuZ3RoPgoJPHRleHQ+PC90ZXh0PgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRk aW5nPgoJICA8ZXhwYW5kPlRydWU8L2V4cGFuZD4KCSAgPGZpbGw+VHJ1ZTwvZmlsbD4KCTwvY2hp bGQ+CiAgICAgIDwvd2lkZ2V0PgogICAgPC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNs YXNzPkd0a0hCb3g8L2NsYXNzPgogICAgICA8bmFtZT5oYm94NDwvbmFtZT4KICAgICAgPGhvbW9n ZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAgICAgPHNwYWNpbmc+MDwvc3BhY2luZz4KICAg ICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJ PGZpbGw+VHJ1ZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+ R3RrTGFiZWw8L2NsYXNzPgoJPG5hbWU+bGFiZWw1PC9uYW1lPgoJPGxhYmVsPlBvcnQ/PC9sYWJl bD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZX0NFTlRFUjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93 cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGlnbj4KCTx5YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4w PC94cGFkPgoJPHlwYWQ+MDwveXBhZD4KCTxjaGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4K CSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJICA8ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+ CiAgICAgIDwvd2lkZ2V0PgoKICAgICAgPHdpZGdldD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+ Cgk8bmFtZT5Qb3J0RW50cnk8L25hbWU+Cgk8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxl ZGl0YWJsZT5UcnVlPC9lZGl0YWJsZT4KCTx0ZXh0X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxl PgoJPHRleHRfbWF4X2xlbmd0aD4wPC90ZXh0X21heF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8 Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+CgkgIDxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJ ICA8ZmlsbD5UcnVlPC9maWxsPgoJPC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CiAgICA8L3dpZGdl dD4KCiAgICA8d2lkZ2V0PgogICAgICA8Y2xhc3M+R3RrSEJveDwvY2xhc3M+CiAgICAgIDxuYW1l Pmhib3g1PC9uYW1lPgogICAgICA8aG9tb2dlbmVvdXM+RmFsc2U8L2hvbW9nZW5lb3VzPgogICAg ICA8c3BhY2luZz4wPC9zcGFjaW5nPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5n PgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hp bGQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVs NzwvbmFtZT4KCTxsYWJlbD5Vc2VybmFtZT88L2xhYmVsPgoJPGp1c3RpZnk+R1RLX0pVU1RJRllf Q0VOVEVSPC9qdXN0aWZ5PgoJPHdyYXA+RmFsc2U8L3dyYXA+Cgk8eGFsaWduPjAuNTwveGFsaWdu PgoJPHlhbGlnbj4wLjU8L3lhbGlnbj4KCTx4cGFkPjA8L3hwYWQ+Cgk8eXBhZD4wPC95cGFkPgoJ PGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRkaW5nPgoJICA8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+ CgkgIDxmaWxsPkZhbHNlPC9maWxsPgoJPC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8 d2lkZ2V0PgoJPGNsYXNzPkd0a0VudHJ5PC9jbGFzcz4KCTxuYW1lPlVzZXJuYW1lRW50cnk8L25h bWU+Cgk8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxlZGl0YWJsZT5UcnVlPC9lZGl0YWJs ZT4KCTx0ZXh0X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxlPgoJPHRleHRfbWF4X2xlbmd0aD4w PC90ZXh0X21heF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8 L3BhZGRpbmc+CgkgIDxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJICA8ZmlsbD5UcnVlPC9maWxsPgoJ PC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVs PC9jbGFzcz4KCTxuYW1lPmxhYmVsODwvbmFtZT4KCTxsYWJlbD5QYXNzd29yZDwvbGFiZWw+Cgk8 anVzdGlmeT5HVEtfSlVTVElGWV9DRU5URVI8L2p1c3RpZnk+Cgk8d3JhcD5GYWxzZTwvd3JhcD4K CTx4YWxpZ24+MC41PC94YWxpZ24+Cgk8eWFsaWduPjAuNTwveWFsaWduPgoJPHhwYWQ+MDwveHBh ZD4KCTx5cGFkPjA8L3lwYWQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+CgkgIDxl eHBhbmQ+RmFsc2U8L2V4cGFuZD4KCSAgPGZpbGw+RmFsc2U8L2ZpbGw+Cgk8L2NoaWxkPgogICAg ICA8L3dpZGdldD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+R3RrRW50cnk8L2NsYXNzPgoJPG5h bWU+UGFzc3dvcmRFbnRyeTwvbmFtZT4KCTxjYW5fZm9jdXM+VHJ1ZTwvY2FuX2ZvY3VzPgoJPGVk aXRhYmxlPlRydWU8L2VkaXRhYmxlPgoJPHRleHRfdmlzaWJsZT5UcnVlPC90ZXh0X3Zpc2libGU+ Cgk8dGV4dF9tYXhfbGVuZ3RoPjA8L3RleHRfbWF4X2xlbmd0aD4KCTx0ZXh0PjwvdGV4dD4KCTxj aGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5UcnVlPC9leHBhbmQ+Cgkg IDxmaWxsPlRydWU8L2ZpbGw+Cgk8L2NoaWxkPgogICAgICA8L3dpZGdldD4KICAgIDwvd2lkZ2V0 PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtCdXR0b248L2NsYXNzPgogICAgICA8bmFt ZT5Kb2luQnV0dG9uPC9uYW1lPgogICAgICA8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KICAg ICAgPGxhYmVsPkpvaW48L2xhYmVsPgogICAgICA8cmVsaWVmPkdUS19SRUxJRUZfTk9STUFMPC9y ZWxpZWY+CiAgICAgIDxjaGlsZD4KCTxwYWRkaW5nPjA8L3BhZGRpbmc+Cgk8ZXhwYW5kPkZhbHNl PC9leHBhbmQ+Cgk8ZmlsbD5GYWxzZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KICAgIDwvd2lkZ2V0 PgogIDwvd2lkZ2V0Pgo8L3dpZGdldD4KCjwvR1RLLUludGVyZmFjZT4K --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD-- --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFADHukpa1ZoSmkxrkRAvfiAKCMb9d++rvGHbxDhONPw69IhvRhZQCfV4Yr 3PctZWP2ZTmMh/Yq5vQU3cg= =e9Qq -----END PGP SIGNATURE----- --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn-- From billyoc@gnuyork.org Mon Jan 19 20:40:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 9BD731819A for ; Mon, 19 Jan 2004 20:40:44 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Aikpy-0001In-62; Mon, 19 Jan 2004 20:37:50 -0500 To: Nick Nolan Cc: gtkmm-list Subject: Re: [gtkmm] libglademm problem... References: <20040119163318.0eaba60a.hellish@comcast.net> From: Billy O'Connor Date: Mon, 19 Jan 2004 20:37:49 -0500 In-Reply-To: <20040119163318.0eaba60a.hellish@comcast.net> (Nick Nolan's message of "Mon, 19 Jan 2004 16:33:18 -0800") Message-ID: <87d69ftn6a.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Nick Nolan writes: > I can compile my extremely simple program fine, but when I run it I get: > > hellish@Osiris:~/hacking/space-battle/src$ ./a.out > > (a.out:28347): libglade-WARNING **: Expected . Got . > > (a.out:28347): libglade-WARNING **: did not finish in PARSER_FINISH state > Aborted > > > anyone know what that means? google and list archives turn up nothing. > > code: > #include > #include > int main(int argc, char *argv[]) > { > Gtk::Main kit(argc, argv); > > > Glib::RefPtr refXml = Gnome::Glade::Xml::create("space-battle.glade"); > return 0; > } There's something wrong with that glade file, did you use an older version of glade to produce it? It's not the correct syntax at all, and glade itself wouldn't even load it here. From yzine_zjdt@yahoo.com Tue Jan 20 00:41:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web20723.mail.yahoo.com (web20723.mail.yahoo.com [216.136.226.77]) by mail.gnome.org (Postfix) with SMTP id 72EF61849C for ; Tue, 20 Jan 2004 00:41:58 -0500 (EST) Message-ID: <20040120054157.14110.qmail@web20723.mail.yahoo.com> Received: from [156.56.123.49] by web20723.mail.yahoo.com via HTTP; Mon, 19 Jan 2004 21:41:57 PST Date: Mon, 19 Jan 2004 21:41:57 -0800 (PST) From: L Yang Subject: Re: Re: [gtkmm] Set a unicode string as the label of button To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1164928020-1074577317=:11787" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --0-1164928020-1074577317=:11787 Content-Type: text/plain; charset=us-ascii I used the Glib::convert(s,"GBK","UTF-16"); but it says: unhandled exception (type Glib::Error) in signal handler: domain: g_convert_error code :3 what : Partial character sequence at end of input does it mean it's not coded by UTF-16 ? here is the strings from the file I want to transfer I'm using Chinese Windows XP, so I want to convert them to GBK format, anyone can help me with this ? orginal: ---------------------------------------------------- < US#34540;WW> < US#34540;#37520;#34156;WW> < #40378;,g#34540;IN> < US#34540;y? < US#34540;#28923;#23169;> < ! [ C D A T A [ C ] ] > < / US#34540;#28923;#23169;> < US#34540;#39676;h> < #34540;xQ#39676;h> < ! [ C D A T A [ s i : ] ] > < / #34540;xQ#39676;h> < / US#34540;#39676;h> < #37520;#34156;y? < ! [ C D A T A [ n . W[#34489;C ] ] > < / #37520;#34156;y? < vQ#35570;> < ! [ C D A T A [ 3 , 0 , 2 0 0 3 / 1 2 / 1 9 2 1 : 2 4 : 3 5 ] ] > < / vQ#35570;> < / US#34540;y? < / #40378;,g#34540;IN> < / US#34540;#37520;#34156;WW> < / US#34540;WW> < US#34540;WW> < US#34540;#37520;#34156;WW> < #40378;,g#34540;IN> < US#34540;y? < US#34540;#28923;#23169;> < ! [ C D A T A [ C ] ] > < / US#34540;#28923;#23169;> < US#34540;#39676;h> < #34540;xQ#39676;h> < ! [ C D A T A [ s i : ] ] > < / #34540;xQ#39676;h> < / US#34540;#39676;h> < #37520;#34156;y? < ! [ C D A T A [ n . W[#34489;C ] ] > < / #37520;#34156;y? < vQ#35570;> < ! [ C D A T A [ 3 , 1 , 2 0 0 3 / 1 2 / 1 9 2 1 : 2 4 : 3 5 ] ] > < / vQ#35570;> < / US#34540;y? < / #40378;,g#34540;IN> < / US#34540;#37520;#34156;WW> < / US#34540;WW> converteded manually with MS WORD XP ----------------------------------------------- <#21333;#35789;#22359;> <#21333;#35789;#35299;#37322;#22359;> <#22522;#26412;#35789;#20041;> <#21333;#35789;#39033;> <#21333;#35789;#21407;#22411;> <#21333;#35789;#38899;#26631;> <#35789;#20856;#38899;#26631;> <#35299;#37322;#39033;> <#20854;#20182;> <#21333;#35789;#22359;> <#21333;#35789;#35299;#37322;#22359;> <#22522;#26412;#35789;#20041;> <#21333;#35789;#39033;> <#21333;#35789;#21407;#22411;> <#21333;#35789;#38899;#26631;> <#35789;#20856;#38899;#26631;> <#35299;#37322;#39033;> <#20854;#20182;> --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-1164928020-1074577317=:11787 Content-Type: text/html; charset=us-ascii
I used the Glib::convert(s,"GBK","UTF-16");
but it says:
unhandled exception (type Glib::Error) in signal handler:
domain: g_convert_error
code  :3
what  : Partial character sequence at end of input
does it mean it's not coded by UTF-16 ?
here is the strings from the file I want to transfer
I'm using Chinese Windows XP, so I want to convert them
to GBK format, anyone can help me with this ?
orginal:
----------------------------------------------------
 
 < US蛬WW>
 
   < US蛬銐蕬WW>
 
     < 鶺,g蛬IN>
 
       < US蛬y?
 
         < US蛬烻媁> < ! [ C D A T A [ C ] ] > < / US蛬烻媁>
 
         < US蛬髼h>
 
           < 蛬xQ髼h> < ! [ C D A T A [ s i : ] ] > < / 蛬xQ髼h>
 
         < / US蛬髼h>
 
         < 銐蕬y? < ! [ C D A T A [ n . W[蚹C ] ] > < / 銐蕬y?
 
         < vQ諲> < ! [ C D A T A [ 3 , 0 , 2 0 0 3 / 1 2 / 1 9   2 1 : 2 4 : 3 5 ] ] > < / vQ諲>
 
       < / US蛬y?
 
     < / 鶺,g蛬IN>
 
   < / US蛬銐蕬WW>
 
 < / US蛬WW>
 
 < US蛬WW>
 
   < US蛬銐蕬WW>
 
     < 鶺,g蛬IN>
 
       < US蛬y?
 
         < US蛬烻媁> < ! [ C D A T A [ C ] ] > < / US蛬烻媁>
 
         < US蛬髼h>
 
           < 蛬xQ髼h> < ! [ C D A T A [ s i : ] ] > < / 蛬xQ髼h>
 
         < / US蛬髼h>
 
         < 銐蕬y? < ! [ C D A T A [ n . W[蚹C ] ] > < / 銐蕬y?
 
         < vQ諲> < ! [ C D A T A [ 3 , 1 , 2 0 0 3 / 1 2 / 1 9   2 1 : 2 4 : 3 5 ] ] > < / vQ諲>
 
       < / US蛬y?
 
     < / 鶺,g蛬IN>
 
   < / US蛬銐蕬WW>
 
 < / US蛬WW>
 

converteded manually with MS WORD XP
-----------------------------------------------
<单词块>
 <单词解释块>
  <基本词义>
   <单词项>
    <单词原型><![CDATA[C]]></单词原型>
    <单词音标>
     <词典音标><![CDATA[si:]]></词典音标>
    </单词音标>
    <解释项><![CDATA[n.字母C]]></解释项>
    <其他><![CDATA[3,0,2003/12/19 21:24:35]]></其他>
   </单词项>
  </基本词义>
 </单词解释块>
</单词块>
<单词块>
 <单词解释块>
  <基本词义>
   <单词项>
    <单词原型><![CDATA[C]]></单词原型>
    <单词音标>
     <词典音标><![CDATA[si:]]></词典音标>
    </单词音标>
    <解释项><![CDATA[n.字母C]]></解释项>
    <其他><![CDATA[3,1,2003/12/19 21:24:35]]></其他>
   </单词项>
  </基本词义>
 </单词解释块>
</单词块>


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-1164928020-1074577317=:11787-- From lupv@gmv.es Tue Jan 20 05:37:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 2E06B187FD for ; Tue, 20 Jan 2004 05:37:29 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0KAaAee010080 for ; Tue, 20 Jan 2004 11:36:10 +0100 Received: (from uucp@localhost) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) id i0KAad412621 for ; Tue, 20 Jan 2004 11:36:39 +0100 (MET) Received: from gmvmailhost.gmv.es(172.22.2.4) by caronte.gmv.es via csmap (V6.0) id srcAAAYzaGPy; Tue, 20 Jan 04 11:36:37 +0100 Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0KAbOBL016075 for ; Tue, 20 Jan 2004 11:37:25 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Tue, 20 Jan 2004 11:47:15 +0100 Message-ID: <400D050C.5060707@gmv.es> Date: Tue, 20 Jan 2004 11:38:04 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] MDI on gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm trying to develop the MDI concept on gtkmm. We don't want to use the gnome libraries because we are evaluating only the gtkmm toolkit (we don't even use direct calls to gtk+ functions). Using Gtk::Layout as container it has been easy to emulate the MDI behaviour. The problem is that when a MDIchild contains a Gtk::ScrolledWindow, the scrollbars seem to be in a lower z-level than other widgets. So, when a MDIchild (mdiChild1) is over another MDIchild (mdiChild2), all the widgets comprised in mdiChild1 are over any widget comprised in mdiChild2, except the scrollbars, that are below and seem to disappear under mdiChild2. Has anyone had a similar problem? What's wrong? What can I do? Thank you very much, Luis From dss@home.se Tue Jan 20 05:51:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gepetto.dc.luth.se (gepetto.dc.luth.se [130.240.42.40]) by mail.gnome.org (Postfix) with ESMTP id C2D821864A for ; Tue, 20 Jan 2004 05:51:47 -0500 (EST) Received: from sumpan (sumpan.campus.luth.se [130.240.194.33]) by gepetto.dc.luth.se (8.12.5/8.12.5) with SMTP id i0KApegC011280; Tue, 20 Jan 2004 11:51:40 +0100 (MET) Date: Tue, 20 Jan 2004 11:51:40 +0100 From: Daniel Sundberg To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] MDI on gtkmm Message-Id: <20040120115140.27905010.dss@home.se> In-Reply-To: <400D050C.5060707@gmv.es> References: <400D050C.5060707@gmv.es> X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, 20 Jan 2004 11:38:04 +0100 Luis Pastor Vegas wrote: > Hi, > > I'm trying to develop the MDI concept on gtkmm. We don't want to use the > gnome libraries because we are evaluating only the gtkmm toolkit (we > don't even use direct calls to gtk+ functions). Using Gtk::Layout as > container it has been easy to emulate the MDI behaviour. The problem is > that when a MDIchild contains a Gtk::ScrolledWindow, the scrollbars seem > to be in a lower z-level than other widgets. So, when a MDIchild > (mdiChild1) is over another MDIchild (mdiChild2), all the widgets > comprised in mdiChild1 are over any widget comprised in mdiChild2, > except the scrollbars, that are below and seem to disappear under mdiChild2. > > Has anyone had a similar problem? What's wrong? What can I do? > In Gtk/Gnome the common MDI approach is to use tabs in a notebook instead of separate windows. Take a look at galeon, x-chat or gedit if you don't know what i mean. If you have to use multiple windows the standard is to use a single window interface like gimp does. However, this does not answer your question but if you want to be integrated with gnome i believe this is the way to go. Daniel Sundberg -- http://sumpan.com sumpan@sumpan.com > Thank you very much, > Luis > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Tue Jan 20 06:05:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 951AA18795 for ; Tue, 20 Jan 2004 06:05:55 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KB1eDb017481; Tue, 20 Jan 2004 12:01:40 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:06:12 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lupv@gmv.es, gtkmm-list@gnome.org Subject: RE: [gtkmm] MDI on gtkmm Date: Tue, 20 Jan 2004 12:05:49 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm trying to develop the MDI concept on gtkmm. We don't want > to use the > gnome libraries because we are evaluating only the gtkmm toolkit (we > don't even use direct calls to gtk+ functions). Using Gtk::Layout as > container it has been easy to emulate the MDI behaviour. The > problem is > that when a MDIchild contains a Gtk::ScrolledWindow, the > scrollbars seem > to be in a lower z-level than other widgets. So, when a MDIchild > (mdiChild1) is over another MDIchild (mdiChild2), all the widgets > comprised in mdiChild1 are over any widget comprised in mdiChild2, > except the scrollbars, that are below and seem to disappear > under mdiChild2. > > Has anyone had a similar problem? What's wrong? What can I do? I don't think that Gtk::Layout or any other GTK+ container is meant to support overlapping widgets. I'm sure that some other people have tried to implement window-in-window MDI. You might ask on gtk-list@gnome.org if you do not find discussion in the archives. You might also ask there about overlapping widgets in general. But most people will tell you that window-in-window MDI is a bad UI design. Please read the archives about why it is a bad UI design rather than discussing again why it is a bad UI design. Tabbed-window MDI, as in gedit or mozilla or epiphany, does not seem so bad. But maybe you just want "window-in-window" and not any MDI at all, just so you can show more than one window at a time. In this case, maybe you do not really need the child windows to be in a parent window. Maybe it is enough for the child windows to _belong_ to the parent window. Gimp, with it's toolboxes, might be a example of this. Murray Cumming www.murrayc.com murrayc@usa.net From lupv@gmv.es Tue Jan 20 06:28:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id C4C7D18649 for ; Tue, 20 Jan 2004 06:28:05 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0KBQhee013514; Tue, 20 Jan 2004 12:26:43 +0100 Received: (from uucp@localhost) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) id i0KBRBj15426; Tue, 20 Jan 2004 12:27:11 +0100 (MET) Received: from gmvmailhost.gmv.es(172.22.2.4) by caronte.gmv.es via csmap (V6.0) id srcAAAZ2aiiE; Tue, 20 Jan 04 12:27:10 +0100 Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0KBRwBL024827; Tue, 20 Jan 2004 12:27:58 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Tue, 20 Jan 2004 12:37:48 +0100 Message-ID: <400D10E4.3070502@gmv.es> Date: Tue, 20 Jan 2004 12:28:36 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] MDI on gtkmm References: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote:
I'm trying to develop the MDI concept on gtkmm. We don't want 
to use the 
gnome libraries because we are evaluating only the gtkmm toolkit (we 
don't even use direct calls to gtk+ functions). Using Gtk::Layout as 
container it has been easy to emulate the MDI behaviour. The 
problem is 
that when a MDIchild contains a Gtk::ScrolledWindow, the 
scrollbars seem 
to be in a lower z-level than other widgets. So, when a MDIchild 
(mdiChild1) is over another MDIchild (mdiChild2), all the widgets 
comprised in mdiChild1 are over any widget comprised in mdiChild2, 
except the scrollbars, that are below and seem to disappear 
under mdiChild2.

Has anyone had a similar problem? What's wrong? What can I do?
    

I don't think that Gtk::Layout or any other GTK+ container is meant to
support overlapping widgets. I'm sure that some other people have tried to
implement window-in-window MDI. You might ask on gtk-list@gnome.org if you
do not find discussion in the archives. You might also ask there about
overlapping widgets in general.

But most people will tell you that window-in-window MDI is a bad UI design.
Please read the archives about why it is a bad UI design rather than
discussing again why it is a bad UI design. Tabbed-window MDI, as in gedit
or mozilla or epiphany, does not seem so bad.

But maybe you just want "window-in-window" and not any MDI at all, just so
you can show more than one window at a time. In this case, maybe you do not
really need the child windows to be in a parent window. Maybe it is enough
for the child windows to _belong_ to the parent window. Gimp, with it's
toolboxes, might be a example of this.

Murray Cumming
www.murrayc.com
murrayc@usa.net 



  
You are right about the window-in-window MDI concept. I read the discussions about this subject, but anyway I tried to emulate this behaviour to demonstrate the feasibility, or not, of doing it with gtkmm. This is one among other features that we are evaluating. On this case, all that we can do is to set forth the rationale of this impossibility to our client in order to explain them why the window-in-window MDI is a bad UI design.

Thank you very much for your prompt answer,
Luis
From Murray.Cumming@Comneon.com Tue Jan 20 06:31:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 286C818484 for ; Tue, 20 Jan 2004 06:31:07 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBQqDb028025; Tue, 20 Jan 2004 12:26:52 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:31:24 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22AFE@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lupv@gmv.es Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] MDI on gtkmm Date: Tue, 20 Jan 2004 12:31:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > You are right about the window-in-window MDI concept. I read the discussions about this subject, but anyway I tried to emulate this > behaviour to demonstrate the feasibility, or not, of doing it with gtkmm. This is one among other features that we are evaluating. On > this case, all that we can do is to set forth the rationale of this impossibility to our client in order to explain them why the > window-in-window MDI is a bad UI design. And you can also ask on the lists, and check the archives, as I suggested. Even if it's a bad idea, people have tried it. Murray Cumming www.murrayc.com murrayc@usa.net From susumu@yt.com Tue Jan 20 06:44:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id 6593418484 for ; Tue, 20 Jan 2004 06:44:29 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0KBiaP6006442 for ; Tue, 20 Jan 2004 20:44:36 +0900 Date: Tue, 20 Jan 2004 20:44:36 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Message-Id: <20040120204436.7c7e304c.susumu@yt.com> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::TreeView on gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I am coding a software on glademm and gtkmm. If there is someone with knowledge, I would like you to help me. I got a problem when I tried to use a Gtk::TreeView. I would like to code as below. Suppose there is a TreeView like ... item1 | item2 | item3 --------------------------- entry11 | entry12 | entry13 entry21 | entry22 | entry23 entry31 | entry32 | entry33 I would like to distinguish between single-click and double-click. When you single-click "entry11", for example , the first row should be just high-lit (not selected, nothing happens but being high-lit). When you double-click "entry11", the first row should be selected and some operation should be done. What signal should I connect? And what code should I add? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From matthew@alledora.co.uk Tue Jan 20 06:55:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id B6BB818305 for ; Tue, 20 Jan 2004 06:55:29 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AiuQc-0003qi-1O for gtkmm-list@gnome.org; Tue, 20 Jan 2004 11:52:18 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AiuQa-0003qU-Un; Tue, 20 Jan 2004 11:52:16 +0000 Message-ID: <400D1772.5000008@alledora.co.uk> Date: Tue, 20 Jan 2004 11:56:34 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: susumu@yt.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> In-Reply-To: <20040120204436.7c7e304c.susumu@yt.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Susumu Yoshida wrote: > Hi all, > > I am coding a software on glademm and gtkmm. > If there is someone with knowledge, I would like you to help me. > I got a problem when I tried to use a Gtk::TreeView. > I would like to code as below. > Suppose there is a TreeView like ... > > item1 | item2 | item3 > --------------------------- > entry11 | entry12 | entry13 > entry21 | entry22 | entry23 > entry31 | entry32 | entry33 > > I would like to distinguish between single-click and double-click. > When you single-click "entry11", for example , the first row should be > just high-lit (not selected, nothing happens but being high-lit). > When you double-click "entry11", the first row should be selected > and some operation should be done. > > What signal should I connect? > And what code should I add? > If you connect a signal handler to Gtk::TreeView::signal_row_activated() you will catch double-clicks on rows, and also the user pressing enter when a row is highlighted. Single click to highlight the row is built in behaviour in a Treeview. The signal handler to connect to signal_row_activated should have a prototype like void handler(const Gtk::TreeModel::Path &, Gtk::TreeViewColumn*) The TreeModel::Path is a path to the row that was activated (use TreeModel::get_iter to get an iterator from that if you need one), and the TreeViewColumn is a pointer to the column which was activated (at least, I assume so, I've not had cause to use that particular functionality before). From Murray.Cumming@Comneon.com Tue Jan 20 06:57:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ADEEB18305 for ; Tue, 20 Jan 2004 06:57:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBqoDb025477; Tue, 20 Jan 2004 12:52:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:57:23 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B03@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: susumu@yt.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 12:57:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am coding a software on glademm and gtkmm. > If there is someone with knowledge, I would like you to help > me. I got a problem when I tried to use a Gtk::TreeView. I > would like to code as below. Suppose there is a TreeView like ... > > item1 | item2 | item3 > --------------------------- > entry11 | entry12 | entry13 > entry21 | entry22 | entry23 > entry31 | entry32 | entry33 > > I would like to distinguish between single-click and > double-click. When you single-click "entry11", for example , > the first row should be > just high-lit (not selected, nothing happens but being > high-lit). So "high-lit" and "selected" would look exactly the same to the user. I think that's a bad, confused, idea. > When you double-click "entry11", the first row > should be selected and some operation should be done. That should be easy. You need to handle signal_button_press_event. If you have problems, then this bug should help you: http://bugzilla.gnome.org/show_bug.cgi?id=89780 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 20 06:59:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 34FAC18305 for ; Tue, 20 Jan 2004 06:59:23 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBtBDb026359; Tue, 20 Jan 2004 12:55:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:59:43 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B04@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Murray.Cumming@Comneon.com, susumu@yt.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 12:59:19 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > That should be easy. You need to handle > signal_button_press_event. If you have problems, then this > bug should help you: http://bugzilla.gnome.org/show_bug.cgi?id=89780 As Matthew says, signal_row_activated() would be better. Murray Cumming www.murrayc.com murrayc@usa.net From susumu@yt.com Tue Jan 20 07:31:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id AF76B181EA for ; Tue, 20 Jan 2004 07:31:34 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0KCVZP6008709; Tue, 20 Jan 2004 21:31:36 +0900 Date: Tue, 20 Jan 2004 21:31:35 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Cc: Matthew Walton Subject: Re: [gtkmm] Gtk::TreeView on gtkmm Message-Id: <20040120213135.6e368362.susumu@yt.com> In-Reply-To: <400D1772.5000008@alledora.co.uk> References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thank you for your quick and detailed response. On Tue, 20 Jan 2004 11:56:34 +0000 Matthew Walton wrote: > If you connect a signal handler to Gtk::TreeView::signal_row_activated() > you will catch double-clicks on rows, and also the user pressing enter > when a row is highlighted. Single click to highlight the row is built in > behaviour in a Treeview. I already tried to experiment that signal handler many times but I got the same error (which I can't understand) every time. nana:~/2004/XHercules/exp-tree_view5/src$ make source='exp.cc' object='exp.o' libtool=no \ depfile='.deps/exp.Po' tmpdepfile='.deps/exp.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -c -o exp.o `test -f 'exp.cc' || echo './'`exp.cc in the file included from window1.hh:13 from exp.cc:10: window1_glade.hh:48: there is a syntax error before the token `::' in the file included from exp.cc:10 window1.hh:43: there is a syntax error before the token `::' window.hh:13 is .. # include "window1_glade.hh" window1_glade.hh is ... // generated 2004/1/20 21:14:26 JST by susumu@nana.michael-net.(none) // using glademm V2.0.0 // // DO NOT EDIT THIS FILE ! It was created using // glade-- /home/susumu/2004/XHercules/exp-tree_view5/exp.glade // for gtk 2.2.1 and gtkmm 2.2.8 // // Please modify the corresponding derived classes in ./src/window1.hh and./src/ window1.cc #ifndef _WINDOW1_GLADE_HH # define _WINDOW1_GLADE_HH #if !defined(GLADEMM_DATA) #define GLADEMM_DATA #include class GlademmData { Glib::RefPtr accgrp; public: GlademmData(Glib::RefPtr ag) : accgrp(ag) { } Glib::RefPtr getAccelGroup() { return accgrp; } }; #endif //GLADEMM_DATA #include #include class GlademmData { Glib::RefPtr accgrp; public: GlademmData(Glib::RefPtr ag) : accgrp(ag) { } Glib::RefPtr getAccelGroup() { return accgrp; } }; #endif //GLADEMM_DATA #include #include class window1_glade : public Gtk::Window { GlademmData *gmm_data; protected: class Gtk::TreeView *treeview1; window1_glade(); ~window1_glade(); private: virtual void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column) = 0; // THIS IS LINE 48 -------RIGHT HERE-------- virtual void on_treeview1_cursor_changed() = 0; }; #endif window1.hh:43 is ... void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column); They are generated by glademm. Is there anything wrong? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From christof@petig-baender.de Tue Jan 20 07:47:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id 81A0918138 for ; Tue, 20 Jan 2004 07:47:18 -0500 (EST) Received: (qmail 28970 invoked by uid 4225); 20 Jan 2004 12:47:16 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 20 Jan 2004 12:47:16 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AivHl-00017J-00; Tue, 20 Jan 2004 13:47:14 +0100 Message-ID: <400D234D.8050404@petig-baender.de> Date: Tue, 20 Jan 2004 13:47:09 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: susumu@yt.com Cc: gtkmm-list@gnome.org, Matthew Walton , glademm-list Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <20040120213135.6e368362.susumu@yt.com> In-Reply-To: <20040120213135.6e368362.susumu@yt.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Susumu Yoshida schrieb: > Thank you for your quick and detailed response. most probably you hit the wrong list, again. This time the glademm-list would have been 1st choice. The glademm generated code contains a wrong signature for the callback ;-/ > in the file included from window1.hh:13 > from exp.cc:10: > window1_glade.hh:48: there is a syntax error before the token `::' > in the file included from exp.cc:10 > window1.hh:43: there is a syntax error before the token `::' > virtual void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column) = 0; // THIS IS LINE 48 -------RIGHT HERE-------- Gtk:: is missing. That's all. > They are generated by glademm. > Is there anything wrong? see above. Could you please try the CVS version of glademm (I think I fixed that bug already). Christof From Murray.Cumming@Comneon.com Tue Jan 20 07:47:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 69B9218138 for ; Tue, 20 Jan 2004 07:47:28 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KChCDb002639; Tue, 20 Jan 2004 13:43:12 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 13:47:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B10@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: susumu@yt.com, gtkmm-list@gnome.org Cc: matthew@alledora.co.uk Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 13:47:21 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > window1_glade.hh:48: there is a syntax error before the token > `::' in the file included from exp.cc:10 > window1.hh:43: there is a syntax error before the token `::' This looks like glademm-generated code, so I therefore think you should ask on glademm-list@gnome.org. We are not responsible for the code that glademm generates. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 20 08:08:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 4CB8D18138; Tue, 20 Jan 2004 08:08:02 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KD3oDb010512; Tue, 20 Jan 2004 14:03:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 14:08:22 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: otaylor@redhat.com Cc: gtk-devel-list@gnome.org, gtkmm-list@gnome.org Date: Tue, 20 Jan 2004 14:07:59 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: GTK+ release soon? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > On Tue, 2004-01-06 at 03:38, Murray.Cumming@Comneon.com wrote: > > > Is there likely to be a GTK+ release in the next couple > of days? It > > > would be nice for our imminent GNOME Platform Bindings > > 2.5.2 release. > > > > It would be nice, but I doubt it will happen. API issues are > > my first priority this week. > > OK. A release for the GNOME Platform Bindings 2.5.3 instead > (scheduled for February 17th) would be very nice. I am > worried that gtkmm API will not get enough scrutiny if I > can't make frequent releases. > > Please please ask someone to help you roll releases if you > don't have time - it should be a simple task. Thank you for asking for volunteers to roll 2.2.x releases. That's seems like a good move. I wish I had the extra time to set up my system to do that for you. But the lack of GTK+ 2.3.x release has caused gtkmm to miss yet another Platform Bindings release schedule date. There has never been a GTK+ 2.3.x release that is usable with gtkmm, though the GTK+ in cvs has been usable with gtkmm for over a month. So I fear that not enough people are testing new gtkmm API, although we are late in the schedule, with Platform Bindings API freeze 1 month away: http://www.gnome.org/start/2.5/bindings/ I will repeat my earlier dire warnings from a release-team email: One thing that the GTK+ people can certainly do to help is to release regular tarballs (ideally one for each GNOME 2.5 release), so that we have a good chance of getting it tested. It disturbs me greatly that you seem to be waiting for stuff to get into GTK+ before doing tarballs - please just push it out into the world regularly. If we can't be sure when a GTK+ tarball will appear then I fear a great deal more delayed GNOME 2.5 test releases. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 20 09:21:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 1474318462 for ; Tue, 20 Jan 2004 09:21:54 -0500 (EST) Received: (qmail 12524 invoked by uid 65534); 20 Jan 2004 14:21:50 -0000 Received: from pD9E94B45.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.75.69) by mail.gmx.net (mp013) with SMTP; 20 Jan 2004 15:21:50 +0100 X-Authenticated: #109577 Message-ID: <400D3987.5060408@gmx.de> Date: Tue, 20 Jan 2004 15:21:59 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Matthew Walton , gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> In-Reply-To: <400D1772.5000008@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Now it is me who is completely confused. I do it this way: m_tree_sel_ref->signal_changed () Ok, I have major problems because I still cannot make a selection highlighted :-( Andi // Build ListStore/TreeView m_list_store_ref = Gtk::ListStore::create(m_columns); m_tree_view.set_model(m_list_store_ref); m_tree_view.set_rules_hint(); m_tree_view.set_size_request(); // Handle selection m_tree_sel_ref = m_tree_view.get_selection(); m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); m_tree_sel_ref->signal_changed ().connect( <<<<<<<<<<<<<<<<< SigC::slot(*this, &ConstraintTable::selection_made_cb)); > If you connect a signal handler to Gtk::TreeView::signal_row_activated() > you will catch double-clicks on rows, and also the user pressing enter > when a row is highlighted. Single click to highlight the row is built in > behaviour in a Treeview. > > The signal handler to connect to signal_row_activated should have a > prototype like > > void handler(const Gtk::TreeModel::Path &, Gtk::TreeViewColumn*) From matthew@alledora.co.uk Tue Jan 20 09:44:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 6074618824 for ; Tue, 20 Jan 2004 09:44:47 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Aix4T-0004G0-1U for gtkmm-list@gnome.org; Tue, 20 Jan 2004 14:41:37 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Aix4R-0004Fl-Us; Tue, 20 Jan 2004 14:41:35 +0000 Message-ID: <400D3F21.7020002@alledora.co.uk> Date: Tue, 20 Jan 2004 14:45:53 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <400D3987.5060408@gmx.de> In-Reply-To: <400D3987.5060408@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Andreas B. Thun wrote: > Now it is me who is completely confused. > I do it this way: m_tree_sel_ref->signal_changed () > > Ok, I have major problems > because I still cannot make a selection highlighted :-( > > Andi > > // Build ListStore/TreeView > m_list_store_ref = Gtk::ListStore::create(m_columns); > m_tree_view.set_model(m_list_store_ref); > m_tree_view.set_rules_hint(); > m_tree_view.set_size_request(); > > // Handle selection > m_tree_sel_ref = m_tree_view.get_selection(); > m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); > m_tree_sel_ref->signal_changed ().connect( <<<<<<<<<<<<<<<<< > SigC::slot(*this, &ConstraintTable::selection_made_cb)); So what exactly is the problem? That code should give you a handler for when the selection for that treeview changes. What do you mean by making a selection 'highlighted'? From abt@gmx.de Tue Jan 20 09:51:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 95D681892D for ; Tue, 20 Jan 2004 09:51:48 -0500 (EST) Received: (qmail 1202 invoked by uid 65534); 20 Jan 2004 14:51:46 -0000 Received: from pD9E94B45.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.75.69) by mail.gmx.net (mp007) with SMTP; 20 Jan 2004 15:51:46 +0100 X-Authenticated: #109577 Message-ID: <400D4087.3010108@gmx.de> Date: Tue, 20 Jan 2004 15:51:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Matthew Walton Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <400D3987.5060408@gmx.de> <400D3F21.7020002@alledora.co.uk> In-Reply-To: <400D3F21.7020002@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I trigger a row selection with a "next" button to walk the rows and select a row with: m_tree_sel_ref->select(row); The row is selected ( I can get the value ) but the selected row is not highlighted in the GUI. > So what exactly is the problem? That code should give you a handler for > when the selection for that treeview changes. What do you mean by making > a selection 'highlighted'? From bevis@anvil.com Tue Jan 20 10:15:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id A035118705 for ; Tue, 20 Jan 2004 10:14:59 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2D274259; Tue, 20 Jan 2004 15:14:38 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 5E8D2250 for ; Tue, 20 Jan 2004 15:14:37 +0000 (GMT) Message-ID: <400D45E2.6030205@anvil.co.uk> Date: Tue, 20 Jan 2004 15:14:42 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] GDK_space not getting passed? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This may not be a gtkmm problem, but I've noticed that if I attach a signal: mc_image_window.signal_key_press_event().connect(slot(*this, &C_PicV::cb_keypress)); then in the callback: bool C_PicV::cb_keypress(GdkEventKey* ke) { gint key = ke->keyval; ... 'key' is never GDK_space, even if you press space. All other keys I've used work OK. Can't see any reference to it in the list archives, but found someone on google who reported the same thing. bevis From murrayc@usa.net Tue Jan 20 12:27:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from localhost.localdomain (unknown [80.121.222.26]) by mail.gnome.org (Postfix) with SMTP id 1920B18A39 for ; Tue, 20 Jan 2004 12:27:30 -0500 (EST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i0K9qVlm030917; Tue, 20 Jan 2004 10:52:32 +0100 Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X From: Murray Cumming Reply-To: murrayc@usa.net To: Julian Missig Cc: Murray.Cumming@Comneon.com, gtkmm-list , Thomas Muldowney In-Reply-To: References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1073938828.28458.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 10:52:31 +0100 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-12 at 19:54, Julian Missig wrote: > On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > > >>> Well, anyway, I'll be leaving campus soon and no longer have this > >>> bandwidth. > >>> > >>> The packages are at > >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >> > >> I have downloaded them for safety. I am a bit reluctant to > >> put binary packages on gtkmm.org until > >> - I am sure that they will be maintained in future. Isn't > >> there some central repository for things like this? > > DarwinPorts does not host binary packages. Fink hosts binary versions > of their packages... eventually... I do want to see the discussion in which the Fink people apparently refused to help you to package gtkmm for Fink. So far I have heard nothing specific, so I have nothing to tell the people who want gtkmm in Fink. > but these were generated using > DarwinPorts, which uses a different path prefix from Fink. Fink also > does not use these double-clickable installers like DarwinPorts can > produce. That sounds like a nice feature. > osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but > I'm not sure whether they'd host something generated by DarwinPorts. > > >> - The build process is documented. I would like a > >> README.MacOSX, like our current README.win32 and README.SUN > >> - I see that you have at least tried to get libtool fixed > >> instead of patching it locally. > > What more do you want me to do? Like I say, I would like the build process to be documented, just as it is for our other unusual platforms. > I've contacted all the people I can and > no one seems to know why it works like that or give a shit. For the libtool thing, you could point me to the email discussion in an archive or a bug report. Then I could take it further if you don't want to. At least we would have something to point to in our documentation. > >> I do appreciate your efforts, but I don't want them to be wasted. > > Whatever. I made these so that my users could get gtkmm installed. I've > battled with this stuff for so long with so many unhelpful people I > honestly don't care whether they're "officially" distributed anywhere. > I have something which works, so that's good enough to get Gabber2 on > OS X. I'm done as far as I'm concerned. If gtkmm.org hosts them, then we'd need someone who will package future gtkmm releases as well. Sorry, but you can't expect anything else. -- Murray Cumming murrayc@usa.net www.murrayc.com From epenharbel@yahoo.com.br Tue Jan 20 12:41:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp103.mail.sc5.yahoo.com (smtp103.mail.sc5.yahoo.com [66.163.169.222]) by mail.gnome.org (Postfix) with SMTP id 9E2B018A21 for ; Tue, 20 Jan 2004 12:41:43 -0500 (EST) Received: from unknown (HELO 200-171-128-203.dsl.telesp.net.br) (epenharbel@200.171.128.203 with plain) by smtp103.mail.sc5.yahoo.com with SMTP; 20 Jan 2004 17:41:38 -0000 From: =?ISO-8859-1?Q?=C9der?= Augusto Penharbel To: gtkmm-list Content-Type: text/plain Message-Id: <1074620608.308.192.camel@lobo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 15:43:28 -0200 Content-Transfer-Encoding: 7bit Subject: [gtkmm] draw images... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello I need to draw a image from a BGR ( Blue green red ) buffer. To draw a rgb buffer i can use this: get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); but how do i do this with the bgr buffer ( rgb in LSBFirst byte order ) without swap the bytes on a loop??? Using the Xlib i'd use the XPutImage with a XImage in the LSBFirst byte_order, but in gtkmm or gtk??? can I use the Xlib to draw a image in a Gtk::Window? or are there other way to do this? thanks... From donscorgie@blueyonder.co.uk Tue Jan 20 13:43:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp-out6.blueyonder.co.uk (smtp-out6.blueyonder.co.uk [195.188.213.9]) by mail.gnome.org (Postfix) with ESMTP id BFE371878B for ; Tue, 20 Jan 2004 13:43:57 -0500 (EST) Received: from 82-41-53-103.cable.ubr07.edin.blueyonder.co.uk ([82.41.53.103]) by smtp-out6.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Tue, 20 Jan 2004 18:44:17 +0000 Subject: RE: [gtkmm] Gtk::Image and Eventbox From: Donald To: gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1074624237.930.5.camel@Madaline.mydomain.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 18:43:57 +0000 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jan 2004 18:44:17.0148 (UTC) FILETIME=[68632BC0:01C3DF85] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-19 at 21:25, Murray.Cumming@Comneon.com wrote: > > I've been using gtkmm for a while, but run across a problem. > > > > I have a window containing a Gtk::Image which is set with a > > Gdk::Image / Gdk::Pixmap. > > > > I need to recieve events on this, so I proceeded to put it in > > an eventbox. > > > > The problem arises when I try to connect a signal up to it. > > > > With no signal (i.e. the eventbox is doing nothing), it is > > fine and the image displays properly. But when a signal is > > connected up, the Image / eventbox is displayed as grey. > > You should probably tell us exactly what signal you are talking about. But I > guess that you probably just need to use the correct return type in your > event signal handler: > http://www.gtkmm.org/gtkmm2/docs/tutorial/html/apbs06.html > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > Bingo! Thanks. I was using a signal_motion_notify_event. I was returning true (the event is handled), but when I change that to false it seems to work. Thanks for the help Don From julian@jabber.org Tue Jan 20 13:58:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 66174181D3 for ; Tue, 20 Jan 2004 13:58:33 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id C671E6F733; Tue, 20 Jan 2004 12:58:30 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16695-03; Tue, 20 Jan 2004 12:58:30 -0600 (CST) Received: from [128.2.76.12] (SKADI.WV.CC.cmu.edu [128.2.76.12]) by mail.aspect.net (Postfix) with ESMTP id B64D86F6F9; Tue, 20 Jan 2004 12:58:26 -0600 (CST) In-Reply-To: <1073938828.28458.9.camel@localhost.localdomain> References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> <1073938828.28458.9.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: gtkmm-list , Murray.Cumming@Comneon.com, Thomas Muldowney From: Julian Missig Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 20 Jan 2004 13:58:25 -0500 To: murrayc@usa.net X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok, here's how I built it. Grab DarwinPorts. I have Panther with X11 and X11 SDK. The gtk+ dependencies I installed are: atk, expat, fontconfig, freetype, gettext, glib2, gtk2, jpeg, libpng, libungif, pango, pkgconfig, tiff, Xft2, xrender For libglade2, I modified the portfile to not depend on gnome, so my libglade2 does not depend on gnome, but it also cannot use gnome widgets. libxml2 is required. Gconf needs linc, orbit2, gconf In the Portfiles for libsigc++, gtkmm2, libglademm, and gconfmm, I used these values for configure.env (in other words, these were passed to configure): CPPFLAGS="-L${prefix}/lib -I${prefix}/include" CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" After configure happened, I modified the generated 'libtool' script. I changed CC and LTCC to use 'g++' instead of 'gcc' After that, they build and run fine with the setup I described. And murray, I'm not expecting or asking anything of you. I don't know why you get that idea. I'm just presenting this stuff that I built, that is all. You're under no obligation to do anything at all with it. Julian On 20 Jan, 2004, at 4:52, Murray Cumming wrote: > On Mon, 2004-01-12 at 19:54, Julian Missig wrote: >> On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: >> >>>>> Well, anyway, I'll be leaving campus soon and no longer have this >>>>> bandwidth. >>>>> >>>>> The packages are at >>>>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg >>>> >>>> I have downloaded them for safety. I am a bit reluctant to >>>> put binary packages on gtkmm.org until >>>> - I am sure that they will be maintained in future. Isn't >>>> there some central repository for things like this? >> >> DarwinPorts does not host binary packages. Fink hosts binary versions >> of their packages... eventually... > > I do want to see the discussion in which the Fink people apparently > refused to help you to package gtkmm for Fink. So far I have heard > nothing specific, so I have nothing to tell the people who want gtkmm > in > Fink. > >> but these were generated using >> DarwinPorts, which uses a different path prefix from Fink. Fink also >> does not use these double-clickable installers like DarwinPorts can >> produce. > > That sounds like a nice feature. > >> osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but >> I'm not sure whether they'd host something generated by DarwinPorts. >> >>>> - The build process is documented. I would like a >>>> README.MacOSX, like our current README.win32 and README.SUN >>>> - I see that you have at least tried to get libtool fixed >>>> instead of patching it locally. >> >> What more do you want me to do? > > Like I say, I would like the build process to be documented, just as it > is for our other unusual platforms. > >> I've contacted all the people I can and >> no one seems to know why it works like that or give a shit. > > For the libtool thing, you could point me to the email discussion in an > archive or a bug report. Then I could take it further if you don't want > to. At least we would have something to point to in our documentation. > >>>> I do appreciate your efforts, but I don't want them to be wasted. >> >> Whatever. I made these so that my users could get gtkmm installed. >> I've >> battled with this stuff for so long with so many unhelpful people I >> honestly don't care whether they're "officially" distributed anywhere. >> I have something which works, so that's good enough to get Gabber2 on >> OS X. I'm done as far as I'm concerned. > > If gtkmm.org hosts them, then we'd need someone who will package future > gtkmm releases as well. Sorry, but you can't expect anything else. > > -- > Murray Cumming > murrayc@usa.net > www.murrayc.com > From otaylor@redhat.com Tue Jan 20 14:20:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by mail.gnome.org (Postfix) with ESMTP id 7C65A185DD; Tue, 20 Jan 2004 14:20:41 -0500 (EST) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKdl28011; Tue, 20 Jan 2004 14:20:39 -0500 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKda28628; Tue, 20 Jan 2004 14:20:39 -0500 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKcY27594; Tue, 20 Jan 2004 14:20:38 -0500 From: Owen Taylor To: Murray.Cumming@Comneon.com Cc: gtk-devel-list@gnome.org, gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1074626334.7297.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Tue, 20 Jan 2004 14:18:55 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] RE: GTK+ release soon? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, 2004-01-20 at 08:07, Murray.Cumming@Comneon.com wrote: > ease-team email: > > One thing that the GTK+ people can certainly do to help is to release > regular tarballs (ideally one for each GNOME 2.5 release), so that we have a > good chance of getting it tested. It disturbs me greatly that you seem to be > waiting for stuff to get into GTK+ before doing tarballs - please just push > it out into the world regularly. If we can't be sure when a GTK+ tarball > will appear then I fear a great deal more delayed GNOME 2.5 test releases. No, I'm waiting to have 5 consecutive minutes to do a release. (Well, actually, a day or so in total.) There are only 3 things on my TODO list for the rest of this week, doing 2.3.2 releases being one of them. By far the most time consuming part of doing a devel series release is writing the NEWS entries. (Especially when one hasn't been done for a while.) If people want to help out, that's a pretty straightforward thing to do, especially for an area that you are familiar with. Regards, Owen From Murray.Cumming@Comneon.com Tue Jan 20 15:55:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 592E118177 for ; Tue, 20 Jan 2004 15:55:35 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KKotDb017433; Tue, 20 Jan 2004 21:50:55 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 21:55:28 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B41@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org, temas@box5.net Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 20 Jan 2004 21:55:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry, my SMTP server just sent an old reply. This was either outdated or already dealt with. Still, your reply was interesting. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Julian Missig [mailto:julian@jabber.org] > Sent: Dienstag, 20. Januar 2004 19:58 > To: murrayc@usa.net > Cc: gtkmm-list; Murray.Cumming@Comneon.com; Thomas Muldowney > Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer > for Mac OS X > > > Ok, here's how I built it. > > Grab DarwinPorts. I have Panther with X11 and X11 SDK. > > The gtk+ dependencies I installed are: atk, expat, fontconfig, > freetype, gettext, glib2, gtk2, jpeg, libpng, libungif, pango, > pkgconfig, tiff, Xft2, xrender > > For libglade2, I modified the portfile to not depend on gnome, so my > libglade2 does not depend on gnome, but it also cannot use gnome > widgets. libxml2 is required. > > Gconf needs linc, orbit2, gconf > > In the Portfiles for libsigc++, gtkmm2, libglademm, and > gconfmm, I used > these values for configure.env (in other words, these were passed to > configure): > CPPFLAGS="-L${prefix}/lib -I${prefix}/include" > CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" > > After configure happened, I modified the generated 'libtool' > script. I > changed CC and LTCC to use 'g++' instead of 'gcc' > > After that, they build and run fine with the setup I described. > > And murray, I'm not expecting or asking anything of you. I don't know > why you get that idea. I'm just presenting this stuff that I built, > that is all. You're under no obligation to do anything at all with it. > > Julian > > On 20 Jan, 2004, at 4:52, Murray Cumming wrote: > > > On Mon, 2004-01-12 at 19:54, Julian Missig wrote: > >> On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > >> > >>>>> Well, anyway, I'll be leaving campus soon and no longer > have this > >>>>> bandwidth. > >>>>> > >>>>> The packages are at > >>>>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >>>> > >>>> I have downloaded them for safety. I am a bit reluctant to put > >>>> binary packages on gtkmm.org until > >>>> - I am sure that they will be maintained in future. Isn't there > >>>> some central repository for things like this? > >> > >> DarwinPorts does not host binary packages. Fink hosts > binary versions > >> of their packages... eventually... > > > > I do want to see the discussion in which the Fink people apparently > > refused to help you to package gtkmm for Fink. So far I have heard > > nothing specific, so I have nothing to tell the people who > want gtkmm > > in Fink. > > > >> but these were generated using > >> DarwinPorts, which uses a different path prefix from Fink. > Fink also > >> does not use these double-clickable installers like > DarwinPorts can > >> produce. > > > > That sounds like a nice feature. > > > >> osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, > but I'm not > >> sure whether they'd host something generated by DarwinPorts. > >> > >>>> - The build process is documented. I would like a README.MacOSX, > >>>> like our current README.win32 and README.SUN > >>>> - I see that you have at least tried to get libtool > fixed instead > >>>> of patching it locally. > >> > >> What more do you want me to do? > > > > Like I say, I would like the build process to be > documented, just as > > it is for our other unusual platforms. > > > >> I've contacted all the people I can and > >> no one seems to know why it works like that or give a shit. > > > > For the libtool thing, you could point me to the email > discussion in > > an archive or a bug report. Then I could take it further if > you don't > > want to. At least we would have something to point to in our > > documentation. > > > >>>> I do appreciate your efforts, but I don't want them to be wasted. > >> > >> Whatever. I made these so that my users could get gtkmm installed. > >> I've > >> battled with this stuff for so long with so many unhelpful people I > >> honestly don't care whether they're "officially" > distributed anywhere. > >> I have something which works, so that's good enough to get > Gabber2 on > >> OS X. I'm done as far as I'm concerned. > > > > If gtkmm.org hosts them, then we'd need someone who will package > > future gtkmm releases as well. Sorry, but you can't expect anything > > else. > > > > -- > > Murray Cumming > > murrayc@usa.net > > www.murrayc.com > > > From kmilo@softhome.net Tue Jan 20 21:57:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id 9B55A18566 for ; Tue, 20 Jan 2004 21:57:31 -0500 (EST) Received: (qmail 23158 invoked by uid 417); 21 Jan 2004 02:57:30 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 21 Jan 2004 02:57:30 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Tue, 20 Jan 2004 19:57:30 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Tue, 20 Jan 2004 19:57:30 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.162] Message-ID: Subject: [gtkmm] how build a statically link program Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: There is a way to build a statically link program in gtkmm under windows (It must works without dll) From cedric.gustin@swing.be Wed Jan 21 02:25:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 77CAB1814F for ; Wed, 21 Jan 2004 02:25:37 -0500 (EST) Received: from [130.104.231.127] (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0L7JOtd014215; Wed, 21 Jan 2004 08:19:25 +0100 (MET) Subject: Re: [gtkmm] how build a statically link program From: Cedric Gustin To: kmilo@softhome.net Cc: gtkmm-list@gnome.org In-Reply-To: References: Content-Type: text/plain Message-Id: <1074669929.3833.17.camel@gandalf> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 21 Jan 2004 08:25:30 +0100 Content-Transfer-Encoding: 7bit X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-21 at 03:57, kmilo@softhome.net wrote: > There is a way to build a statically link program in gtkmm under windows (It > must works without dll) Well yes, you can build static gtkmm libraries if you want (./configure --enable-static --disable-shared in your mingw32+msys environment: see README.win32 for details) but I haven't done that for a long time because : 1. You end up with huge executables (they can be stripped though!) 2. Your gtkmm static library (hence your final executable) still relies on the GTK+ runtime, which is only available as DLLs. So, if you want a nice, standalone gtkmm application, my best advise is to compile it dynamically and provide your own integrated installer for your executable + the GTK+ and gtkmm runtimes. An intermediate solution is to ask your users to install the GTK+ runtime only (from dropline), and to ship you application with the glibmm, atkmm, pangomm, gdkmm and gtkmm DLLs located in the same directory. Cedric > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list -- Cedric Gustin Ph.D. Student _/ _/ _/_/_/_/ _/ _/ _/ _/ _/ mailto:gustin@pcpm.ucl.ac.be _/ _/ _/ _/ PCPM Lab, Univ. Catholique de Louvain _/ _/ _/ _/ Place Croix du Sud, 1 _/_/_/_/ _/_/_/_/ _/_/_/_/ B-1348 Louvain-la-Neuve (Belgium) tel: +32 (0)10/47.33.59 fax: +32 (0)10/47.33.59 From bernardet.karim@wanadoo.fr Wed Jan 21 03:15:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from marocco.in2p3.fr (marocco.in2p3.fr [134.158.16.54]) by mail.gnome.org (Postfix) with ESMTP id DC3BD18212 for ; Wed, 21 Jan 2004 03:15:37 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by marocco.in2p3.fr (Postfix) with ESMTP id 8AFEC380F8 for ; Wed, 21 Jan 2004 09:15:34 +0100 (CET) Received: from wanadoo.fr (marpain.in2p3.fr [134.158.17.186]) by marocco.in2p3.fr (Postfix) with ESMTP id 6AADF38347 for ; Wed, 21 Jan 2004 09:15:27 +0100 (CET) Message-ID: <400E351F.60808@wanadoo.fr> Date: Wed, 21 Jan 2004 09:15:27 +0100 From: Karim Bernardet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 X-Accept-Language: French, fr, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Subject: [gtkmm] treeview and tooltip Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, Few months ago, I asked if it was possible to use tooltips with a treeview and the response was no because of a bug in gtk+. So do you know if it has been corrected ? Cheers, Karim. -- __________________________________________________________________________ | Karim BERNARDET | Phone : (+33){0}4-91-82-72-33 | | C.P.P.M. | Fax : (+33){0}4-91-82-72-99 | | 163, av. de Luminy | Email : bernardet@cppm.in2p3.fr | | Case 902 | Web : http://marwww.in2p3.fr/~kbernard | | F-13288 Marseille CEDEX 09 | Bureau 349 | | FRANCE | | -------------------------------------------------------------------------- From susumu@yt.com Wed Jan 21 07:30:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id 3E4CE1886B for ; Wed, 21 Jan 2004 07:30:43 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0LCUoMK004350 for ; Wed, 21 Jan 2004 21:30:51 +0900 Date: Wed, 21 Jan 2004 21:30:50 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Message-Id: <20040121213050.3803bbb9.susumu@yt.com> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] Ctrl+f on Gtk::TextView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I even don't know if this is possible on gtkmm,so if it were possible and someone knew how to, I would like you to tell me. I would like to move a cursor on Gtk::TextView as we do on an emacs. Meaning, when I press Ctrl + f, I want the cursor to be moved forward. I want "Ctrl + b" to mean "to move backward",etc. So I would like to control and change the behavior of inputs from a keyboard. Is it possible? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From paul@linuxaudiosystems.com Wed Jan 21 08:33:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mail.gnome.org (Postfix) with ESMTP id 4198D1818C for ; Wed, 21 Jan 2004 08:33:42 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.92.205]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040121133339.SUFI26012.out010.verizon.net@dhin.linuxaudiosystems.com> for ; Wed, 21 Jan 2004 07:33:39 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0LDXbOS009121 for ; Wed, 21 Jan 2004 08:33:38 -0500 Received: (from paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) id i0LDXbIq009117; Wed, 21 Jan 2004 08:33:37 -0500 Date: Wed, 21 Jan 2004 08:33:37 -0500 Message-Id: <200401211333.i0LDXbIq009117@dhin.linuxaudiosystems.com> From: Paul Davis To: gtkmm-list@gnome.org X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [141.151.92.205] at Wed, 21 Jan 2004 07:33:39 -0600 Subject: [gtkmm] CList rewrap Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: murray has mentioned a few times that it would be possible to rewrap CList for gtkmm2. i have a large app which makes major use of CList and CTree, and although we want to use TreeView for the improved functionality it offers, porting to gtkmm2 will be difficult if we have to do everything in one step. so, we are considering rewrapping CList as a bridge for the port effort. i wanted to check if anybody has done this yet .... --p From toka@freebits.de Wed Jan 21 08:46:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from freebits.de (unknown [62.27.20.5]) by mail.gnome.org (Postfix) with ESMTP id 2E3DC18BD6 for ; Wed, 21 Jan 2004 08:46:37 -0500 (EST) Received: from desktop.tokahome.de (freebits.nod [62.27.20.22]) (authenticated bits=0) by freebits.de (8.12.10/8.12.10) with ESMTP id i0LDlS35008184 for ; Wed, 21 Jan 2004 14:47:30 +0100 Date: Wed, 21 Jan 2004 14:46:33 +0100 From: Marcel Karras To: gtkmm-list@gnome.org Message-Id: <20040121144633.0bf83dce.toka@freebits.de> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] OpenSSL related bug - #define set_key des_set_key Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, some time ago I made a bugreport: http://bugzilla.gnome.org/show_bug.cgi?id=126756 I tried to contact the openssl mailinglist but there's a problem subscribing to the list. Thus I request for your help. Could someone post the problem? THe OpenSSL team should not define the macro "set_key". If I compile a gtkmm application it won't compile successfully until I make: #ifdef set_key #undef set_key #endif Thank you - Marcel Karras -- Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource From Murray.Cumming@Comneon.com Wed Jan 21 08:53:12 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DE2C318BD7 for ; Wed, 21 Jan 2004 08:53:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LDmvDb025155; Wed, 21 Jan 2004 14:48:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 14:53:31 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BA7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: epenharbel@yahoo.com.br, gtkmm-list@gnome.org Subject: RE: [gtkmm] draw images... Date: Wed, 21 Jan 2004 14:53:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I suggest that you: - ask on the GTK+ list, with a more specific subject, such as "LSB byte-order RGB immage". - investigate C++ image conversion APIs. Maybe you can convert the = image with a different library and then use it with gtkmm. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org=20 > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of =C9der Augusto=20 > Penharbel > Sent: Dienstag, 20. Januar 2004 18:43 > To: gtkmm-list > Subject: [gtkmm] draw images... >=20 >=20 > Hello >=20 > I need to draw a image from a BGR ( Blue green red ) buffer. >=20 > To draw a rgb buffer i can use this: >=20 > get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, > Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); >=20 > but how do i do this with the bgr buffer ( rgb in LSBFirst=20 > byte order ) without swap the bytes on a loop???=20 >=20 > Using the Xlib i'd use the XPutImage with a XImage in the=20 > LSBFirst byte_order, but in gtkmm or gtk???=20 >=20 > can I use the Xlib to draw a image in a Gtk::Window? or are=20 > there other way to do this? >=20 >=20 > thanks... >=20 >=20 > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org = http://mail.gnome.org/mailman/listinfo/gtkmm-list >=20 From fnaumann@cs.uni-magdeburg.de Wed Jan 21 08:59:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10]) by mail.gnome.org (Postfix) with ESMTP id 967E518BF0 for ; Wed, 21 Jan 2004 08:59:17 -0500 (EST) Received: from wh58-508.st.uni-magdeburg.de ([141.44.198.58]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.30) id 1AjIsw-00024F-2F; Wed, 21 Jan 2004 14:59:10 +0100 Date: Wed, 21 Jan 2004 14:59:07 +0100 (CET) From: Frank Naumann X-X-Sender: fnaumann@wh58-508.st.uni-magdeburg.de To: Marcel Karras Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] OpenSSL related bug - #define set_key des_set_key In-Reply-To: <20040121144633.0bf83dce.toka@freebits.de> Message-ID: References: <20040121144633.0bf83dce.toka@freebits.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: ---- Start SpamAssassin results -4.9 points, 5.0 required; -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] ---- End of SpamAssassin results X-Scan-Signature: 8f557e09c6f25d1c731b1614156185f1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello! > I tried to contact the openssl mailinglist but there's a problem > subscribing to the list. Thus I request for your help. Could someone > post the problem? > THe OpenSSL team should not define the macro "set_key". If I compile a > gtkmm application it won't compile successfully until I make: > > #ifdef set_key > #undef set_key > #endif Due to: ./gdk/gdkmm/device.h: void set_key (guint index_, guint keyval, ModifierType modifiers); Under Windows you have similiar problems if you don't include windows headers at last (as they define tons of [undocumented] macros that conflict in the same way as above). As workaround you can try to include the OpenSSL header files at last. Regards, Frank From toka@freebits.de Wed Jan 21 09:16:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from freebits.de (unknown [62.27.20.5]) by mail.gnome.org (Postfix) with ESMTP id 3509318506 for ; Wed, 21 Jan 2004 09:16:24 -0500 (EST) Received: from desktop.tokahome.de (freebits.nod [62.27.20.22]) (authenticated bits=0) by freebits.de (8.12.10/8.12.10) with ESMTP id i0LEHGSd008680 for ; Wed, 21 Jan 2004 15:17:17 +0100 Date: Wed, 21 Jan 2004 15:16:21 +0100 From: Marcel Karras To: gtkmm-list@gnome.org Subject: Re: [gtkmm] OpenSSL related bug - #define set_key des_set_key Message-Id: <20040121151621.60f17815.toka@freebits.de> In-Reply-To: References: <20040121144633.0bf83dce.toka@freebits.de> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, > Under Windows you have similiar problems if you don't include windows > headers at last (as they define tons of [undocumented] macros that > conflict in the same way as above). > > As workaround you can try to include the OpenSSL header files at last. yes, it seems to work well - thank you. Greetings - Marcel Karras -- Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource From Murray.Cumming@Comneon.com Wed Jan 21 12:30:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8BC9C18C2F for ; Wed, 21 Jan 2004 12:30:25 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LHQ7Db018300; Wed, 21 Jan 2004 18:26:07 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 18:30:41 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BC6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: toka@freebits.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Wed, 21 Jan 2004 18:30:18 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > some time ago I made a bugreport: > http://bugzilla.gnome.org/show_bug.cgi?id=126756 > > I tried to contact the openssl mailinglist but there's a > problem subscribing to the list. Thus I request for your > help. Could someone post the problem? I don't think anybody here wants to act as an email relay. I'm sure that you are capable of using their mailing list, or emailing the list admin if there is a problem. Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Wed Jan 21 12:58:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 782C318C73 for ; Wed, 21 Jan 2004 12:58:52 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id BCC362C2; Wed, 21 Jan 2004 17:58:27 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id F02A32BF for ; Wed, 21 Jan 2004 17:58:26 +0000 (GMT) Message-ID: <400EBDC6.30802@anvil.co.uk> Date: Wed, 21 Jan 2004 17:58:30 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] saving a TreeView to disk Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I have a program which parses a large directory structure into a tree view. There are several hundred directories to scan for, though, and it's pretty slow. Since the directories don't change very often (just the files within them), I was thinking about saving the tree on disk, and reloading it in when the program starts up. Taking the treeview example in the docs, I thought perhaps I could save the contents of ( Glib::RefPtr ) m_refTreeModel as a binary file, then load it in again - I think this is all that I'd need to recreate the tree. Would this work? I'm not entirely certain how to do it either; get a pointer to the start of the tree store, find the total size of it and do an fwrite kind of thing (which assumes the tree's in contiguous memory)? or would i need to iterate over the whole tree, saving each row in some fashion? I realise I could store on disk some kind of textual structure representing the tree, and recreate the tree from that on startup, but I'm hoping for a more simple solution! bevis PS alternatively, does anyone have a code snippet for recursively scanning directories really quickly? currently i'm using something like: DIR *dirp = opendir(dirname); while ((dirent *dp = readdir(dirp)) != NULL) { temp = dirname+"/"+dp->d_name; stat(temp, &sbuf); int isdir = sbuf.st_mode & S_IFDIR; if (!isdir) continue; ... put in tree ... ... recurse ... } but it's over NFS so that may be the bottleneck. From Murray.Cumming@Comneon.com Wed Jan 21 14:02:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 183EE183F3; Wed, 21 Jan 2004 14:02:37 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LIwLDb025543; Wed, 21 Jan 2004 19:58:21 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 20:02:55 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BCF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: otaylor@redhat.com Cc: gtk-devel-list@gnome.org, hadess@hadess.net, gtkmm-list@gnome.org Date: Wed, 21 Jan 2004 20:02:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: gtk_tree_model_iter_previous() Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > On Wed, 2004-01-21 at 13:44, Murray.Cumming@Comneon.com wrote: > > As mentioned here: http://bugzilla.gnome.org/show_bug.cgi?id=128058 > > > > It would be nice to have a gtk_tree_model_iter_previous() > as well as > > the current gtk_tree_model_iter_next(). Totem has an > implementation, > > though I guess it's significantly slower than > > gtk_tree_model_iter_next(): > > http://cvs.gnome.org/lxr/source/totem/src/totem-playlist.c#146 > > > > Thoughts? > > > If we add one, Totem will get what it deserves... people - if > you write utility functions, *DO NOT PUT THEM IN THE GTK+ > NAMESPACE I think that's not in any .h file, so it's not _so_ bad. > I've written that function before, and think it would be > useful to have in GTK+. Would need a warning in the docs > about performance. We could potentially add a vtable member > to GtkTreeModel in the > future to allow models to accelerate it when possible with > the model's data structures. > > I've discussed this with Jonathan before, forget what his > response was. > > But post-2.4. OK. Thanks. I'll prepare a patch sometime. And I might add it to gtkmm even before it's in GTK+. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 21 16:35:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id F1E99185C3 for ; Wed, 21 Jan 2004 16:35:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LLVUDb022134; Wed, 21 Jan 2004 22:31:30 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 22:36:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BD7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: alberto@paro.homeunix.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Wed, 21 Jan 2004 22:35:41 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've fixed some undocumentated functions in glibmm. > I've posted the result on Bugzilla > > http://bugzilla.gnome.org/show_bug.cgi?id=131841 Excellent. Sorry for not noticing this until now. I'll deal with that patch soon. Thanks a lot. Please try to use "true" instead of "TRUE" in the docs. > Now I think that I'll look to fix some documentation on gnomemm. (Lots > of people are working on gtkmm docs) Never quite enough, and it's easier to document gtkmm because the GTK+ C docs are so good. > I'll propose an API add in calendar widget that return a Glib::Date of > the date selected. > Do I need to post the API change on Bugzilla or we have to discuss this > API change? That sounds good. Just post the patch in bugzilla, please. They might like a GTK+ patch for that as well. Murray Cumming www.murrayc.com murrayc@usa.net From Nick.Huxley@barclayscapital.com Wed Jan 21 09:01:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id AD55B18759 for ; Wed, 21 Jan 2004 09:01:51 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0LDxlr6019468 for ; Wed, 21 Jan 2004 08:59:47 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0LDxief019437 for ; Wed, 21 Jan 2004 08:59:44 -0500 (EST) Received: from NYKPSMEH001.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Wed, 21 Jan 2004 09:01:43 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by NYKPSMEH001.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Wed, 21 Jan 2004 08:59:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Wed, 21 Jan 2004 08:59:34 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF0C2@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] OpenSSL related bug - #define set_key des_set_key Thread-Index: AcPgJbrQi65K2LasTle79SkoZJL27gAALeEQ From: "Huxley, Nick: IT (NYK)" To: "Marcel Karras" , X-OriginalArrivalTime: 21 Jan 2004 13:59:35.0437 (UTC) FILETIME=[CD4EABD0:01C3E026] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What include file is the macro initially being set in? I can see they would argue that more people use SSL than gnomemm so they probably won't change. Also as you've already come up with a work around is it so much of a problem? I hate CPP macros they're evil. Nick=20 -----Original Message----- From: Marcel Karras [mailto:toka@freebits.de]=20 Sent: Wednesday, January 21, 2004 8:47 AM To: gtkmm-list@gnome.org Subject: [gtkmm] OpenSSL related bug - #define set_key des_set_key Hello, some time ago I made a bugreport: http://bugzilla.gnome.org/show_bug.cgi?id=3D126756 I tried to contact the openssl mailinglist but there's a problem subscribing to the list. Thus I request for your help. Could someone post the problem?=20 THe OpenSSL team should not define the macro "set_key". If I compile a gtkmm application it won't compile successfully until I make: #ifdef set_key #undef set_key #endif Thank you - Marcel Karras --=20 Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ From Murray.Cumming@Comneon.com Thu Jan 22 03:18:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6009318204 for ; Thu, 22 Jan 2004 03:18:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0M8E8Db023707; Thu, 22 Jan 2004 09:14:10 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Jan 2004 09:18:43 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BE4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Nick.Huxley@barclayscapital.com, toka@freebits.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Thu, 22 Jan 2004 09:18:15 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > What include file is the macro initially being set in? > I can see they would argue that more people use SSL than > gnomemm so they probably won't change. Also as you've already > come up with a work around is it so much of a problem? I hate > CPP macros they're evil. But I doubt that have any good reason to use a macro rather than a function. But somebody must talk to them. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 22 05:22:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DC73E18125 for ; Thu, 22 Jan 2004 05:22:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0MAHvDb028342 for ; Thu, 22 Jan 2004 11:17:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Jan 2004 11:22:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Thu, 22 Jan 2004 11:22:02 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] gtkmm rpms for Mandrake? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: About a year ago somebody (I forget) at Mandrake told me that gtkmm 2 would definitely be in the next release of the distro. But I don't see it anywhere on the web, though I don't actually have Mandrake installed. Can anybody comment. Is there a status page anywhere? Who should we ask? Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Thu Jan 22 11:26:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id ED6DA18234 for ; Thu, 22 Jan 2004 11:26:54 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AjhcT-0002N2-9t; Thu, 22 Jan 2004 11:23:49 -0500 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm rpms for Mandrake? References: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Thu, 22 Jan 2004 11:23:49 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Thu, 22 Jan 2004 11:22:02 +0100") Message-ID: <87llo0kl4a.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > About a year ago somebody (I forget) at Mandrake told me that gtkmm 2 would > definitely be in the next release of the distro. But I don't see it anywhere > on the web, though I don't actually have Mandrake installed. Can anybody > comment. Is there a status page anywhere? Who should we ask? > I'll be at LWE this afternoon, I'll see if anyone there knows anything. From djmaecki@ull.at Fri Jan 23 04:58:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from stud3.tuwien.ac.at (stud3.tuwien.ac.at [193.170.75.13]) by mail.gnome.org (Postfix) with ESMTP id E314E182D2 for ; Fri, 23 Jan 2004 04:58:49 -0500 (EST) Received: from zaphod (v208-157.vps.tuwien.ac.at [128.131.208.157]) by stud3.tuwien.ac.at (8.9.3 (PHNE_28810+JAGae91741+JAGae92668)/8.9.3) with ESMTP id KAA06787 for ; Fri, 23 Jan 2004 10:58:49 +0100 (MET) Received: from marvin.home.srr.ull.at ([10.0.1.2]) by zaphod with smtp (Exim 3.35 #1 (Debian)) id 1Ajy5T-0000yS-00 for ; Fri, 23 Jan 2004 10:58:51 +0100 Received: by marvin.home.srr.ull.at (sSMTP sendmail emulation); Fri, 23 Jan 2004 10:58:45 +0100 To: gtkmm-list@gnome.org X-Face: (AyZfZV"!KH"MTF)t0v,Brpg61vAyl"x9NyDm/gakdi<9.\\aDlytY^1}O.[K_0EEbI9rD6 1CVK9qr7p-v9=5r!Q4eoGAcYQ|c$n)N\@5*`b0%2eS/bt Date: Fri, 23 Jan 2004 10:58:42 +0100 Message-ID: <878yjznfzh.fsf@ull.at> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: [gtkmm] TreeView vs. TreeModel Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-=-= Hi! I wrote a small app which receives requests from another thread and add a new row to a TreeModel upon each request. If I simply add the row like this Glib::Mutex::Lock Lock (_Mutex); SupplyColumns Columns; Gtk::TreeModel::iterator iter = _refTreeModel->append (); Gtk::TreeModel::Row row = *iter; row[Columns._OrderId] = OrderID; row[Columns._State] = "OPEN"; the TreeView doesn't get updated if the mainloop doesn't receive an event. If I move the mouse for example the new row is added. So surfing through the docs leads me to TreeModel::row_inserted(const Path& path, const iterator& iter) which should (I think) signal the TreeView to update it's display. A naive approach was simply adding following line after above code: _refTreeModel->row_inserted (_refTreeModel->get_path (iter), iter); But this leads to following critical message: (supfe:17982): Gtk-CRITICAL **: file gtktreeview.c: line 3353 (gtk_tree_view_bin_expose): assertion `has_next' failed. There is a disparity between the internal view of the GtkTreeView, and the GtkTreeModel. This generally means that the model has changed without letting the view know. Any display from now on is likely to be incorrect. How do I use row_inserted() to signal the TreeView. Or is there a better way to fix this problem? So long Thomas -- .''`. Calm yourself, Tubbs. None shall come... - Edward, Royston Vasey : :' : Thomas Krennwallner `. `'` 1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B `- http://bigfish.ull.at/~djmaecki/ --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD4DBQBAEPBV/1hOWWeh2nsRAoLTAJUcDGsl2B68JbobJvqSzaqC3CePAJ4rsPaZ TNb7rHLZYArM+rhpbkpfwQ== =i3cx -----END PGP SIGNATURE----- --=-=-=-- From find_all@hotmail.com Fri Jan 23 06:55:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f59.sea2.hotmail.com [207.68.165.59]) by mail.gnome.org (Postfix) with ESMTP id 2C39918AD4 for ; Fri, 23 Jan 2004 06:55:39 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 Jan 2004 03:55:38 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Fri, 23 Jan 2004 11:55:38 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Fri, 23 Jan 2004 11:55:38 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 23 Jan 2004 11:55:38.0290 (UTC) FILETIME=[D13F9920:01C3E1A7] Subject: [gtkmm] Indexed image on Gdk::Pixbuf Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm trying to put an indexed image into a Gdk::Pixbuf. I have the image as a buffer in memory of 8 bits per color with the palette also in memory on another buffer of 3 bytes per color (256 colors). The problem is : How do I put this image into a Gdk::Pixbuf without converting it to a 24 or 32 bits format? If I do the conversion I waste a lot of time. If it is imposible to put directly a 8 bits indexed image into a pixbuf , can I put the image to a Gtk::Image or Gdk::Image in 8 bits and then transfer it to the Gdk::Pixbuf? How? The functions from Gdk::Pixbuf to get an image from a file don't suits me because I'm using an encrypted image that I have to decryp before putting it on the Gdk::Pixbuf. I've try to use Gdk::Drawable->draw_indexed_image but I haven't been able to make it work. Can anybody put a simple working example of Gdk::Drawable->draw_indexed_image? I haven't found any example on the net. Thanks in advance _________________________________________________________________ Reserva y planifica tu viaje online. http://www.msn.es/Viajes/ From olau@hardworking.dk Fri Jan 23 13:21:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp020.tiscali.dk (smtp020.tiscali.dk [212.54.64.104]) by mail.gnome.org (Postfix) with ESMTP id 98D9D1835B for ; Fri, 23 Jan 2004 13:21:37 -0500 (EST) Received: from bach.composers (8.ppp1-1.abc.worldonline.dk [213.237.21.8]) by smtp020.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0NILUFK007056 for ; Fri, 23 Jan 2004 19:21:31 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1Ak3z5-0000Ho-Ep for gtkmm-list@gnome.org; Fri, 23 Jan 2004 17:16:39 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Indexed image on Gdk::Pixbuf References: From: Ole Laursen Date: Fri, 23 Jan 2004 17:16:39 +0100 In-Reply-To: (Find All's message of "Fri, 23 Jan 2004 11:55:38 +0000") Message-ID: <87zncehc7s.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Find All" writes: > I have the image as a buffer in memory of 8 bits per color with the palette > also in memory on another buffer of 3 bytes per color (256 colors). > The problem is : How do I put this image into a Gdk::Pixbuf without > converting it > to a 24 or 32 bits format? > If I do the conversion I waste a lot of time. I don't know how to solve this inside X, but are you sure it isn't best to just to the conversion yourself? If you are displaying the image on an ordinary screen anyway, someplace in X something is likely to have to convert it to the higher bit depth anyway. So you won't save anything at all. Also, unless you're converting lots of images, you will have plenty of time. Without having timed it, I would bet that you could easily convert 100 images with the resolution 1024x768 in a second. That's plenty of time for most purposes. Premature optimisation is the root of all evil, and all that... :-) > If it is imposible to put directly a 8 bits indexed image into a > pixbuf, can I put the image to a Gtk::Image or Gdk::Image in 8 bits > and then transfer it to the Gdk::Pixbuf? How? I think you are misunderstanding something. As far as I know, the data in Gdk::Pixbufs are always 24 bpp. But I may be wrong. -- Ole Laursen http://www.cs.auc.dk/~olau/ From prencher@prencher.dk Sat Jan 24 09:34:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id 1A87E1847A for ; Sat, 24 Jan 2004 09:34:36 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 0A74D47FEE0 for ; Sat, 24 Jan 2004 15:34:32 +0100 (CET) From: "Thomas Johansson" To: Date: Sat, 24 Jan 2004 15:34:32 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0017_01C3E28F.9013E710" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPihy4nb8fL5SQgT7OnkmdsSCcP0A== Message-Id: <20040124143432.0A74D47FEE0@pfepa.post.tele.dk> Subject: [gtkmm] Auto-import errors with TreeViewColumn on win32 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0017_01C3E28F.9013E710 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Recently I've been working on porting LostIRC to windows. However, while trying to link, I get a bunch of auto import errors, apparently on TreeViewColumn, the output from the linking step is a the buttom of this email. The files in question are these: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .h?rev=1.5 &view=auto http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .cpp?rev=1.10 &view=auto It seems to be errors with exporting from gtkmm, however im not sure, so any help would be appreciated. Here's the output from the linking step, I get no errors during compilation. ---------------------------------------------------------------------------- -------------------------------- /bin/bash ../../libtool --mode=link g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Info: resolving __ZTTN3Gtk14TreeViewColumnE by linking to __imp___ZTTN3Gtk14TreeViewColumnE (auto-import) Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking to __imp___ZTVN3Gtk14TreeViewColumnE (auto-import) kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ---------------------------------------------------------------------------- -------------------------------- Regards, Thomas Johansson, prencher@prencher.dk ------=_NextPart_000_0017_01C3E28F.9013E710 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
 
Recently I've been=20 working on porting LostIRC to windows.
 
However, while=20 trying to link, I get a bunch of auto import errors, apparently on=20 TreeViewColumn, the output from the linking step is a the buttom of this = email.
 
The files in=20 question are these:
http://cvs.sourceforge.net/viewc= vs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=3D1.5&view=3Dauto<= /A>
http://cvs.sourceforge.net/vi= ewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=3D1.10&view=3D= auto
 
It = seems to be=20 errors with exporting from gtkmm, however im not sure, so any help would = be appreciated.
 
Here's = the output=20 from the linking step, I get no errors during = compilation.
 
----------------------------------------------= --------------------------------------------------------------
 
/bin/bash=20 ../../libtool --mode=3Dlink g++  -g -O2 -Wall   -o=20 lostirc.exe  main.o MainWindow.o MainNotebook.o Tab.o Prefs.o=20 ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 = -lgdkmm-2.0=20 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 = -lsigc-1.2=20 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 = -lpango-1.0=20 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 
g++ -g = -O2 -Wall=20 -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o = ServerWindow.o=20 GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o =20 ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 = -latkmm-1.0=20 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 = -lgdk-win32-2.0=20 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 = -lgobject-2.0=20 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
Info: resolving=20 __ZTTN3Gtk14TreeViewColumnE by linking to = __imp___ZTTN3Gtk14TreeViewColumnE=20 (auto-import)
Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking = to=20 __imp___ZTVN3Gtk14TreeViewColumnE=20 (auto-import)
kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for=20 Gtk::TreeViewColumn' can't be auto-imported. Please read the = documentation for=20 ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for = details.
ServerWindow.o
(.text$_ZN3Gtk14TreeViewColumnC1IN4Gli= b7ustringEEERKS3_RKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/inclu= de/gtkmm-2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for = details.
 
----------------------------------------------= --------------------------------------------------------------
 
Regards,
Thomas Johansson, prencher@prencher.dk
 
= ------=_NextPart_000_0017_01C3E28F.9013E710-- From prencher@prencher.dk Sat Jan 24 09:27:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id B7EE0181B8 for ; Sat, 24 Jan 2004 09:27:40 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 251B647FF3C for ; Sat, 24 Jan 2004 15:27:34 +0100 (CET) From: "Thomas Johansson" To: Date: Sat, 24 Jan 2004 15:27:34 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C3E28E.97061EE0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPihjTudHJ1qir+QraJNDjIGEkEhQ== Message-Id: <20040124142734.251B647FF3C@pfepa.post.tele.dk> Subject: [gtkmm] Auto-import errors with TreeViewColumn on win32 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C3E28E.97061EE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Recently I've been working on porting LostIRC to windows. However, while trying to link, I get a bunch of auto import errors, apparently on TreeViewColumn, the output from the linking step is a the buttom of this email. The files in question are these: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .h?rev=1.5 &view=auto http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .cpp?rev=1.10 &view=auto It seems to be errors with exporting from gtkmm, however im not sure, so any help would be appreciated. Here's the output from the linking step, I get no errors during compilation. ---------------------------------------------------------------------------- -------------------------------- /bin/bash ../../libtool --mode=link g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Info: resolving __ZTTN3Gtk14TreeViewColumnE by linking to __imp___ZTTN3Gtk14TreeViewColumnE (auto-import) Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking to __imp___ZTVN3Gtk14TreeViewColumnE (auto-import) kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ---------------------------------------------------------------------------- -------------------------------- Regards, Thomas Johansson, prencher@prencher.dk ------=_NextPart_000_0013_01C3E28E.97061EE0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
 
Recently I've been=20 working on porting LostIRC to windows.
 
However, while=20 trying to link, I get a bunch of auto import errors, apparently on=20 TreeViewColumn, the output from the linking step is a the buttom of this = email.
 
The files in=20 question are these:
http://cvs.sourceforge.net/viewc= vs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=3D1.5&view=3Dauto<= /A>
http://cvs.sourceforge.net/vi= ewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=3D1.10&view=3D= auto
Can i compile and run gtkmm = applications with gcc 3.3/gcc 3.4, or are there known = problems?
 
It = seems to be=20 errors with exporting from gtkmm, however im not sure, so any help would = be appreciated.
 
Here's = the output=20 from the linking step, I get no errors during = compilation.
 
----------------------------------------------= --------------------------------------------------------------
 
/bin/bash=20 ../../libtool --mode=3Dlink g++  -g -O2 -Wall   -o=20 lostirc.exe  main.o MainWindow.o MainNotebook.o Tab.o Prefs.o=20 ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 = -lgdkmm-2.0=20 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 = -lsigc-1.2=20 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 = -lpango-1.0=20 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 
g++ -g = -O2 -Wall=20 -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o = ServerWindow.o=20 GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o =20 ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 = -latkmm-1.0=20 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 = -lgdk-win32-2.0=20 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 = -lgobject-2.0=20 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
Info: resolving=20 __ZTTN3Gtk14TreeViewColumnE by linking to = __imp___ZTTN3Gtk14TreeViewColumnE=20 (auto-import)
Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking = to=20 __imp___ZTVN3Gtk14TreeViewColumnE=20 (auto-import)
kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for=20 Gtk::TreeViewColumn' can't be auto-imported. Please read the = documentation for=20 ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for = details.
 
----------------------------------------------= --------------------------------------------------------------
 
Regards,
Thomas Johansson, prencher@prencher.dk
 
------=_NextPart_000_0013_01C3E28E.97061EE0-- From djmaecki@ull.at Sun Jan 25 11:24:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from stud3.tuwien.ac.at (stud3.tuwien.ac.at [193.170.75.13]) by mail.gnome.org (Postfix) with ESMTP id 4BCEE1887D for ; Sun, 25 Jan 2004 11:24:05 -0500 (EST) Received: from zaphod (v208-157.vps.tuwien.ac.at [128.131.208.157]) by stud3.tuwien.ac.at (8.9.3 (PHNE_28810+JAGae91741+JAGae92668)/8.9.3) with ESMTP id RAA15322 for ; Sun, 25 Jan 2004 17:24:01 +0100 (MET) Received: from marvin.home.srr.ull.at ([10.0.1.2]) by zaphod with smtp (Exim 3.35 #1 (Debian)) id 1Akn3N-0001ak-00 for ; Sun, 25 Jan 2004 17:24:05 +0100 Received: by marvin.home.srr.ull.at (sSMTP sendmail emulation); Sun, 25 Jan 2004 17:23:57 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] TreeView vs. TreeModel X-Face: (AyZfZV"!KH"MTF)t0v,Brpg61vAyl"x9NyDm/gakdi<9.\\aDlytY^1}O.[K_0EEbI9rD6 1CVK9qr7p-v9=5r!Q4eoGAcYQ|c$n)N\@5*`b0%2eS/bt In-Reply-To: <878yjznfzh.fsf@ull.at> (Thomas Krennwallner's message of "Fri, 23 Jan 2004 10:58:42 +0100") References: <878yjznfzh.fsf@ull.at> Date: Sun, 25 Jan 2004 17:23:56 +0100 Message-ID: <87u12kngir.fsf@ull.at> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-=-= Hi! Thomas Krennwallner writes: > How do I use row_inserted() to signal the TreeView. Or is there a > better way to fix this problem? I solved it by using a Gtk::Dispatcher. Thanks to Igor Gorbounov for his helpful hints. So long Thomas -- .''`. Tephelome...Is this one? - Tubbs, Royston Vasey : :' : Thomas Krennwallner `. `'` 1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B `- http://bigfish.ull.at/~djmaecki/ --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBAE+2c/1hOWWeh2nsRAtFCAKC9iFHoZZxNm/ANxpoErUulbCZCBQCgk99S 2zbtw4TOLLpTjyRUIPYInI8= =4xr+ -----END PGP SIGNATURE----- --=-=-=-- From cedric.gustin@swing.be Mon Jan 26 01:57:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 7B10818342 for ; Mon, 26 Jan 2004 01:57:06 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0Q6onte024711; Mon, 26 Jan 2004 07:50:54 +0100 (MET) Message-Id: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 25 Jan 2004 10:32:25 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040124142734.251B647FF3C@pfepa.post.tele.dk> References: <20040124142734.251B647FF3C@pfepa.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 03:27 PM 1/24/2004, you wrote: >Recently I've been working on porting LostIRC to windows. > >However, while trying to link, I get a bunch of auto import errors, >apparently on TreeViewColumn, the output from the linking step is a the >buttom of this email. > >The files in question are these: >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=1.10&view=auto > >It seems to be errors with exporting from gtkmm, however im not sure, so >any help would be appreciated. Hi Thomas, To help you, it would be nice to know : 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. If the configure and libtool scripts are generated locally on your win32 machine or on a linux machine when making the tarball (make dist) + version and origin (cygwin/msys if produced locally) of the autotools, especially libtool ! 3. if you use my port of gtkmm for mingw, the port of gtk/gtkmm that uses the cygwin runtime, or your own port. Cedric From mattgerg@users.sourceforge.net Mon Jan 26 05:39:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from f04n01.cac.psu.edu (f04s01.cac.psu.edu [128.118.141.31]) by mail.gnome.org (Postfix) with ESMTP id 4B8C9181E9 for ; Mon, 26 Jan 2004 05:39:36 -0500 (EST) Received: from MAG357.rhbd.psu.edu (MAG357.rhbd.psu.edu [66.71.10.196]) by f04n01.cac.psu.edu (8.9.3p2.1/8.9.3) with ESMTP id FAA363184 for ; Mon, 26 Jan 2004 05:39:32 -0500 From: Matt Gerginski To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1075095542.4399.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 26 Jan 2004 05:39:02 +0000 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Widget inside a Treeview Cell Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, I am wondering if there is any way to go about embedding a widget, inside a cell of a treeview. If there is a way to go about this, any help would be appreciated, for now I just want to know if it is possible. Thanks, Matt PS. Can you please respond to my email, I am not a member of the list. -- Matt Gerginski From B.Touron@citb.bull.net Mon Jan 26 09:01:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id D79DE18292 for ; Mon, 26 Jan 2004 09:01:26 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0QE1O427939 for ; Mon, 26 Jan 2004 15:01:24 +0100 Message-ID: <40151DF3.9050006@citb.bull.net> Date: Mon, 26 Jan 2004 15:02:27 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::TreeView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello everybody ! I am new to Gtkmm. I searched in the documentation, and in the mailing list archive, without success. So, in a TreeView, how can I display the connecting lines between the nodes ? Is it an option somewhere in the TreeView ? I am using gtkmm under Windows. Thanks for your help. Ben From prencher@prencher.dk Mon Jan 26 09:12:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mail.gnome.org (Postfix) with ESMTP id AFE6318157 for ; Mon, 26 Jan 2004 09:12:52 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepc.post.tele.dk (Postfix) with ESMTP id 36151263002; Mon, 26 Jan 2004 15:12:39 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 15:12:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPj2a030RPf+p5ZS6K1dCISuGCIfAAO5wSw Message-Id: <20040126141239.36151263002@pfepc.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: 1. Running on a cygwin system with mingw tools as compiling suit. $ g++ --version g++.exe (GCC) 3.3.1 (mingw special 20030804-1) 2. Was generated on a linux machine, for making a tarball dist. $ autoconf --version autoconf (GNU Autoconf) 2.59 $ automake --version autautomake (GNU automake) 1.7.9 $ libtool --version altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) Debian: 192 $ 3. I use your mingw native port. I tried running autogen.sh locally, but it gives me errors about GETTEXT macros, I have installed the mingw gettext and iconv packages. Perhaps they should be installed somewhere in the cygwin tree rather than in mingws ? --- Thomas Johansson prencher@prencher.dk http://prencher.dk/ > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 25. jan 2004 10:32 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > At 03:27 PM 1/24/2004, you wrote: > > >Recently I've been working on porting LostIRC to windows. > > > >However, while trying to link, I get a bunch of auto import errors, > >apparently on TreeViewColumn, the output from the linking > step is a the > >buttom of this email. > > > >The files in question are these: > > kmm/Server > >Window.h?rev=1.5&view=auto>http://cvs.sourceforge.net/viewcvs .py/lostir > >c/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto > >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtk > mm/ServerW > >indow.cpp?rev=1.10&view=auto > > > >It seems to be errors with exporting from gtkmm, however im > not sure, > >so any help would be appreciated. > > > Hi Thomas, > > To help you, it would be nice to know : > > 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. > If the configure and libtool scripts are generated locally on > your win32 machine or on a linux machine when making the > tarball (make dist) + version and origin (cygwin/msys if > produced locally) of the autotools, especially libtool ! > 3. if you use my port of gtkmm for mingw, the port of > gtk/gtkmm that uses the cygwin runtime, or your own port. > > Cedric > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From matthew@alledora.co.uk Mon Jan 26 09:14:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 06B4118157 for ; Mon, 26 Jan 2004 09:14:03 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Al7RW-0000w2-6X for gtkmm-list@gnome.org; Mon, 26 Jan 2004 14:10:22 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Al7RV-0000vo-3Y; Mon, 26 Jan 2004 14:10:21 +0000 Message-ID: <401520F3.1050701@alledora.co.uk> Date: Mon, 26 Jan 2004 14:15:15 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView References: <40151DF3.9050006@citb.bull.net> In-Reply-To: <40151DF3.9050006@citb.bull.net> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Hello everybody ! > > I am new to Gtkmm. I searched in the documentation, and in the mailing > list archive, without success. > > So, in a TreeView, how can I display the connecting lines between the > nodes ? > Is it an option somewhere in the TreeView ? As I understand it, in GTK+ 2 it's impossible to display connecting lines in a TreeView in the manner see in, say, the GTK+ 1.x CTree, or the Win32 tree control. That's not just a matter of the theme engine not drawing them, but the toolkit not supporting it (not entirely sure, but that's the impression I got from an interview with one of the GTK+ developers recently). So the short answer is that, unfortunately, you can't. I'm hoping somebody will make a patch to allow theme engines to draw those lines if they wish, as sometimes I'd really rather like to have them. From prencher@prencher.dk Mon Jan 26 09:41:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id 27A711870E for ; Mon, 26 Jan 2004 09:41:58 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id DEABF480156; Mon, 26 Jan 2004 15:41:53 +0100 (CET) From: "Thomas Johansson" To: "'Thomas Johansson'" , "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 15:41:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040126141239.36151263002@pfepc.post.tele.dk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPj2a030RPf+p5ZS6K1dCISuGCIfAAO5wSwAAE3qYA= Message-Id: <20040126144153.DEABF480156@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok last error I got fixed, however, running locally generated ./configure gives me this error: ./configure: line 18835: syntax error near unexpected token `DEPS,' ./configure: line 18835: `PKG_CHECK_MODULES(DEPS, gtkmm-2.0)' The configure.ac file can be seen here: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/configure.ac?rev=1.8&v iew=auto --- Thomas Johansson prencher@prencher.dk http://prencher.dk/ > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Thomas Johansson > Sent: 26. jan 2004 15:13 > To: 'Cedric Gustin'; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > 1. Running on a cygwin system with mingw tools as compiling suit. > > $ g++ --version > g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > > 2. Was generated on a linux machine, for making a tarball dist. > > $ autoconf --version > autoconf (GNU Autoconf) 2.59 > $ automake --version > autautomake (GNU automake) 1.7.9 > $ libtool --version > altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 > 12:25:08) Debian: 192 $ > > 3. I use your mingw native port. > > I tried running autogen.sh locally, but it gives me errors > about GETTEXT macros, I have installed the mingw gettext and > iconv packages. Perhaps they should be installed somewhere in > the cygwin tree rather than in mingws ? > > --- > Thomas Johansson > prencher@prencher.dk > http://prencher.dk/ > > > -----Original Message----- > > From: gtkmm-list-admin@gnome.org > > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > > Sent: 25. jan 2004 10:32 > > To: Thomas Johansson; gtkmm-list@gnome.org > > Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > > > At 03:27 PM 1/24/2004, you wrote: > > > > >Recently I've been working on porting LostIRC to windows. > > > > > >However, while trying to link, I get a bunch of auto > import errors, > > >apparently on TreeViewColumn, the output from the linking > > step is a the > > >buttom of this email. > > > > > >The files in question are these: > > > > kmm/Server > > >Window.h?rev=1.5&view=auto>http://cvs.sourceforge.net/viewcvs > .py/lostir > > >c/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto > > >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtk > > mm/ServerW > > >indow.cpp?rev=1.10&view=auto > > > > > >It seems to be errors with exporting from gtkmm, however im > > not sure, > > >so any help would be appreciated. > > > > > > Hi Thomas, > > > > To help you, it would be nice to know : > > > > 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. > > If the configure and libtool scripts are generated locally on your > > win32 machine or on a linux machine when making the tarball (make > > dist) + version and origin (cygwin/msys if produced locally) of the > > autotools, especially libtool ! > > 3. if you use my port of gtkmm for mingw, the port of > gtk/gtkmm that > > uses the cygwin runtime, or your own port. > > > > Cedric > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From cedric.gustin@swing.be Mon Jan 26 10:12:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 147EA18353 for ; Mon, 26 Jan 2004 10:12:18 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0QF65te018621; Mon, 26 Jan 2004 16:06:06 +0100 (MET) Message-Id: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 26 Jan 2004 16:12:26 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040126141239.36151263002@pfepc.post.tele.dk> References: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> <20040126141239.36151263002@pfepc.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok, I checked lostirc. It requires some posix functions/macros that are not available natively on win32 (hence with mingw32). Therefore, either you modify the lostirc source and replace those posix functions by their win32 counterparts, or you should use the cygwin runtime. Unfortunately, my port of gtkmm is for the mingw32 distribution, only but you can find a port of gtkmm for cygwin (that runs both natively and with an X server) at http://web.sfc.keio.ac.jp/~s01397ms/cygwin/ If you decide to go the native way (win32 specific functions in lostirc + mingw32), I strongly recommend to set/modify the LIBRARY_PATH, C_INCLUDE_PATH and PKG_CONFIG_PATH variables to make sure that they are set appropriately (in order for gcc to detect iconv, libintl,...). The -I option to aclocal is also your friend (for the PKG_CHECK_MODULES autoconf macro). Hope it helps Cedric At 03:12 PM 1/26/2004, Thomas Johansson wrote: >1. Running on a cygwin system with mingw tools as compiling suit. > >$ g++ --version >g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > >2. Was generated on a linux machine, for making a tarball dist. > >$ autoconf --version >autoconf (GNU Autoconf) 2.59 >$ automake --version >autautomake (GNU automake) 1.7.9 >$ libtool --version >altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) Debian: 192 >$ > >3. I use your mingw native port. > >I tried running autogen.sh locally, but it gives me errors about GETTEXT >macros, I have installed the mingw gettext and iconv packages. Perhaps they >should be installed somewhere in the cygwin tree rather than in mingws ? From prencher@prencher.dk Mon Jan 26 10:29:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id E72B618154 for ; Mon, 26 Jan 2004 10:29:48 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 0409D480165; Mon, 26 Jan 2004 16:29:42 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 16:29:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPkHsauYvJxdN+DQEypfNv7+kjRqAAAdcHg Message-Id: <20040126152942.0409D480165@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Im aware lostirc contains some linux specific functions, but those will be ported eventually. The issue is with those TreeViewColumn errors, and PKG_CHECK_MODULES. > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 26. jan 2004 16:12 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > > Ok, I checked lostirc. It requires some posix > functions/macros that are not available natively on win32 > (hence with mingw32). Therefore, either you modify the > lostirc source and replace those posix functions by their > win32 counterparts, or you should use the cygwin runtime. > Unfortunately, my port of gtkmm is for the mingw32 > distribution, only but you can find a port of gtkmm for > cygwin (that runs both natively and with an X server) at > > http://web.sfc.keio.ac.jp/~s01397ms/cygwin/ > > If you decide to go the native way (win32 specific functions > in lostirc + mingw32), I strongly recommend to set/modify the > LIBRARY_PATH, C_INCLUDE_PATH and PKG_CONFIG_PATH variables to > make sure that they are set appropriately (in order for gcc > to detect iconv, libintl,...). The -I option to aclocal is > also your friend (for the PKG_CHECK_MODULES autoconf macro). > > Hope it helps > > Cedric > > At 03:12 PM 1/26/2004, Thomas Johansson wrote: > >1. Running on a cygwin system with mingw tools as compiling suit. > > > >$ g++ --version > >g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > > > > >2. Was generated on a linux machine, for making a tarball dist. > > > >$ autoconf --version > >autoconf (GNU Autoconf) 2.59 > >$ automake --version > >autautomake (GNU automake) 1.7.9 > >$ libtool --version > >altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) > >Debian: 192 $ > > > >3. I use your mingw native port. > > > >I tried running autogen.sh locally, but it gives me errors about > >GETTEXT macros, I have installed the mingw gettext and iconv > packages. > >Perhaps they should be installed somewhere in the cygwin > tree rather than in mingws ? > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From pgasper@designadvantage.com Mon Jan 26 11:39:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 9684518268 for ; Mon, 26 Jan 2004 11:39:01 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1Al9lK-0007Gw-Ow for gtkmm-list@gnome.org; Mon, 26 Jan 2004 11:38:58 -0500 From: Peter Gasper To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Message-Id: <1075135134.2178.23.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 26 Jan 2004 09:38:58 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Subject: [gtkmm] scrolledwindow floating point exception Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I want to say this is a bug, but I'm probably just doing something wrong. I'm adding a scrolledwindow to one or both panes in an HPaned widget. If one then takes the mouse and drags the handle all the way to the left or right the program errors out with a floating point exception. What am I doing wrong? If this is a bug, let me know and I'll add it to bugzilla. Thanks. -- Peter Gasper From pgasper@designadvantage.com Mon Jan 26 11:57:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 493FD18187 for ; Mon, 26 Jan 2004 11:57:26 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AlA39-0007Gz-L5 for gtkmm-list@gnome.org; Mon, 26 Jan 2004 11:57:23 -0500 Subject: Re: [gtkmm] scrolledwindow floating point exception From: Peter Gasper To: gtkmm-list@gnome.org In-Reply-To: <1075135134.2178.23.camel@PETE> References: <1075135134.2178.23.camel@PETE> Content-Type: multipart/mixed; boundary="=-tCmNmsEYfk2zONm5VrGB" Organization: Message-Id: <1075136239.2176.25.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 26 Jan 2004 09:57:23 -0700 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-tCmNmsEYfk2zONm5VrGB Content-Type: text/plain Content-Transfer-Encoding: 7bit Attached is an example. Thanks. On Mon, 2004-01-26 at 09:38, Peter Gasper wrote: > I want to say this is a bug, but I'm probably just doing something > wrong. > > I'm adding a scrolledwindow to one or both panes in an HPaned widget. If > one then takes the mouse and drags the handle all the way to the left or > right the program errors out with a floating point exception. > > What am I doing wrong? If this is a bug, let me know and I'll add it to > bugzilla. > > Thanks. -- Peter Gasper --=-tCmNmsEYfk2zONm5VrGB Content-Disposition: attachment; filename=main.cc Content-Type: text/x-c++; name=main.cc; charset=UTF-8 Content-Transfer-Encoding: 7bit #include #include #include #include #include class Test : public Gtk::Window { public: Test() :label1("test"), label2("test2") { add(hpaned); hpaned.add1(win1); win1.add(label1); hpaned.add2(win2); win2.add(label2); show_all(); }; virtual ~Test() {}; protected: Gtk::Label label1, label2; Gtk::ScrolledWindow win1, win2; Gtk::HPaned hpaned; }; int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Test test; Gtk::Main::run(test); return (0); } --=-tCmNmsEYfk2zONm5VrGB-- From cedric.gustin@swing.be Mon Jan 26 15:12:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 0A395187FA for ; Mon, 26 Jan 2004 15:12:29 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0QK6Ite001186; Mon, 26 Jan 2004 21:06:18 +0100 (MET) Message-Id: <6.0.1.1.2.20040126205924.01c0baf0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 26 Jan 2004 21:12:20 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040126152942.0409D480165@pfepa.post.tele.dk> References: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> <20040126152942.0409D480165@pfepa.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 04:29 PM 1/26/2004, Thomas Johansson wrote: >Im aware lostirc contains some linux specific functions, but those will be >ported eventually. The issue is with those TreeViewColumn errors, and >PKG_CHECK_MODULES. I managed to compile lostirc (without the posix stuff. I commented out the corresponding pieces of code). You can see a screenshot here : http://www.pcpm.ucl.ac.be/~gustin/tmp/lostirc.jpg I guess your TreeViewColumn problem is related to either your compiler version (I use and compiled gtkmm with mingw-gcc 3.2.3 while it seems you have updated your compiler to the recently released 3.3.1), or to some conflicts with cygwin dlls. Did you test your gtkmm installation on a simple gtkmm example (say one of the gtkmm book examples) ? About the PKG_CHECK_MODULES, make sure that aclocal in your autogen.sh script is called with the '-I /path/to/pkg.m4'. In my case, this is C:\Gtk\share\aclocal. Or set the ACLOCAL_FLAGS environment variable if your autogen.sh supports this feature. But in any case, lostirc compiles out of the box with the source tarball. Cedric From prencher@prencher.dk Mon Jan 26 21:24:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id A60B418277 for ; Mon, 26 Jan 2004 21:24:07 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 339E547FF3B; Tue, 27 Jan 2004 03:24:06 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Tue, 27 Jan 2004 03:24:06 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcPkSK0i0hq+owULScGDHGIs8IJAKgAM4E0g In-Reply-To: <6.0.1.1.2.20040126205924.01c0baf0@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-Id: <20040127022406.339E547FF3B@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yeah, I do know it compiles, I have ported a good bit of it by now, which is in the cvs. I just redid my cygwin/mingw/gtk+/gtkmm setup, and it seems it was the newer compiler (mingw gcc 3.3.1) that made the trouble. Thanks for you help :) > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 26. jan 2004 21:12 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > At 04:29 PM 1/26/2004, Thomas Johansson wrote: > >Im aware lostirc contains some linux specific functions, but > those will > >be ported eventually. The issue is with those TreeViewColumn errors, > >and PKG_CHECK_MODULES. > > I managed to compile lostirc (without the posix stuff. I > commented out the corresponding pieces of code). You can see > a screenshot here : > > http://www.pcpm.ucl.ac.be/~gustin/tmp/lostirc.jpg > > I guess your TreeViewColumn problem is related to either your > compiler version (I use and compiled gtkmm with mingw-gcc > 3.2.3 while it seems you have updated your compiler to the > recently released 3.3.1), or to some conflicts with cygwin > dlls. Did you test your gtkmm installation on a simple gtkmm > example (say one of the gtkmm book examples) ? > > About the PKG_CHECK_MODULES, make sure that aclocal in your > autogen.sh script is called with the '-I /path/to/pkg.m4'. In > my case, this is C:\Gtk\share\aclocal. Or set the > ACLOCAL_FLAGS environment variable if your autogen.sh > supports this feature. But in any case, lostirc compiles out > of the box with the source tarball. > > Cedric > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Tue Jan 27 04:40:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 83DAE182BE; Tue, 27 Jan 2004 04:40:30 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0R9aCDb028927; Tue, 27 Jan 2004 10:36:12 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 27 Jan 2004 10:40:53 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Date: Tue, 27 Jan 2004 10:40:21 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: *** gtkmm 2.4 NOTE: This is probably your last chance to comment on the API before the API freeze. gtkmm provides a C++ interface to GTK+. The 2.3.x tarballs are the unstable development series that will become the stable gtkmm 2.4. gtkmm 2.3/2.4 will wrap any additional API in GTK+ 2.4. glibmm is now a separate module, for use in non-GUI software. gtkmm 2.3/2.4 installs in parallel with gtkmm 2.2, so you can install this unstable library without the risk of breaking existing applications. This allows us to break ABI and API, though we will try not to break API unless it is absolutely necessary. But do be aware that the underlying unstable GTK+ 2.3 does not install in parallel with GTK+ 2.2, so be careful if you apply it in your normal prefix. We recommend the use of jhbuild or garnome for testing in a separate prefix. The stable (API/ABI-frozen) gtkmm 2.4.0 will be released soon after GTK+ 2.4.0. gtkmm is on the official GNOME Platform Bindings release schedule: http://www.gnome.org/start/2.5/bindings/ http://www.gtkmm.org *** Changes glibmm 2.3.3: * gmmproc (code generator) - properties: Make read-only properties have const accessors, and add a second read-only const accessor for normal properties. Wrap construct-only properties as read-only, instead of ignoring them. - vfuncs: Really generate const vfuncs when requested. Put the method declaration directly into the .h file, so that the doxygen documentation can be next to it. - documentation: - Remove mergecdocs configure option - always merge the C docs, to avoid any risk of uploading or releasing empty documentation. Just delete the *_docs.xml files to make building from cvs faster. - Install a GLIBMM_CHECK_PERL() macro, for use by gtkmm and other *mm projects, to get the perl path needed by doxygen. - Install beautify_docs.pl so it can be reused in gtkmm and other *mm projects, instead of having lots of copies. * Glib::ObjectBase: The default constructor, never before used, now generates a custom GType, for use when creating new implementations of Glib::Interfaces - for instance, see the new custom tree model example in gtkmm. * Glib::Date: Added clamp_min() and clamp_max(). (Murray Cumming) * Documentation: - Added reference documentation for MainLoop, MainContext, Source, and Date. (Alberto Paro) gtkmm 2.3.2: * Gtk: * AccelMap: Added lock_path() and unlock_path(). * Button: Added get/set_alignment(). * CellLayout: Added reorder(). * Clipboard: Added wait_for_targets(), and a simpler request_targets(). * MenuShell: Added cancel(). * ListStore, TreeStore: Added set_model_columns() for use by derived classes. * TreeModel: vfuncs now use C++ types, and are documented. * TreeModelFilter: Wrapped set_modify_func(). * Window: Added get_group() and set_accept_focus(). * Gdk: * Colormap: Added get_system(). * Device: Added get_name(), get_source(), get_mode() and get_has_cursor() * Display: Added set_double_click_distance() and get_default_group(). * DragContext: Added get_targets(). * Added rgb_*() methods. * Pango: * LayoutLine: Added get_length(), get_start_index(), and get_layout(). * Atk: * Added Document, Hyperlink, Hypertext, and StreamableContent classes. * Portability: * Atk::Text build fix for Intel compiler. (Takashi Takekawa) * Documentation: * devhelp file now installs correctly, with working hyperlinks. * Documented Gtk::AccelMap methods. * Documented Atk classes. * TreeView, TextView, and associated classes are almost fully documented. (Murray Cumming) * Also: - build fix. (Billy O'Connor) - spec file fix. (Eric Bourque) *** Download http://www.gtkmm.org/download.shtml You will need libsigc++ 1.2, available here: https://sourceforge.net/project/showfiles.php?group_id=1970 *** Development There is active discussion on the mailing list: http://www.gtkmm.org/mailinglist.shtml and in the #c++ channel on irc.gnome.org -- Murray Cumming murray@usa.net www.murrayc.com _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 27 04:46:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7D7C8184DB for ; Tue, 27 Jan 2004 04:46:49 -0500 (EST) Received: (qmail 21114 invoked by uid 65534); 27 Jan 2004 09:19:06 -0000 Received: from pD9E94C81.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.129) by mail.gmx.net (mp005) with SMTP; 27 Jan 2004 10:19:06 +0100 X-Authenticated: #109577 Message-ID: <40162D19.7030707@gmx.de> Date: Tue, 27 Jan 2004 10:19:21 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] how to set appended Notebook page active? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! When I append a second VBox to my notebook with m_Notebook.append_page(*VBoxRight, notebookTabName); the first notebook page is still displayed active. I´ve tried m_Notebook.set_current_page(1); // activate 2nd but it has no effect. Can somebody help? TIA, Andi From find_all@hotmail.com Tue Jan 27 04:57:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f30.sea2.hotmail.com [207.68.165.30]) by mail.gnome.org (Postfix) with ESMTP id B6B68187EF for ; Tue, 27 Jan 2004 04:57:49 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 27 Jan 2004 01:57:45 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Tue, 27 Jan 2004 09:57:45 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Tue, 27 Jan 2004 09:57:45 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 27 Jan 2004 09:57:45.0648 (UTC) FILETIME=[03471300:01C3E4BC] Subject: [gtkmm] Transparent background in a Pango::Layout Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm drawing an image into a Gtk::DrawingArea and want to write text on that image. Is there a way to set a transparent background for a Pango::Layout? If not, is there another way to write a string with an expecific font, size,color but with a transparent background? _________________________________________________________________ ¿Estás dispuesto a una cita? Conoce gente en MSN Amor & Amistad. http://match.msn.es/match/mt.cfm?pg=channel From bevis@anvil.com Tue Jan 27 05:16:12 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 0C92518A03 for ; Tue, 27 Jan 2004 05:16:12 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id A4A7A416; Tue, 27 Jan 2004 10:15:40 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id CB5772C8; Tue, 27 Jan 2004 10:15:39 +0000 (GMT) Message-ID: <40163A51.907@anvil.co.uk> Date: Tue, 27 Jan 2004 10:15:45 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Find All Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Transparent background in a Pango::Layout References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Find All wrote: > I'm drawing an image into a Gtk::DrawingArea and want to write text on > that image. you may find that writing text to a drawingarea will automatically have a transparent background. certainly i've written text over a pixbuf in a drawing area and that's happened. bevis From andrew@solvo.ru Tue Jan 27 06:38:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gate.solvo.ru (gate.solvo.ru [195.201.44.254]) by mail.gnome.org (Postfix) with ESMTP id B58A118713; Tue, 27 Jan 2004 06:38:57 -0500 (EST) Received: from tiger.solvo.ru (tiger.solvo.ru [195.201.44.86]) by gate.solvo.ru (8.12.8/8.12.8) with ESMTP id i0RBcaFu000743; Tue, 27 Jan 2004 14:38:38 +0300 Received: by tiger.solvo.ru (Postfix, from userid 504) id 5DAD290726; Tue, 27 Jan 2004 14:38:35 +0300 (MSK) Received: from solvo.ru (phoenix.solvo.ru [195.201.44.78]) by tiger.solvo.ru (Postfix) with ESMTP id 05734906FC; Tue, 27 Jan 2004 14:38:35 +0300 (MSK) Message-ID: <40165085.60101@solvo.ru> Date: Tue, 27 Jan 2004 14:50:29 +0300 From: "Andrew E. Makeev" Organization: Solvo Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: ru, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Subject: Re: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 References: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Milter: Spamilter Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi I've seen the mail that there is a chance to get couple deprecated widgets to be wrapped in gtkmm (GtkCTree and GtkCList). I guess, It's a good idea, because those widgets have few "advantages" (like configurable lines btw nodes in CTree and very high speed of CList with lot of the data filled in). So, are you going to wait when TreeView will be improved a bit, either wait for those depricated widgets are wrapped? Regards, -andrew Murray.Cumming@Comneon.com wrote: >*** gtkmm 2.4 > >NOTE: This is probably your last chance to comment on the API before the API >freeze. > > > > From Murray.Cumming@Comneon.com Tue Jan 27 06:48:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E4CAC1891A; Tue, 27 Jan 2004 06:47:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0RBhfDb023206; Tue, 27 Jan 2004 12:43:42 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 27 Jan 2004 12:48:23 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22DFC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: andrew@solvo.ru, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Subject: RE: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 Date: Tue, 27 Jan 2004 12:47:52 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've seen the mail that there is a chance to get couple deprecated > widgets to be wrapped in gtkmm (GtkCTree and GtkCList). Anybody is free to start a project to do that. I have no intention to add them to gtkmm itself at this time. You don't need them to be in gtkmm itself. > I guess, It's a good idea, because those widgets have few > "advantages" > (like configurable lines btw nodes in CTree and very high > speed of CList > with lot of the data filled in). > > So, are you going to wait when TreeView will be improved a > bit, If you want specific changes to GtkTreeView please do ask on gtk-list and/or submit GTK+ bugs in bugzilla.gnome.org. > either > wait for those depricated widgets are wrapped? Doing is better than waiting. Murray Cumming www.murrayc.com murrayc@usa.net From buxman@telia.com Tue Jan 27 08:21:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from av1-2-sn1.fre.skanova.net (av1-2-sn1.fre.skanova.net [81.228.11.108]) by mail.gnome.org (Postfix) with ESMTP id 851B918B0E for ; Tue, 27 Jan 2004 08:21:29 -0500 (EST) Received: by av1-2-sn1.fre.skanova.net (Postfix, from userid 502) id AA00C37E55; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Received: from smtp3-2-sn1.fre.skanova.net (smtp3-2-sn1.fre.skanova.net [81.228.11.164]) by av1-2-sn1.fre.skanova.net (Postfix) with ESMTP id 9DC4F37E42 for ; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Received: from telia.com (h89n2fls303o885.telia.com [81.227.153.89]) by smtp3-2-sn1.fre.skanova.net (Postfix) with ESMTP id 86E8937E42 for ; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Message-ID: <401665D6.90007@telia.com> Date: Tue, 27 Jan 2004 14:21:26 +0100 From: Alexander Bussman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031115 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::Window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I wonder if it's a way to lock the application until a newly created window is closed. I need to do that because I want to grab a string from that window (that the user writes). something like this I mean: ... mywindow.show(); wait_until_mywindow_is_closed(); std::string data = mywindow.getData(); ... I can't figure out a good way to do this.... anyone? // Alexander Bussman From matthew@alledora.co.uk Tue Jan 27 08:31:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 575E018AC5 for ; Tue, 27 Jan 2004 08:31:08 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AlTFN-0003JM-Rz for gtkmm-list@gnome.org; Tue, 27 Jan 2004 13:27:17 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AlTFM-0003J8-OW; Tue, 27 Jan 2004 13:27:16 +0000 Message-ID: <40166861.4030505@alledora.co.uk> Date: Tue, 27 Jan 2004 13:32:17 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Bussman Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window References: <401665D6.90007@telia.com> In-Reply-To: <401665D6.90007@telia.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Alexander Bussman wrote: > Hi! > I wonder if it's a way to lock the application until a newly created > window is closed. > I need to do that because I want to grab a string from that window (that > the user writes). > > something like this I mean: > ... > mywindow.show(); > wait_until_mywindow_is_closed(); > std::string data = mywindow.getData(); > ... > > I can't figure out a good way to do this.... anyone? Try show_modal() From nxg@saratov.pvrr.ru Tue Jan 27 09:58:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from access.pvrr.ru (access.pvrr.ru [217.23.88.43]) by mail.gnome.org (Postfix) with ESMTP id 53BCA18398 for ; Tue, 27 Jan 2004 09:58:38 -0500 (EST) Received: from mail.pvrr.mps (mail.pvrr.mps [10.61.5.11]) by access.pvrr.ru (8.12.10/8.12.10) with ESMTP id i0REw3Bo089765 for ; Tue, 27 Jan 2004 17:58:37 +0300 (MSK) Received: from mail.pvrr.mps (root@localhost) by mail.pvrr.mps (8.12.9/8.12.8) with SMTP id i0REvIuF043000 for ; Tue, 27 Jan 2004 17:57:19 +0300 (MSK) Received: from ns.nxg.pvrr.mps (ns.nxg.pvrr.mps [10.61.19.129]) by mail.pvrr.mps (8.12.9/8.12.8) with ESMTP id i0REoqY9040277; Tue, 27 Jan 2004 17:51:07 +0300 (MSK) Received: from saratov.pvrr.mps (mx.nxg.pvrr.mps [10.61.19.139]) by ns.nxg.pvrr.mps (8.12.8/8.12.8) with ESMTP id i0RBcKJS001894; Tue, 27 Jan 2004 14:38:20 +0300 Message-ID: <40164A96.4080508@saratov.pvrr.mps> Date: Tue, 27 Jan 2004 14:25:10 +0300 From: Sergey Mihailov Reply-To: igorbounov@voronezh.serw.ru User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: gtk-list@gnome.org, gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Setting colour of a window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, All! I'v trying to change the background color of a GtkWindow in this way: this->get_window()->set_background(Gdk::Color("maroon")); this->get_window()->clear(); However, it is still gray . Where am I wrong? Igor Gorbounov From timf@trdlnk.com Tue Jan 27 12:30:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from trdlnk.com (postman.trdlnk.com [208.252.163.7]) by mail.gnome.org (Postfix) with ESMTP id 2EDA318AA6 for ; Tue, 27 Jan 2004 12:30:22 -0500 (EST) Received: from trdlnk.com (troll [10.10.2.12]) by trdlnk.com (8.12.9+Sun/8.12.9) with ESMTP id i0RHULM7027144 for ; Tue, 27 Jan 2004 11:30:21 -0600 (CST) Message-ID: <4016A02D.10100@trdlnk.com> Date: Tue, 27 Jan 2004 11:30:21 -0600 From: Tim Flechtner Reply-To: timf@trdlnk.com User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.5) Gecko/20031020 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801A057B6@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801A057B6@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Reducing the rows / columns of a Gtk::Table Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: i am trying to figure out the correct way to remove rows and columns from a Gtk::Table. this doesn't work: #include #include #include using namespace Gtk; using namespace std; int main(int argc, char** argv) { // The gtk context (event loop et al) in which this example will run. Main kit(argc, argv); Window w; Button *b1 = manage(new Button("One")); Button *b2 = manage(new Button("Two")); Table t; t.resize(1, 2); // works t.attach(*b1, 0, 1, 0, 1); t.attach(*b2, 1, 2, 0, 1); t.resize(1,1); // doesn't work w.add(t); w.show_all(); kit.run(); } this works: #include #include #include using namespace Gtk; using namespace std; int main(int argc, char** argv) { // The gtk context (event loop et al) in which this example will run. Main kit(argc, argv); Window w; Button *b1 = new Button("One"); Button *b2 = new Button("Two"); Table t; t.resize(1, 2); // works t.attach(*b1, 0, 1, 0, 1); t.attach(*b2, 1, 2, 0, 1); delete b2; // necessary to make resize work t.resize(1,1); // works now w.add(t); w.show_all(); kit.run(); } i suspect though, that this is not the intended way to use the table. i would certainly prefer to let manage work its wonders, and not worry about the memory for the widgets i attach in the table? is there a way to both use manage and be able to remove rows and columns from the table? thanks! -tim From B.Touron@citb.bull.net Tue Jan 27 13:21:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 6C6C518E56 for ; Tue, 27 Jan 2004 13:21:22 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0RILJ413039 for ; Tue, 27 Jan 2004 19:21:19 +0100 Message-ID: <4016AC52.7060902@citb.bull.net> Date: Tue, 27 Jan 2004 19:22:10 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Button question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello there ! I need to create a button containing an stock image (built in GTK), like Gtk::Stock::CANCEL. If I pass Gtk::Stock::CANCEL to the button's constructor, then the button contains the image AND the text (cancel). How can I avoid the button to display the text ? Thanks Ben From billyoc@gnuyork.org Tue Jan 27 14:16:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id DA4C118302 for ; Tue, 27 Jan 2004 14:16:21 -0500 (EST) Received: by gnuyork.org via sendmail from stdin id (Debian Smail3.2.0.115) Tue, 27 Jan 2004 14:13:01 -0500 (EST) To: =?iso-8859-1?q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Button question References: <4016AC52.7060902@citb.bull.net> From: Billy O'Connor Date: Tue, 27 Jan 2004 14:13:01 -0500 In-Reply-To: <4016AC52.7060902@citb.bull.net> =?iso-8859-1?q?=28Beno=EEt?= Touron's message of "Tue, 27 Jan 2004 19:22:10 +0100") Message-ID: <87llntgq82.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Beno=EEt Touron writes: > Hello there ! > > I need to create a button containing an stock image (built in GTK), > like Gtk::Stock::CANCEL. > If I pass Gtk::Stock::CANCEL to the button's constructor, then the > button contains the image AND the text (cancel). > How can I avoid the button to display the text ? > Use the Gtk::Button::add_pixlabel() member function to set the pixmap and optional text you want(or don't) displayed. See the example program: gtkmm/examples/book/buttons/button From chris@cvine.freeserve.co.uk Tue Jan 27 17:30:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailm2.svr.pol.co.uk (cmailm2.svr.pol.co.uk [195.92.193.210]) by mail.gnome.org (Postfix) with ESMTP id E85A818549 for ; Tue, 27 Jan 2004 17:30:21 -0500 (EST) Received: from modem-2358.putangitangi.dialup.pol.co.uk ([81.78.201.54] helo=boulder.localdomain) by cmailm2.svr.pol.co.uk with esmtp (Exim 4.14) id 1Albit-0005xd-UO; Tue, 27 Jan 2004 22:30:20 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0RMQ2SR001333; Tue, 27 Jan 2004 22:26:02 GMT From: Chris Vine To: Alexander Bussman , gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window Date: Tue, 27 Jan 2004 22:26:01 +0000 User-Agent: KMail/1.5.4 References: <401665D6.90007@telia.com> In-Reply-To: <401665D6.90007@telia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401272226.01882.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tuesday 27 January 2004 1:21 pm, Alexander Bussman wrote: > Hi! > I wonder if it's a way to lock the application until a newly created > window is closed. > I need to do that because I want to grab a string from that window (that > the user writes). > > something like this I mean: > ... > mywindow.show(); > wait_until_mywindow_is_closed(); > std::string data = mywindow.getData(); > ... In the constructor of the new window put something like this (where 'parent' is a reference to the application window): set_transient_for(parent); parent.set_sensitive(false); set_modal(true); Chris. From buxman@telia.com Tue Jan 27 18:13:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from av7-2-sn4.m-sp.skanova.net (av7-2-sn4.m-sp.skanova.net [81.228.10.109]) by mail.gnome.org (Postfix) with ESMTP id 099D51826D for ; Tue, 27 Jan 2004 18:13:02 -0500 (EST) Received: by av7-2-sn4.m-sp.skanova.net (Postfix, from userid 502) id 783B237E43; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Received: from smtp2-1-sn4.m-sp.skanova.net (smtp2-1-sn4.m-sp.skanova.net [81.228.10.183]) by av7-2-sn4.m-sp.skanova.net (Postfix) with ESMTP id 69B5537E43 for ; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Received: from telia.com (h89n2fls303o885.telia.com [81.227.153.89]) by smtp2-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 298EB37E4D; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Message-ID: <4016F07C.7000304@telia.com> Date: Wed, 28 Jan 2004 00:13:00 +0100 From: Alexander Bussman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031115 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Vine Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window References: <401665D6.90007@telia.com> <200401272226.01882.chris@cvine.freeserve.co.uk> In-Reply-To: <200401272226.01882.chris@cvine.freeserve.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Chris Vine wrote: >In the constructor of the new window put something like this (where 'parent' >is a reference to the application window): > > set_transient_for(parent); > parent.set_sensitive(false); > set_modal(true); > >Chris. > > Thanks! I got it to work the way I wanted now. // Alexander Bussman From B.Touron@citb.bull.net Wed Jan 28 02:33:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 29D4018AE2 for ; Wed, 28 Jan 2004 02:33:41 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0S7Xe431524 for ; Wed, 28 Jan 2004 08:33:40 +0100 Message-ID: <401765FD.1060107@citb.bull.net> Date: Wed, 28 Jan 2004 08:34:21 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Button question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >Hello there ! >> >> I need to create a button containing an stock image (built in GTK), >> like Gtk::Stock::CANCEL. >> If I pass Gtk::Stock::CANCEL to the button's constructor, then the >> button contains the image AND the text (cancel). >> How can I avoid the button to display the text ? >> Use the Gtk::Button::add_pixlabel() member function to set the pixmap and optional text you want(or don't) displayed. See the example program: gtkmm/examples/book/buttons/button ---- Thanks Billy for your quick answer. Unfortunatly, this was not exactly what I needed. The add_pixlabel requires an external file (.xpm). I finally created a Gtk::Image containing the stock icon, and added it to the button. Thanks a lot anyway, and keep answering :-) Ben From Murray.Cumming@Comneon.com Wed Jan 28 03:12:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0DA711852B; Wed, 28 Jan 2004 03:12:56 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0S88aDb026350; Wed, 28 Jan 2004 09:08:37 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 09:13:18 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22E47@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: igorbounov@voronezh.serw.ru, gtk-list@gnome.org, gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 09:12:51 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: Setting colour of a window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > this->get_window()->set_background(Gdk::Color("maroon")); > this->get_window()->clear(); > > However, it is still gray . > Where am I wrong? I doubt that "maroon" is a supported color string, but I don't know what strings are supported. Murray Cumming www.murrayc.com murrayc@usa.net From morten@stud326.idi.ntnu.no Wed Jan 28 05:06:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ray.idi.ntnu.no (ray.idi.ntnu.no [129.241.107.68]) by mail.gnome.org (Postfix) with ESMTP id 5142918C0C for ; Wed, 28 Jan 2004 05:06:10 -0500 (EST) Received: from stud326.idi.ntnu.no (stud326.idi.ntnu.no [129.241.103.26]) by ray.idi.ntnu.no (8.12.10/8.12.10) with ESMTP id i0SA67Dw014618 for ; Wed, 28 Jan 2004 11:06:07 +0100 (MET) Received: (from morten@localhost) by stud326.idi.ntnu.no (8.12.10/8.12.10/Submit) id i0SA67Or011320 for gtkmm-list@gnome.org; Wed, 28 Jan 2004 11:06:07 +0100 (CET) (envelope-from morten) Date: Wed, 28 Jan 2004 11:06:07 +0100 From: Morten Rodal To: gtkmm-list@gnome.org Message-ID: <20040128100606.GA11138@stud326.idi.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, hits=-5.9 required=4 X-Virus-Scanned: by amavisd-new-IDI Subject: [gtkmm] Compiling programs with Intel C++ Compiler and gtkmm-2.2.8 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: When compiling a program with the Intel C++ Compiler (icc-8.0.058) on FreeBSD 5.2-CURRENT I get the following error: /usr/X11R6/include/gtkmm-2.0/gtkmm/enums.h(1321): error: qualified name is not allowed in namespace member declaration class Glib::Value : public Glib::Value_Enum The fix is simply: --- /tmp/enums.h.orig Wed Jan 28 11:03:16 2004 +++ /usr/X11R6/include/gtkmm-2.0/gtkmm/enums.h Wed Jan 28 11:03:25 2004 @@ -1318,7 +1318,7 @@ { template <> -class Glib::Value : public Glib::Value_Enum +class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; -- Morten Rodal From Murray.Cumming@Comneon.com Wed Jan 28 06:27:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id BE0D5181E5 for ; Wed, 28 Jan 2004 06:27:32 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0SBNEDb005700 for ; Wed, 28 Jan 2004 12:23:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 12:27:56 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 12:27:30 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] gtkmm 2.3.2 build problems Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is anybody else having a problem building 2.3.2?: http://bugzilla.gnome.org/show_bug.cgi?id=132362 Murray Cumming www.murrayc.com murrayc@usa.net From pavenis@latnet.lv Wed Jan 28 09:46:21 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from geomets2.hut.fi (geomets2.hut.fi [130.233.244.100]) by mail.gnome.org (Postfix) with ESMTP id 28C3918AC3 for ; Wed, 28 Jan 2004 09:46:20 -0500 (EST) Received: from geomets2.hut.fi (IDENT:1000@geomets2.hut.fi [130.233.244.100]) by geomets2.hut.fi (8.12.10/8.12.6) with ESMTP id i0SEl7PP011324; Wed, 28 Jan 2004 16:47:08 +0200 From: Andris Pavenis To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems Date: Wed, 28 Jan 2004 16:47:06 +0200 User-Agent: KMail/1.6 Cc: Murray.Cumming@Comneon.com References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200401281647.07301.pavenis@latnet.lv> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wednesday 28 January 2004 13:27, Murray.Cumming@Comneon.com wrote: > Is anybody else having a problem building 2.3.2?: > http://bugzilla.gnome.org/show_bug.cgi?id=132362 At least not I. gtkmm-2.3.2 built without problems for me. I used glib-2.3.2 glibmm-2.3.3 gtk-2.3.2 atk-1.5.2 pango-1.3.2 gcc-3.3.2 glibc-2.3.2 Distribution: Slackware-current Andris From pjmlp@progtools.org Wed Jan 28 10:44:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id 6FB0E18437 for ; Wed, 28 Jan 2004 10:43:58 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0SFhrEh026554 for ; Wed, 28 Jan 2004 16:43:54 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <4017D8B9.5020604@progtools.org> Date: Wed, 28 Jan 2004 16:43:53 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Problems checking out some packages from CVS Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I've just checked out gnomemm from CVS using the gnome-2-4 tag. I was able to build almost everything besides the following packages: - gnomemm_hello - gtkmm_hello - libgnomeuimm - libpanelappletmm The first two don't accept the automake/autoconf versions that every other package accepts. And for the last two, that are the ones that really matter, I just get a couple of empty directories. Did I do something wrong? -- Paulo Pinto From Murray.Cumming@Comneon.com Wed Jan 28 11:15:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 2CFDB18683 for ; Wed, 28 Jan 2004 11:15:29 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0SGB8Db015937; Wed, 28 Jan 2004 17:11:08 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 17:15:51 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EB5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pjmlp@progtools.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Problems checking out some packages from CVS Date: Wed, 28 Jan 2004 17:15:22 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > - gnomemm_hello > - gtkmm_hello I have not branched these. HEAD should work with gtkmm 2.2. > - libgnomeuimm > - libpanelappletmm > > The first two don't accept the automake/autoconf > versions that every other package accepts. Are you using autogen.sh. Please give details in a bug report. > And for the last two, that are the ones that really > matter, I just get a couple of empty directories. Please try again. Here are the branch names: http://www.gtkmm.org/cvs.shtml Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Wed Jan 28 11:21:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 4D32A183A6 for ; Wed, 28 Jan 2004 11:21:25 -0500 (EST) Received: by gnuyork.org via sendmail from stdin id (Debian Smail3.2.0.115) Wed, 28 Jan 2004 11:18:05 -0500 (EST) To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Wed, 28 Jan 2004 11:18:05 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Wed, 28 Jan 2004 12:27:30 +0100") Message-ID: <87d694caiq.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > Is anybody else having a problem building 2.3.2?: > http://bugzilla.gnome.org/show_bug.cgi?id=132362 > I couldn't reproduce this with Debian Sid. Billy From vlad@integ.com Wed Jan 28 11:45:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from blaise.integ.local (mail2.integ.com [207.32.114.40]) by mail.gnome.org (Postfix) with ESMTP id CD5CE18639 for ; Wed, 28 Jan 2004 11:45:40 -0500 (EST) Received: from vgrinche-nt.integ.com [172.16.1.173] by blaise.integ.local with XWall v3.27 ; Wed, 28 Jan 2004 11:45:31 -0500 Received: from vgrinche-nt.integ.local (localhost [127.0.0.1]) by vgrinche-nt.integ.local (8.12.8/8.12.5) with ESMTP id i0SGjVEn002103; Wed, 28 Jan 2004 11:45:31 -0500 Received: (from vlad@localhost) by vgrinche-nt.integ.local (8.12.8/8.12.5/Submit) id i0SGjUBR002101; Wed, 28 Jan 2004 11:45:30 -0500 Date: Wed, 28 Jan 2004 11:45:30 -0500 From: Vladislav Grinchenko To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] how to set appended Notebook page active? Message-ID: <20040128164530.GA1580@vgrinche-nt.integ.com> References: <40162D19.7030707@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <40162D19.7030707@gmx.de> User-Agent: Mutt/1.4.1i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, Jan 27, 2004 at 10:19:21AM +0100, Andreas B. Thun wrote: > Hi! > > When I append a second VBox to my notebook with > m_Notebook.append_page(*VBoxRight, notebookTabName); > > the first notebook page is still displayed active. > > I´ve tried > m_Notebook.set_current_page(1); // activate 2nd > but it has no effect. > > Can somebody help? Andi, have you tried m_Notebook.set_current_page(*VBoxRight) ? -Vlad -- ______________________________________________________ Vladislav Grinchenko e-mail (w): vgrinche@integ.com Software Engineer (h): 3rdshift@comcast.net Integral Systems, Inc. Focus on quality, and productivity will follow. ______________________________________________________ From abhatnag@mda.ca Wed Jan 28 13:37:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 564201826A for ; Wed, 28 Jan 2004 13:37:54 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0SIbpW12809 for ; Wed, 28 Jan 2004 10:37:52 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 28 Jan 2004 10:37:51 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A2694284DE@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 10:37:50 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: [gtkmm] Symbology and annotations "on top" of my images. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I plan on using a drawing area widget to display images where the user may want to place some symbology and textual annotations at various locations on the image. I am wondering how GTK / GdkPixbuf will facilitate this. Ideally, I would like to treat the symbology and text annotations as "layers" where the user would be able to toggle on and off the display of the symbology/annotations, and possibly drag them to different positions. Does GTK / GdkPixbuf allow me to do something like this? If not, what would be an approach to take? thanks again. amit. From moses@gcecisp.com Wed Jan 28 15:51:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gcecisp.com (mail.gcecisp.com [208.14.31.3]) by mail.gnome.org (Postfix) with SMTP id 1402118D79 for ; Wed, 28 Jan 2004 15:51:52 -0500 (EST) Received: (qmail 9064 invoked from network); 28 Jan 2004 20:56:47 -0000 Received: from unknown (HELO gcecisp.com) (208.14.26.121) by mail.gcecisp.com with SMTP; 28 Jan 2004 20:56:47 -0000 Message-ID: <4018227C.2080704@gcecisp.com> Date: Wed, 28 Jan 2004 14:58:36 -0600 From: Moses McKnight User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 X-Accept-Language: en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Notebook tab scrolling Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, Is there a way to scroll just the tabs in a notebook instead of switching between pages? Moses From murrayc@murrayc.com Wed Jan 28 16:54:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jareth.dreamhost.com (jareth.dreamhost.com [66.33.198.201]) by mail.gnome.org (Postfix) with ESMTP id 83E4C18BBC for ; Wed, 28 Jan 2004 16:54:45 -0500 (EST) Received: from localhost.localdomain (unknown [80.121.222.26]) by jareth.dreamhost.com (Postfix) with ESMTP id B45476B60F; Wed, 28 Jan 2004 13:54:43 -0800 (PST) Subject: Re: [gtkmm] Notebook tab scrolling From: Murray Cumming To: Moses McKnight Cc: gtkmm-list In-Reply-To: <4018227C.2080704@gcecisp.com> References: <4018227C.2080704@gcecisp.com> Content-Type: text/plain Message-Id: <1075326702.13200.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 28 Jan 2004 22:51:43 +0100 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > Hi, > > Is there a way to scroll just the tabs in a notebook instead of switching > between pages? I'm not sure what you mean. Murray From ghenriks@rogers.com Wed Jan 28 21:37:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep03-mail.bloor.is.net.cable.rogers.com (fep03-mail.bloor.is.net.cable.rogers.com [66.185.86.73]) by mail.gnome.org (Postfix) with ESMTP id 8CACA1813C for ; Wed, 28 Jan 2004 21:37:41 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep03-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040129023412.FQKB146807.fep03-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Wed, 28 Jan 2004 21:34:12 -0500 From: Gerald Henriksen To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems Date: Wed, 28 Jan 2004 21:34:24 -0500 Message-ID: References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep03-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Wed, 28 Jan 2004 21:34:12 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 28 Jan 2004 12:27:30 +0100, you wrote: >Is anybody else having a problem building 2.3.2?: >http://bugzilla.gnome.org/show_bug.cgi?id=3D132362 No problems with Fedora Devel. From moses@gcecisp.com Wed Jan 28 22:31:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gcecisp.com (mail.gcecisp.com [208.14.31.3]) by mail.gnome.org (Postfix) with SMTP id E44B018BB6 for ; Wed, 28 Jan 2004 22:31:46 -0500 (EST) Received: (qmail 23848 invoked from network); 29 Jan 2004 03:36:45 -0000 Received: from unknown (HELO gcecisp.com) (208.14.26.121) by mail.gcecisp.com with SMTP; 29 Jan 2004 03:36:45 -0000 Message-ID: <40188042.5060106@gcecisp.com> Date: Wed, 28 Jan 2004 21:38:42 -0600 From: Moses McKnight User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 X-Accept-Language: en MIME-Version: 1.0 To: Murray Cumming Cc: gtkmm-list Subject: Re: [gtkmm] Notebook tab scrolling References: <4018227C.2080704@gcecisp.com> <1075326702.13200.2.camel@localhost.localdomain> In-Reply-To: <1075326702.13200.2.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: If you set_scrollable(true) it shows arrows to scroll the tabs if there are too many to fit in the area. When you scroll the tabs it actually switches pages as you scroll through the tabs. In MS Windows when you scroll tabs it just scrolls the tabs and then you click on the highlighted tab if you want to switch to that page. Murray Cumming wrote: > On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > >>Hi, >> >>Is there a way to scroll just the tabs in a notebook instead of switching >>between pages? > > > I'm not sure what you mean. > > Murray > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From Erik@mail.echohome.org Wed Jan 28 23:02:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server.echohome.org (s233-64-29-217.try.wideopenwest.com [64.233.217.29]) by mail.gnome.org (Postfix) with ESMTP id A62EA1816E for ; Wed, 28 Jan 2004 23:02:18 -0500 (EST) Received: from echo (echo.echohome.org [192.168.2.254]) by server.echohome.org (8.12.8/8.12.8) with ESMTP id i0T42Gxb014846 for ; Wed, 28 Jan 2004 23:02:17 -0500 Reply-To: From: "Erik Ch. Ohrnberger" To: "'gtkmm-list'" Subject: RE: [gtkmm] Notebook tab scrolling Date: Wed, 28 Jan 2004 23:02:16 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <40188042.5060106@gcecisp.com> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Speaking of arrows to scroll through notebook pages, is there a way to make the arrows larger than what they are by default? I'm building a touch screen application and those arrows are too small for fingers. Thanks, Erik. > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Moses McKnight > Sent: Wednesday, January 28, 2004 10:39 PM > To: Murray Cumming > Cc: gtkmm-list > Subject: Re: [gtkmm] Notebook tab scrolling > > > If you set_scrollable(true) it shows arrows to scroll the > tabs if there are too > many to fit in the area. When you scroll the tabs it > actually switches pages as > you scroll through the tabs. In MS Windows when you scroll > tabs it just scrolls > the tabs and then you click on the highlighted tab if you > want to switch to that > page. > > Murray Cumming wrote: > > On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > > > >>Hi, > >> > >>Is there a way to scroll just the tabs in a notebook instead of > >>switching > >>between pages? > > > > > > I'm not sure what you mean. > > > > Murray > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-> list > > > > > > _______________________________________________ > > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From ramachandrap@dpsl.net Wed Jan 28 23:37:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id A6E64180F7 for ; Wed, 28 Jan 2004 23:37:03 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:19:31 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id DMBQJXX4; Thu, 29 Jan 2004 10:19:22 +0530 Received: FROM comp448 BY khyber.enigma ; Thu Jan 29 10:19:20 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Cc: Vijay D , Nilesh S , Pramod S , Manjit D , Subramaniam R , Nishikant K , Girish P , Manoj K Message-ID: <002f01c3e622$4eec6e60$5f0210ac@enigma> Date: Thu, 29 Jan 2004 10:12:32 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01C3E650.6899FC00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Key press events not captured for some keys Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_002C_01C3E650.6899FC00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I have developed a gtkmm application under Redhat Linux 7.3, gcc 2.96=20 and gtkmm 2.0, that shows a simple window.I am trying to obtain key press=20 events on the window. I am using "on_key_press(GdkEvent *key)" method to get the values of = key pressed, what i found was that for keys like "Enter", "Space Bar" and all=20 arrow keys, no event key_press is generated. I wrote on_key_release_event(GdkEvent *key), the same keys "Enter",=20 "Space bar" and all arrow keys. It generates the release event only. i.e. no key=20 press event is generated, but the release event is fired. I also noticed that for system reserved keys in KDE, like ALT-F1 for = Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the = system executes them for its use before I can capture it. So my query is, 1. What is the code for capturing key press events ? 2. How to catch the system reserved keys before their execution by the system ? Below is Code snippet for you to try out what I have stated above, Any help would be great appreciated, Regards, Ramachandra #include #include #include #include #include class CWindow: public Gtk::Window { public: CWindow(); ~CWindow(); bool on_window1_key_press_event(GdkEventKey *Key); bool on_window1_key_release_event(GdkEventKey *Key); }; CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) { Gtk::Window *window1 =3D this; window1->set_title("window1"); window1->set_modal(false); window1->set_position(Gtk::WIN_POS_NONE); window1->show(); window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_= window1_key_press_event)); window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::o= n_window1_key_release_event)); } CWindow::~CWindow() { } bool CWindow::on_window1_key_press_event(GdkEventKey *Key) { printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); return true; } bool CWindow::on_window1_key_release_event(GdkEventKey *Key) { printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); return true; } int main(int argc, char **argv) { Gtk::Main m(argc, argv); CWindow *ptrWindow =3D new class CWindow(); m.run(*ptrWindow); delete ptrWindow; ptrWindow =3D 0; return 0; } ------=_NextPart_000_002C_01C3E650.6899FC00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,

I have developed a gtkmm application under Redhat Linux = 7.3, gcc=20 2.96
and gtkmm 2.0, that shows a simple window.I am trying to = obtain key=20 press
events on the window.

I am using = "on_key_press(GdkEvent=20 *key)" method to get the values of key
pressed, what i found was = that for=20 keys like "Enter", "Space Bar" and  all
arrow keys, no event = key_press=20 is generated.

I wrote on_key_release_event(GdkEvent *key), the = same keys=20 "Enter",
"Space bar" and  all arrow keys. It  = generates the=20 release event only. i.e. no key
press event is generated, but the = release=20 event is fired.

I also noticed that for system reserved = keys in=20 KDE, like ALT-F1 for Run command, CTRL-f2 is for desktop 2,=20 when I pressed these keys, the system executes them for its use = before I=20 can capture it.

So my query=20 is,
1. What is the code for capturing key = press events=20 ?
2. How to catch=20 the system reserved keys before their execution by the system = ?

Below is=20 Code snippet for you to try out what I have stated=20 above,
Any help would=20 be great appreciated,
Regards,
Ramachandra



#include <stdio.h>
#include=20 <gdkmm/gc.h>
#include <gdk/gdkkeysyms.h>
#include=20 <gtkmm/window.h>
#include <gtkmm/main.h>
class = CWindow: public=20 Gtk::Window
{

  = public:
CWindow();
~CWindow();

bool=20 on_window1_key_press_event(GdkEventKey *Key);
bool=20 on_window1_key_release_event(GdkEventKey = *Key);
};

CWindow::CWindow():=20 Gtk::Window(Gtk::WINDOW_TOPLEVEL)
{
Gtk::Window *window1 =3D=20 this;
   window1->set_title("window1");
   = window1->set_modal(false);
  =20 window1->set_position(Gtk::WIN_POS_NONE);
  =20 window1->show();

window1->signal_key_press_event().connect(= SigC::slot(*this,&CWindow::on_window1_key_press_event));

wind= ow1->signal_key_release_event().connect(SigC::slot(*this,&CWindow= ::on_window1_key_release_event));
}
CWindow::~CWindow()
{
}<= BR>bool=20 CWindow::on_window1_key_press_event(GdkEventKey = *Key)
{
printf("\n Key=20 Presssed is %s\n",gdk_keyval_name(Key->keyval));
return=20 true;
}

bool = CWindow::on_window1_key_release_event(GdkEventKey=20 *Key)
{
printf("\n Key Released is %s=20 \n",gdk_keyval_name(Key->keyval));
return = true;
}


int=20 main(int argc, char **argv)
{

    Gtk::Main = m(argc,=20 argv);
CWindow *ptrWindow =3D new class=20 CWindow();
m.run(*ptrWindow);
delete ptrWindow;
ptrWindow =3D=20 0;
return=20 0;
}









------=_NextPart_000_002C_01C3E650.6899FC00-- From alberto@paro.homeunix.org Thu Jan 29 02:25:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep05-svc.flexmail.it (fep05.tuttopmi.it [212.131.248.83]) by mail.gnome.org (Postfix) with ESMTP id 6470A18E54 for ; Thu, 29 Jan 2004 02:25:06 -0500 (EST) Received: from paro.homeunix.org ([82.88.53.142]) by fep05-svc.flexmail.it with ESMTP id <20040129072502.RRUT3949.fep05-svc.flexmail.it@paro.homeunix.org> for ; Thu, 29 Jan 2004 08:25:02 +0100 Message-ID: <4018B63F.70208@paro.homeunix.org> Date: Thu, 29 Jan 2004 08:29:03 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >Is anybody else having a problem building 2.3.2?: >http://bugzilla.gnome.org/show_bug.cgi?id=132362 > > No problem with gentoo linux (arch=~x86) Alberto Paro From B.Touron@citb.bull.net Thu Jan 29 03:07:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 40DDE18C50 for ; Thu, 29 Jan 2004 03:07:36 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0T87Z408565 for ; Thu, 29 Jan 2004 09:07:35 +0100 Message-ID: <4018BF62.2040307@citb.bull.net> Date: Thu, 29 Jan 2004 09:08:02 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::ScrolledWindow add/remove problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello again, I am writing an app using a pane window. In the left side, there is a tree and in the right part a Gtk::ScrolledWindow. When the tree selection changes, I need to change the widget contained in the ScrolledWindow. To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). It works a couple of times (usually 3), then it crashes (access violation), in the add mathod. I am using gtkmm 2.2 under win32, built with VS.NET 2003. Is it an issue ? I probably could do it a different way, but I would like to know if it is a GTK's bug, or a developper's bug. Thanks Ben From find_all@hotmail.com Thu Jan 29 04:18:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f40.sea2.hotmail.com [207.68.165.40]) by mail.gnome.org (Postfix) with ESMTP id 46E8A183B2 for ; Thu, 29 Jan 2004 04:18:31 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 29 Jan 2004 01:18:30 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Thu, 29 Jan 2004 09:18:30 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Thu, 29 Jan 2004 09:18:30 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 29 Jan 2004 09:18:30.0524 (UTC) FILETIME=[DC572BC0:01C3E648] Subject: [gtkmm] Draw lines into a Gdk::Pixbuf Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is there a way to draw lines,rectangles... directly to a Gdk::Pixbuf in the same way as the functions draw_line,draw_rectangle... of Gdk::Drawable? _________________________________________________________________ Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/ From Murray.Cumming@Comneon.com Thu Jan 29 04:26:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id CEE2118F70 for ; Thu, 29 Jan 2004 04:26:36 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9LxDb006804; Thu, 29 Jan 2004 10:22:02 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:26:42 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EDB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Cc: vijayd@enigma.gnome.org, sonawanen@enigma.gnome.org, pramods@enigma.gnome.org, manjitd@enigma.gnome.org, subramanianr@enigma.gnome.org, nishikantk@enigma.gnome.org, girishp@enigma.gnome.org, manojk@enigma.gnome.org Subject: RE: [gtkmm] Key press events not captured for some keys Date: Thu, 29 Jan 2004 10:26:14 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: You might try using connect_notify() instead of connect(), to handle the signal before anything else does. That's the gtkmm equivalent of connect_before for GTK+. Here is a similar problem: http://bugzilla.gnome.org/show_bug.cgi?id=125969 I don't think that you can ever handle the key event before the window manager does. Please send emails as text rather than HTML. Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Ramachandra Putti Sent: Donnerstag, 29. Januar 2004 05:43 To: gtkmm-list@gnome.org Cc: Vijay D; Nilesh S; Pramod S; Manjit D; Subramaniam R; Nishikant K; Girish P; Manoj K Subject: [gtkmm] Key press events not captured for some keys Hi all, I have developed a gtkmm application under Redhat Linux 7.3, gcc 2.96 and gtkmm 2.0, that shows a simple window.I am trying to obtain key press events on the window. I am using "on_key_press(GdkEvent *key)" method to get the values of key pressed, what i found was that for keys like "Enter", "Space Bar" and all arrow keys, no event key_press is generated. I wrote on_key_release_event(GdkEvent *key), the same keys "Enter", "Space bar" and all arrow keys. It generates the release event only. i.e. no key press event is generated, but the release event is fired. I also noticed that for system reserved keys in KDE, like ALT-F1 for Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the system executes them for its use before I can capture it. So my query is, 1. What is the code for capturing key press events ? 2. How to catch the system reserved keys before their execution by the system ? Below is Code snippet for you to try out what I have stated above, Any help would be great appreciated, Regards, Ramachandra #include #include #include #include #include class CWindow: public Gtk::Window { public: CWindow(); ~CWindow(); bool on_window1_key_press_event(GdkEventKey *Key); bool on_window1_key_release_event(GdkEventKey *Key); }; CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) { Gtk::Window *window1 = this; window1->set_title("window1"); window1->set_modal(false); window1->set_position(Gtk::WIN_POS_NONE); window1->show(); window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_wind ow1_key_press_event)); window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::on_wi ndow1_key_release_event)); } CWindow::~CWindow() { } bool CWindow::on_window1_key_press_event(GdkEventKey *Key) { printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); return true; } bool CWindow::on_window1_key_release_event(GdkEventKey *Key) { printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); return true; } int main(int argc, char **argv) { Gtk::Main m(argc, argv); CWindow *ptrWindow = new class CWindow(); m.run(*ptrWindow); delete ptrWindow; ptrWindow = 0; return 0; } From tor.arvid.lund@idi.ntnu.no Thu Jan 29 04:37:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ray.idi.ntnu.no (ray.idi.ntnu.no [129.241.107.68]) by mail.gnome.org (Postfix) with ESMTP id D194A18825 for ; Thu, 29 Jan 2004 04:37:22 -0500 (EST) Received: from idi.ntnu.no (stud355.idi.ntnu.no [129.241.103.55]) by ray.idi.ntnu.no (8.12.10/8.12.10) with ESMTP id i0T9bJDw013905 for ; Thu, 29 Jan 2004 10:37:19 +0100 (MET) Message-ID: <4018D44F.70703@idi.ntnu.no> Date: Thu, 29 Jan 2004 10:37:19 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::ScrolledWindow add/remove problem References: <4018BF62.2040307@citb.bull.net> In-Reply-To: <4018BF62.2040307@citb.bull.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=-2.1 required=4 X-Virus-Scanned: by amavisd-new-IDI Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Hello again, > > I am writing an app using a pane window. In the left side, there is a > tree and in the right part a Gtk::ScrolledWindow. > When the tree selection changes, I need to change the widget contained > in the ScrolledWindow. > To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). > It works a couple of times (usually 3), then it crashes (access > violation), in the add mathod. Well, I'm not an expert, but I have had the exact same problem, and worked around it... My guess is that when you create the ScrolledWindow with Gtk::manage(new ...), you make sort of a garbage collection thingy for it. Then when you do m_scroll.remove(), the garbage collection deletes it from memory. This means that when you switch once, and then switch back, the program crashes because you try to insert a deleted object. Whether I'm right or wrong here, I worked around it by simply removing the Gtk::manage() around the creation of the ScrolledWindow instances. -Tor Arvid- From bevis@anvil.com Thu Jan 29 04:47:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 9F886184F6 for ; Thu, 29 Jan 2004 04:47:18 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id E93E12D6; Thu, 29 Jan 2004 09:46:46 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 8F3972D1; Thu, 29 Jan 2004 09:46:45 +0000 (GMT) Message-ID: <4018D68A.1040707@anvil.co.uk> Date: Thu, 29 Jan 2004 09:46:50 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ramachandra Putti Cc: gtkmm-list@gnome.org, Manjit D Subject: Re: [gtkmm] Key press events not captured for some keys References: <002f01c3e622$4eec6e60$5f0210ac@enigma> In-Reply-To: <002f01c3e622$4eec6e60$5f0210ac@enigma> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've come across this bug. I got round it by using the release event, but I'll try that connect_notify() and see what happens. bevis > > > I am using "on_key_press(GdkEvent *key)" method to get the values of key > pressed, what i found was that for keys like "Enter", "Space Bar" and > all > arrow keys, no event key_press is generated. > > I wrote on_key_release_event(GdkEvent *key), the same keys "Enter", > "Space bar" and all arrow keys. It generates the release event only. > i.e. no key > press event is generated, but the release event is fired. > > I also noticed that for system reserved keys in KDE, like ALT-F1 for > Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the > system executes them for its use before I can capture it. > > So my query is, > 1. What is the code for capturing key press events ? > 2. How to catch the system reserved keys before their execution by the > system ? > > Below is Code snippet for you to try out what I have stated above, > Any help would be great appreciated, > Regards, > Ramachandra > > > > #include > #include > #include > #include > #include > class CWindow: public Gtk::Window > { > > public: > CWindow(); > ~CWindow(); > > bool on_window1_key_press_event(GdkEventKey *Key); > bool on_window1_key_release_event(GdkEventKey *Key); > }; > > CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) > { > Gtk::Window *window1 = this; > window1->set_title("window1"); > window1->set_modal(false); > window1->set_position(Gtk::WIN_POS_NONE); > window1->show(); > > window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_window1_key_press_event)); > > window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::on_window1_key_release_event)); > } > CWindow::~CWindow() > { > } > bool CWindow::on_window1_key_press_event(GdkEventKey *Key) > { > printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); > return true; > } > > bool CWindow::on_window1_key_release_event(GdkEventKey *Key) > { > printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); > return true; > } > > > int main(int argc, char **argv) > { > > Gtk::Main m(argc, argv); > CWindow *ptrWindow = new class CWindow(); > m.run(*ptrWindow); > delete ptrWindow; > ptrWindow = 0; > return 0; > } > > > > > > > > From Murray.Cumming@Comneon.com Thu Jan 29 04:49:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D70DD183C1 for ; Thu, 29 Jan 2004 04:49:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9iiDb015727; Thu, 29 Jan 2004 10:44:44 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:49:27 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EE4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Erik@mail.echohome.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Notebook tab scrolling Date: Thu, 29 Jan 2004 10:49:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Speaking of arrows to scroll through notebook pages, is there > a way to make the arrows larger than what they are by default? This might be a theme issue. > I'm building a touch screen application and those arrows are > too small for fingers. I'm sure that it is possible, because this is an issue for people with limited mobility also. You might try asking on gnome-accessibility-list@gnome.org list if you don't find an answer elsewhere. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 29 04:50:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 5F98818312 for ; Thu, 29 Jan 2004 04:50:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9kRDb016567; Thu, 29 Jan 2004 10:46:27 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:51:10 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EE5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: tor.arvid.lund@idi.ntnu.no, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::ScrolledWindow add/remove problem Date: Thu, 29 Jan 2004 10:50:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Whether I'm right or wrong here, I worked around it by simply > removing > the Gtk::manage() around the creation of the ScrolledWindow instances. That makes sense. When you use manage(), you should expect it to be deleted when removed. I suppose we could say that an explicit remove() should stop the memory from being managed, but that's another question and might make things more confusing. Murray Cumming www.murrayc.com murrayc@usa.net From B.Touron@citb.bull.net Thu Jan 29 05:19:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 6235A18B62 for ; Thu, 29 Jan 2004 05:19:01 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0TAJ0413635 for ; Thu, 29 Jan 2004 11:19:00 +0100 Message-ID: <4018DE2D.2030802@citb.bull.net> Date: Thu, 29 Jan 2004 11:19:25 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::ScrolledWindow add/remove problem References: <4018BF62.2040307@citb.bull.net> <4018D44F.70703@idi.ntnu.no> In-Reply-To: <4018D44F.70703@idi.ntnu.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks for your answer. I finaly used a Gtk::notebook, and it works well. By the way I noticed that there is a Gtk::Widget::reparent method, allowing to move a widget from a container to another, avoiding the deletion of the widget. Maybe this is the solution. Thanks Ben > Benoît Touron wrote: > > > Hello again, > > > > I am writing an app using a pane window. In the left side, there is a > > tree and in the right part a Gtk::ScrolledWindow. > > When the tree selection changes, I need to change the widget > contained > in the ScrolledWindow. > > To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). > > It works a couple of times (usually 3), then it crashes (access > > violation), in the add mathod. > > > Well, I'm not an expert, but I have had the exact same problem, and > worked around it... My guess is that when you create the ScrolledWindow > with Gtk::manage(new ...), you make sort of a garbage collection thingy > for it. Then when you do m_scroll.remove(), the garbage collection > deletes it from memory. This means that when you switch once, and then > switch back, the program crashes because you try to insert a deleted > object. > > Whether I'm right or wrong here, I worked around it by simply removing > the Gtk::manage() around the creation of the ScrolledWindow instances. > > -Tor Arvid- > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From pjmlp@progtools.org Thu Jan 29 09:03:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id D8BD819003 for ; Thu, 29 Jan 2004 09:03:06 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0TE34Eh024742 for ; Thu, 29 Jan 2004 15:03:04 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <40191297.8070101@progtools.org> Date: Thu, 29 Jan 2004 15:03:03 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Porting problems Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Now I have a working version of gtkmm/gnomemm. :) And I am in the process of porting an application from 1.x to 2.x. The problem is that is been a while since I have done anything in gtkmm so I am a bit lost trying to figure out about the several changes. For example, does anyone know what happened to the following methods? Gnome::Dialog::close_hides() Gnome::Dialog::editable_enters() I wasn't able to find anything similar in Gtk::Dialog. Cheers, Paulo Pinto From Murray.Cumming@Comneon.com Thu Jan 29 11:33:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 118081841C for ; Thu, 29 Jan 2004 11:33:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0TGTMDb024582; Thu, 29 Jan 2004 17:29:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 17:34:06 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pjmlp@progtools.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Porting problems Date: Thu, 29 Jan 2004 17:33:39 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Gnome::Dialog::close_hides() That prevented auto-destruction of the Dialog's instance. That was silly, so you don't need to call this anymore. Also be careful that you are not catching any destroy signals or catching delete_event signals unnecessarily. Look at gtkmm 2 examples if in doubt - it's all simpler now. > Gnome::Dialog::editable_enters() This said that pressing enter would press a button instead of just putting the cursor into any editable widgeet. Maybe they fixed it so that you don't need this little hack. Murray Cumming www.murrayc.com murrayc@usa.net From pjmlp@progtools.org Thu Jan 29 11:44:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id EE42318121 for ; Thu, 29 Jan 2004 11:44:55 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0TGirEh016351; Thu, 29 Jan 2004 17:44:54 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <40193885.3010505@progtools.org> Date: Thu, 29 Jan 2004 17:44:53 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Porting problems References: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks Murray.Cumming@Comneon.com wrote: >>Gnome::Dialog::close_hides() >> >> > >That prevented auto-destruction of the Dialog's instance. That was silly, so >you don't need to call this anymore. Also be careful that you are not >catching any destroy signals or catching delete_event signals unnecessarily. >Look at gtkmm 2 examples if in doubt - it's all simpler now. > > > >>Gnome::Dialog::editable_enters() >> >> > >This said that pressing enter would press a button instead of just putting >the cursor into any editable widgeet. Maybe they fixed it so that you don't >need this little hack. > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > > From ian.michell@hanzi.co.uk Thu Jan 29 16:30:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id 854AE18585 for ; Thu, 29 Jan 2004 16:30:26 -0500 (EST) Received: (qmail 18835 invoked from network); 29 Jan 2004 21:30:24 -0000 Received: from unknown (HELO host217-137-30-32.no-dns-yet.ntli.net) (217.137.30.32) by memmoch.webdevworld.com with SMTP; 29 Jan 2004 21:30:24 -0000 From: Ian Michell To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1075411863.5716.3.camel@linux.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 29 Jan 2004 21:31:03 +0000 Content-Transfer-Encoding: 7bit Subject: [gtkmm] GTKMM classes handling local variables Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, Maybe someone can help me with this, I have only been developing with GTKMM for a little while so I am a little bit of a newbie. Right here is a piece of example code: class MyClass : public Gtk::Window { public: MyClass(); virtual ~MyClass(); private: VBox m_box; }; MyClass::MyClass() { Label _label("Hello World"); m_box.pack_start(_label, PACK_SHRINK); show_all_children); } MyClass::~MyClass() { } Right what I cannot understand is why this program will compile but my label will not be displayed? For some reason it will only work if I declare my Label in the class definition... I don't see why it is not working... :( Ian From matthew@alledora.co.uk Thu Jan 29 17:48:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mail.gnome.org (Postfix) with ESMTP id B2B891885E for ; Thu, 29 Jan 2004 17:48:08 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040129224807.CWFL17928.mta07-svc.ntlworld.com@alledora.co.uk> for ; Thu, 29 Jan 2004 22:48:07 +0000 Message-ID: <40198DF3.5060104@alledora.co.uk> Date: Thu, 29 Jan 2004 22:49:23 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::FileChooser API Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is it my imagination, or does Gtk::FileChooser::get_uris() return an SList* instead of a Glib::SArrayHandle (or whatever it is that get_filenames() gives back, or something similar)? Looks like something not completely wrapped. That's according to the 2.4 docs currently online. Should I have put this in Bugzilla instead of mentioning it here? btw, got Towel running with gtkmm 2.4 (today's CVS), FileChooser::get_filenames() is only giving me one file at a time at the moment, but at this stage that could easily be a GTK+ bug. I shall investigate further soon. From paul@linuxaudiosystems.com Thu Jan 29 18:03:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out002.verizon.net (out002pub.verizon.net [206.46.170.141]) by mail.gnome.org (Postfix) with ESMTP id 72F171901F for ; Thu, 29 Jan 2004 18:03:53 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([151.197.127.182]) by out002.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040129230350.ECVN23576.out002.verizon.net@dhin.linuxaudiosystems.com>; Thu, 29 Jan 2004 17:03:50 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0TN3nNq020299; Thu, 29 Jan 2004 18:03:49 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i0TN3nYw020295; Thu, 29 Jan 2004 18:03:49 -0500 Message-Id: <200401292303.i0TN3nYw020295@dhin.linuxaudiosystems.com> To: Ian Michell Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables In-reply-to: Your message of "Thu, 29 Jan 2004 21:31:03 GMT." <1075411863.5716.3.camel@linux.local> Date: Thu, 29 Jan 2004 18:03:48 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.197.127.182] at Thu, 29 Jan 2004 17:03:50 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >MyClass::MyClass() >{ ----> create a Label > Label _label("Hello World"); > m_box.pack_start(_label, PACK_SHRINK); > show_all_children); ------> delete Label as it goes out of scope clear? From B.Touron@citb.bull.net Fri Jan 30 02:34:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 2274918F69 for ; Fri, 30 Jan 2004 02:34:51 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0U7Yo417073 for ; Fri, 30 Jan 2004 08:34:50 +0100 Message-ID: <401A092A.4090908@citb.bull.net> Date: Fri, 30 Jan 2004 08:35:06 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <1075411863.5716.3.camel@linux.local> In-Reply-To: <1075411863.5716.3.camel@linux.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ian, Your _label gets destroyed when you leave the constructor (MyClass::MyClass), because it's local. That's probably why it is not desplayed. You could either declare it in the class, or allocate it with new and use Gtk::Manage on the pointer: This code should work: MyClass::MyClass() { Label *_label = Gtk::Manage( new Label("Hello World")); m_box.pack_start(*_label, PACK_SHRINK); show_all_children(); } Ben > Hi all, > > Maybe someone can help me with this, I have only been developing with > GTKMM for a little while so I am a little bit of a newbie. > > Right here is a piece of example code: > > class MyClass : public Gtk::Window > { > public: > MyClass(); > virtual ~MyClass(); > private: > VBox m_box; > }; > > MyClass::MyClass() > { > Label _label("Hello World"); > m_box.pack_start(_label, PACK_SHRINK); > show_all_children); > } > > MyClass::~MyClass() > { > } > > Right what I cannot understand is why this program will compile but my > label will not be displayed? For some reason it will only work if I > declare my Label in the class definition... I don't see why it is not > working... :( > > Ian > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Fri Jan 30 03:09:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 108F618FBC for ; Fri, 30 Jan 2004 03:09:09 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0U84mDb022009; Fri, 30 Jan 2004 09:04:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 30 Jan 2004 09:09:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F6F@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: matthew@alledora.co.uk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::FileChooser API Date: Fri, 30 Jan 2004 09:09:04 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Is it my imagination, or does Gtk::FileChooser::get_uris() return an > SList* instead of a Glib::SArrayHandle (or whatever it is that > get_filenames() gives back, or something similar)? Looks like > something > not completely wrapped. That's according to the 2.4 docs > currently online. > > Should I have put this in Bugzilla instead of mentioning it here? Hopefully there is a TODO in the .hg file, but it never hurts to mention something in bugzilla. Even better, submit a patch. > btw, got Towel running with gtkmm 2.4 (today's CVS), > FileChooser::get_filenames() is only giving me one file at a > time at the > moment, but at this stage that could easily be a GTK+ bug. I shall > investigate further soon. That would be great. Thanks. Murray Cumming www.murrayc.com murrayc@usa.net From ian.michell@hanzi.co.uk Fri Jan 30 04:04:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id 0C728182B3 for ; Fri, 30 Jan 2004 04:04:29 -0500 (EST) Received: (qmail 1583 invoked from network); 30 Jan 2004 09:04:22 -0000 Received: from unknown (HELO hanzi.co.uk) (195.147.94.186) by memmoch.webdevworld.com with SMTP; 30 Jan 2004 09:04:22 -0000 Message-ID: <401A1E13.9090408@hanzi.co.uk> Date: Fri, 30 Jan 2004 09:04:19 +0000 From: Ian Michell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <1075411863.5716.3.camel@linux.local> <401A092A.4090908@citb.bull.net> In-Reply-To: <401A092A.4090908@citb.bull.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Ian, > > Your _label gets destroyed when you leave the constructor > (MyClass::MyClass), because it's local. > That's probably why it is not desplayed. > > You could either declare it in the class, or allocate it with new and > use Gtk::Manage on the pointer: > > This code should work: > > MyClass::MyClass() > { > Label *_label = Gtk::Manage( new Label("Hello World")); > m_box.pack_start(*_label, PACK_SHRINK); > show_all_children(); > } > > > Ben > >> Hi all, >> Maybe someone can help me with this, I have only been developing with >> GTKMM for a little while so I am a little bit of a newbie. >> >> Right here is a piece of example code: >> >> class MyClass : public Gtk::Window >> { >> public: >> MyClass(); >> virtual ~MyClass(); >> private: >> VBox m_box; >> }; >> >> MyClass::MyClass() >> { >> Label _label("Hello World"); >> m_box.pack_start(_label, PACK_SHRINK); >> show_all_children); >> } >> >> MyClass::~MyClass() >> { >> } >> >> Right what I cannot understand is why this program will compile but my >> label will not be displayed? For some reason it will only work if I >> declare my Label in the class definition... I don't see why it is not >> working... :( >> >> Ian >> >> _______________________________________________ >> gtkmm-list mailing list >> gtkmm-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/gtkmm-list >> > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > Thanks for the advice, I think I will give GTK::Manage a try, I think it will take a little getting used to, usually 90% of my c++ code is based around pointers, even my old GTK stuff (I used to wrap GTK into C++ before I discovered GTKMM). I would have thought the GTKMM team would have catered for the use of local varibles in some way, hence my obvious mistake of just trying to use them, I do however love the way GTKMM does a lot of things better than QT, oh well, right thanks again for the advice, I should now be able to continue my projects (Gnome Easy CD -- website and source tree coming soonish, Groupmage - native linux client for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- GnomeEasyInstall and GnomeAutoCD) hmm :-D From Murray.Cumming@Comneon.com Fri Jan 30 05:06:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 1205818D1A for ; Fri, 30 Jan 2004 05:06:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0UA2BDb009404; Fri, 30 Jan 2004 11:02:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 30 Jan 2004 11:06:56 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ian.michell@hanzi.co.uk, B.Touron@citb.bull.net Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] GTKMM classes handling local variables Date: Fri, 30 Jan 2004 11:06:30 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Thanks > for the advice, I think I will give > GTK::Manage a try, I think it > will take a little getting used to, usually 90% of my c++ > code is based > around pointers, even my old GTK stuff (I used to wrap GTK into C++ > before I discovered GTKMM). I would have thought the GTKMM team would > have catered for the use of local varibles in some way, This is basic C++ - you might read about "scope" in a C++ book. You might be used to using pointers instead, but you can use pointers here as well, as people have pointed out. As with Qt, when you use pointers you need to use new() or some create() function to get the pointer value. And you need to either a) use delete some time later, or b) use some memory-management system such as manage() or Qt's implicit manage(). So there is nothing unusual or wrong about this. I think you are mis-remembering your previous experience. Maybe you think that the gtkmm method should copy your local Label instance, by value, just as it would copy a std::string local instance. But Gtk::Widgets can not be copied, and it probably would not make sense to do so. See the archive for more theory about that, but you would probably not find that interesting. You might find this useful: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch18.html > hence > my obvious > mistake of just trying to use them, I do however love the way > GTKMM does > a lot of things better than QT, oh well, right thanks again for the > advice, I should now be able to continue my projects (Gnome > Easy CD -- > website and source tree coming soonish, Groupmage - native > linux client > for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- > GnomeEasyInstall and GnomeAutoCD) hmm :-D Murray Cumming www.murrayc.com murrayc@usa.net From ian.michell@hanzi.co.uk Fri Jan 30 05:23:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id BBF4818D1A for ; Fri, 30 Jan 2004 05:23:19 -0500 (EST) Received: (qmail 11738 invoked from network); 30 Jan 2004 10:23:13 -0000 Received: from unknown (HELO hanzi.co.uk) (195.147.94.186) by memmoch.webdevworld.com with SMTP; 30 Jan 2004 10:23:13 -0000 Message-ID: <401A3090.2050304@hanzi.co.uk> Date: Fri, 30 Jan 2004 10:23:12 +0000 From: Ian Michell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: B.Touron@citb.bull.net, gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >>Thanks >>for the advice, I think I will give >>GTK::Manage a try, I think it >>will take a little getting used to, usually 90% of my c++ >>code is based >>around pointers, even my old GTK stuff (I used to wrap GTK into C++ >>before I discovered GTKMM). I would have thought the GTKMM team would >>have catered for the use of local varibles in some way, >> >> > >This is basic C++ - you might read about "scope" in a C++ book. > >You might be used to using pointers instead, but you can use pointers here >as well, as people have pointed out. As with Qt, when you use pointers you >need to use new() or some create() function to get the pointer value. And >you need to either a) use delete some time later, or b) use some >memory-management system such as manage() or Qt's implicit manage(). So >there is nothing unusual or wrong about this. I think you are >mis-remembering your previous experience. > >Maybe you think that the gtkmm method should copy your local Label instance, >by value, just as it would copy a std::string local instance. But >Gtk::Widgets can not be copied, and it probably would not make sense to do >so. See the archive for more theory about that, but you would probably not >find that interesting. > >You might find this useful: >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch18.html > > > >>hence >>my obvious >>mistake of just trying to use them, I do however love the way >>GTKMM does >>a lot of things better than QT, oh well, right thanks again for the >>advice, I should now be able to continue my projects (Gnome >>Easy CD -- >>website and source tree coming soonish, Groupmage - native >>linux client >>for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- >>GnomeEasyInstall and GnomeAutoCD) hmm :-D >> >> > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > > > True, that it is basic c++, how silly of me, I think being forced to write software with .Net and C# has clouded my brain lol, this is the first C++ code I have written in about 4 or 5 months so it will be a couple more days until I am back in the loop again ;) ---- The only problem with being a proffesional developer (completely self taught!) is that I need to program in more languages than anyone else to stay at the top of my game and beat the boys with degrees in Computer Science, Math and Software Eng. From abt@gmx.de Fri Jan 30 05:51:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id CE847187E2 for ; Fri, 30 Jan 2004 05:51:01 -0500 (EST) Received: (qmail 25487 invoked by uid 65534); 30 Jan 2004 10:50:54 -0000 Received: from pD902B4C0.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.192) by mail.gmx.net (mp002) with SMTP; 30 Jan 2004 11:50:54 +0100 X-Authenticated: #109577 Message-ID: <401A36F3.5030702@gmx.de> Date: Fri, 30 Jan 2004 11:50:27 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] any hints how to realise this window? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I´d like to have a window like this. Is it right that I have to realise it with two list views? +------------------------------------------------------+ | | | available this C. | | +------------+ +------------+ | | | Group1 | | Group2 | | | | Group2 | add ------> | | | | | Group3 | | | | | | Group4 | <------ remove | | | | | Group5 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +------------+ +------------+ | | | | +-------+ | | | Apply | | | +-------+ | +------------------------------------------------------+ TIA, Andi From opl@opltech.net Fri Jan 30 16:44:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mwinf0302.wanadoo.fr (smtp3.wanadoo.fr [193.252.22.28]) by mail.gnome.org (Postfix) with ESMTP id 59C9018E82 for ; Fri, 30 Jan 2004 16:44:29 -0500 (EST) Received: from alakazam (Mix-Toulouse-112-3-18.w80-9.abo.wanadoo.fr [80.9.159.18]) by mwinf0302.wanadoo.fr (SMTP Server) with ESMTP id 4865FC000277 for ; Fri, 30 Jan 2004 22:44:27 +0100 (CET) Date: Fri, 30 Jan 2004 22:43:19 CET From: Francis Bacque To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: OplMail v0.75 Linux 2.4.20-gentoo-r5 Message-Id: <20040130214427.4865FC000277@mwinf0302.wanadoo.fr> Subject: [gtkmm] Invalid UTF8 string passed to pango_layout_set_text() Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, when I try to display text (with accent) in a treeview, I can't display these characters and got repeated messages in the console: WARNING **: Invalid UTF8 string passed to pango_layout_set_text() I had tried to convert them with: Glib::locale_to_utf8 ( const std::string& opsys_string ) But it didn't succeeded :-( What' s wrong? Thanks Francis From olau@hardworking.dk Fri Jan 30 18:58:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp040.tiscali.dk (smtp040.tiscali.dk [212.54.64.106]) by mail.gnome.org (Postfix) with ESMTP id 9F48D1844A for ; Fri, 30 Jan 2004 18:58:01 -0500 (EST) Received: from bach.composers (87.ppp1-1.abc.worldonline.dk [213.237.21.87]) by smtp040.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0UNvLRD017986 for ; Sat, 31 Jan 2004 00:57:22 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1Amfbm-0000GC-W8 for gtkmm-list@gnome.org; Fri, 30 Jan 2004 21:51:23 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Draw lines into a Gdk::Pixbuf References: From: Ole Laursen Date: Fri, 30 Jan 2004 21:51:22 +0100 In-Reply-To: (Find All's message of "Thu, 29 Jan 2004 09:18:30 +0000") Message-ID: <878yjpi2id.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Find All" writes: > Is there a way to draw lines,rectangles... directly to a Gdk::Pixbuf > in the same way as the functions draw_line,draw_rectangle... of > Gdk::Drawable? No, not as far as I know. But it's quite easy to do yourself if you make a proper frontend for the pixbuf interface. I've got one suggestion here: http://www.cs.auc.dk/~olau/misc/pixbuf-drawing.hpp I wrote a message about it on this list about a year ago or so with usage instructions: http://mail.gnome.org/archives/gtkmm-list/2003-January/msg00198.html Perhaps I should think about making a patch. -- Ole Laursen http://www.cs.auc.dk/~olau/ From n_gouda123@yahoo.com Sat Jan 31 09:25:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60504.mail.yahoo.com (web60504.mail.yahoo.com [216.109.116.125]) by mail.gnome.org (Postfix) with SMTP id 2788918800 for ; Sat, 31 Jan 2004 09:25:08 -0500 (EST) Message-ID: <20040131142503.87149.qmail@web60504.mail.yahoo.com> Received: from [164.164.89.226] by web60504.mail.yahoo.com via HTTP; Sat, 31 Jan 2004 06:25:03 PST Date: Sat, 31 Jan 2004 06:25:03 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] I want to Show multiple trees in mu GUI.... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I want to display multiple trees using my GUI. I tried with adding two trees to the paned objects. But Now i want to display more than 2 trees, Please can u tell me how to do it... Rgds, Naganagouda Meti. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From dss@home.se Sat Jan 31 10:39:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gepetto.dc.luth.se (gepetto.dc.luth.se [130.240.42.40]) by mail.gnome.org (Postfix) with ESMTP id 3349818493 for ; Sat, 31 Jan 2004 10:39:54 -0500 (EST) Received: from sumpan (sumpan.campus.luth.se [130.240.194.33]) by gepetto.dc.luth.se (8.12.5/8.12.5) with SMTP id i0VFdqgC022982; Sat, 31 Jan 2004 16:39:52 +0100 (MET) Date: Sat, 31 Jan 2004 16:39:52 +0100 From: Daniel Sundberg To: Nagan gouda Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I want to Show multiple trees in mu GUI.... Message-Id: <20040131163952.2a79e3ec.dss@home.se> In-Reply-To: <20040131142503.87149.qmail@web60504.mail.yahoo.com> References: <20040131142503.87149.qmail@web60504.mail.yahoo.com> X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sat, 31 Jan 2004 06:25:03 -0800 (PST) Nagan gouda wrote: > Hi, > I want to display multiple trees using my GUI. I > tried with adding two trees to the paned objects. But > Now i want to display more than 2 trees, Please can u > tell me how to do it... > You could put another paned object in one of the two windows of a paned... Daniel Sundberg -- http://sumpan.com sumpan@sumpan.com > > Rgds, > Naganagouda Meti. > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Stefan.Andressen@t-online.de Wed Dec 31 19:40:06 2003 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mail.gnome.org (Postfix) with ESMTP id F3C761833A for ; Wed, 31 Dec 2003 19:40:05 -0500 (EST) Received: from fwd01.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1Abqsf-0000ly-00; Thu, 01 Jan 2004 01:40:05 +0100 Received: from stefanxp1800 (XLy6AOZJ8eG7snzghJniZ9ZlvbMwlhv7VG62F9IhovZMExPi5WVLoI@[193.158.182.83]) by fwd01.sul.t-online.com with smtp id 1AbqsV-1Nb9ua0; Thu, 1 Jan 2004 01:39:55 +0100 Message-ID: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 1 Jan 2004 01:39:52 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C3D008.26B22230" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: XLy6AOZJ8eG7snzghJniZ9ZlvbMwlhv7VG62F9IhovZMExPi5WVLoI Subject: [gtkmm] Which dlls to distribute Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0016_01C3D008.26B22230 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I am new to gtkmm and i have no idea which dlls (windows here) i have to = ship with my application. Only the gtkmm dlls? Or the gtk+ dlls, too? Thanks in advance! CU, Stefan ------=_NextPart_000_0016_01C3D008.26B22230 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I am new to gtkmm and i have no idea = which dlls=20 (windows here) i have to ship with my application.
Only the gtkmm dlls? Or the gtk+ dlls,=20 too?
 
Thanks in advance!
 
CU,
Stefan
------=_NextPart_000_0016_01C3D008.26B22230-- From Stefan.Andressen@t-online.de Thu Jan 1 11:08:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mail.gnome.org (Postfix) with ESMTP id 6B97118129 for ; Thu, 1 Jan 2004 11:08:10 -0500 (EST) Received: from fwd10.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1Ac5Mk-0005KU-00; Thu, 01 Jan 2004 17:08:06 +0100 Received: from stefanxp1800 (ZGyfqeZZgefX46ZDDxG4xvNpdVE3l3rqkNt3RLN44M1GKnwCMuFD8D@[62.224.223.126]) by fwd10.sul.t-online.com with smtp id 1Ac5MJ-1fs5PU0; Thu, 1 Jan 2004 17:07:39 +0100 Message-ID: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 1 Jan 2004 17:07:36 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C3D089.C0E2ECA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: ZGyfqeZZgefX46ZDDxG4xvNpdVE3l3rqkNt3RLN44M1GKnwCMuFD8D Subject: [gtkmm] radiobutton under winxp Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C3D089.C0E2ECA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I compiled the radiobutton example from the gtkmm-book, and when a = radiobutton is selected, it simply doesn't fill the circle (for winxp = with a green dot). Is there a workaround? I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. Thanks! Happy new year, Stefan ------=_NextPart_000_0005_01C3D089.C0E2ECA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I compiled the radiobutton example from = the=20 gtkmm-book, and when a radiobutton is selected, it simply doesn't fill = the=20 circle (for winxp with a green dot).
Is there a workaround?
I am using gtkmm 2.2.8.1 with g++ 3.2 = and=20 Dev-Cpp.
 
Thanks!
Happy new year,
Stefan
------=_NextPart_000_0005_01C3D089.C0E2ECA0-- From abt@gmx.de Thu Jan 1 11:34:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id E1C201815F for ; Thu, 1 Jan 2004 11:34:38 -0500 (EST) Received: (qmail 22091 invoked by uid 65534); 1 Jan 2004 16:34:37 -0000 Received: from dialin-145-254-065-221.arcor-ip.net (EHLO gmx.de) (145.254.65.221) by mail.gmx.net (mp005) with SMTP; 01 Jan 2004 17:34:37 +0100 X-Authenticated: #109577 Message-ID: <3FF44C18.7060404@gmx.de> Date: Thu, 01 Jan 2004 17:34:32 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi and a happy new year to everyone! I´d like to have a window like the detailed list view in KDE Konquerer (is it QT?) and I wonder if there is any way to create a lookalike with GTKmm. You can see the screenshots here: http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite Click on the image to view the window I´d like to create.... With "Next" you can view my GTKmm try... TIA, Andi From abt@gmx.de Thu Jan 1 11:39:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id F1E981815F for ; Thu, 1 Jan 2004 11:38:59 -0500 (EST) Received: (qmail 22194 invoked by uid 65534); 1 Jan 2004 16:38:55 -0000 Received: from dialin-145-254-065-221.arcor-ip.net (EHLO gmx.de) (145.254.65.221) by mail.gmx.net (mp026) with SMTP; 01 Jan 2004 17:38:55 +0100 X-Authenticated: #109577 Message-ID: <3FF44D1B.4070705@gmx.de> Date: Thu, 01 Jan 2004 17:38:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org References: <3FF44C18.7060404@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) -> login Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > You can see the screenshots here: > http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite login: abthun rosebud From matthew@alledora.co.uk Thu Jan 1 16:02:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by mail.gnome.org (Postfix) with ESMTP id 26FF01817B for ; Thu, 1 Jan 2004 16:02:43 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040101210227.UNVT29762.mta02-svc.ntlworld.com@alledora.co.uk>; Thu, 1 Jan 2004 21:02:27 +0000 Message-ID: <3FF48B1E.9080300@alledora.co.uk> Date: Thu, 01 Jan 2004 21:03:26 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> In-Reply-To: <3FF44C18.7060404@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas B. Thun wrote: | Hi and a happy new year to everyone! | | I´d like to have a window like the detailed | list view in KDE Konquerer (is it QT?) | and I wonder if there is any way to create | a lookalike with GTKmm. | | You can see the screenshots here: | http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite | | Click on the image to view the window I´d like to create.... | With "Next" you can view my GTKmm try... It's entirely possible. The TreeView widget is the one you'll be wanting to look at to start with. Most of the columns could be CellRendererText columns for pure text rendering, but the first one would need both a CellRendererPixbuf and a CellRendererText in it to get the icons. You may find that the stock TreeView code doesn't do everything you'd need to entirely replicate Konqueror's functionality - Nautilus, I believe, uses some kind of TreeView-based widget with lots of extra bits to enable it to do everything it does, but TreeView will provide you with the basics at least. I know it doesn't sound like the right widget, but believe me, it is. Read the Programming with Gtkmm chapters on it to get yourself started, and look at the examples in the Gtkmm source distribution for more info. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/9Isb0UvYjCBpIlARAiUCAJwIcNyUOtzyH9mwwivzdVd38d8uTQCfek9w Tulu3UPoJ2C93dPprA7waiY= =mPKM -----END PGP SIGNATURE----- From christof@petig-baender.de Fri Jan 2 04:18:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 1EE54182F1 for ; Fri, 2 Jan 2004 04:18:07 -0500 (EST) Received: (qmail 25205 invoked by uid 4225); 2 Jan 2004 09:18:05 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 02 Jan 2004 09:18:05 -0000 Received: from [192.168.235.2] (helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AcLRT-0002Ld-00; Fri, 02 Jan 2004 10:18:04 +0100 Message-ID: <3FF48ADE.4090606@petig-baender.de> Date: Thu, 01 Jan 2004 22:02:22 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Roger Leigh Cc: "Andreas B. Thun" , gtkmm-list@gnome.org Subject: Re: [gtkmm] =?ISO-8859-1?Q?beginner=B4s_question?= References: <3FEDAACF.1000304@gmx.de> <87ekupj3qm.fsf@wrynose.whinlatter.uklinux.net> <3FEEBB79.5060102@gmx.de> <877k0fi830.fsf@wrynose.whinlatter.uklinux.net> <3FF13CD4.5000400@gmx.de> <87pte6br92.fsf@wrynose.whinlatter.uklinux.net> In-Reply-To: <87pte6br92.fsf@wrynose.whinlatter.uklinux.net> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Roger Leigh schrieb: >>To glade: I checked it but it generates C code! It uses glademm to generate C++ code (once you activate C++) > Using the C/C++ code generation is deprecated, that is simply a matter of taste (and your requirements). I don't consider generating a _single_standalone_ binary deprecated - no matter how many gnome developers think differently. And C++ is a totally different beast, the generated C++ code is much more maintainable than the C code. I dare to say that glade's code is a nightmare compared to glademm's. Christof (glademm maintainer) From abt@gmx.de Fri Jan 2 06:31:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A4772180D7 for ; Fri, 2 Jan 2004 06:31:54 -0500 (EST) Received: (qmail 11146 invoked by uid 65534); 2 Jan 2004 11:31:50 -0000 Received: from port-213-61-210-114.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.114) by mail.gmx.net (mp003) with SMTP; 02 Jan 2004 12:31:50 +0100 X-Authenticated: #109577 Message-ID: <3FF556A1.2080501@gmx.de> Date: Fri, 02 Jan 2004 12:31:45 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Matthew Walton , gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: THX, I´ve checked the TreeView example in "Programming with GTKmm2" and found that I have to provide a ModelColumns class member for every column data (see below my col_1/2). class ModelColumns : public Gtk::TreeModelColumnRecord { public: Gtk::TreeModelColumn col_1; Gtk::TreeModelColumn col_2; ModelColumns() { add (col_1); add (col_2); } }; The problem I am facing now is that my column data is dynamic. (It does not change while the program is running, though). I get the data I want to display from a file so I get the information about how many columns I have to display only at runtime. I am not a C++ expert, maybe soemone can explain how to build the class ModelColumns dynamically? Matthew Walton schrieb: > It's entirely possible. The TreeView widget is the one you'll be wanting > to look at to start with. Most of the columns could be CellRendererText > columns for pure text rendering, but the first one would need both a > CellRendererPixbuf and a CellRendererText in it to get the icons. From olau@hardworking.dk Fri Jan 2 07:25:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 0EF9118132 for ; Fri, 2 Jan 2004 07:25:04 -0500 (EST) Received: from bach.composers (26.ppp1-1.abc.worldonline.dk [213.237.21.26]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i02CPE7x014686 for ; Fri, 2 Jan 2004 13:25:15 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AcOMU-00038i-OX for gtkmm-list@gnome.org; Fri, 02 Jan 2004 13:25:06 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> <3FF556A1.2080501@gmx.de> From: Ole Laursen Date: Fri, 02 Jan 2004 13:25:06 +0100 In-Reply-To: <3FF556A1.2080501@gmx.de> (Andreas B. Thun's message of "Fri, 02 Jan 2004 12:31:45 +0100") Message-ID: <87wu8a4jx9.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > class ModelColumns : public Gtk::TreeModelColumnRecord > { > public: > Gtk::TreeModelColumn col_1; > Gtk::TreeModelColumn col_2; > > ModelColumns() > { > add (col_1); > add (col_2); > } > }; > > The problem I am facing now is that my column data is dynamic. > (It does not change while the program is running, though). I've never tried this, but can't you just use an array? For example: public: std::vector > cols; ModelColumns(int no) { for (int i = 0; i < no; ++i) { cols.push_back(Gtk::TreeModelColumn()); add(cols.back()); } } I'm not sure whether it works, though. The interface for the treeview classes is very confusing. -- Ole Laursen http://www.cs.auc.dk/~olau/ From kickvb@touva.be Fri Jan 2 10:27:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moses.all2all.org (sys2.all2all.org [62.58.108.3]) by mail.gnome.org (Postfix) with ESMTP id 6B2C8180F4 for ; Fri, 2 Jan 2004 10:27:17 -0500 (EST) Received: from buddha.all2all.org ([62.58.108.9] helo=all2all.org) by moses.all2all.org with smtp (ALL2ALL.ORG The Independent Network) id 1AcRCj-0007Ue-00; Fri, 02 Jan 2004 16:27:13 +0100 Date: Fri, 2 Jan 2004 15:27:13 -0000 To: "Stefan Andreßen" , Subject: Re: [gtkmm] Which dlls to distribute From: X-Mailer: TWIG 2.7.7 Message-ID: In-Reply-To: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> X-Client-IP: 212.239.221.31 Reply-To: kickvb@touva.be Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am new to gtkmm and i have no idea which dlls (windows here) i have to ship with my application. > Only the gtkmm dlls? Or the gtk+ dlls, too? GTKmm doesn't reimplement what is done in GTK+ but gives you a C++ interface to the GTK+ libraries. So you need to ship the gtk+ dlls too. You can find at http://cvs.sourceforge.net/viewcvs.py/heavymole/heavymole/heavymole-libraries.iss?rev=1.17&view=auto an installer (written with the Inno Setup script) which installs a gtkmm application and all needed dlls. You can install and look at the files of the package http://prdownloads.sourceforge.net/heavymole/HeavyMole-0.7.0-Libraries-Installer.exe to see what are the files that are installed. Note that it is not the best way to install the libraries, as the GTK+ and GTKmm dlls are installed in the directory of your application and are therefore not usable by other applications. I'd like to write a script that checks if GTK+/GTKmm are already on your system and installs them exactly like it was made with the Runtime Environment packages from http://www.dropline.net/gtk/download.php and http://www.pcpm.ucl.ac.be/~gustin/win32_ports/. I think I'll need the scripts used to write these packages. Cedric Gustin could you send me (or put on your web site) the script used to do your package? Regards, Christian Van Brussel From abt@gmx.de Fri Jan 2 13:46:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3880018206 for ; Fri, 2 Jan 2004 13:46:52 -0500 (EST) Received: (qmail 14847 invoked by uid 65534); 2 Jan 2004 18:46:50 -0000 Received: from port-213-61-210-245.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.245) by mail.gmx.net (mp009) with SMTP; 02 Jan 2004 19:46:50 +0100 X-Authenticated: #109577 Message-ID: <3FF5BC97.1000905@gmx.de> Date: Fri, 02 Jan 2004 19:46:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Two beginners questions to signal handling Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, it´s me again :-) The callback function of form B should trigger the values displayed in form A to update. form A: build by constructor of class A form B: build by constructor of class B 1. Is there a way to connect the signal handler B::something_in_B_selected() to A::update_values_in_A()? class A : public Gtk::VBox class B : public Gtk::VBox 2. If I want to update the values in a already displayed form A is it ok to just re-set the values and invoke show_all()? TIA, Andi From abt@gmx.de Fri Jan 2 13:51:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id E148C1845C for ; Fri, 2 Jan 2004 13:51:17 -0500 (EST) Received: (qmail 16755 invoked by uid 65534); 2 Jan 2004 18:51:16 -0000 Received: from port-213-61-210-245.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.245) by mail.gmx.net (mp027) with SMTP; 02 Jan 2004 19:51:16 +0100 X-Authenticated: #109577 Message-ID: <3FF5BDA1.8090802@gmx.de> Date: Fri, 02 Jan 2004 19:51:13 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Matthew Walton Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > It's entirely possible. The TreeView widget is the one you'll be wanting > to look at to start with. Most of the columns could be CellRendererText > columns for pure text rendering, but the first one would need both a > CellRendererPixbuf and a CellRendererText in it to get the icons. Ok, I see. The list view looks promising. Although it seems that the header items cannot trigger any action?! (In Konquerer you can click on Size, Name, Date etc. and the list will be sorted.) From olau@hardworking.dk Fri Jan 2 17:21:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp040.tiscali.dk (smtp040.tiscali.dk [212.54.64.106]) by mail.gnome.org (Postfix) with ESMTP id CAD9618149 for ; Fri, 2 Jan 2004 17:21:53 -0500 (EST) Received: from bach.composers (35.ppp1-1.abc.worldonline.dk [213.237.21.35]) by smtp040.tiscali.dk (8.12.10/8.12.10) with ESMTP id i02MLnRD000160 for ; Fri, 2 Jan 2004 23:21:50 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AcXMB-0000AM-MI for gtkmm-list@gnome.org; Fri, 02 Jan 2004 23:01:23 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Two beginners questions to signal handling References: <3FF5BC97.1000905@gmx.de> From: Ole Laursen Date: Fri, 02 Jan 2004 23:01:23 +0100 In-Reply-To: <3FF5BC97.1000905@gmx.de> (Andreas B. Thun's message of "Fri, 02 Jan 2004 19:46:47 +0100") Message-ID: <87isju103w.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > The callback function of form B should trigger > the values displayed in form A to update. > form A: build by constructor of class A > form B: build by constructor of class B > > 1. Is there a way to connect the signal handler > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox You can define your own signals if that is what you are asking. You can also connect to "someone clicked here" events in a widget if that is what you are asking. You just need to find the appropriate signal_something() to connect to, then say something along the lines of signal_something().connect(SigC::slot(my_a_object, &A::update_values)); inside B. When you are looking for a signal_something(), remember that base classes define signals too. Sometimes it is easiest to find one via the signal mechanism in Glade. (If you are not using Glade, you really should unless _all_ of your window contents are dynamically generated.) > 2. If I want to update the values in a already > displayed form A is it ok to just re-set the values > and invoke show_all()? You don't need to invoke show_all again. If you update the value in a widget, it will automatically refresh itself. -- Ole Laursen http://www.cs.auc.dk/~olau/ From pgasper@designadvantage.com Fri Jan 2 21:31:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id A4E3C18139 for ; Fri, 2 Jan 2004 21:31:54 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AcbZs-0004SP-70 for gtkmm-list@gnome.org; Fri, 02 Jan 2004 21:31:48 -0500 From: Peter Gasper To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Message-Id: <1073097107.6545.46.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 02 Jan 2004 19:31:51 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Subject: [gtkmm] widget activation Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For widgets that are activatable, such as a RadioButton, is there a way to query what keyboard key caused the activation? Or better yet, is there a way to prevent the return key from causing activation (or return & kp_enter), but let the keypad enter key cause activation? The reason for this is I am connecting a slot to the widget's signal_activate. I want to do something different depending on if the return or kp_enter key is pressed, but signal_activate() doesn't tell me the key. I would also rather catch the return key in the on_keyboard_release_event() function of a parent container of this widget. But since the widget is activatable, the return key event never gets that far and connecting to the widget's signal_key_release_event doesn't seem to work either. Thanks, Pete G -- Peter Gasper From gtkmm-forge-admin@lists.sourceforge.net Fri Jan 2 23:05:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 7848418147 for ; Fri, 2 Jan 2004 23:05:28 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Acd2U-0006fR-8X for gtkmm-list@gnome.org; Fri, 02 Jan 2004 20:05:26 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1Acd2U-0005kj-3n for gtkmm-list@gnome.org; Fri, 02 Jan 2004 20:05:26 -0800 Date: Fri, 02 Jan 2004 20:03:27 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #590 - 8 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 130351] New - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) 2. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 3. [Bug 130351] Changed - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) 4. [Bug 122450] Changed - stylesheet to generate devhelp documentation from doxygen xml (bugzilla-daemon@widget.gnome.org) 5. [Bug 125061] Changed - glibmm should use libsigc++2 (bugzilla-daemon@widget.gnome.org) 6. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 7. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 8. [Bug 130351] Changed - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Thu, 1 Jan 2004 10:56:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] New - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by stefan.andressen@t-online.de. --- shadow/130351 Thu Jan 1 10:56:26 2004 +++ shadow/130351.tmp.10364 Thu Jan 1 10:56:26 2004 @@ -0,0 +1,20 @@ +Bug#: 130351 +Product: gtkmm +Version: 2.2 +OS: Windows +OS Details: WinXP Professional +Status: NEW +Resolution: +Severity: minor +Priority: Normal +Component: general +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: stefan.andressen@t-online.de +TargetMilestone: --- +URL: +Summary: Radiobutton not correctly drawn + +I compiled the radiobutton example from the gtkmm-book, and when a +radiobutton is selected, it doesn't draw the green point in the circle. + +P.S.: I do not understand what the "GNOME VERSION" meen... --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Fri, 2 Jan 2004 05:22:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Mon Dec 22 11:44:12 2003 +++ shadow/129846.tmp.26874 Fri Jan 2 05:22:17 2004 @@ -35,6 +35,12 @@ ------- Additional Comments From roger@whinlatter.uklinux.net 2003-12-22 11:44 ------- Created an attachment (id=22645) testcase -- glade interface + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:22 ------- +I tried this with the menus example, in libglademm/examples, and I +don't see any accelerators, and that doesn't even use the reparent +method. I can't even get it to work in C with libglade. Do you have an +example that does work, without reparenting, for comparison? --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, stefan.andressen@t-online.de Cc: Date: Fri, 2 Jan 2004 05:24:14 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by murrayc@usa.net. --- shadow/130351 Thu Jan 1 10:56:26 2004 +++ shadow/130351.tmp.28109 Fri Jan 2 05:24:14 2004 @@ -15,6 +15,10 @@ Summary: Radiobutton not correctly drawn I compiled the radiobutton example from the gtkmm-book, and when a radiobutton is selected, it doesn't draw the green point in the circle. P.S.: I do not understand what the "GNOME VERSION" meen... + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:24 ------- +Do you know if this works in the C GTK+ examples or demos on Windows? +It may be a theme problem. --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roel@stack.be Cc: Date: Fri, 2 Jan 2004 05:26:15 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 122450] Changed - stylesheet to generate devhelp documentation from doxygen xml Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=122450 Changed by murrayc@usa.net. --- shadow/122450 Fri Dec 26 14:23:52 2003 +++ shadow/122450.tmp.29136 Fri Jan 2 05:26:15 2004 @@ -1,13 +1,13 @@ Bug#: 122450 Product: gtkmm Version: 2.2 OS: All OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: enhancement Priority: Normal Component: reference documentation AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roel@stack.be QAContact: gtkmm-forge@lists.sourceforge.net @@ -196,6 +196,17 @@ I can't check rýght now, but I sent the devhelp file to you, as requested. And can't you just build the cvs version? ------- Additional Comments From roel@stack.be 2003-12-26 14:23 ------- Ok, I've build the cvs version, and it works as I described above; so function searching in the cvs version works for me. + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:26 ------- +Hmm, yes, it seems to be working now, though I had to correct the +devhelp file name and location (done in cvs). + +I notice that the anchor links don't work (it doesn't go straight to +the method instead of the top of the page), but that's probably a +gtkhtml problem. + +Thank you. I have done this for libglademm already and will do it for +the others, so check the changes if you have thoughts. Thanks again. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 05:28:19 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 125061] Changed - glibmm should use libsigc++2 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=125061 Changed by murrayc@usa.net. --- shadow/125061 Wed Oct 22 04:43:40 2003 +++ shadow/125061.tmp.30371 Fri Jan 2 05:28:19 2004 @@ -50,6 +50,9 @@ ------- Additional Comments From murrayc@usa.net 2003-10-22 04:43 ------- > Would you prefer to use the compatibility module in > glibmm/gtkmm itself No, we would port to the latest non-deprecated libsigc++ API. + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:28 ------- +We need to ask on the list whether people can live without gcc 2.9*. --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 08:42:40 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by roger@whinlatter.uklinux.net. --- shadow/129846 Fri Jan 2 05:22:17 2004 +++ shadow/129846.tmp.13867 Fri Jan 2 08:42:40 2004 @@ -41,6 +41,11 @@ ------- Additional Comments From murrayc@usa.net 2004-01-02 05:22 ------- I tried this with the menus example, in libglademm/examples, and I don't see any accelerators, and that doesn't even use the reparent method. I can't even get it to work in C with libglade. Do you have an example that does work, without reparenting, for comparison? + +------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:42 ------- +Created an attachment (id=22839) +Glade file: add C+Q accelerator to gnomemm/libglademm/examples/menus/example.glade + --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 08:46:06 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by roger@whinlatter.uklinux.net. --- shadow/129846 Fri Jan 2 08:42:40 2004 +++ shadow/129846.tmp.15329 Fri Jan 2 08:46:05 2004 @@ -46,6 +46,18 @@ example that does work, without reparenting, for comparison? ------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:42 ------- Created an attachment (id=22839) Glade file: add C+Q accelerator to gnomemm/libglademm/examples/menus/example.glade + +------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:45 ------- +I've attached a new Glade file, which adds a C+Q accelerator to the +menu_file_quit MenuItem. This does work as expected, in that now +C+Q now causes the program to terminate. + +This works with the normal gnomemm/libglademm/examples/menus/example +program. + + +Regards, +Roger --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 11:51:03 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by stefan.andressen@t-online.de. --- shadow/130351 Fri Jan 2 05:24:14 2004 +++ shadow/130351.tmp.14524 Fri Jan 2 11:51:02 2004 @@ -19,6 +19,19 @@ P.S.: I do not understand what the "GNOME VERSION" meen... ------- Additional Comments From murrayc@usa.net 2004-01-02 05:24 ------- Do you know if this works in the C GTK+ examples or demos on Windows? It may be a theme problem. + +------- Additional Comments From stefan.andressen@t-online.de 2004-01-02 11:51 ------- +http://www.gotpenguin.com/gnome/gtk1/tutorial/sec-radiobuttons.html +Here I found the corresponding c-code. +The green dot isn't drawn here also, so c and c++ (gtk+ and gtkmm) +have the same behaviour, as expected. +If this is a theme problem lies beyond my knowledge, i just know +that it is a problem. +Whether this is a theme problem or not lies beyond my knowledge, I +just know that it is a problem. + +Bye. + --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From cedric.gustin@swing.be Sun Jan 4 14:55:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 9FE91183AD for ; Sun, 4 Jan 2004 14:55:24 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04JnSPt027766; Sun, 4 Jan 2004 20:49:29 +0100 (MET) Message-Id: <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 20:55:13 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] radiobutton under winxp In-Reply-To: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:07 PM 1/1/2004, Stefan Andre=DFen wrote: >Hi! > >I compiled the radiobutton example from the gtkmm-book, and when a=20 >radiobutton is selected, it simply doesn't fill the circle (for winxp with= =20 >a green dot). >Is there a workaround? >I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. This problem already came up a few weeks ago, either on the mailing list or= =20 in a private mail, I don't remember. I think the problem was related to=20 dev-cpp. Try to upgrade to the latest version using the nice dev-cpp=20 updater included in the distribution. Then recompile.You might also want to= =20 upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline (see=20 http://gtk-wimp.sourceforge.net). Please post the solution on the mailinglist as an archive. Cedric From cedric.gustin@swing.be Sun Jan 4 15:02:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id BDA7A18512 for ; Sun, 4 Jan 2004 15:02:32 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04JufPt027964; Sun, 4 Jan 2004 20:56:41 +0100 (MET) Message-Id: <6.0.1.1.2.20040104210041.01be1510@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 21:02:29 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] radiobutton under winxp In-Reply-To: <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 08:55 PM 1/4/2004, Cedric Gustin wrote: >At 05:07 PM 1/1/2004, Stefan Andre=DFen wrote: >>I compiled the radiobutton example from the gtkmm-book, and when a=20 >>radiobutton is selected, it simply doesn't fill the circle (for winxp=20 >>with a green dot). >>Is there a workaround? >>I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. > >This problem already came up a few weeks ago, either on the mailing list=20 >or in a private mail, I don't remember. I think the problem was related to= =20 >dev-cpp. Try to upgrade to the latest version using the nice dev-cpp=20 >updater included in the distribution. Then recompile.You might also want=20 >to upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline=20 >(see http://gtk-wimp.sourceforge.net). Actually, it was on the pygtk mailing list. See this thread= http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Cedric=20 From cedric.gustin@swing.be Sun Jan 4 15:30:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id D7819182AE for ; Sun, 4 Jan 2004 15:30:28 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04KOPPt028648; Sun, 4 Jan 2004 21:24:25 +0100 (MET) Message-Id: <6.0.1.1.2.20040104212315.01bfe280@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 21:30:08 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] Which dlls to distribute In-Reply-To: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> References: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 01:39 AM 1/1/2004, Stefan Andre=DFen wrote: >I am new to gtkmm and i have no idea which dlls (windows here) i have to=20 >ship with my application. >Only the gtkmm dlls? Or the gtk+ dlls, too? Your gtkmm application will require both the gtkmm and GTK+ runtimes. For=20 gtkmm, this is basically the glibmm, pangomm, atkmm, gdkmm and gtkmm DLLs.= =20 For gtk+, this is more complicated as you also have to include a bunch of=20 other files (mostly pango related). Therefore, I recommend to either ask=20 your users to install the gtk+ runtime from dropline and the gtkmm runtime= =20 from my site (available as a separate installer), or to hack your own=20 installer based on the gtk+ one (the innosetup script is available from=20 http://www.dropline.net/gtk/download.php) and adds the gtkmm DLLs manually= =20 to this installer. Cedric From Stefan.Andressen@t-online.de Sun Jan 4 19:00:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mail.gnome.org (Postfix) with ESMTP id 8172618645 for ; Sun, 4 Jan 2004 19:00:07 -0500 (EST) Received: from fwd07.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1AdIA5-0008R8-00; Mon, 05 Jan 2004 01:00:01 +0100 Received: from stefanxp1800 (Vaf+KoZc8ekhfmAJhVbR3j+cwToV2elgmwFxMtayKvWnLVs0Prk542@[193.159.21.57]) by fwd07.sul.t-online.com with smtp id 1AdI9v-23jla40; Mon, 5 Jan 2004 00:59:51 +0100 Message-ID: <006501c3d31e$d74c0930$39159fc1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> <6.0.1.1.2.20040104210041.01be1510@pop.swing.be> Subject: Re: [gtkmm] radiobutton under winxp Date: Mon, 5 Jan 2004 00:59:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: Vaf+KoZc8ekhfmAJhVbR3j+cwToV2elgmwFxMtayKvWnLVs0Prk542 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Many thanks, Cederic! The problem was indeed the gtk+ runtime environment! Getting the GTK-Wimp 0.5.2 solved the problem. For me the installation was: Copying the gtkrc in...\GTK\2.0\share\themes\Default\gtk-2.0-key (maybe renaming the old one) and coping the new libwimp.dll in ...\GTK\2.0\lib\gtk-2.0\2.2.0\engines (again maybe renaming the old one). Sorry, i do not know how to post this as an archive! Bye, Stefan ----- Original Message ----- From: "Cedric Gustin" To: "Stefan Andreßen " ; Sent: Sunday, January 04, 2004 9:02 PM Subject: Re: [gtkmm] radiobutton under winxp At 08:55 PM 1/4/2004, Cedric Gustin wrote: >At 05:07 PM 1/1/2004, Stefan Andreßen wrote: >>I compiled the radiobutton example from the gtkmm-book, and when a >>radiobutton is selected, it simply doesn't fill the circle (for winxp >>with a green dot). >>Is there a workaround? >>I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. > >This problem already came up a few weeks ago, either on the mailing list >or in a private mail, I don't remember. I think the problem was related to >dev-cpp. Try to upgrade to the latest version using the nice dev-cpp >updater included in the distribution. Then recompile.You might also want >to upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline >(see http://gtk-wimp.sourceforge.net). Actually, it was on the pygtk mailing list. See this thread http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Cedric From Stefan.Andressen@t-online.de Sun Jan 4 19:18:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mail.gnome.org (Postfix) with ESMTP id 2C9A218395 for ; Sun, 4 Jan 2004 19:18:17 -0500 (EST) Received: from fwd07.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1AdIRj-0007SI-01; Mon, 05 Jan 2004 01:18:15 +0100 Received: from stefanxp1800 (G53fwuZCreJuy3Ip3QFSYUY4jOuZWJPEnZl7nPbb7xTzFTKoK0CRZg@[193.159.21.57]) by fwd07.sul.t-online.com with smtp id 1AdIRe-1lDzRQ0; Mon, 5 Jan 2004 01:18:10 +0100 Message-ID: <001001c3d321$664252f0$39159fc1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Mon, 5 Jan 2004 01:18:09 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C3D329.C796BB10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: G53fwuZCreJuy3Ip3QFSYUY4jOuZWJPEnZl7nPbb7xTzFTKoK0CRZg Subject: [gtkmm] memory footprint of gtk+ and gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C3D329.C796BB10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I just looked at the dlls, which comes with gtk+ and gtkmm runtime = environment. It is amazing how big they are all togther, must be over 20 mb. Now, does that not mean that (simple) gtkmm applications are very memory = consuming? Looking at the radiobutton example it is over 5 mb, which is quite = massiv for such a simple programm. Any thoughts or suggestions? Bye, Stefan ------=_NextPart_000_000D_01C3D329.C796BB10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I just looked at the dlls, which = comes with=20 gtk+ and gtkmm runtime environment.
It is amazing how big they are all = togther, must be=20 over 20 mb.
Now, does that not mean that (simple) = gtkmm=20 applications are very memory consuming?
Looking at the radiobutton example it = is over 5 mb,=20 which is quite massiv for such a simple programm.
Any thoughts or = suggestions?
 
Bye,
Stefan
 
------=_NextPart_000_000D_01C3D329.C796BB10-- From cedric.gustin@swing.be Mon Jan 5 01:59:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id C50A518102 for ; Mon, 5 Jan 2004 01:59:39 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i056rdPt016831; Mon, 5 Jan 2004 07:53:39 +0100 (MET) Message-Id: <6.0.1.1.2.20040105075505.01be3cf8@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 05 Jan 2004 07:59:26 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] memory footprint of gtk+ and gtkmm In-Reply-To: <001001c3d321$664252f0$39159fc1@stefanxp1800> References: <001001c3d321$664252f0$39159fc1@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 01:18 AM 1/5/2004, Stefan Andre=DFen wrote: >Hi! > >I just looked at the dlls, which comes with gtk+ and gtkmm runtime=20 >environment. >It is amazing how big they are all togther, must be over 20 mb. >Now, does that not mean that (simple) gtkmm applications are very memory=20 >consuming? No, the DLLs simply include debugging symbols. >Looking at the radiobutton example it is over 5 mb, which is quite massiv= =20 >for such a simple programm. >Any thoughts or suggestions? You can try to strip your executable and/or the gtkmm DLLs. My 'gtkmm=20 runtime for final users' installer has also stripped versions of the gtkmm= =20 DLLs. Cedric=20 From Murray.Cumming@Comneon.com Mon Jan 5 05:36:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 44984184BA for ; Mon, 5 Jan 2004 05:36:30 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AWX7k021875; Mon, 5 Jan 2004 11:32:34 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:36:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B3@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: eli_hadad@sheernetworks.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Beginner question Date: Mon, 5 Jan 2004 11:36:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Eli Hadad wrote: > I am new to gtkmm, and have a question. > I wish to show / add widget at runtime (for example after > catching button clicked event) into a container such as > Gtk::Frame. When I do it I get segmentation fault. I wander > if this is suppose to work and if yes what can be my problem. I suggest that you just use show() and hide() to show or hide a widget. You can add both widgets to the same container (such as a Gtk::Vbox) and just hide one when you show the other. You should also be able to add() and remove() child widgets, of course. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:45:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7C33718408 for ; Mon, 5 Jan 2004 05:45:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05Afc7k024643; Mon, 5 Jan 2004 11:41:38 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:45:50 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] radiobutton under winxp Date: Mon, 5 Jan 2004 11:45:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So that we can solve this again in future, I'd like to know if this is A) A problem when installing the latest (2.2.4.1) dropline.net GTK+ runtime from http://www.dropline.net/gtk/ B) A problem when installing A) and then installing something else? C) A problem when installing A) after installing something else or D) A problem with a different GTK+ Windows installer? I tried the latest (2.2.4.1) dropline.net GTK+ runtime on Windows 2000 and don't see this problem, but I don't have Windows XP. Stefan wrote: > The problem was indeed the gtk+ runtime environment! > Getting the GTK-Wimp 0.5.2 solved the problem. > For me the installation was: > Copying the gtkrc in...\GTK\2.0\share\themes\Default\gtk-2.0-key > (maybe renaming the old one) > and > coping the new libwimp.dll in ...\GTK\2.0\lib\gtk-2.0\2.2.0\engines > (again maybe renaming the old one). > Sorry, i do not know how to post this as an archive! [snip] Cedric wrote: > Actually, it was on the pygtk mailing list. > > See this thread > http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:47:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A8A5818408 for ; Mon, 5 Jan 2004 05:47:26 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AhU7k025060; Mon, 5 Jan 2004 11:43:30 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:47:42 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: cedric.gustin@swing.be, Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] memory footprint of gtk+ and gtkmm Date: Mon, 5 Jan 2004 11:47:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: People might also find these numbers interesting: http://mail.gnome.org/archives/gtkmm-list/2003-November/msg00232.html Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org=20 > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: Montag, 5. Januar 2004 07:59 > To: Stefan.Andressen@t-online.de; gtkmm-list@gnome.org > Subject: Re: [gtkmm] memory footprint of gtk+ and gtkmm >=20 >=20 > At 01:18 AM 1/5/2004, Stefan Andre=DFen wrote: > >Hi! > > > >I just looked at the dlls, which comes with gtk+ and gtkmm runtime > >environment. > >It is amazing how big they are all togther, must be over 20 mb. > >Now, does that not mean that (simple) gtkmm applications are=20 > very memory=20 > >consuming? >=20 > No, the DLLs simply include debugging symbols. >=20 > >Looking at the radiobutton example it is over 5 mb, which is quite=20 > >massiv > >for such a simple programm. > >Any thoughts or suggestions? >=20 > You can try to strip your executable and/or the gtkmm DLLs. My 'gtkmm = > runtime for final users' installer has also stripped versions=20 > of the gtkmm=20 > DLLs. >=20 > Cedric=20 >=20 > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org = http://mail.gnome.org/mailman/listinfo/gtkmm-list >=20 From Murray.Cumming@Comneon.com Mon Jan 5 05:52:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id B2581185A7 for ; Mon, 5 Jan 2004 05:52:13 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AmH7k026427; Mon, 5 Jan 2004 11:48:17 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:52:29 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: olau@hardworking.dk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Date: Mon, 5 Jan 2004 11:52:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > The problem I am facing now is that my column data is dynamic. (It > > does not change while the program is running, though). > > I've never tried this, but can't you just use an array? For example: > > public: > std::vector > cols; > > ModelColumns(int no) > { > for (int i = 0; i < no; ++i) { > cols.push_back(Gtk::TreeModelColumn()); > add(cols.back()); > } > } > > I'm not sure whether it works, though. Yes, that works. I do that in glom, for instance. > The interface for the > treeview classes is very confusing. I'll be checking in lots of TreeView reference documentation today. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:55:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DDBDE1873A for ; Mon, 5 Jan 2004 05:55:15 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05ApI7k027448; Mon, 5 Jan 2004 11:51:18 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:55:30 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abt@gmx.de, matthew@alledora.co.uk Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Date: Mon, 5 Jan 2004 11:55:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Ok, I see. The list view looks promising. Although it seems > that the header items cannot trigger any action?! This should definitely be possible. For instance, nautilus sorts its rows when you click on the column header. Try TreeViewColumn::signal_clicked() and tells us if it does/doesn't work: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeViewColumn.h tml#a61 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:58:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0F6BD180F0 for ; Mon, 5 Jan 2004 05:58:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AsD7k028077; Mon, 5 Jan 2004 11:54:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:58:25 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B9@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: seguso.forever@tin.it, gtkmm-list@gnome.org Subject: RE: [gtkmm] hiding/disabling/setting toolbar buttons? Date: Mon, 5 Jan 2004 11:58:06 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > for the file manager http://segusoland.sourceforge.net , > I have a toolbar and I am adding togglebuttons with > > aToolbar.tools().push_back(Gtk::Toolbar_Helpers::ToggleElem( > aText, > *lImage, > SigC::slot(*this, > &SegToolbarToggleButton::onElementToggled), > aTooltipText)); > > I couldn't figure out > 1) how to set the pressed state of the toggle element via code. > 2) how to show/hide the toggle element. > 3) how to disable/enable it. > > Maybe I have to add the item via toolbar::append_item, and > act on the returned > Widget*? But how do I create a toggle button via append_item? > > Thanks for your help, I know it's horrible, but you need to call back() to get the last widget. For instance: http://mail.gnome.org/archives/gtkmm-list/2003-January/msg00136.html Murray Cumming www.murrayc.com murrayc@usa.net From cedric.gustin@swing.be Mon Jan 5 06:01:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id CB6FC18544 for ; Mon, 5 Jan 2004 06:01:34 -0500 (EST) Received: from [130.104.231.127] (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i05AtbPs028841; Mon, 5 Jan 2004 11:55:37 +0100 (MET) Subject: RE: [gtkmm] radiobutton under winxp From: Cedric Gustin To: Murray.Cumming@Comneon.com Cc: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-TPSfTnd3l08LOjUkIj/S" Message-Id: <1073300487.3863.19.camel@gandalf> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 05 Jan 2004 12:01:27 +0100 X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-TPSfTnd3l08LOjUkIj/S Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Murray, On Mon, 2004-01-05 at 11:45, Murray.Cumming@Comneon.com wrote: > So that we can solve this again in future, I'd like to know if this is > A) A problem when installing the latest (2.2.4.1) dropline.net GTK+ runti= me > from > http://www.dropline.net/gtk/ > B) A problem when installing A) and then installing something else? > C) A problem when installing A) after installing something else > or > D) A problem with a different GTK+ Windows installer? This is definitely A. The gtk-wimp theme is now the default in the latest GTK+ runtime from dropline. Unfortunately gtk-wimp shipped with version 2.2.4.1 of GTK+ has a display bug when used with the default luna theme under WinXP. With Windows 2000 or with Windows XP + classic theme, everything works fine though.=20 gtk-wimp is now at version 0.5.2 on sourceforge but unfortunately Todd Kulesza has not updated its gtk+ installer yet. I emailed him a few weeks ago to point out this problem.=20 I guess it is better if I put a warning on my site in the meantime. > I tried the latest (2.2.4.1) dropline.net GTK+ runtime on Windows 2000 an= d > don't see this problem, but I don't have Windows XP. Right, as I said earlier, no problem with win2k or winxp + classic theme. Cedric --=-TPSfTnd3l08LOjUkIj/S Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/+UQG/YpnSYlWnoQRAnQcAJ9O1JC+N4FLPR5W0bID3zku1biE+QCgl3OH sZIrefWXBQwXepqD71arSSU= =er7h -----END PGP SIGNATURE----- --=-TPSfTnd3l08LOjUkIj/S-- From Murray.Cumming@Comneon.com Mon Jan 5 06:07:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0C26418325; Mon, 5 Jan 2004 06:07:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05B3k7k000742; Mon, 5 Jan 2004 12:03:46 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 12:07:57 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: epenharbel@yahoo.com.br, gtkmm-list@gnome.org Cc: gtk-devel-list@gnome.org Subject: RE: [gtkmm] problems drawing images ... Date: Mon, 5 Jan 2004 12:07:39 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Behalf Of =C9der Augusto=20 > i need draw images created by a guchar buffer and i need set=20 > the byte order ( LSB_FISRT or MSB_FIRST ), in gdk there are a=20 > gdkimage struct where we can set this, but in gdkmm how can i=20 > set this??? anybody have a example? GdkImage::byte_order field appears to be a private field: http://developer.gnome.org/doc/API/2.0/gdk/gdk-Images.html (I think that struct fields of Gobject classes are private unless the documentation says otherwise). If you can show me any documentation that says that people should set = or get this field directly, or if a GTK+ developer says that you should, then = I will add accessors in gtkmm 2.4. In the meantime, you can always use gobj() with gtkmm to get the = underlying C instance. Murray Cumming www.murrayc.com murrayc@usa.net From ramachandrap@dpsl.net Mon Jan 5 07:25:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id C404418336 for ; Mon, 5 Jan 2004 07:25:00 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 18:06:24 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZVTLF; Mon, 5 Jan 2004 18:06:19 +0530 Received: FROM comp448 BY khyber.enigma ; Mon Jan 05 18:06:18 2004 +0500 From: Ramachandra Putti Reply-To: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <01b901c3d387$9c1bf730$5f0210ac@enigma> Date: Mon, 5 Jan 2004 17:59:48 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01B6_01C3D3B5.B5CB0B70" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Canvas Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_01B6_01C3D3B5.B5CB0B70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am working on gtkmm canvas class and I am not able to understand how=20 it should be used . In this regard I need some guidence about the class = usage . I am a newbie to gtkmm . On the gtkmm.org site I have found some=20 information about the class but it is not sufficient . Kindly suggest a link which can be of any help Thanks Ramachandra =20 ------=_NextPart_000_01B6_01C3D3B5.B5CB0B70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am working on=20 gtkmm canvas class and I am not able to understand how
it should be = used .=20 In this regard I need some guidence about the class
usage .
I am = a newbie=20 to gtkmm . On the gtkmm.org site I have found some
information = about the=20 class but it is not sufficient .
Kindly suggest a link which can be = of any=20 help
Thanks

Ramachandra
 
------=_NextPart_000_01B6_01C3D3B5.B5CB0B70-- From Murray.Cumming@Comneon.com Mon Jan 5 07:38:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0A67A181F8 for ; Mon, 5 Jan 2004 07:38:38 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05CYY7k009362; Mon, 5 Jan 2004 13:34:34 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 13:38:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224C6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] Canvas Date: Mon, 5 Jan 2004 13:38:28 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Have you seen the examples in the libgnomecanvasmm tarball? Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Ramachandra Putti Sent: Montag, 5. Januar 2004 13:30 To: gtkmm-list@gnome.org Subject: [gtkmm] Canvas I am working on gtkmm canvas class and I am not able to understand how it should be used . In this regard I need some guidence about the class usage . I am a newbie to gtkmm . On the gtkmm.org site I have found some information about the class but it is not sufficient . Kindly suggest a link which can be of any help Thanks Ramachandra From otaylor@redhat.com Mon Jan 5 10:23:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by mail.gnome.org (Postfix) with ESMTP id 7C29118246; Mon, 5 Jan 2004 10:23:48 -0500 (EST) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNjA19520; Mon, 5 Jan 2004 10:23:45 -0500 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNjE11122; Mon, 5 Jan 2004 10:23:45 -0500 Received: from [127.0.0.1] (poincare.devel.redhat.com [172.16.58.30]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNi315505; Mon, 5 Jan 2004 10:23:44 -0500 Subject: RE: [gtkmm] problems drawing images ... From: Owen Taylor To: Murray.Cumming@Comneon.com Cc: epenharbel@yahoo.com.br, gtkmm-list@gnome.org, gtk-devel-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=UTF-8 Message-Id: <1073316123.12688.73.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 05 Jan 2004 10:22:04 -0500 Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-05 at 06:07, Murray.Cumming@Comneon.com wrote: > On Behalf Of Éder Augusto > > i need draw images created by a guchar buffer and i need set > > the byte order ( LSB_FISRT or MSB_FIRST ), in gdk there are a > > gdkimage struct where we can set this, but in gdkmm how can i > > set this??? anybody have a example? > > GdkImage::byte_order field appears to be a private field: > http://developer.gnome.org/doc/API/2.0/gdk/gdk-Images.html > (I think that struct fields of Gobject classes are private unless the > documentation says otherwise). > > If you can show me any documentation that says that people should set or get > this field directly, or if a GTK+ developer says that you should, then I > will add accessors in gtkmm 2.4. > > In the meantime, you can always use gobj() with gtkmm to get the underlying > C instance. The fields of GdkImage should be public and are needed to use GdkImage effectively. - it wasn't a GObject in GTK+-1.2, and the /*< public >*/ wasn't added when it was converted - Other than parent_instance - *Read-only*, however. The chunk of memory pointed to by 'mem' can be written to, but nothing else canbechanged. A bug, or simply adding the /*< public >*/ after parent_instance would be appreciated. I'm not sure that GdkImage is what the original poster is looking for, creating a GdkPixbuf and using gdk_draw_pixbuf() is a whole lot easier; GdkImage always must match the format of the target visual. Regards, Owen From Murray.Cumming@Comneon.com Mon Jan 5 10:34:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 058A518246; Mon, 5 Jan 2004 10:34:09 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05FUC7k004771; Mon, 5 Jan 2004 16:30:13 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 16:34:24 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Mon, 5 Jan 2004 16:34:06 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.4, gtkmm will also not be able to use gcc 2.96. Who needs gcc 2.96 and why? Murray Cumming www.murrayc.com murrayc@usa.net From abhatnag@mda.ca Mon Jan 5 19:17:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 4C5F91844D for ; Mon, 5 Jan 2004 19:17:28 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i060HNM02889 for ; Mon, 5 Jan 2004 16:17:24 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 5 Jan 2004 16:17:23 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Mon, 5 Jan 2004 16:17:21 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Compilation errors.. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I created a simple app with Glade and had it output the C++ source, but the autogen.sh script fails and I am not sure why. Below is the output and a dump of config.log and any help would be great. (and yes, I know, I shouldn't be using the C++ code that is generated and use libglademm instead. I will be doing this, but I'm taking small steps to get there :) ------------------------- output of autogen.sh: ------------------------- ./autogen.sh Found GNU Make at /export/home/abhatnag/bin/make ... good. This script runs configure and make... You did remember necessary arguments for configure, right? ./autogen.sh: libtoolize: not found autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: 5 stan:/export/home/abhatnag/Projects/gtempCpp% ./autogen.sh Found GNU Make at /export/home/abhatnag/bin/make ... good. This script runs configure and make... You did remember necessary arguments for configure, right? ./autogen.sh: libtoolize: not found autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. autoheader: error: AC_CONFIG_HEADERS not found in configure.in /usr/local/share/aclocal/xml-i18n-tools.m4:24: warning: underquoted definition of XML_I18N_TOOLS_NEWER_THAN_0_9 run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/local/share/aclocal/xml-i18n-tools.m4:28: warning: underquoted definition of AC_PROG_XML_I18N_TOOLS /usr/local/share/aclocal/xml-i18n-tools.m4:30: warning: underquoted definition of X18T_PFORG1 /usr/local/share/aclocal/xml-i18n-tools.m4:32: warning: underquoted definition of X18T_XML_KIND /usr/local/share/aclocal/xml-i18n-tools.m4:34: warning: underquoted definition of X18T_KEYS_KIND /usr/local/share/aclocal/xml-i18n-tools.m4:135: warning: underquoted definition of AM_PROG_XML_I18N_TOOLS /usr/local/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/local/share/aclocal/libxslt.m4:14: warning: underquoted definition of AM_PATH_XSLT /usr/local/share/aclocal/intltool.m4:27: warning: underquoted definition of AC_PROG_INTLTOOL /usr/local/share/aclocal/gtk-2.0.m4:8: warning: underquoted definition of AM_PATH_GTK_2_0 /usr/local/share/aclocal/glib-gettext.m4:378: warning: underquoted definition of AM_GLIB_GNU_GETTEXT /usr/local/share/aclocal/glib-gettext.m4:379: warning: underquoted definition of AM_GLIB_DEFINE_LOCALEDIR /usr/local/share/aclocal/glib-2.0.m4:8: warning: underquoted definition of AM_PATH_GLIB_2_0 /usr/local/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2 aclocal: configure.in: 15: macro `AM_PROG_LIBTOOL' not found in library configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal). /usr/local/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/local/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL ./configure: line 1262: syntax error near unexpected token `AM_INIT_AUTOMAKE(gtempcpp,' ./configure: line 1262: `AM_INIT_AUTOMAKE(gtempcpp, 0.0)' ------------------------- output of config.log: ------------------------- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.58. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = stan uname -m = sun4u uname -r = 5.8 uname -s = SunOS uname -v = Generic_108528-21 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = stan Release = 5.8 KernelID = Generic_108528-21 Machine = sun4u BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 2 /bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown hostinfo = System Name: stan Host Id: 80e56895 Host Type: SUNW,Ultra-60 OS Version: SunOS 5.8 Processor: sparc Kernel arch: sun4u System Memory: 1024 Mb Virtual Memory: 2702 Mb Number of CPUs: 2 Clock Rate: MHz /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: . PATH: /export/home/abhatnag/bin PATH: /export/home/abhatnag/gpf/config PATH: /export/home/abhatnag/gpf/etc PATH: /usr/ccs/bin PATH: /export/home/MCOS5.8.0/mercury/bin PATH: /export/home/MCOS5.8.0/mercury/bin/solaris-2_5-sparc_elf PATH: /export/home/MCOS5.8.0/mercury/greenhills/solaris-2_5-sparc_elf PATH: /export/home/tornado/Tornado2.2/host/sun4-solaris2/bin PATH: /usr/openwin/bin PATH: /bin PATH: /usr/ucb PATH: /usr/vcs.1/etc PATH: /export/home/saustin/blackbox/src PATH: /bin PATH: /usr/bin PATH: /usr/local/bin PATH: /usr/ucb PATH: /usr/sbin PATH: /usr/ccs/bin PATH: /etc PATH: /java PATH: /usr/local/gtk/bin PATH: /export/home/razor/Razor/bin PATH: /export/home/drdcgpf/razor/RAZOR_UNIVERSE/Scripts PATH: /export/home/razor/Razor/scripts ## ----------- ## ## Core tests. ## ## ----------- ## ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='' CFLAGS='' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GTKMM_CFLAGS='' GTKMM_LIBS='' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SHELL='/bin/bash' ac_ct_CC='' ac_ct_CXX='' bindir='${exec_prefix}/bin' build_alias='' datadir='${prefix}/share' exec_prefix='NONE' host_alias='' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 258 From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 5 23:05:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 54D9518333 for ; Mon, 5 Jan 2004 23:05:24 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AdiT3-0002lh-Tm for gtkmm-list@gnome.org; Mon, 05 Jan 2004 20:05:21 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AdiT3-0003Fx-Jc for gtkmm-list@gnome.org; Mon, 05 Jan 2004 20:05:21 -0800 Date: Mon, 05 Jan 2004 20:01:59 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #591 - 11 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 130351] Changed - Radiobutton not correctly drawn on Windows XP (bugzilla-daemon@widget.gnome.org) 2. [Bug 129848] Changed - libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard (bugzilla-daemon@widget.gnome.org) 3. [Bug 129844] Changed - 'make install' fails for gtkmm (bugzilla-daemon@widget.gnome.org) 4. [Bug 117964] Changed - TreeStore has undocumented methods (bugzilla-daemon@widget.gnome.org) 5. [Bug 129934] Changed - Problem compiling libgnomeprintuimm 2.5.0 (bugzilla-daemon@widget.gnome.org) 6. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 7. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 8. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 9. [Bug 129813] Changed - fix for spec file to include devhelp file (bugzilla-daemon@widget.gnome.org) 10. [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc (bugzilla-daemon@widget.gnome.org) 11. [Bug 129844] Changed - 'make install' fails for gtkmm (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, stefan.andressen@t-online.de Cc: Date: Mon, 5 Jan 2004 06:23:12 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn on Windows XP Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by murrayc@usa.net. --- shadow/130351 Fri Jan 2 11:51:02 2004 +++ shadow/130351.tmp.25334 Mon Jan 5 06:23:12 2004 @@ -1,21 +1,21 @@ Bug#: 130351 Product: gtkmm Version: 2.2 OS: Windows OS Details: WinXP Professional -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: minor Priority: Normal Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: stefan.andressen@t-online.de TargetMilestone: --- URL: -Summary: Radiobutton not correctly drawn +Summary: Radiobutton not correctly drawn on Windows XP I compiled the radiobutton example from the gtkmm-book, and when a radiobutton is selected, it doesn't draw the green point in the circle. P.S.: I do not understand what the "GNOME VERSION" meen... @@ -32,6 +32,12 @@ that it is a problem. Whether this is a theme problem or not lies beyond my knowledge, I just know that it is a problem. Bye. + +------- Additional Comments From murrayc@usa.net 2004-01-05 06:23 ------- +On the mailing list, we discovered that this is a known problem with +the latest GTK+ for Windows dropline.net installer, which is expected +to be fixed in the next release from dropline.net. Thanks for bringing +it to our attention. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Mon, 5 Jan 2004 08:52:36 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129848] Changed - libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129848 Changed by murrayc@usa.net. --- shadow/129848 Mon Dec 22 11:58:47 2003 +++ shadow/129848.tmp.16572 Mon Jan 5 08:52:36 2004 @@ -1,21 +1,22 @@ Bug#: 129848 -Product: gtkmm -Version: 2.2 +Product: gnomemm +Version: 2.0 OS: Linux OS Details: Linux version 2.4.23 (roger@wrynose) (gcc version 3.3.2 (Debian)) #1 Sat Nov 29 13:46:36 GMT 2003 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libglademm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roger@whinlatter.uklinux.net TargetMilestone: --- URL: Summary: libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard +BugsThisDependsOn: 130570 Interfaces containing menus with HSeparators (Gtk::SeparatorMenuItem): the separator is selectable with the keyboard when using keyboard navigation. The same interface constructed "by hand", or even during editing with Glade-2 does not exhibit this undesirable behaviour. @@ -23,6 +24,12 @@ This may be seen with the standard libglade menu test (gnomemm/libglademm/examples/menus). Regards, Roger + +------- Additional Comments From murrayc@usa.net 2004-01-05 08:52 ------- +This seems to be caused by glade bug #130570 which I just submitted. + +Changing class="GtkMenuItem" to class="GtkSeparatorMenuItem" in the +.glade file seems to fix it. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 5 Jan 2004 10:09:08 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129844] Changed - 'make install' fails for gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129844 Changed by murrayc@usa.net. --- shadow/129844 Fri Dec 26 04:15:08 2003 +++ shadow/129844.tmp.3578 Mon Jan 5 10:09:08 2004 @@ -1,13 +1,13 @@ Bug#: 129844 Product: gtkmm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: bugsqueesher@yahoo.com TargetMilestone: --- @@ -26,6 +26,10 @@ ^ plus lots of other similar errors. ------- Additional Comments From murrayc@usa.net 2003-12-26 04:14 ------- Thanks. What versýon of Doxygen do you have? Maybe a newer version of Doxygen would properly escape the < character. + +------- Additional Comments From murrayc@usa.net 2004-01-05 10:09 ------- +I'm confident that this is due to an old version of Doxygen. Please +reopen if I am wrong. --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 5 Jan 2004 10:10:44 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 117964] Changed - TreeStore has undocumented methods Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=117964 Changed by murrayc@usa.net. --- shadow/117964 Mon Jul 21 08:02:08 2003 +++ shadow/117964.tmp.5031 Mon Jan 5 10:10:43 2004 @@ -1,18 +1,22 @@ Bug#: 117964 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: reference documentation AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: murrayc@usa.net QAContact: gtkmm-forge@lists.sourceforge.net TargetMilestone: --- URL: Summary: TreeStore has undocumented methods Methods such as insert(), append() and prepend() are undocumented. + +------- Additional Comments From murrayc@usa.net 2004-01-05 10:10 ------- +Fixed, though I want to find the Standard C++ container documentation +and make it like that. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pierre42d@9online.fr Cc: Date: Mon, 5 Jan 2004 10:14:54 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129934] Changed - Problem compiling libgnomeprintuimm 2.5.0 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129934 Changed by murrayc@usa.net. --- shadow/129934 Fri Dec 26 04:07:55 2003 +++ shadow/129934.tmp.7733 Mon Jan 5 10:14:54 2004 @@ -1,16 +1,16 @@ Bug#: 129934 -Product: gtkmm +Product: gnomemm Version: unspecified OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pierre42d@9online.fr TargetMilestone: --- URL: Summary: Problem compiling libgnomeprintuimm 2.5.0 --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Mon, 5 Jan 2004 10:22:31 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Fri Jan 2 08:46:05 2004 +++ shadow/129846.tmp.14063 Mon Jan 5 10:22:31 2004 @@ -1,16 +1,16 @@ Bug#: 129846 -Product: gtkmm -Version: 2.2 +Product: gnomemm +Version: 2.0 OS: Linux OS Details: Linux version 2.4.23 (roger@wrynose) (gcc version 3.3.2 (Debian)) #1 Sat Nov 29 13:46:36 GMT 2003 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libglademm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roger@whinlatter.uklinux.net TargetMilestone: --- URL: Summary: libglademm: Gtk::MenuItem accelerators lost during reparenting --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 10:24:30 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Dec 22 12:39:48 2003 +++ shadow/129719.tmp.15030 Mon Jan 5 10:24:30 2004 @@ -1,8 +1,8 @@ Bug#: 129719 -Product: gtkmm +Product: gnomemm Version: unspecified OS: Linux OS Details: Status: NEW Resolution: Severity: normal --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 10:24:56 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Jan 5 10:24:30 2004 +++ shadow/129719.tmp.15186 Mon Jan 5 10:24:56 2004 @@ -4,13 +4,13 @@ OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal -Component: build +Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- URL: Summary: libgnomeprintmm-2.5.0 fails to build with older gcc --__--__-- Message: 9 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, ericb@computer.org Cc: Date: Mon, 5 Jan 2004 13:02:07 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129813] Changed - fix for spec file to include devhelp file Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129813 Changed by murrayc@usa.net. --- shadow/129813 Mon Dec 22 00:56:37 2003 +++ shadow/129813.tmp.24013 Mon Jan 5 13:02:06 2004 @@ -1,13 +1,13 @@ Bug#: 129813 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: ericb@computer.org TargetMilestone: --- @@ -17,6 +17,10 @@ fix for spec file to include devhelp file ------- Additional Comments From ericb@computer.org 2003-12-22 00:56 ------- Created an attachment (id=22629) patch for spec file against gtkmm2 cvs + +------- Additional Comments From murrayc@usa.net 2004-01-05 13:02 ------- +Applied, with changes because I changed the .devhelp install location. +Thanks. --__--__-- Message: 10 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 13:06:16 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129396 Changed by murrayc@usa.net. --- shadow/129396 Fri Dec 19 10:24:30 2003 +++ shadow/129396.tmp.14285 Mon Jan 5 13:06:16 2004 @@ -1,8 +1,8 @@ Bug#: 129396 -Product: gtkmm +Product: gnomemm Version: 2.4 OS: Linux OS Details: Status: NEW Resolution: Severity: normal --__--__-- Message: 11 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 5 Jan 2004 20:02:14 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129844] Changed - 'make install' fails for gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129844 Changed by bugsqueesher@yahoo.com. --- shadow/129844 Mon Jan 5 10:09:08 2004 +++ shadow/129844.tmp.28628 Mon Jan 5 20:02:14 2004 @@ -30,6 +30,11 @@ Thanks. What versýon of Doxygen do you have? Maybe a newer version of Doxygen would properly escape the < character. ------- Additional Comments From murrayc@usa.net 2004-01-05 10:09 ------- I'm confident that this is due to an old version of Doxygen. Please reopen if I am wrong. + +------- Additional Comments From bugsqueesher@yahoo.com 2004-01-05 20:02 ------- +Urgh... Sorry, I got busy and forgot to respond. I bet you are right +about the doxygen version and plan to try it out later this week; I'll +let you know if I find any surprises. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From n_gouda123@yahoo.com Mon Jan 5 23:58:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60505.mail.yahoo.com (web60505.mail.yahoo.com [216.109.116.126]) by mail.gnome.org (Postfix) with SMTP id 8011B182B8 for ; Mon, 5 Jan 2004 23:58:26 -0500 (EST) Message-ID: <20040106045826.23271.qmail@web60505.mail.yahoo.com> Received: from [164.164.89.226] by web60505.mail.yahoo.com via HTTP; Mon, 05 Jan 2004 20:58:26 PST Date: Mon, 5 Jan 2004 20:58:26 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] I want to select only the contigous rows Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, In multiple row selection tree, i want to provide only the contigous selction of rows...i.e i dont want the effect of CONTROL key..for the selection, only the SHIFT key... So Please let me know the solution asap... Thanx in Advance.... Naganagouda Meti. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From christof@petig-baender.de Tue Jan 6 07:00:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 8F695184F7 for ; Tue, 6 Jan 2004 07:00:28 -0500 (EST) Received: (qmail 15634 invoked by uid 4225); 6 Jan 2004 12:00:27 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 06 Jan 2004 12:00:27 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Adpsn-00070y-00; Tue, 06 Jan 2004 13:00:25 +0100 Message-ID: <3FFAA340.4010509@petig-baender.de> Date: Tue, 06 Jan 2004 13:00:00 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org, glademm-list Subject: Re: [gtkmm] Compilation errors.. References: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR schrieb: > Hi all. Hi Amit, wrong mailing list ;-) > I created a simple app with Glade and had it output the C++ source, but > the autogen.sh script fails and I am not sure why. Below is the output > and a dump of config.log and any help would be great. > > (and yes, I know, I shouldn't be using the C++ code that is generated > and use libglademm instead. I will be doing this, but I'm taking small > steps to get there :) Can you try the CVS version of glademm? : cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login cvs -z3 -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co glade-- I fixed some autoconf errors but did not yet publish the new release. Christof From gene@erachampion.com Tue Jan 6 12:01:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id D296718989 for ; Tue, 6 Jan 2004 12:01:38 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i06HBIp32604 for gtkmm-list@gnome.org; Tue, 6 Jan 2004 09:11:18 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Tue, 6 Jan 2004 09:11:17 -0800 Message-ID: <1073409077.3ffaec355a561@realtyroad.com> Date: Tue, 6 Jan 2004 09:11:17 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >1. Is there a way to connect the signal handler > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox Here's an example (someone can step in and tell me if this is the preferred way of doing things): Assume two classes.. A Main Window for your application, and a Main Menu (menubar) to be displayed on the Main Window. When you select File->Quit from the menubar, you want the application to quit by calling the on_quit() signal handler in the MainWindow object. 1) [mainmenu.h] class MainMenu : public Gtk::MenuBar { public: MainMenu(MainWindow &object); }; 2) [mainwindow.h] class MainWindow : public Gtk::Window { friend class MainMenu; public: MainWindow(); virtual ~MainWindow(); protected: // signal handlers virtual void on_quit(); }; 3) [mainmenu.cpp] #include "mainmenu.h" MainMenu::MainMenu(MainWindow &object) { // fill menus // File|New sub menu: { Gtk::Menu::MenuList& menulist = m_menu_file_new.items(); } // File menu: { Gtk::Menu::MenuList& menulist = m_menu_file.items(); menulist.push_back( Gtk::Menu_Helpers::MenuElem("_New", m_menu_file_new) ); //Add sub menu. menulist.push_back( Gtk::Menu_Helpers::MenuElem("_Quit", Gtk::Menu::AccelKey("q"), SigC::slot(object, &MainWindow::on_quit) ) ); } //Add the menus to the MenuBar: items().push_back( Gtk::Menu_Helpers::MenuElem("_File", m_menu_file) ); Gtk::MenuItem* pMenuItem = &items().back(); pMenuItem->set_right_justified(); show_all_children(); } The key is to pass a MainWindow pointer to the MainMenu constructor. You can then use this pointer to MainWindow to connect your signals to any signal handler in MainWindow. I've declared MainMenu to be a friend of MainWindow in order to allow access to the protected signal handlers. If anyone has a better way of doing this, please speak up. =) -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From epenharbel@yahoo.com.br Tue Jan 6 15:17:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by mail.gnome.org (Postfix) with SMTP id 285FB18239 for ; Tue, 6 Jan 2004 15:17:35 -0500 (EST) Received: from unknown (HELO 200-171-128-203.dsl.telesp.net.br) (epenharbel@200.171.128.203 with plain) by smtp011.mail.yahoo.com with SMTP; 6 Jan 2004 20:17:33 -0000 From: =?ISO-8859-1?Q?=C9der?= Augusto Penharbel To: gtkmm-list Content-Type: text/plain Message-Id: <1073420346.736.8.camel@lobo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 06 Jan 2004 18:19:06 -0200 Content-Transfer-Encoding: 7bit Subject: [gtkmm] is it possible? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: hello, i'm begginer in the gtkmm and gtk i need to draw a image from a pointer to a char in memory... it's possibly with: GCTmp = get_style()->get_fg_gc(Gtk::STATE_NORMAL); get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); but the buffer is in inverse byte_order and i need to draw it without invert in my code... is it possible? i try use the gdk_draw_image but the result is a segmentation fault GdkImage *image = gdk_image_new( GDK_IMAGE_NORMAL, get_window()->get_visual()->gobj(), width, height ); image->parent_instance = *( ( GObject * ) gobj() ); image->byte_order = GDK_LSB_FIRST; image->width = width; image->height = height; image->depth = 24; image->bpp = 3; image->bpl = width * 3; image->bits_per_pixel = 24; image->mem = ( gpointer ) imageBuffer; gdk_draw_image( ( get_window() )->gobj(), GCTmp->gobj(), image, 0, 0, 0, 0, width, height ); there are other way to do this without invert the bytes in my code? thanks.... :-) From abt@gmx.de Wed Jan 7 06:01:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A6E1C1821C for ; Wed, 7 Jan 2004 06:01:48 -0500 (EST) Received: (qmail 21675 invoked by uid 65534); 7 Jan 2004 11:01:47 -0000 Received: from pD9E9478D.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.71.141) by mail.gmx.net (mp012) with SMTP; 07 Jan 2004 12:01:47 +0100 X-Authenticated: #109577 Message-ID: <3FFBE71B.60802@gmx.de> Date: Wed, 07 Jan 2004 12:01:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] How to clear a tree view? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I´ve added some rows with data to a list store tree view using m_list_store_ref->append(). Later in my application I want to clear the rows to display completely new values. How can I clear all rows from the displayed treeView? TIA, Andi From matthew@alledora.co.uk Wed Jan 7 06:40:57 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mail.gnome.org (Postfix) with ESMTP id 4DFEE181D2 for ; Wed, 7 Jan 2004 06:40:57 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040107114052.YAAF2588.mta07-svc.ntlworld.com@alledora.co.uk>; Wed, 7 Jan 2004 11:40:52 +0000 Message-ID: <3FFBF079.6020307@alledora.co.uk> Date: Wed, 07 Jan 2004 11:41:45 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to clear a tree view? References: <3FFBE71B.60802@gmx.de> In-Reply-To: <3FFBE71B.60802@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: PLEASE read the API documentation at http://www.gtkmm.org/gtkmm2/docs/ - the answer to this is fairly easy to find there. Try calling clear() on your ListStore/TreeStore. Andreas B. Thun wrote: > Hi! > > I´ve added some rows with data to a list store tree view > using m_list_store_ref->append(). > > Later in my application I want to clear the > rows to display completely new values. How can I clear > all rows from the displayed treeView? From Murray.Cumming@Comneon.com Wed Jan 7 06:46:21 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id BFD3F18329 for ; Wed, 7 Jan 2004 06:46:20 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07BgJ7k028460; Wed, 7 Jan 2004 12:42:19 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 12:46:33 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: matthew@alledora.co.uk, abt@gmx.de Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] How to clear a tree view? Date: Wed, 7 Jan 2004 12:46:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Try calling clear() on your ListStore/TreeStore. And be careful to call refModel->clear() rather than refModel.clear(), so you call TreeModel::clear() instead of RefPtr::clear() (only a problem in gtkmm 2.0/2.2). Murray Cumming www.murrayc.com murrayc@usa.net From n_gouda123@yahoo.com Wed Jan 7 06:52:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60509.mail.yahoo.com (web60509.mail.yahoo.com [216.109.116.130]) by mail.gnome.org (Postfix) with SMTP id 50655187E4 for ; Wed, 7 Jan 2004 06:52:01 -0500 (EST) Message-ID: <20040107115157.31537.qmail@web60509.mail.yahoo.com> Received: from [164.164.89.226] by web60509.mail.yahoo.com via HTTP; Wed, 07 Jan 2004 03:51:57 PST Date: Wed, 7 Jan 2004 03:51:57 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Iam not able to fetch the row elements from a multiple row selected tree. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, Iam trying to fetch the rows selected using Gtk::TreeSelection::get_selected_rows(Glib::RefPtr& model).. But i dont know how to do it using gtkmm-2.2.0. So please oto do so... Thanx in advance... __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From Murray.Cumming@Comneon.com Wed Jan 7 06:58:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D1175182BB for ; Wed, 7 Jan 2004 06:58:47 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07Bso7k002524; Wed, 7 Jan 2004 12:54:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 12:59:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22545@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: n_gouda123@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Iam not able to fetch the row elements from a multipl e row selected tree. Date: Wed, 7 Jan 2004 12:58:45 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Hi, > Iam trying to fetch the rows selected using > Gtk::TreeSelection::get_selected_rows(Glib::RefPtr& > model).. > But i dont know how to do it using gtkmm-2.2.0. What have you tried? Std::list listPaths = get_selected_rows() should work. You could use TreeModel::get_iter(path) to get an iter, and then a row for each one: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeModel.html#a 3 Maybe we should have Gtk::TreeSelection::get_selected_rows_as_iters() as well. By the way, I have added _lots_ of TreeView reference docs in gtkmm 2.4, but they are not uploaded yet. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Wed Jan 7 06:59:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 079E2187E4 for ; Wed, 7 Jan 2004 06:59:30 -0500 (EST) Received: (qmail 31627 invoked by uid 65534); 7 Jan 2004 11:59:28 -0000 Received: from pD9E9467C.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.70.124) by mail.gmx.net (mp012) with SMTP; 07 Jan 2004 12:59:28 +0100 X-Authenticated: #109577 Message-ID: <3FFBF4A1.7020603@gmx.de> Date: Wed, 07 Jan 2004 12:59:29 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: matthew@alledora.co.uk, gtkmm-list@gnome.org Subject: Re: [gtkmm] How to clear a tree view? References: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > And be careful to call refModel->clear() rather than refModel.clear(), so > you call TreeModel::clear() instead of RefPtr::clear() (only a problem in > gtkmm 2.0/2.2). THX very much! From bevis@anvil.com Wed Jan 7 07:54:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 8F9C31832B for ; Wed, 7 Jan 2004 07:54:43 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2EC782C0; Wed, 7 Jan 2004 12:51:03 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 287F22BC for ; Wed, 7 Jan 2004 12:51:01 +0000 (GMT) Message-ID: <3FFC018E.5080606@anvil.co.uk> Date: Wed, 07 Jan 2004 12:54:38 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] iterating through the contents of a tree Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've searched the archives and the web and the gktmm class lists, but can't find out how to do this. I have a Gtk::TreeView with a Gtk::TreeStore, basically following the tree view example from the gtkmm pages. My Gtk::TreeModel::ColumnRecord contains two strings (one hidden). I can multi select entries on the tree. Now I want to iterate through all the entries selected in my tree when a button is pressed, ie something like: for (Gtk::TreeIter it=m_refTreeModel.begin(); it Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 946A81832B for ; Wed, 7 Jan 2004 07:58:24 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07CsL7k023442; Wed, 7 Jan 2004 13:54:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 13:58:36 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: bevis@anvil.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] iterating through the contents of a tree Date: Wed, 7 Jan 2004 13:58:15 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Bevis Peters > Sent: Mittwoch, 7. Januar 2004 13:55 > To: gtkmm-list@gnome.org > Subject: [gtkmm] iterating through the contents of a tree > > > I've searched the archives and the web and the gktmm class lists, but > can't find out how to do this. > > I have a Gtk::TreeView with a Gtk::TreeStore, basically following the > tree view example from the gtkmm pages. My > Gtk::TreeModel::ColumnRecord > contains two strings (one hidden). I can multi select > entries on the tree. > > Now I want to iterate through all the entries selected in my > tree when a > button is pressed, ie something like: > > for (Gtk::TreeIter it=m_refTreeModel.begin(); > it ++it) { > string str = m_Colmuns[it].m_string_name; > } > > Can this be done? surely it can, though I can't work out how. How to iterate over rows: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html Get column values from cells: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08.html#id2878009 Setting column values in cells: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08.html#id2877986 Should help. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 7 08:07:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A7B6C1832B; Wed, 7 Jan 2004 08:07:51 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07D3r7k027028; Wed, 7 Jan 2004 14:03:54 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 14:08:08 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Wed, 7 Jan 2004 14:07:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in > gtkmm 2.4, > gtkmm will also not be able to use gcc 2.96. > > Who needs gcc 2.96 and why? So, nobody needs gcc 2.96? Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Wed Jan 7 08:38:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 838F6182F9 for ; Wed, 7 Jan 2004 08:38:37 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2069D2D6; Wed, 7 Jan 2004 13:34:56 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 7DD212CC for ; Wed, 7 Jan 2004 13:34:55 +0000 (GMT) Message-ID: <3FFC0BD8.6020608@anvil.co.uk> Date: Wed, 07 Jan 2004 13:38:32 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >How to iterate over rows: >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html > > this is marvellous, but i only want to iterate over the selected rows, or iterate over all the rows and ignore the unselected ones somehow. i could create a 'selected' bool in my Gtk::TreeModel::ColumnRecord which gets set/unset as the rows are selected and then filter on that as i iterate over the rows. this would feel slightly redundant though, since the TreeModel must know which rows have been selected. bevis From Murray.Cumming@Comneon.com Wed Jan 7 08:45:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D0484186EB for ; Wed, 7 Jan 2004 08:45:06 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07Df87k025001; Wed, 7 Jan 2004 14:41:08 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 14:45:22 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: bevis@anvil.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] iterating through the contents of a tree Date: Wed, 7 Jan 2004 14:45:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > >How to iterate over rows: > >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html > > > > > this is marvellous, but i only want to iterate over the > selected rows OK, so use Gtk::TreeView::get_selection() and then Gtk::TreeSelection::get_selected_rows() as I described in a similar thread today. Murray Cumming www.murrayc.com murrayc@usa.net From ajr@ecs.soton.ac.uk Wed Jan 7 09:10:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from raven.ecs.soton.ac.uk (raven.ecs.soton.ac.uk [152.78.70.1]) by mail.gnome.org (Postfix) with ESMTP id 3974B18132; Wed, 7 Jan 2004 09:10:48 -0500 (EST) Received: from pigeon.ecs.soton.ac.uk (ns1 [152.78.68.1]) by raven.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id OAA26807; Wed, 7 Jan 2004 14:10:44 GMT Received: from login.ecs.soton.ac.uk (IDENT:root@login [152.78.68.162]) by pigeon.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id OAA13202; Wed, 7 Jan 2004 14:10:42 GMT Received: (from ajr@localhost) by login.ecs.soton.ac.uk (8.11.6/8.11.6) id i07EAgm25418; Wed, 7 Jan 2004 14:10:42 GMT Date: Wed, 7 Jan 2004 14:10:42 +0000 From: Alistair Riddoch To: gtkmm-list@gnome.org, libsigc-list@gnome.org Message-ID: <20040107141042.GC19081@login.ecs.soton.ac.uk> References: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zCKi3GIZzVBPywwA" Content-Disposition: inline In-Reply-To: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> User-Agent: Mutt/1.4i X-MailScanner-Information: Please contact helpdesk@ecs.soton.ac.uk for more information X-ECS-MailScanner: Found to be clean Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --zCKi3GIZzVBPywwA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 07, 2004 at 02:07:42PM +0100, Murray.Cumming@Comneon.com wrote: > > Libsigc++ 2 does not build with gcc 2.96. So if we use it in=20 > > gtkmm 2.4, > > gtkmm will also not be able to use gcc 2.96. > >=20 > > Who needs gcc 2.96 and why? >=20 > So, nobody needs gcc 2.96? >=20 Speaking as a developer who uses both gtkmm, and libsigc++ independantly, I see no burning need to support gcc 2.96 in libsigc++ 2 or later. Al --=20 Alistair Riddoch alriddoch@zepler.org http://www.zepler.org/~alriddoch/ --zCKi3GIZzVBPywwA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE//BNimpFnJxPk53QRAphiAJ49o48lxI/QgTOCFMmPoJoIWWeiGgCdEyfl WfGBzstTFFvxCdkXcZerD48= =wJvP -----END PGP SIGNATURE----- --zCKi3GIZzVBPywwA-- From eckhardt@satorlaser.com Wed Jan 7 10:27:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by mail.gnome.org (Postfix) with ESMTP id 19BC318A78; Wed, 7 Jan 2004 10:27:00 -0500 (EST) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AeFaF-0004mx-00; Wed, 07 Jan 2004 16:26:59 +0100 Received: from [62.109.77.97] (helo=b077097.adsl.hansenet.de) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1AeFaF-00041R-00; Wed, 07 Jan 2004 16:26:59 +0100 From: Ulrich Eckhardt To: libsigc-list@gnome.org Date: Wed, 7 Jan 2004 16:26:54 +0100 User-Agent: KMail/1.5.4 References: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> Organization: Sator Laser GmbH Cc: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401071626.54714.eckhardt@satorlaser.com> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:e35cee35a663f5c944b9750a965814ae Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.4, > gtkmm will also not be able to use gcc 2.96. > > Who needs gcc 2.96 and why? http://gcc.gnu.org/gcc-2.96.html Else, I saw those atrocities on Redhat and also recently on a Suse Alpha. I think both have the option to upgrade to a real GCC. One question, what about gcc 2.95? Is it anywhere near usability? just my EUR 0.02 Uli From find_all@hotmail.com Wed Jan 7 10:29:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f3.sea2.hotmail.com [207.68.165.3]) by mail.gnome.org (Postfix) with ESMTP id A55CF18AB0 for ; Wed, 7 Jan 2004 10:29:14 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 7 Jan 2004 07:29:10 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Wed, 07 Jan 2004 15:29:10 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Wed, 07 Jan 2004 15:29:10 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 07 Jan 2004 15:29:10.0465 (UTC) FILETIME=[FF4A5B10:01C3D532] Subject: [gtkmm] Glib::signal_io Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm having some problems with the Glib::signal_io().connect() function to do the reading from a serial port. The code: /* *********** serie.hh *********** */ #ifndef _SERIE_HH #define _SERIE_HH #include "config.h" #include #include #include #include #include #include class serie { public: serie(); bool callback_funcion(Glib::IOCondition); int fd; protected: private: SigC::Connection conexion; }; #endif /* *********** serie.cc ********** */ serie::serie() { // We put de descriptor of the serial port into fd // Make the polling of the port with the callback_funcion this->conexion = Glib::signal_io().connect(SigC::slot(*this,&serie::callback_funcion), this->fd, Glib::IO_IN); } bool serie::callback_funcion(Glib::IOCondition con) { // It doesn't work so does nothing :-( } When I try to compile I get this error message : g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -DORBIT2=1 -pthread -I/usr/include/libgnomeuimm-2.0 -I/usr/lib/libgnomeuimm-2.0/include -I/usr/include/libgnomemm-2.0 -I/usr/lib/libgnomemm-2.0/include -I/usr/include/libgnomecanvasmm-2.0 -I/usr/lib/libgnomecanvasmm-2.0/include -I/usr/include/gconfmm-2.0 -I/usr/lib/gconfmm-2.0/include -I/usr/include/libglademm-2.0 -I/usr/lib/libglademm-2.0/include -I/usr/include/libbonobouimm-2.0 -I/usr/lib/libbonobouimm-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libbonobomm-2.0 -I/usr/lib/libbonobomm-2.0/include -I/usr/include/libbonoboui-2.0 -I/usr/include/orbitcpp-2.0 -I/usr/local/include/mysql -c -o serie.o `test -f 'serie.cc' || echo './'`serie.cc In the file included of /usr/include/sigc++-1.2/sigc++/object_slot.h:98: /usr/include/sigc++-1.2/sigc++/object_slot.h: In the constructor `SigC::ObjectSlotNode::ObjectSlotNode(void (*)(void*), T*, void*, T2) [with T = serie, T2 = bool (serie::*)(Glib::IOCondition)]': /usr/include/sigc++-1.2/sigc++/slot.h:255: instanced from `SigC::Slot1::Slot1(SigC::SlotNode*) [with R = bool, P1 = Glib::IOCondition]' /usr/include/sigc++-1.2/sigc++/object_slot.h:98: instanced from `SigC::Slot1 SigC::slot(O1&, R (O2::*)(P1)) [with R = bool, P1 = Glib::IOCondition, O1 = serie, O2 = serie]' serie.cc:102: instanced from /usr/include/sigc++-1.2/sigc++/object_slot.h:35: no se encuentra una función coincidente para la llamada a `SigC::ObjectSlotNode::init(serie*&, void*&, void (SigC::Object::*&)())' /usr/include/sigc++-1.2/sigc++/object_slot.h:36: candidates are: void SigC::ObjectSlotNode::init(SigC::Object*, void*, void (SigC::Object::*)()) make: *** [serie.o] Error 1 _________________________________________________________________ Reserva y planifica tu viaje online. http://www.msn.es/Viajes/ From Murray.Cumming@Comneon.com Wed Jan 7 10:39:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E7D1718302; Wed, 7 Jan 2004 10:39:17 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07FZJ7k022520; Wed, 7 Jan 2004 16:35:20 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 16:39:34 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: eckhardt@satorlaser.com, libsigc-list@gnome.org Cc: gtkmm-list@gnome.org Date: Wed, 7 Jan 2004 16:39:07 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry, I mean gcc 2.9*. Actually, I mean gcc <3.2, but I think 3.0/3.1 was short-lived. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: libsigc-list-admin@gnome.org > [mailto:libsigc-list-admin@gnome.org] On Behalf Of Ulrich Eckhardt > Sent: Mittwoch, 7. Januar 2004 16:27 > To: libsigc-list@gnome.org > Cc: gtkmm-list@gnome.org > Subject: Re: [sigc] Abandoning gcc 2.96? > > > On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm > > Libsigc++ 2.4, > > gtkmm will also not be able to use gcc 2.96. > > > > Who needs gcc 2.96 and why? > http://gcc.gnu.org/gcc-2.96.html Else, I saw those atrocities on Redhat and also recently on a Suse Alpha. I think both have the option to upgrade to a real GCC. One question, what about gcc 2.95? Is it anywhere near usability? just my EUR 0.02 Uli _______________________________________________ libsigc-list mailing list libsigc-list@gnome.org http://mail.gnome.org/mailman/listinfo/libsigc-list From trollking@shaw.ca Wed Jan 7 11:01:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 535AA18AF0 for ; Wed, 7 Jan 2004 11:01:43 -0500 (EST) Received: from pd2mr1so.prod.shaw.ca (pd2mr1so-ser.prod.shaw.ca [10.0.141.110]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400G7TN05HW@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400M6QN05GU@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400C1GN05MV@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Date: Wed, 07 Jan 2004 08:57:41 -0700 From: Dean Kutryk To: gtkmm-list@gnome.org Message-id: <1073491061.6856.2.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT Subject: [gtkmm] A Gtkmm Forum Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I don't know how to use a mailing list. Do you think that one day Gtkmm programmers might have a forum? From Murray.Cumming@Comneon.com Wed Jan 7 11:09:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 15016180DB for ; Wed, 7 Jan 2004 11:09:54 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07G5u7k003236; Wed, 7 Jan 2004 17:05:56 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 17:10:10 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2258D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: trollking@shaw.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] A Gtkmm Forum Date: Wed, 7 Jan 2004 17:09:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I don't know how to use a mailing list. Clearly you do. Just remember to use Reply To All after this and you've understood everything. > Do you think that one > day Gtkmm programmers might have a forum? Feel free to use this, but there are 550 people here, and not many there: http://gnomesupport.org/forums/ Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Wed Jan 7 12:39:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id B49D218175 for ; Wed, 7 Jan 2004 12:38:59 -0500 (EST) Received: (qmail 15654 invoked by uid 65534); 7 Jan 2004 17:38:58 -0000 Received: from pD9E9467C.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.70.124) by mail.gmx.net (mp014) with SMTP; 07 Jan 2004 18:38:58 +0100 X-Authenticated: #109577 Message-ID: <3FFC4432.5010209@gmx.de> Date: Wed, 07 Jan 2004 18:38:58 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] TreeView: Any chance to get the parent when child is selected? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I am facing the following problem: child is selected but I also need the parents´ value. Is there any way...? btw: parent has not been selected before, just expanded with the little triangle to see the children... My list view: o parent ---+ | + child + child + child << this is selected From Murray.Cumming@Comneon.com Wed Jan 7 12:45:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E87AE1819C for ; Wed, 7 Jan 2004 12:45:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07HfM7k018431; Wed, 7 Jan 2004 18:41:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 18:45:36 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22599@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abt@gmx.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] TreeView: Any chance to get the parent when child is selected? Date: Wed, 7 Jan 2004 18:45:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am facing the following problem: > child is selected but I also need > the parents=B4 value. Is there any way...? >=20 > btw: > parent has not been selected before, > just expanded with the little triangle > to see the children... >=20 > My list view: >=20 > o parent ---+ > | > + child > + child > + child << this is selected You need TreeModel::Row::parent(), I think: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeRow.html= #a6 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 7 13:28:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A7EEB181E5; Wed, 7 Jan 2004 13:28:40 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07IOg7k028753; Wed, 7 Jan 2004 19:24:42 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 19:28:57 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Wed, 7 Jan 2004 19:28:35 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Abandoning gcc 2.9*? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'll ask this again, using the correct version number: Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Who needs gcc 2.9* and why? Murray Cumming www.murrayc.com murrayc@usa.net From jrzagar@cactus.org Wed Jan 7 13:24:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ns2.arlut.utexas.edu (ns2.arlut.utexas.edu [146.6.211.1]) by mail.gnome.org (Postfix) with ESMTP id 4D68118366; Wed, 7 Jan 2004 13:24:30 -0500 (EST) Received: from ns5.arlut.utexas.edu (ns5.arlut.utexas.edu [10.4.1.6]) by ns2.arlut.utexas.edu (8.12.10/8.12.9) with ESMTP id i07IOTuO099796; Wed, 7 Jan 2004 12:24:29 -0600 (CST) Received: from bofh.arlut.utexas.edu (bofh.arlut.utexas.edu [10.8.16.106]) by ns5.arlut.utexas.edu (8.12.10/8.12.9) with ESMTP id i07IOTpf022183; Wed, 7 Jan 2004 12:24:29 -0600 (CST) From: Randy Zagar To: libsigc-list@gnome.org Cc: gtkmm-list@gnome.org In-Reply-To: <200401071626.54714.eckhardt@satorlaser.com> References: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> <200401071626.54714.eckhardt@satorlaser.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ojQu7Er7G5GnknSmhsyP" X-Mailer: Ximian Evolution 1.0.8 (1.0.8-9.7x.1) Date: 07 Jan 2004 12:24:29 -0600 Message-Id: <1073499869.2713.4.camel@bofh> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-ojQu7Er7G5GnknSmhsyP Content-Type: multipart/alternative; boundary="=-tWWRsrJT5pESVVfE3FA5" --=-tWWRsrJT5pESVVfE3FA5 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Since RedHat no longer supports any systems that were built with gcc-2.96, it's probably time to think about dropping it... On Wed, 2004-01-07 at 09:26, Ulrich Eckhardt wrote: On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.= 4, > gtkmm will also not be able to use gcc 2.96. >=20 > Who needs gcc 2.96 and why? =20 http://gcc.gnu.org/gcc-2.96.html =20 Else, I saw those atrocities on Redhat and also recently on a Suse Alph= a. I=20 think both have the option to upgrade to a real GCC. =20 One question, what about gcc 2.95? Is it anywhere near usability? =20 just my EUR 0.02 =20 Uli =20 _______________________________________________ libsigc-list mailing list libsigc-list@gnome.org http://mail.gnome.org/mailman/listinfo/libsigc-list =20 --=-tWWRsrJT5pESVVfE3FA5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Since RedHat no longer supports any systems that were built with gcc-2.96, = it's probably time to think about dropping it...

On Wed, 2004-01-07 at 09:26, Ulrich Eckhardt wrote:
On Monday 05 January 2004 =
16:34, Murray.Cumming@Comneon.com wrote:
> Libsigc++ 2 does not build=
 with gcc 2.96. So if we use it in gtkmm 2.4,
> gtkmm will also not be abl=
e to use gcc 2.96.
> 
> Who needs gcc 2.96 and why=
?

http://gcc.gnu.org/gcc-2.96.htm=
l

Else, I saw those atrocities on=
 Redhat and also recently on a Suse Alpha. I 
think both have the option to u=
pgrade to a real GCC.

One question, what about gcc 2.=
95? Is it anywhere near usability?

just my EUR 0.02<=
/I>

Uli

_______________________________=
________________
libsigc-list mailing list
libsigc-list@gnome.org
http://mail.gnome.org/mailman/listinfo/libsigc-list

    
--=-tWWRsrJT5pESVVfE3FA5-- --=-ojQu7Er7G5GnknSmhsyP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA//E7drJr8p/YoerERAqzuAJ0UzhWfP+x6nyp0ybrL7s+fLaQ1kgCfVNob NFZM7EyjYGBBxCTF9tc13jU= =Vbck -----END PGP SIGNATURE----- --=-ojQu7Er7G5GnknSmhsyP-- From paul@linuxaudiosystems.com Wed Jan 7 13:33:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out005.verizon.net (out005pub.verizon.net [206.46.170.143]) by mail.gnome.org (Postfix) with ESMTP id 601C3183CF for ; Wed, 7 Jan 2004 13:33:51 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([151.197.35.110]) by out005.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040107183348.ELCH3381.out005.verizon.net@dhin.linuxaudiosystems.com>; Wed, 7 Jan 2004 12:33:48 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i07IXlWE002009; Wed, 7 Jan 2004 13:33:47 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i07IXlvT002005; Wed, 7 Jan 2004 13:33:47 -0500 Message-Id: <200401071833.i07IXlvT002005@dhin.linuxaudiosystems.com> To: "Find All" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Glib::signal_io In-reply-to: Your message of "Wed, 07 Jan 2004 15:29:10 GMT." Date: Wed, 07 Jan 2004 13:33:47 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.197.35.110] at Wed, 7 Jan 2004 12:33:48 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'm having some problems with the Glib::signal_io().connect() function to do >the reading from a serial port. >class serie #include class serie : public SigC::Object From ghenriks@rogers.com Wed Jan 7 13:55:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep04-mail.bloor.is.net.cable.rogers.com (fep04-mail.bloor.is.net.cable.rogers.com [66.185.86.74]) by mail.gnome.org (Postfix) with ESMTP id 6A00A18132; Wed, 7 Jan 2004 13:55:47 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep04-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040107185308.NJZC430912.fep04-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Wed, 7 Jan 2004 13:53:08 -0500 From: Gerald Henriksen To: Murray.Cumming@Comneon.com Cc: libsigc-list@gnome.org, gtkmm-list@gnome.org Subject: Re: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Date: Wed, 07 Jan 2004 13:55:41 -0500 Message-ID: References: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep04-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Wed, 7 Jan 2004 13:53:08 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 7 Jan 2004 16:39:07 +0100, you wrote: >Sorry, I mean gcc 2.9*. Actually, I mean gcc <3.2, but I think 3.0/3.1 = was >short-lived. gcc 3.0 and 3.1 were not widely used, mainstream adoption started with gcc 3.2 The only problem I can see is that I believe some of the *bsd releases are still using gcc 2.9* (ie FreeBSD 4.9 is using gcc 2.95.4). Having said that I think the benefits of moving to gcc 3.2 or better are significant enough from a C++ standpoint that it should be done anyway. From masterofgoon@yahoo.com Wed Jan 7 15:27:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web14802.mail.yahoo.com (web14802.mail.yahoo.com [216.136.224.218]) by mail.gnome.org (Postfix) with SMTP id 8C2AD181DD for ; Wed, 7 Jan 2004 15:27:26 -0500 (EST) Message-ID: <20040107202721.58835.qmail@web14802.mail.yahoo.com> Received: from [67.160.136.100] by web14802.mail.yahoo.com via HTTP; Wed, 07 Jan 2004 12:27:21 PST Date: Wed, 7 Jan 2004 12:27:21 -0800 (PST) From: Kevin Blah To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Link error Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For some reason i am getting the following error: /tmp/cc7BpFlS.o(.text+0x3f): In function `main': /home/kevin/Projects/PortageUI/src/portageui.cc:12: undefined reference to `MainWindow::MainWindow[in-charge]()' /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: undefined reference to `MainWindow::~MainWindow [in-charge]()' /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: undefined reference to `MainWindow::~MainWindow [in-charge]()' collect2: ld returned 1 exit status the constructor and destroctor are both defined and implemented. all the code compiles fine except for the main function which consists of the following: int main(int argc, char **argv) { /* Let GTK strip any args it needs */ Gtk::Main kit(&argc, &argv); /* run run run */ MainWindow mainwindow; Gtk::Main::run(mainwindow); return 0; } help appreciated, kevin __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From gene@erachampion.com Wed Jan 7 15:51:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 463BE18160 for ; Wed, 7 Jan 2004 15:51:54 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i07L1dN29589 for gtkmm-list@gnome.org; Wed, 7 Jan 2004 13:01:39 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Wed, 7 Jan 2004 13:01:38 -0800 Message-ID: <1073509298.3ffc73b2a125e@realtyroad.com> Date: Wed, 7 Jan 2004 13:01:38 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'll ask this again, using the correct version number: > >Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it >in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > >Who needs gcc 2.9* and why? > >Murray Cumming >www.murrayc.com >murrayc@usa.net I dont see a pressing need to support gcc 2.9* on the Linux or Win32 platforms where we have gcc 3.2 availiable. In my opinion, the benefits of Libsigc++ 2 should outweigh the negatives of dropping support for gcc 2.9*. Someone mentioned earlier that BSD may still require gcc 2.9* support. Is this still the case? I'd be happy to see Libsigc++ 2 used in gtkmm2.4. -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From e97_far@e.kth.se Wed Jan 7 16:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from amsfep16-int.chello.nl (amsfep16-int.chello.nl [213.46.243.26]) by mail.gnome.org (Postfix) with ESMTP id B49DF18160 for ; Wed, 7 Jan 2004 16:04:58 -0500 (EST) Received: from arrak ([213.89.195.49]) by amsfep16-int.chello.nl (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with ESMTP id <20040107210455.CLUG13071.amsfep16-int.chello.nl@arrak>; Wed, 7 Jan 2004 22:04:55 +0100 To: Gene Ruebsamen Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? X-Face: )i'EH9W6aRwKbLPj&v.hI$Lk:lK%VtSa&&.u%8q'7Gr515^/4s\@4h8Tx5yqBd8"b4pj. bO}eSbU]\0OaA|Do*]kv@NuqJ3 From: Fredrik Arnerup Date: Wed, 07 Jan 2004 22:07:04 +0100 In-Reply-To: <1073509298.3ffc73b2a125e@realtyroad.com> (Gene Ruebsamen's message of "Wed, 7 Jan 2004 13:01:38 -0800") Message-ID: <874qv779jb.fsf@e.kth.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Gene Ruebsamen writes: > Someone mentioned earlier that BSD may still require gcc 2.9* > support. Is this still the case? I believe OpenBSD uses 2.95 for all non-64-bit platforms. But OpenBSD is mostly used on servers anyway. -- Fredrik Arnerup From palm@nogui.se Wed Jan 7 17:42:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id 695EF181B6; Wed, 7 Jan 2004 17:42:25 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i07MdbT5027645; Wed, 7 Jan 2004 23:39:37 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <3FFC9977.5040100@nogui.se> Date: Thu, 08 Jan 2004 00:42:47 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What about non-gcc compilers? Murray.Cumming@Comneon.com wrote: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > From abhatnag@mda.ca Wed Jan 7 18:14:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 3068218384 for ; Wed, 7 Jan 2004 18:14:44 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i07NEfM26122 for ; Wed, 7 Jan 2004 15:14:42 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 15:14:41 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845D@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Wed, 7 Jan 2004 15:14:41 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Possible to use libglademm -without- a GNOME installation?? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello. I'm trying to load up my .glade file in my application, however I get compilation errors saying that "Gnome" is undeclared when trying to declare my Glib::RefPtr refXml;. I don't have Gnome installed, but I do have gtk-2.2.4, gtkmm-2.2.8 and libglademm-2.0.1 installed. I am using a solaris 8 machine. Is there anyway around this? amit. From pgasper@designadvantage.com Wed Jan 7 18:51:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 01CA21890C; Wed, 7 Jan 2004 18:51:42 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AeNSa-0003h2-4q; Wed, 07 Jan 2004 18:51:36 -0500 Subject: Re: [gtkmm] Abandoning gcc 2.9*? From: Peter Gasper To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> Content-Type: text/plain Organization: Message-Id: <1073519494.2196.3.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 07 Jan 2004 16:51:38 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What is the gtk+ road map on this issue? I assume that if they dropped support then gtkmm would by necessity do also. Do they have any good reasons for continued support of 2.9*? PG On Wed, 2004-01-07 at 11:28, Murray.Cumming@Comneon.com wrote: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list -- Peter Gasper From olau@hardworking.dk Wed Jan 7 18:53:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp010.tiscali.dk (smtp010.tiscali.dk [212.54.64.103]) by mail.gnome.org (Postfix) with ESMTP id 1E13618A2E for ; Wed, 7 Jan 2004 18:53:47 -0500 (EST) Received: from bach.composers (116.ppp1-1.abc.worldonline.dk [213.237.21.116]) by smtp010.tiscali.dk (8.12.10/8.12.10) with ESMTP id i07NugKp013735 for ; Thu, 8 Jan 2004 00:56:51 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AeNTa-0004OK-4u for gtkmm-list@gnome.org; Thu, 08 Jan 2004 00:52:38 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link error References: <20040107202721.58835.qmail@web14802.mail.yahoo.com> From: Ole Laursen Date: Thu, 08 Jan 2004 00:52:38 +0100 In-Reply-To: <20040107202721.58835.qmail@web14802.mail.yahoo.com> (Kevin Blah's message of "Wed, 7 Jan 2004 12:27:21 -0800 (PST)") Message-ID: <87ekub71vd.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Kevin Blah writes: > For some reason i am getting the following error: > > /tmp/cc7BpFlS.o(.text+0x3f): In function `main': > /home/kevin/Projects/PortageUI/src/portageui.cc:12: > undefined reference to > `MainWindow::MainWindow[in-charge]()' > /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > collect2: ld returned 1 exit status > > the constructor and destroctor are both defined and > implemented. Hm, but the linker is telling you that it can't find them. Are you sure you are linking them with the code for the main function properly? If you are using Automake, one possibility is that you have forgotten to add the .cpp (or .cc or whatever) file for the main window class to the _SOURCES list. -- Ole Laursen http://www.cs.auc.dk/~olau/ From matthew@alledora.co.uk Wed Jan 7 19:03:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mail.gnome.org (Postfix) with ESMTP id A5ED7189CB; Wed, 7 Jan 2004 19:03:51 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040108000352.HKPB1005.mta06-svc.ntlworld.com@alledora.co.uk>; Thu, 8 Jan 2004 00:03:52 +0000 Message-ID: <3FFC9E9E.9070402@alledora.co.uk> Date: Thu, 08 Jan 2004 00:04:46 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Gasper Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> <1073519494.2196.3.camel@PETE> In-Reply-To: <1073519494.2196.3.camel@PETE> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: They're written in pure C, so I very much doubt it's actually much of a problem for them unless they're using C99 which they probably aren't. It's only really C++ that this matters for, as far as I can see, because gcc 2.9* had good C support but woeful C++, which as we all know is much improved in 3.2. So I doubt it's something that they've even thought about. Peter Gasper wrote: > What is the gtk+ road map on this issue? I assume that if they dropped > support then gtkmm would by necessity do also. Do they have any good > reasons for continued support of 2.9*? > > PG > > > On Wed, 2004-01-07 at 11:28, Murray.Cumming@Comneon.com wrote: > >>I'll ask this again, using the correct version number: >> >>Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it >>in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. >> >>Who needs gcc 2.9* and why? >> >>Murray Cumming >>www.murrayc.com >>murrayc@usa.net >> >>_______________________________________________ >>gtkmm-list mailing list >>gtkmm-list@gnome.org >>http://mail.gnome.org/mailman/listinfo/gtkmm-list From billyoc@gnuyork.org Wed Jan 7 19:28:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 3493318124 for ; Wed, 7 Jan 2004 19:28:24 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AeO03-0006W4-DB; Wed, 07 Jan 2004 19:26:11 -0500 To: Kevin Blah Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link error References: <20040107202721.58835.qmail@web14802.mail.yahoo.com> From: Billy O'Connor Date: Wed, 07 Jan 2004 19:26:11 -0500 In-Reply-To: <20040107202721.58835.qmail@web14802.mail.yahoo.com> (Kevin Blah's message of "Wed, 7 Jan 2004 12:27:21 -0800 (PST)") Message-ID: <87brpfi8v0.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Kevin Blah writes: > For some reason i am getting the following error: > > /tmp/cc7BpFlS.o(.text+0x3f): In function `main': > /home/kevin/Projects/PortageUI/src/portageui.cc:12: > undefined reference to > `MainWindow::MainWindow[in-charge]()' > /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > collect2: ld returned 1 exit status Can you post a minimal example that fails? I've seen this exact error, but I need a memory jogger. From abhatnag@mda.ca Wed Jan 7 19:31:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id B456418124 for ; Wed, 7 Jan 2004 19:31:38 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i080VaM10083 for ; Wed, 7 Jan 2004 16:31:37 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 16:31:36 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> From: Amit BHATNAGAR To: Amit BHATNAGAR , gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Wed, 7 Jan 2004 16:31:36 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For what its worth, the following is what I am using to compile my application, (via makefile) g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc `pkg-config --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` `pkg-config libglademm-2.0 --cflags --libs` any ideas would be appreicated. > -----Original Message----- > From: Amit BHATNAGAR [mailto:abhatnag@mda.ca] > Sent: January 7, 2004 3:15 PM > To: gtkmm-list@gnome.org > Subject: [gtkmm] Possible to use libglademm -without- a GNOME > installation?? > > > Hello. > > I'm trying to load up my .glade file in my application, however > I get compilation errors saying that "Gnome" is undeclared when > trying to declare my Glib::RefPtr refXml;. > > I don't have Gnome installed, but I do have gtk-2.2.4, gtkmm-2.2.8 and > libglademm-2.0.1 installed. > > I am using a solaris 8 machine. > > Is there anyway around this? > > amit. > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From billyoc@gnuyork.org Wed Jan 7 19:46:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 8506E1812A for ; Wed, 7 Jan 2004 19:46:46 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AeOHs-0001KF-4K; Wed, 07 Jan 2004 19:44:36 -0500 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? References: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> From: Billy O'Connor Date: Wed, 07 Jan 2004 19:44:35 -0500 In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> (Amit BHATNAGAR's message of "Wed, 7 Jan 2004 16:31:36 -0800") Message-ID: <874qv7i80c.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR writes: > For what its worth, the following is what I am using to compile my > application, (via > makefile) > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc `pkg-config > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` `pkg-config libglademm-2.0 > --cflags --libs` > > any ideas would be appreicated. > Will this smal example compile for you? #include int main (int argc, char **argv) { Glib::RefPtr refXml; return 0; } From abhatnag@mda.ca Wed Jan 7 19:55:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id F2CA118464 for ; Wed, 7 Jan 2004 19:55:43 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i080teM14066; Wed, 7 Jan 2004 16:55:41 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 16:55:40 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845F@msxyvr5.mda.ca> From: Amit BHATNAGAR To: "'Billy O'Connor'" Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Wed, 7 Jan 2004 16:55:40 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes this does compile. Simply including in my test app solved the problem. I thought this was a much tougher problem when I realized that I didn't have gnome installed. My appologies! amit. > -----Original Message----- > From: Billy O'Connor [mailto:billyoc@gnuyork.org] > Sent: January 7, 2004 4:45 PM > To: Amit BHATNAGAR > Cc: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME > installa tion?? > > > Amit BHATNAGAR writes: > > > For what its worth, the following is what I am using to compile my > > application, (via > > makefile) > > > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc > `pkg-config > > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` > `pkg-config libglademm-2.0 > > --cflags --libs` > > > > any ideas would be appreicated. > > > > Will this smal example compile for you? > > #include > > int main (int argc, char **argv) > { > Glib::RefPtr refXml; > > return 0; > } > > From tkoskine@students.cc.tut.fi Wed Jan 7 20:28:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from paperi.ton.tut.fi (paperi.ton.tut.fi [193.166.234.15]) by mail.gnome.org (Postfix) with ESMTP id 829091831D for ; Wed, 7 Jan 2004 20:28:56 -0500 (EST) Received: from f125b.lanhovi.ton.tut.fi (gurb.ton.tut.fi) [193.166.80.51] by paperi.ton.tut.fi with esmtp (Exim 3.33 #3 (Debian)) id 1AeOyi-0004vl-00; Thu, 08 Jan 2004 03:28:52 +0200 Received: from gurb.ton.tut.fi (localhost.localnet [IPv6:::1]) by gurb.ton.tut.fi (8.12.10/8.12.10) with SMTP id i081SL8k026801 for ; Thu, 8 Jan 2004 03:28:21 +0200 (EET) Date: Thu, 8 Jan 2004 03:28:21 +0200 From: Tero Koskinen To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? Message-Id: <20040108032821.5c9f4b24.tkoskine@students.cc.tut.fi> In-Reply-To: <874qv779jb.fsf@e.kth.se> References: <1073509298.3ffc73b2a125e@realtyroad.com> <874qv779jb.fsf@e.kth.se> Reply-To: tkoskine@students.cc.tut.fi X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-unknown-openbsd3.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 07 Jan 2004 22:07:04 +0100 Fredrik Arnerup wrote: > Gene Ruebsamen writes: > > > Someone mentioned earlier that BSD may still require gcc 2.9* > > support. Is this still the case? > > I believe OpenBSD uses 2.95 for all non-64-bit platforms. Also NetBSD 1.6.1 (stable) and FreeBSD 4.9 (stable) use GCC 2.95 by their default compiler. All three BSDs provide GCC 3.3.x/3.2.x via ports/packages/pkg_src collection. GCC 3.3.x is the default compiler on NetBSD-current and FreeBSD-current. OpenBSD-current uses GCC 2.95 (on non-64-bit platforms). If the GCC 2.9x support is dropped from gtkmm, then one cannot compile gtkmm on stable release of any BSD without installing another compiler(GCC 3.[23].x) first. Having two GCCs on same system is a little bit chaotic since you need two different versions of C++ libraries, but usually there aren't too many of them and the amount of management stays reasonable. > But OpenBSD is mostly used on servers anyway. Personally I use OpenBSD-current as my primary desktop OS and like to play with gtkmm as a hobby. I have nothing against dropping the GCC 2.9x support since on my system gtkmm is compiled using GCC 3.2.3 because my own C++ code doesn't build with GCC 2.95. -- Tero Koskinen - tkoskine@students.cc.tut.fi From gtkmm-forge-admin@lists.sourceforge.net Wed Jan 7 23:04:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 6D1C618491 for ; Wed, 7 Jan 2004 23:04:24 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AeRPD-0008Lw-5U for gtkmm-list@gnome.org; Wed, 07 Jan 2004 20:04:23 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AeRPD-0008Ky-1j for gtkmm-list@gnome.org; Wed, 07 Jan 2004 20:04:23 -0800 Date: Wed, 07 Jan 2004 20:01:11 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #592 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm (bugzilla-daemon@widget.gnome.org) 2. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) 3. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Wed, 7 Jan 2004 03:16:47 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=86865 Changed by murrayc@usa.net. --- shadow/86865 Tue Jan 6 13:02:25 2004 +++ shadow/86865.tmp.14758 Wed Jan 7 03:16:47 2004 @@ -10,13 +10,13 @@ Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: murrayc@usa.net TargetMilestone: --- URL: Summary: Collection of minor GTK+ bugs that affect gtkmm -BugsThisDependsOn: 52877, 63768, 64601, 72426[FIXED] +BugsThisDependsOn: 52877[FIXED], 63768, 64601, 72426[FIXED] This umbrella bug helps us to know what GTK+ bugs are relevant to gtkmm. We have probably hacked around these bugs, but we'd still like them to be fixed properly. ------- Additional Comments From murrayc@usa.net 2003-07-18 09:55 ------- --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Wed, 7 Jan 2004 08:03:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Wed Dec 17 11:43:31 2003 +++ shadow/129210.tmp.6186 Wed Jan 7 08:03:27 2004 @@ -135,6 +135,11 @@ Hell, it certainly wasn't obvious to me that any of those files were generated when I do something like ``vi +100 gtkmm-2.3.1/gtk/gtkmm/radioaction.h'' ------- Additional Comments From murrayc@usa.net 2003-12-17 11:43 ------- I am happy to apply a patch for this. + +------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- +There is a chance that we will not support gcc 2.96 in future, because +we might use a newer libsigc++ that can not support it. On the mailing +list I am asking who needs 2.96 and why? Maybe you could reply to that. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Wed, 7 Jan 2004 14:45:39 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by dalgoda@ix.netcom.com. --- shadow/129210 Wed Jan 7 08:03:27 2004 +++ shadow/129210.tmp.25974 Wed Jan 7 14:45:38 2004 @@ -140,6 +140,81 @@ I am happy to apply a patch for this. ------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- There is a chance that we will not support gcc 2.96 in future, because we might use a newer libsigc++ that can not support it. On the mailing list I am asking who needs 2.96 and why? Maybe you could reply to that. + +------- Additional Comments From dalgoda@ix.netcom.com 2004-01-07 14:45 ------- +Hi. + +I'm on way too many email lists now as it is (if there was an NNTP +interface available, I'd use it). So I'll just comment here. I did +read the threads in the archives however. + +First, let me explain that I have been maintaining my own home-grown +Linux system since 1994. It's Linux from scratch before +linuxfromscratch existed. I usually keep bleeding edge on most +things, but lately (last couple of years or so) I have slacked off a +bit and not followed the 2.5 kernels. Since the Linux kernel, for a +long time, did not like to build with any gcc-3 [note: I just checked +2.6.1-rc2, and at least the docs there still recommend 2.95.x, x>=3], +I stuck with gcc-2. This also forced me to stay with glibc-2.2.5. +Now, I know that I can run two different versions of gcc, however +since the same `gcc' cannot handle -V for 2.x and 3.x (-V only works +withing the same major). I didn't feel there was anything to really be +gained by upgrading; it wasn't worth the effort of trying to keep gcc2 +and gcc3 executables. + +A few other things pushed this as well. + +For instance, gpc only works with gcc2. And I've always wanted to +play with gpc (in my ohhhh so ample spare time :-). + +It turns out that since gcc2 doesn't support C99 by default, I've +discovered a lot of code that would not build against non-C99 +compilers being put out by people (stuff in Gnome, stuff on CPAN, +etc). To paraphrase a well known saying, "All the world is not gcc." + With the fact that a lot of compilers are not C99 capable yet, my +bleeding edge updates have helped me submit a LOT of patches to +various projects. I imagine I could probably configure gcc3 to not do + C99 by default, but since I've not looked into upgrading, I've not +bothered doing that research. + +I don't do any C++ programming, so the personal need for the better +C++ support simply isn't there. + +Now, those are the reasons why *I* still use 2.95.*. Basically it +comes down to I'm lazy and it's useful for finding issues in the `C' +world. But I admit that for C++, it sucks. + +Some points to consider though: + +Ignore RedHat completely. 2.96 does not exist. Consider 2.95.3 (or +2.95.4 which is really cvs-tip from the 2_95 branch). Just because RH +doesn't support the older compiler doesn't mean other people don't. +You can buy support for older RH from Progeny. Heck, Sun continues to +build Java against RH6.2 or something like that. A better solution +would be to look at what Debian supports in their unstable branch (or +wherever the comparable gtkmm stuff would live). + +All the world is not Linux, either. Someone pointed out that one of +the BSD's is using gcc-2.95.*. What do other current OS's support in +their C++ environments as far as compatibilty goes? I think that's a +far better guage. + +If going to require the newer libsigc++, then yeah, definitely go +ahead an use modern C++ features and don't worry about backwards +compatibility. + +However, I would strongly advise against specifically checking against + version numbers of compilers. That is just too fragile (regressions, +branching, etc) and only works for g++. Instead, do feature checks +against whatever C++ compiler is being used. As bug, like this one, +appear, then add it as a feature check and say "Your compiler does not +support feature XYZ." + +Well, that's a lot of babbling. :-> + +I guess it could all be summarized with this: Go ahead and require +modern C++ features, but try to catch support for them up front with +autoconf. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From minutsil@cse.msu.edu Wed Jan 7 23:31:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from red.cse.msu.edu (red.cse.msu.edu [35.9.20.11]) by mail.gnome.org (Postfix) with ESMTP id 74EAB184D0 for ; Wed, 7 Jan 2004 23:31:34 -0500 (EST) Received: from arctic.cse.msu.edu (arctic.cse.msu.edu [35.9.20.20]) by red.cse.msu.edu (8.12.10/8.12.10) with ESMTP id i084VUnN006760; Wed, 7 Jan 2004 23:31:30 -0500 (EST) Date: Wed, 7 Jan 2004 23:31:30 -0500 (EST) From: Silviu D Minut To: Cc: Subject: RE: [gtkmm] A Gtkmm Forum In-Reply-To: <258B0164D480D5118D900800062B385801C2258D@vihsx09a.vih.infineon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Could we have a newsgroup? Could we move everybody on this list to the newsgroup? I find it much more convenient than the mailing list. On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > I don't know how to use a mailing list. > > Clearly you do. Just remember to use Reply To All after this and you've > understood everything. > > > Do you think that one > > day Gtkmm programmers might have a forum? > > Feel free to use this, but there are 550 people here, and not many there: > http://gnomesupport.org/forums/ > > Murray Cumming > www.murrayc.com > murrayc@usa.net > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From trollking@shaw.ca Wed Jan 7 23:50:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 505D0183D1 for ; Wed, 7 Jan 2004 23:50:26 -0500 (EST) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-ser.prod.shaw.ca [10.0.141.179]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR500J5ZMNQU7@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Received: from pn2ml7so.prod.shaw.ca (pn2ml7so-qfe0.prod.shaw.ca [10.0.121.151]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR5009QYMNQSN@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR50072IMNQ2B@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Date: Wed, 07 Jan 2004 21:47:50 -0700 From: Dean Kutryk In-reply-to: <20040107170020.15419.74567.Mailman@moniker.gnome.org> To: gtkmm-list@gnome.org Message-id: <1073537270.7353.0.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <20040107170020.15419.74567.Mailman@moniker.gnome.org> Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #809 - 2 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Can't we come out of the closet and get an operational forums. I'll kick in a few dollars even. On Wed, 2004-01-07 at 10:00, gtkmm-list-request@gnome.org wrote: > Send gtkmm-list mailing list submissions to > gtkmm-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.gnome.org/mailman/listinfo/gtkmm-list > or, via email, send a message with subject or body 'help' to > gtkmm-list-request@gnome.org > > You can reach the person managing the list at > gtkmm-list-admin@gnome.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gtkmm-list digest..." > > > Today's Topics: > > 1. A Gtkmm Forum (Dean Kutryk) > 2. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > > --__--__-- > > Message: 1 > Date: Wed, 07 Jan 2004 08:57:41 -0700 > From: Dean Kutryk > To: gtkmm-list@gnome.org > Subject: [gtkmm] A Gtkmm Forum > > I don't know how to use a mailing list. Do you think that one day Gtkmm > programmers might have a forum? > > > > --__--__-- > > Message: 2 > From: Murray.Cumming@Comneon.com > To: trollking@shaw.ca, gtkmm-list@gnome.org > Subject: RE: [gtkmm] A Gtkmm Forum > Date: Wed, 7 Jan 2004 17:09:47 +0100 > > > I don't know how to use a mailing list. > > Clearly you do. Just remember to use Reply To All after this and you've > understood everything. > > > Do you think that one > > day Gtkmm programmers might have a forum? > > Feel free to use this, but there are 550 people here, and not many there: > http://gnomesupport.org/forums/ > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > > --__--__-- > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > End of gtkmm-list Digest From cjnygard@fast.net Thu Jan 8 00:23:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from newmx1.fast.net (newmx1.fast.net [209.92.1.31]) by mail.gnome.org (Postfix) with SMTP id 2C2C31815D for ; Thu, 8 Jan 2004 00:23:22 -0500 (EST) Received: (qmail 8186 invoked from network); 8 Jan 2004 05:23:21 -0000 Received: from unknown (HELO ?192.168.1.19?) ([209.92.227.114]) (envelope-sender ) by newmx1.fast.net (qmail-ldap-1.03) with SMTP for ; 8 Jan 2004 05:23:21 -0000 Subject: RE: [gtkmm] A Gtkmm Forum From: Carl Nygard To: Silviu D Minut Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org In-Reply-To: References: Content-Type: text/plain Message-Id: <1073510602.25100.21.camel@traveler> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 07 Jan 2004 16:23:23 -0500 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-07 at 23:31, Silviu D Minut wrote: > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. > How about a conference call instead? I really enjoy those, especially hearing all the silly accents;) I propose every monday at 4pm (y'all pick the timezone)... oh wait, that's Oprah. Where's that XML-TV when you need it... > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list From gtkmm-list@mlists.thewrittenword.com Thu Jan 8 00:33:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from spuckler.il.thewrittenword.com (mail2.thewrittenword.com [67.95.107.111]) by mail.gnome.org (Postfix) with ESMTP id 4F4121815D for ; Thu, 8 Jan 2004 00:33:45 -0500 (EST) Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com [127.0.0.1]) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) with ESMTP id i085Xgne085918 for ; Wed, 7 Jan 2004 23:33:42 -0600 (CST) Received: (from china@localhost) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) id i085Xgc1085917 for gtkmm-list@gnome.org; Wed, 7 Jan 2004 23:33:42 -0600 (CST) Date: Wed, 7 Jan 2004 23:33:42 -0600 From: Albert Chin To: gtkmm-list@gnome.org Message-ID: <20040108053342.GA85860@spuckler.il.thewrittenword.com> Reply-To: gtkmm-list@gnome.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] Building gtkmm-2.2.8 with HP C++ compiler Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Do the following errors make sense to anyone? I'm trying to build gtkmm-2.2.8 with the HP C++ compiler on HP-UX 11.00 and 11i. aCC -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include -I/opt/TWWfsw/libsigc++12/lib/include -I/opt/TWWfsw/libsigc++12/include -D_REENTRANT -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include +O2 -AA -z +Onofltacc +ESlit +DAportable +Oentrysched +Odataprefetch +Onolimit -c convert.cc +Z -DPIC -o .libs/convert.o Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 221: "../../glib/glibmm/ustring.h", line 705 # Member 'SequenceToString' not declared in struct SequenceToString<#1,char> ["../../glib/glibmm/ustring.h", line 547]. ustring::SequenceToString::SequenceToString(In pbegin, In pend) ^^^^^^^^^^^^^^^^ Warning (anachronism) 600: "../../glib/glibmm/ustring.h", line 705 # Type specifier is omitted; "int" is no longer assumed. ustring::SequenceToString::SequenceToString(In pbegin, In pend) ^^^^^^^^^^^^^^^^ Error 188: "../../glib/glibmm/ustring.h", line 707 # Member and base class initializers may only be used in constructors. std::string(pbegin, pend) ^^^^^^^^^^^^ Error 221: "../../glib/glibmm/ustring.h", line 711 # Member 'SequenceToString' not declared in struct SequenceToString<#1,unsigned int> ["../../glib/glibmm/ustring.h", line 553]. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ Error 174: "../../glib/glibmm/ustring.h", line 711 # Function redefinition; previously defined as "int Glib::SequenceToString(#1,#1)" at ["../../glib/glibmm/ustring.h", line 705]. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ Error 445: "../../glib/glibmm/ustring.h", line 711 # Cannot recover from earlier errors. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ gmake[5]: *** [convert.lo] Error 1 gmake[5]: Leaving directory `/opt/build/gtkmm-2.2.8/glib/glibmm' -- albert chin (china@thewrittenword.com) From Murray.Cumming@Comneon.com Thu Jan 8 03:28:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 60B731812C; Thu, 8 Jan 2004 03:28:13 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088OE7k028094; Thu, 8 Jan 2004 09:24:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:28:29 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225D7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: palm@nogui.se Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? Date: Thu, 8 Jan 2004 09:28:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > What about non-gcc compilers? They are a differerent story. I would expect us to support at least SUN's Forte C++ compiler, and the Microsoft Visual C++ .Net 2003 compiler. But I don't think anybody has tried libsigc++ 2 with them yet. A couple of people did offer me some help with a SUN login, and hopefully I'll have a chance to try that soon. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 8 03:28:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ACB1618156 for ; Thu, 8 Jan 2004 03:28:53 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088Os7k028524; Thu, 8 Jan 2004 09:24:54 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:29:09 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225D8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abhatnag@mda.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Thu, 8 Jan 2004 09:28:51 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm trying to load up my .glade file in my application, however > I get compilation errors saying that "Gnome" is undeclared when > trying to declare my Glib::RefPtr refXml;. > > I don't have Gnome installed, but I do have gtk-2.2.4, > gtkmm-2.2.8 and libglademm-2.0.1 installed. > > I am using a solaris 8 machine. > > Is there anyway around this? I think you are just forgetting an #include. Please look at the libglademm examples. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 8 03:32:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D07C91812C for ; Thu, 8 Jan 2004 03:32:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088SH7k029781; Thu, 8 Jan 2004 09:28:17 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:32:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225DC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: minutsil@cse.msu.edu, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] A Gtkmm Forum Date: Thu, 8 Jan 2004 09:32:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I think that the MARC archive people have a newsgroup gateweay thingy. Tell us how it works if you investigate: http://marc.theaimsgroup.com/?l=gtkmm&r=1&w=2#gtkmm Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Silviu D Minut [mailto:minutsil@cse.msu.edu] > Sent: Donnerstag, 8. Januar 2004 05:32 > To: Murray.Cumming@Comneon.com > Cc: gtkmm-list@gnome.org > Subject: RE: [gtkmm] A Gtkmm Forum > > > Could we have a newsgroup? Could we move everybody on this > list to the newsgroup? I find it much more convenient than > the mailing list. > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and > > you've understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many > > there: http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > From find_all@hotmail.com Thu Jan 8 04:10:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f26.sea2.hotmail.com [207.68.165.26]) by mail.gnome.org (Postfix) with ESMTP id 96E3418149 for ; Thu, 8 Jan 2004 04:10:00 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 8 Jan 2004 01:09:59 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Thu, 08 Jan 2004 09:09:59 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: paul@linuxaudiosystems.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Glib::signal_io Date: Thu, 08 Jan 2004 09:09:59 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 08 Jan 2004 09:09:59.0727 (UTC) FILETIME=[3134FBF0:01C3D5C7] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >From: Paul Davis >To: "Find All" >CC: gtkmm-list@gnome.org >Subject: Re: [gtkmm] Glib::signal_io Date: Wed, 07 Jan 2004 13:33:47 -0500 > > >I'm having some problems with the Glib::signal_io().connect() function to >do > >the reading from a serial port. > > >class serie > >#include > >class serie : public SigC::Object I make a "locate sigc++/signal_system.h" an nothing :-( I've use sigc++/signal.h (I've sigc++1.2 not the 2 version) and it compiles, does this signal.h work as signal_system.h of the sigc++2? I'm having some problems with the serial port configuration (I want to use it at 115200 baud), so I can't verify if its executes well. Is there a example of using a serial port in gtkmm on the web that it really works (I have found the example of the monitoring I/O but it faults, it uses 'very' deprecated functions)? _________________________________________________________________ Una mejor experiencia en Internet. Prueba gratis dos meses MSN 8. http://join.msn.com/?pgmarket=es-es&XAPID=1577&DI=1055 From trollking@shaw.ca Thu Jan 8 05:18:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 681EE183E2 for ; Thu, 8 Jan 2004 05:18:30 -0500 (EST) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-ser.prod.shaw.ca [10.0.141.177]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600JEH1YTIV@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Received: from pn2ml4so.prod.shaw.ca (pn2ml4so-qfe0.prod.shaw.ca [10.0.121.148]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600E8U1YTQN@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600A0T1YTRF@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Date: Thu, 08 Jan 2004 03:18:29 -0700 From: Dean Kutryk To: gtkmm-list@gnome.org Message-id: <1073557109.7912.4.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT Subject: [gtkmm] A burning question about X Windows Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I realize that Gtkmm is a wrapper of the software library GTK+, however is it wrong for a C++ programmer to perhaps want to design some custom widgets or enhancements that he uses along with the the Gtkmm library. I was wondering why there are so few tutorials on XFree86. How on earth can people ignore all information and knowledge about such a core infrastructure, and yet the Linux kernel gets so much attention. From trollking@shaw.ca Thu Jan 8 05:19:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 00CCC18217 for ; Thu, 8 Jan 2004 05:19:42 -0500 (EST) Received: from pd4mr3so.prod.shaw.ca (pd4mr3so-qfe3.prod.shaw.ca [10.0.141.214]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600HNP1PL5K@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR6006TC1PL85@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600IEE1PLOA@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Date: Thu, 08 Jan 2004 03:12:57 -0700 From: Dean Kutryk In-reply-to: <20040108091104.10624.55859.Mailman@moniker.gnome.org> To: gtkmm-list@gnome.org Message-id: <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <20040108091104.10624.55859.Mailman@moniker.gnome.org> Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #811 - 13 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This 'newsgroup thing' looks like a massive batch of ideas all piled on top of each other. Talk about a barrier to technology, I see that technology only complicates old practices. I think it would be better to literally get out a pencil and a piece of paper and do this whole thing using the postal service. On Thu, 2004-01-08 at 02:11, gtkmm-list-request@gnome.org wrote: > Send gtkmm-list mailing list submissions to > gtkmm-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.gnome.org/mailman/listinfo/gtkmm-list > or, via email, send a message with subject or body 'help' to > gtkmm-list-request@gnome.org > > You can reach the person managing the list at > gtkmm-list-admin@gnome.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gtkmm-list digest..." > > > Today's Topics: > > 1. RE: Possible to use libglademm -without- a GNOME installa > tion?? (Amit BHATNAGAR) > 2. Re: Abandoning gcc 2.9*? (Tero Koskinen) > 3. Gtkmm-forge digest, Vol 1 #592 - 3 msgs (gtkmm-forge-request@lists.sourceforge.net) > 4. RE: A Gtkmm Forum (Silviu D Minut) > 5. Re: gtkmm-list digest, Vol 1 #809 - 2 msgs (Dean Kutryk) > 6. RE: A Gtkmm Forum (Carl Nygard) > 7. Building gtkmm-2.2.8 with HP C++ compiler (Albert Chin) > 8. RE: Abandoning gcc 2.9*? (Murray.Cumming@Comneon.com) > 9. RE: Possible to use libglademm -without- a GNOME installa > tion?? (Murray.Cumming@Comneon.com) > 10. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > 11. Re: Glib::signal_io (Find All) > > --__--__-- > > Message: 1 > From: Amit BHATNAGAR > To: "'Billy O'Connor'" > Cc: gtkmm-list@gnome.org > Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa > tion?? > Date: Wed, 7 Jan 2004 16:55:40 -0800 > > Yes this does compile. Simply including in my test > app solved the problem. > > I thought this was a much tougher problem when I realized that I didn't > have gnome installed. > > My appologies! > > amit. > > > -----Original Message----- > > From: Billy O'Connor [mailto:billyoc@gnuyork.org] > > Sent: January 7, 2004 4:45 PM > > To: Amit BHATNAGAR > > Cc: gtkmm-list@gnome.org > > Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME > > installa tion?? > > > > > > Amit BHATNAGAR writes: > > > > > For what its worth, the following is what I am using to compile my > > > application, (via > > > makefile) > > > > > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc > > `pkg-config > > > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` > > `pkg-config libglademm-2.0 > > > --cflags --libs` > > > > > > any ideas would be appreicated. > > > > > > > Will this smal example compile for you? > > > > #include > > > > int main (int argc, char **argv) > > { > > Glib::RefPtr refXml; > > > > return 0; > > } > > > > > > --__--__-- > > Message: 2 > Date: Thu, 8 Jan 2004 03:28:21 +0200 > From: Tero Koskinen > To: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Abandoning gcc 2.9*? > Reply-To: tkoskine@students.cc.tut.fi > > On Wed, 07 Jan 2004 22:07:04 +0100 > Fredrik Arnerup wrote: > > Gene Ruebsamen writes: > > > > > Someone mentioned earlier that BSD may still require gcc 2.9* > > > support. Is this still the case? > > > > I believe OpenBSD uses 2.95 for all non-64-bit platforms. > > Also NetBSD 1.6.1 (stable) and FreeBSD 4.9 (stable) use GCC 2.95 by their > default compiler. All three BSDs provide GCC 3.3.x/3.2.x via > ports/packages/pkg_src collection. > > GCC 3.3.x is the default compiler on NetBSD-current and FreeBSD-current. > OpenBSD-current uses GCC 2.95 (on non-64-bit platforms). > > If the GCC 2.9x support is dropped from gtkmm, then one cannot > compile gtkmm on stable release of any BSD without installing > another compiler(GCC 3.[23].x) first. > > Having two GCCs on same system is a little bit chaotic since you > need two different versions of C++ libraries, but usually there aren't > too many of them and the amount of management stays reasonable. > > > But OpenBSD is mostly used on servers anyway. > > Personally I use OpenBSD-current as my primary desktop OS and like > to play with gtkmm as a hobby. I have nothing against dropping the GCC 2.9x > support since on my system gtkmm is compiled using GCC 3.2.3 because my own > C++ code doesn't build with GCC 2.95. > > -- > Tero Koskinen - tkoskine@students.cc.tut.fi > > --__--__-- > > Message: 3 > Date: Wed, 07 Jan 2004 20:01:11 -0800 > From: gtkmm-forge-request@lists.sourceforge.net > Reply-To: gtkmm-forge@lists.sourceforge.net > To: gtkmm-forge@lists.sourceforge.net > Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #592 - 3 msgs > > Send Gtkmm-forge mailing list submissions to > gtkmm-forge@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gtkmm-forge > or, via email, send a message with subject or body 'help' to > gtkmm-forge-request@lists.sourceforge.net > > You can reach the person managing the list at > gtkmm-forge-admin@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gtkmm-forge digest..." > > > gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. > > > Today's Topics: > > 1. [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm (bugzilla-daemon@widget.gnome.org) > 2. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) > 3. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) > > -- __--__-- > > Message: 1 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net > Cc: > Date: Wed, 7 Jan 2004 03:16:47 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=86865 > > Changed by murrayc@usa.net. > > --- shadow/86865 Tue Jan 6 13:02:25 2004 > +++ shadow/86865.tmp.14758 Wed Jan 7 03:16:47 2004 > @@ -10,13 +10,13 @@ > Component: general > AssignedTo: gtkmm-forge@lists.sourceforge.net > ReportedBy: murrayc@usa.net > TargetMilestone: --- > URL: > Summary: Collection of minor GTK+ bugs that affect gtkmm > -BugsThisDependsOn: 52877, 63768, 64601, 72426[FIXED] > +BugsThisDependsOn: 52877[FIXED], 63768, 64601, 72426[FIXED] > > This umbrella bug helps us to know what GTK+ bugs are relevant to gtkmm. > We have probably hacked around these bugs, but we'd still like them to be > fixed properly. > > ------- Additional Comments From murrayc@usa.net 2003-07-18 09:55 ------- > > > -- __--__-- > > Message: 2 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com > Cc: > Date: Wed, 7 Jan 2004 08:03:27 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=129210 > > Changed by murrayc@usa.net. > > --- shadow/129210 Wed Dec 17 11:43:31 2003 > +++ shadow/129210.tmp.6186 Wed Jan 7 08:03:27 2004 > @@ -135,6 +135,11 @@ > Hell, it certainly wasn't obvious to me that any of those files were > generated when I do something like ``vi +100 > gtkmm-2.3.1/gtk/gtkmm/radioaction.h'' > > ------- Additional Comments From murrayc@usa.net 2003-12-17 11:43 ------- > I am happy to apply a patch for this. > + > +------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- > +There is a chance that we will not support gcc 2.96 in future, because > +we might use a newer libsigc++ that can not support it. On the mailing > +list I am asking who needs 2.96 and why? Maybe you could reply to that. > > > -- __--__-- > > Message: 3 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com > Cc: > Date: Wed, 7 Jan 2004 14:45:39 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=129210 > > Changed by dalgoda@ix.netcom.com. > > --- shadow/129210 Wed Jan 7 08:03:27 2004 > +++ shadow/129210.tmp.25974 Wed Jan 7 14:45:38 2004 > @@ -140,6 +140,81 @@ > I am happy to apply a patch for this. > > ------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- > There is a chance that we will not support gcc 2.96 in future, because > we might use a newer libsigc++ that can not support it. On the mailing > list I am asking who needs 2.96 and why? Maybe you could reply to that. > + > +------- Additional Comments From dalgoda@ix.netcom.com 2004-01-07 14:45 ------- > +Hi. > + > +I'm on way too many email lists now as it is (if there was an NNTP > +interface available, I'd use it). So I'll just comment here. I did > +read the threads in the archives however. > + > +First, let me explain that I have been maintaining my own home-grown > +Linux system since 1994. It's Linux from scratch before > +linuxfromscratch existed. I usually keep bleeding edge on most > +things, but lately (last couple of years or so) I have slacked off a > +bit and not followed the 2.5 kernels. Since the Linux kernel, for a > +long time, did not like to build with any gcc-3 [note: I just checked > +2.6.1-rc2, and at least the docs there still recommend 2.95.x, x>=3], > +I stuck with gcc-2. This also forced me to stay with glibc-2.2.5. > +Now, I know that I can run two different versions of gcc, however > +since the same `gcc' cannot handle -V for 2.x and 3.x (-V only works > +withing the same major). I didn't feel there was anything to really be > +gained by upgrading; it wasn't worth the effort of trying to keep gcc2 > +and gcc3 executables. > + > +A few other things pushed this as well. > + > +For instance, gpc only works with gcc2. And I've always wanted to > +play with gpc (in my ohhhh so ample spare time :-). > + > +It turns out that since gcc2 doesn't support C99 by default, I've > +discovered a lot of code that would not build against non-C99 > +compilers being put out by people (stuff in Gnome, stuff on CPAN, > +etc). To paraphrase a well known saying, "All the world is not gcc." > + With the fact that a lot of compilers are not C99 capable yet, my > +bleeding edge updates have helped me submit a LOT of patches to > +various projects. I imagine I could probably configure gcc3 to not do > + C99 by default, but since I've not looked into upgrading, I've not > +bothered doing that research. > + > +I don't do any C++ programming, so the personal need for the better > +C++ support simply isn't there. > + > +Now, those are the reasons why *I* still use 2.95.*. Basically it > +comes down to I'm lazy and it's useful for finding issues in the `C' > +world. But I admit that for C++, it sucks. > + > +Some points to consider though: > + > +Ignore RedHat completely. 2.96 does not exist. Consider 2.95.3 (or > +2.95.4 which is really cvs-tip from the 2_95 branch). Just because RH > +doesn't support the older compiler doesn't mean other people don't. > +You can buy support for older RH from Progeny. Heck, Sun continues to > +build Java against RH6.2 or something like that. A better solution > +would be to look at what Debian supports in their unstable branch (or > +wherever the comparable gtkmm stuff would live). > + > +All the world is not Linux, either. Someone pointed out that one of > +the BSD's is using gcc-2.95.*. What do other current OS's support in > +their C++ environments as far as compatibilty goes? I think that's a > +far better guage. > + > +If going to require the newer libsigc++, then yeah, definitely go > +ahead an use modern C++ features and don't worry about backwards > +compatibility. > + > +However, I would strongly advise against specifically checking against > + version numbers of compilers. That is just too fragile (regressions, > +branching, etc) and only works for g++. Instead, do feature checks > +against whatever C++ compiler is being used. As bug, like this one, > +appear, then add it as a feature check and say "Your compiler does not > +support feature XYZ." > + > +Well, that's a lot of babbling. :-> > + > +I guess it could all be summarized with this: Go ahead and require > +modern C++ features, but try to catch support for them up front with > +autoconf. > > > > -- __--__-- > > _______________________________________________ > Gtkmm-forge mailing list > Gtkmm-forge@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtkmm-forge > > > End of Gtkmm-forge Digest > > --__--__-- > > Message: 4 > Date: Wed, 7 Jan 2004 23:31:30 -0500 (EST) > From: Silviu D Minut > To: > Cc: > Subject: RE: [gtkmm] A Gtkmm Forum > > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > --__--__-- > > Message: 5 > Date: Wed, 07 Jan 2004 21:47:50 -0700 > From: Dean Kutryk > To: gtkmm-list@gnome.org > Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #809 - 2 msgs > > Can't we come out of the closet and get an operational forums. I'll kick > in a few dollars even. > > On Wed, 2004-01-07 at 10:00, gtkmm-list-request@gnome.org wrote: > > Send gtkmm-list mailing list submissions to > > gtkmm-list@gnome.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > or, via email, send a message with subject or body 'help' to > > gtkmm-list-request@gnome.org > > > > You can reach the person managing the list at > > gtkmm-list-admin@gnome.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of gtkmm-list digest..." > > > > > > Today's Topics: > > > > 1. A Gtkmm Forum (Dean Kutryk) > > 2. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > > > > -- __--__-- > > > > Message: 1 > > Date: Wed, 07 Jan 2004 08:57:41 -0700 > > From: Dean Kutryk > > To: gtkmm-list@gnome.org > > Subject: [gtkmm] A Gtkmm Forum > > > > I don't know how to use a mailing list. Do you think that one day Gtkmm > > programmers might have a forum? > > > > > > > > -- __--__-- > > > > Message: 2 > > From: Murray.Cumming@Comneon.com > > To: trollking@shaw.ca, gtkmm-list@gnome.org > > Subject: RE: [gtkmm] A Gtkmm Forum > > Date: Wed, 7 Jan 2004 17:09:47 +0100 > > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > > > > > -- __--__-- > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > > End of gtkmm-list Digest > > > --__--__-- > > Message: 6 > Subject: RE: [gtkmm] A Gtkmm Forum > From: Carl Nygard > To: Silviu D Minut > Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org > Date: Wed, 07 Jan 2004 16:23:23 -0500 > > On Wed, 2004-01-07 at 23:31, Silviu D Minut wrote: > > Could we have a newsgroup? Could we move everybody on this list to the > > newsgroup? I find it much more convenient than the mailing list. > > > > How about a conference call instead? I really enjoy those, especially > hearing all the silly accents;) > > I propose every monday at 4pm (y'all pick the timezone)... oh wait, > that's Oprah. Where's that XML-TV when you need it... > > > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > > > I don't know how to use a mailing list. > > > > > > Clearly you do. Just remember to use Reply To All after this and you've > > > understood everything. > > > > > > > Do you think that one > > > > day Gtkmm programmers might have a forum? > > > > > > Feel free to use this, but there are 550 people here, and not many there: > > > http://gnomesupport.org/forums/ > > > > > > Murray Cumming > > > www.murrayc.com > > > murrayc@usa.net > > > _______________________________________________ > > > gtkmm-list mailing list > > > gtkmm-list@gnome.org > > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > --__--__-- > > Message: 7 > Date: Wed, 7 Jan 2004 23:33:42 -0600 > From: Albert Chin > To: gtkmm-list@gnome.org > Reply-To: gtkmm-list@gnome.org > Subject: [gtkmm] Building gtkmm-2.2.8 with HP C++ compiler > > Do the following errors make sense to anyone? I'm trying to build > gtkmm-2.2.8 with the HP C++ compiler on HP-UX 11.00 and 11i. > > aCC -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include -I/opt/TWWfsw/libsigc++12/lib/include -I/opt/TWWfsw/libsigc++12/include -D_REENTRANT -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include +O2 -AA -z +Onofltacc +ESlit +DAportable +Oentrysched +Odataprefetch +Onolimit -c convert.cc +Z -DPIC -o .libs/convert.o > Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 221: "../../glib/glibmm/ustring.h", line 705 # Member 'SequenceToString' > not declared in struct SequenceToString<#1,char> > ["../../glib/glibmm/ustring.h", line 547]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend) > ^^^^^^^^^^^^^^^^ > Warning (anachronism) 600: "../../glib/glibmm/ustring.h", line 705 # Type > specifier is omitted; "int" is no longer assumed. > ustring::SequenceToString::SequenceToString(In pbegin, In pend) > ^^^^^^^^^^^^^^^^ > Error 188: "../../glib/glibmm/ustring.h", line 707 # Member and base class > initializers may only be used in constructors. > std::string(pbegin, pend) > ^^^^^^^^^^^^ > Error 221: "../../glib/glibmm/ustring.h", line 711 # Member 'SequenceToString' > not declared in struct SequenceToString<#1,unsigned int> > ["../../glib/glibmm/ustring.h", line 553]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > Error 174: "../../glib/glibmm/ustring.h", line 711 # Function redefinition; > previously defined as "int Glib::SequenceToString(#1,#1)" at > ["../../glib/glibmm/ustring.h", line 705]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > Error 445: "../../glib/glibmm/ustring.h", line 711 # Cannot recover from > earlier errors. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > gmake[5]: *** [convert.lo] Error 1 > gmake[5]: Leaving directory `/opt/build/gtkmm-2.2.8/glib/glibmm' From lx.develop@ntlworld.com Thu Jan 8 07:05:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by mail.gnome.org (Postfix) with ESMTP id 5345A18150 for ; Thu, 8 Jan 2004 07:05:24 -0500 (EST) Received: from ntlworld.com ([81.97.90.183]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040108120512.FTRL9852.mta03-svc.ntlworld.com@ntlworld.com> for ; Thu, 8 Jan 2004 12:05:12 +0000 Message-ID: <3FFD4879.93C43CDB@ntlworld.com> Date: Thu, 08 Jan 2004 12:09:29 +0000 From: "Darren W." X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.19-16mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [gtkmm] walking trees Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I writing an app that needs to search a tree, so decided to walk a tree using foreach method. Since TreeView inherits from TreeModel i assumed I wouldn't have to cast my TreeView object to a TreeModel object. Gtk::TreeModel* foo; foo = (Gtk::TreeModel*) this; foo->foreach(SigC::slot(&myfunc)); however if I don't, it uses the foreach method which is inherited from Container. Firstly am I right trying to search the tree this way, and secondary, am I would have thought it didn't make sense to override the foreach method this way? thanks, From Murray.Cumming@Comneon.com Thu Jan 8 07:10:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 66D8B18150 for ; Thu, 8 Jan 2004 07:10:50 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i08C6pDb021887; Thu, 8 Jan 2004 13:06:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 13:11:06 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22620@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lx.develop@ntlworld.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] walking trees Date: Thu, 8 Jan 2004 13:10:41 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I writing an app that needs to search a tree, so decided to > walk a tree using foreach method. Since TreeView inherits > from TreeModel No, it does not. Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Thu Jan 8 07:14:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 0C18618150 for ; Thu, 8 Jan 2004 07:14:53 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 08A5D278; Thu, 8 Jan 2004 12:11:11 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 371C6274 for ; Thu, 8 Jan 2004 12:11:10 +0000 (GMT) Message-ID: <3FFD49B6.1030307@anvil.co.uk> Date: Thu, 08 Jan 2004 12:14:46 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: > >OK, so use Gtk::TreeView::get_selection() and then >Gtk::TreeSelection::get_selected_rows() as I described in a similar thread >today. > > marvellous. i've got something that works, though i strongly suspect it's not the cleanest way to do it: Glib::RefPtr sel = mw_tree_view.get_selection(); list listPaths = sel->get_selected_rows(); list::iterator it; for (it=listPaths.begin(); it != listPaths.end(); ++it) { Gtk::TreeModel::Path path = *it; Gtk::TreeModel::iterator qwe = m_refTreeModel->get_iter(path); Gtk::TreeModel::Row row = *qwe; string dir = row[mc_columns.m_path_name]; } bevis From Murray.Cumming@Comneon.com Thu Jan 8 07:27:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8D00F18910 for ; Thu, 8 Jan 2004 07:27:05 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i08CN5Db027552; Thu, 8 Jan 2004 13:23:05 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 13:27:21 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: trollking@shaw.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] A burning question about X Windows Date: Thu, 8 Jan 2004 13:26:59 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I realize that Gtkmm is a wrapper of the software library > GTK+, however is it wrong for a C++ programmer to perhaps > want to design some custom widgets or enhancements that he > uses along with the the Gtkmm library. You can of course create custom widgets with gtkmm, without using an X calls. If you need to do any special drawing or even handling then you can use gdkmm (GDK), though it is rare that you need to. GDK wraps X in a cross-platform way, so if you use gtkmm and gdkmm instead of X calls, then your widget will work on Windows and the linux framebuffer as well as X. > I was wondering why > there are so few tutorials on XFree86. How on earth can > people ignore all information and knowledge about such a core > infrastructure, and yet the Linux kernel gets so much attention. Because almost nobody needs to know about X, because we have GTK+ and gtkmm and Qt? Murray Cumming www.murrayc.com murrayc@usa.net From matthew@alledora.co.uk Thu Jan 8 07:39:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 3162B1810F for ; Thu, 8 Jan 2004 07:39:10 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AeZPH-000394-9r for gtkmm-list@gnome.org; Thu, 08 Jan 2004 12:36:59 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AeZPG-00038q-92; Thu, 08 Jan 2004 12:36:58 +0000 Message-ID: <3FFD4FA2.60508@alledora.co.uk> Date: Thu, 08 Jan 2004 12:40:02 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Silviu D Minut Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] A Gtkmm Forum References: In-Reply-To: X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Silviu D Minut wrote: > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. What about the people who like mailing lists and don't like newsgroups? (that's me, by the way) I suppose a mail-news gateway of some sort is a technical possibility. From trollking@shaw.ca Thu Jan 8 09:03:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id EA1901811A for ; Thu, 8 Jan 2004 09:03:14 -0500 (EST) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-ser.prod.shaw.ca [10.0.141.177]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600F1KCDE2B@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca (pn2ml3so-qfe0.prod.shaw.ca [10.0.121.147]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600LXFCDEO2@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600KHTCDE8H@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Date: Thu, 08 Jan 2004 07:03:13 -0700 From: Dean Kutryk Subject: RE: [gtkmm] A burning question about X Windows In-reply-to: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Message-id: <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: All this stuff is very nice. I am using Linux. I had to set a couple environment variables in $HOME/.bashrc to get Gtkmm running: PKG_CONFIG_PATH=/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig LD_LIBRARY_PATH=/usr/lib/:/usr/local/lib/ I think this information should be somewhere on the website. I'm disappointed that all the books on XFree86 are out of print and a decade old, but at least there are libraries like GDK (long live the guys who maintain them). I suppose that a Forum costs money and most people are flat broke losers. Well if someone independently started a Linux programming forum that concentrated on Standard C++ and Gtkmm, as well as pumping out a few books on the subject, maybe there wouldn't be a massive revolt here, over something like that. On Thu, 2004-01-08 at 05:26, Murray.Cumming@Comneon.com wrote: > > I realize that Gtkmm is a wrapper of the software library > > GTK+, however is it wrong for a C++ programmer to perhaps > > want to design some custom widgets or enhancements that he > > uses along with the the Gtkmm library. > > You can of course create custom widgets with gtkmm, without using an X > calls. If you need to do any special drawing or even handling then you can > use gdkmm (GDK), though it is rare that you need to. GDK wraps X in a > cross-platform way, so if you use gtkmm and gdkmm instead of X calls, then > your widget will work on Windows and the linux framebuffer as well as X. > > > I was wondering why > > there are so few tutorials on XFree86. How on earth can > > people ignore all information and knowledge about such a core > > infrastructure, and yet the Linux kernel gets so much attention. > > Because almost nobody needs to know about X, because we have GTK+ and gtkmm > and Qt? > > Murray Cumming > www.murrayc.com > murrayc@usa.net From abt@gmx.de Thu Jan 8 09:31:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 0897818A15 for ; Thu, 8 Jan 2004 09:31:37 -0500 (EST) Received: (qmail 19841 invoked by uid 65534); 8 Jan 2004 14:31:33 -0000 Received: from pD9E94CA9.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.169) by mail.gmx.net (mp026) with SMTP; 08 Jan 2004 15:31:33 +0100 X-Authenticated: #109577 Message-ID: <3FFD69C6.6060802@gmx.de> Date: Thu, 08 Jan 2004 15:31:34 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Bevis Peters Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <3FFC018E.5080606@anvil.co.uk> In-Reply-To: <3FFC018E.5080606@anvil.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Same here. I can´t figure out how to iterate trough a tree like this starting at the selected row (including parents!) to select the following line. child12->child13->parent2->child21->child22 o parent1 ---+ | + child11 + child12 << this is selected + child13 | o parent2 ---+ | + child21 + child22 > I have a Gtk::TreeView with a Gtk::TreeStore, basically following the > tree view example from the gtkmm pages. My Gtk::TreeModel::ColumnRecord > contains two strings (one hidden). I can multi select entries on the tree. > > Now I want to iterate through all the entries selected in my tree when a > button is pressed, ie something like: From bee@pickle.me.uk Thu Jan 8 09:51:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mail.gnome.org (Postfix) with ESMTP id 93227188FB for ; Thu, 8 Jan 2004 09:51:01 -0500 (EST) X-Sasl-enc: pOHMsA+VjJfjVM3icKvU1g 1073573460 Received: from purple (cpc5-cmbg2-3-0-cust234.cmbg.cable.ntl.com [81.105.236.234]) by mail.messagingengine.com (Postfix) with ESMTP id C687F49F9C9 for ; Thu, 8 Jan 2004 09:50:59 -0500 (EST) Received: from barnaby by purple with local (Exim 3.36 #1 (Debian)) id 1AebUf-00028i-00 for ; Thu, 08 Jan 2004 14:50:41 +0000 Date: Thu, 8 Jan 2004 14:50:41 +0000 From: Barnaby Gray To: gtkmm-list@gnome.org Subject: Re: [gtkmm] A burning question about X Windows Message-ID: <20040108145041.GA4260@purple> Mail-Followup-To: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> User-Agent: Mutt/1.5.4i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Thu, Jan 08, 2004 at 07:03:13AM -0700, Dean Kutryk wrote: > I suppose that a Forum costs money and most people are flat broke > losers. I think everybody that obsesses about forums is a flat broke loser. But that's just my matter of opinion. ;-) Barnaby From abt@gmx.de Thu Jan 8 10:07:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7271018A86 for ; Thu, 8 Jan 2004 10:07:48 -0500 (EST) Received: (qmail 6773 invoked by uid 65534); 8 Jan 2004 15:07:46 -0000 Received: from pD9E94CA9.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.169) by mail.gmx.net (mp027) with SMTP; 08 Jan 2004 16:07:46 +0100 X-Authenticated: #109577 Message-ID: <3FFD7243.3010206@gmx.de> Date: Thu, 08 Jan 2004 16:07:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: Bevis Peters , gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> In-Reply-To: <3FFD69C6.6060802@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: To be more precise: The problem is, I cannot see the selection. The row is not highlighted: Does a list view has children? void ConstraintTable::onNextClicked() { cout << "START ConstraintTable::onNextClicked()" << endl; typedef Gtk::TreeModel::Children type_children; type_children children = m_list_store_ref->children(); for(type_children::iterator iter = children.begin(); iter != children.end(); ++iter) { // is this my next row? Gtk::TreeModel::Row row = *iter; if(row) m_tree_sel_ref->select(row); } cout << "END ConstraintTable::onNextClicked()" << endl; } > Same here. I can´t figure out how to iterate trough a tree like this > starting > at the selected row (including parents!) to select the following line. From arvind@acarlab.com Thu Jan 8 10:34:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.97.9]) by mail.gnome.org (Postfix) with SMTP id D9D0D1860C for ; Thu, 8 Jan 2004 10:34:46 -0500 (EST) Received: (qmail 760 invoked by uid 1000); 8 Jan 2004 04:01:17 -0000 Date: Thu, 8 Jan 2004 09:31:16 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling Message-ID: <20040108040116.GA737@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, On Tue, 6 Jan 2004, Gene Ruebsamen wrote: > >is there a way to connect the signal handler > > B::something_in_B_selected() to A::update_values_in_A()? > > class A : public Gtk::VBox > > class B : public Gtk::VBox > Here's an example (someone can step in and tell me if this is the > preferred way of doing things): > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox > // Example given here > The key is to pass a MainWindow pointer to the MainMenu constructor. > You can then use this pointer to MainWindow to connect your signals > to any signal handler in MainWindow. I've declared MainMenu to be > a friend of MainWindow in order to allow access to the protected > signal handlers. > If anyone has a better way of doing this, please speak up. =) I CAN'T MAKE THE LETTERS ANY BIGGER; but ... If the goal is just to get your program working, this is as good a way as any - but it defeats the whole purpose of classes. One way would be - Provide class A with a register() interface function so that if an event in B occurs, it is left to A to decide upon the necessary action - maybe postpone it! The main thing is to act through interfaces so that instances don't become classes! e.g. class A { typedef enum { E1, E2, E3 } ACTION; class_B b; void register( ACTION now ) { if( can_do_it( now ) ) do_it(); } } Another way would be - Since in the example given it appears that the MainWindow and the MainMenu are essentially in existence together or not at all; one could derive MainGate e.g. class MainGate : public Gtk::Window, public Gtk::Menu { // class definition }; and do the signal connection in MainGate c'tor or func. where the data of both parent classes are accessible. Hope this is useful. - arvind r. From paul@linuxaudiosystems.com Thu Jan 8 11:42:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out011.verizon.net (out011pub.verizon.net [206.46.170.135]) by mail.gnome.org (Postfix) with ESMTP id 9FE7718256 for ; Thu, 8 Jan 2004 11:42:19 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out011.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040108164219.GTDP26708.out011.verizon.net@dhin.linuxaudiosystems.com>; Thu, 8 Jan 2004 10:42:19 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i08GgHZ8003984; Thu, 8 Jan 2004 11:42:18 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i08GgHeB003980; Thu, 8 Jan 2004 11:42:17 -0500 Message-Id: <200401081642.i08GgHeB003980@dhin.linuxaudiosystems.com> To: Dean Kutryk Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org Subject: Re: [gtkmm] A burning question about X Windows In-reply-to: Your message of "Thu, 08 Jan 2004 07:03:13 MST." <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> Date: Thu, 08 Jan 2004 11:42:16 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out011.verizon.net from [141.151.15.227] at Thu, 8 Jan 2004 10:42:18 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'm disappointed that all the books on XFree86 are out of print and a >decade old, but at least there are libraries like GDK (long live the you can still get them quite easily second hand. and to be honest, they *are* useful if you want to understand what is going on under the hood. but with pango (i.e. client side rendering) for text and cairo on the horizon, pretty soon most Xlib stuff is going to become fairly irrelevant even when running GTK on X. >I suppose that a Forum costs money and most people are flat broke >losers. Well if someone independently started a Linux programming forum channels on irc.freenode.net are free. they work well. however, i suspect that few of us have time to hang on in such a place. mailing lists work well for toolkits and libraries, because they are asynchronous. From palm@nogui.se Thu Jan 8 12:55:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id B802218560 for ; Thu, 8 Jan 2004 12:55:49 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i08Hr0T5093424; Thu, 8 Jan 2004 18:53:00 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <3FFDA7CE.6050406@nogui.se> Date: Thu, 08 Jan 2004 19:56:14 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dean Kutryk Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Re: gtkmm-list digest, Vol 1 #811 - 13 msgs References: <20040108091104.10624.55859.Mailman@moniker.gnome.org> <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> In-Reply-To: <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi Dean! That is just because you selected to receive the messages as a daily digest when you subscribed to the mailing list. Uncheck that in the list administration webpage and you will receive each message as an individual mail. I would then suggest that you configure your mail client to organize the mails in a threaded fashion in a separate mailbox. Btw, this is a "mailing list", not a newsgroup. Dean Kutryk wrote: > This 'newsgroup thing' looks like a massive batch of ideas all piled on > top of each other. Talk about a barrier to technology, I see that > technology only complicates old practices. I think it would be better to > literally get out a pencil and a piece of paper and do this whole thing > using the postal service. > From abt@gmx.de Fri Jan 9 03:38:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id CD273185C4 for ; Fri, 9 Jan 2004 03:38:53 -0500 (EST) Received: (qmail 13221 invoked by uid 65534); 9 Jan 2004 08:38:50 -0000 Received: from pD9E9434D.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.67.77) by mail.gmx.net (mp004) with SMTP; 09 Jan 2004 09:38:50 +0100 X-Authenticated: #109577 Message-ID: <3FFE689B.3020805@gmx.de> Date: Fri, 09 Jan 2004 09:38:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: gtkmm-list@gnome.org References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> In-Reply-To: <3FFD7243.3010206@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] How to make a selected row in a tree view highlighted Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I select a row with: m_tree_sel_ref->select(row); Can somebody throw light on this? The row is selected ( I can get the value ) but the selected row is not highlighted in the GUI. TIA, Andi From Murray.Cumming@Comneon.com Fri Jan 9 08:29:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C4F9F184F9 for ; Fri, 9 Jan 2004 08:29:31 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DPWDb020703 for ; Fri, 9 Jan 2004 14:25:32 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:29:49 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Fri, 9 Jan 2004 14:29:29 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] API documentation: aiming for 100% Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I added quite a lot of API documentation to the TreeView and TextView classes and associated classes, in gtkmm 2.4. For instance: http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/group__TreeView.html I think that 100% API documentation should be possible, and it's an easy way to help. Undocumented class methods are probably undocumented because - They are hand-coded because they use a different parameter order compared to the underlying C function. In this case you should look at the C docs and modify it accordingly. Look at the generated html of the C docs because not everything is in the .c files: http://www.gtk.org/api/ - They are _MEMBER_GET() or _MEMBER_SET() accessors for struct fields. These needs little "Get the something" descriptions if there is nothing else to say. All classes should also have documentation for the class itself. Again, you can usually rephrase the C documentation for these. If you run "make doxygen-warnings" in gtkmm/docs/reference/, it will generate a text file with warnings about undocumented methods and classes. I'm not sure how complete that will be, but it's a start. I think we can reach 100%. That would be good. Murray Cumming www.murrayc.com murrayc@usa.net From gcgg-gtkmm-list@m.gmane.org Fri Jan 9 08:30:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 34EF0185BB for ; Fri, 9 Jan 2004 08:30:32 -0500 (EST) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AewiY-0000Yu-00 for ; Fri, 09 Jan 2004 14:30:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AewX2-0000Oz-00 for ; Fri, 09 Jan 2004 14:18:32 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AewX2-00025F-00 for ; Fri, 09 Jan 2004 14:18:32 +0100 From: Mike Hearn Date: Fri, 09 Jan 2004 13:21:45 +0000 Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] PropertyProxies vs get/set? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I have a feeling this might be an FAQ, but hey, it's not actually in the FAQ so it must be OK to ask, right? :) I'd like to know why GTKmm apparently relegates PropertyProxies to a minor implementation detail, and favours accessor methods instead. Coming from a Delphi background, it seems natural to me to write code like this: tree.reorderable = true; rather than tree.set_reorderable(true); I wouldn't really mind get/setters if the propertyproxies were actually named after the properties and documented, but it seems that instead all the documentation is attached to the accessors instead and propertyproxies need a slightly ugly property_ prefix. I'm curious as to the reasoning behind this. I can understand having accessors for those who prefer them - matter of taste - but it seems these are the official GTKmm way and the ability to treat properties syntax-wise as variables isn't used. Why not? thanks -mike From christof@petig-baender.de Fri Jan 9 08:43:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id B9039181A4 for ; Fri, 9 Jan 2004 08:43:18 -0500 (EST) Received: (qmail 27828 invoked by uid 4225); 9 Jan 2004 13:43:17 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 09 Jan 2004 13:43:17 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aewux-0003UJ-00; Fri, 09 Jan 2004 14:43:15 +0100 Message-ID: <3FFEAFEB.1040703@petig-baender.de> Date: Fri, 09 Jan 2004 14:43:07 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list , gtk-devel-list@gnome.org References: <258B0164D480D5118D900800062B385801C226C4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C4@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: signals versus vfuncs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I see that Christof understands gtkmm internals very well. I'll be sending > relevant patch requests to him in future. I had to learn it the hard way to implement (and debug) a custom tree model :-/ . [An easy example with 3.5G virtual rows is at http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/manuproc/Komponenten/examples/owntreemodel.cc?rev=HEAD&content-type=text/plain ] Christof ----- more of interest to gtkmm-list ------- Do you still feel that a custom tree model is unnecessary? My feeling is that for _massive_ amounts of lines the C++ wrapper imposes too much overhead (vfunc indirection, iterator conversion etc. sum up once the [] operator on a Gtk::Tree::Row is used many times to access the columns). My std::map based model easily handles sorted insertion/reorganization of 100k rows into a tree without significant slowdown. PS: It seems that because of the Gtk::TreeModel::add_interface(get_type()); call during type creation I cannot use the Glib provided custom type infrastructure. [Try to leave it out ...] Perhaps it's worth fixing the need for it (IMHO deriving from Gtk::TreeModel should do the trick as well). But to judge or fix that I understand too few of the gtkmm type internals (still learning) and their proposed API. From Murray.Cumming@Comneon.com Fri Jan 9 08:46:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8CA73185E5 for ; Fri, 9 Jan 2004 08:46:44 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DgiDb016092; Fri, 9 Jan 2004 14:42:44 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:47:01 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: mike@theoretic.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] PropertyProxies vs get/set? Date: Fri, 9 Jan 2004 14:46:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm curious as to the reasoning behind this. I can understand > having accessors for those who prefer them - matter of taste > - but it seems these are the official GTKmm way and the > ability to treat properties syntax-wise as variables isn't > used. Why not? I would remove the property proxies, but they have one extra feature - they have a signal so you can monitor changes. Maybe sometime in the future we will think of a simpler type-safe way to offer this notification signal. The get and set methods can be thought of as convenience syntax (as they are in GTK+), but I do think that it is convenient, because the average C++ developer is very familiar with them. button.property_something() == 2; is strange and unusual to a lot of people, even if it's obvious to us. Feel free to document them - our tools/extra_defs_gen programs should be able to extract the properties documentation for reuse by gmmproc. That should not be difficult to implement. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Fri Jan 9 08:54:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ABD8B1818B; Fri, 9 Jan 2004 08:54:27 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DoRDb020358; Fri, 9 Jan 2004 14:50:27 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:54:44 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: christof@petig-baender.de Cc: gtkmm-list@gnome.org, gtk-devel-list@gnome.org Date: Fri, 9 Jan 2004 14:54:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Christof wrote: > Do you still feel that a custom tree model is unnecessary? My feeling is > that for _massive_ amounts of lines the C++ wrapper imposes too much > overhead (vfunc indirection, iterator conversion etc. sum up once the [] > operator on a Gtk::Tree::Row is used many times to access the columns). > > My std::map based model easily handles sorted insertion/reorganization > of 100k rows into a tree without significant slowdown. I would like to see some proof that it's faster in GTK+ when using normal TreeStores or ListStores. Such proof should be in bugzilla as a gtkmm performance bug. > PS: It seems that because of the > Gtk::TreeModel::add_interface(get_type()); call during type creation I > cannot use the Glib provided custom type infrastructure. I'm not sure what you want to do instead, or can't do. What "Glib provided custom type infrastructure" do you mean? API docs URLS are nicest. > [Try to leave > it out ...] Perhaps it's worth fixing the need for it (IMHO deriving > from Gtk::TreeModel should do the trick as well). But to judge or fix > that I understand too few of the gtkmm type internals (still learning) > and their proposed API. The problem, I think, is that the Gtype must come from the derived type, but you want that type to be registered in the base C++ class, whose constructor runs before the derived part of the class exists. I don't think the add_interface() call is too bad for something that is very rarely done. Murray Cumming www.murrayc.com murrayc@usa.net From christof@petig-baender.de Fri Jan 9 08:56:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id AF61C1872B for ; Fri, 9 Jan 2004 08:56:45 -0500 (EST) Received: (qmail 23017 invoked by uid 4225); 9 Jan 2004 13:56:44 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 13:56:44 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aex7y-0003WH-00; Fri, 09 Jan 2004 14:56:42 +0100 Message-ID: <3FFEB313.1010601@petig-baender.de> Date: Fri, 09 Jan 2004 14:56:35 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Go for it, even the 'official' _woody_backport_ of gtkmm2 already uses gcc 3.0. [Woody is what I would call a dinosaur system for gtk2] And 2.9x was never an option for me ever since I encountered the dynamic_cast bug (see SIGSEGV with glademm, gtk2 and gcc 2.95) about one year ago. Christof From mike@theoretic.com Fri Jan 9 09:04:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mail.gnome.org (Postfix) with ESMTP id 633AA18469 for ; Fri, 9 Jan 2004 09:04:02 -0500 (EST) Received: from [192.168.0.4] ([81.97.76.53]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040109140402.ROMH1005.mta06-svc.ntlworld.com@[192.168.0.4]>; Fri, 9 Jan 2004 14:04:02 +0000 Subject: RE: [gtkmm] PropertyProxies vs get/set? From: Mike Hearn To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1073657235.3120.5.camel@linux.littlegreen> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 09 Jan 2004 14:07:15 +0000 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 2004-01-09 at 13:46, Murray.Cumming@Comneon.com wrote: > button.property_something() == 2; > is strange and unusual to a lot of people, even if it's obvious to us. Really? It seems the most intuitive syntax to me, I hadn't realise some people found it wierd. I also hadn't realised these were functions. Why not simply have them as member variables that hold the proxies, so you can do "button.something = 2"? > Feel free to document them - our tools/extra_defs_gen programs should be > able to extract the properties documentation for reuse by gmmproc. That > should not be difficult to implement. Heh, well I noticed that often the GTKmm docs for properties in the get/set methods are often better than the plain GTK+ ones.... thanks -mike From Nick.Huxley@barclayscapital.com Fri Jan 9 09:14:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id 598C8187AC; Fri, 9 Jan 2004 09:14:41 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i09ECuof003751; Fri, 9 Jan 2004 09:12:56 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i09ECn67003690; Fri, 9 Jan 2004 09:12:49 -0500 (EST) Received: from NYKPSMEH001.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Fri, 9 Jan 2004 09:14:32 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by NYKPSMEH001.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Fri, 9 Jan 2004 09:14:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Date: Fri, 9 Jan 2004 09:14:31 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Thread-Index: AcPWuTQ4Z1Av0BT6RXSsty3Z3Ac7gwAARp5Q From: "Huxley, Nick: IT (NYK)" To: "Christof Petig" , Cc: , X-OriginalArrivalTime: 09 Jan 2004 14:14:32.0175 (UTC) FILETIME=[E6D907F0:01C3D6BA] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: http://gcc.gnu.org/releases.html Says it all really. 2.9 is 5 years old and sucks for C++. It's not that hard to install two gcc's on one machine for all those *BSD users who want to build gtkmm. At the end of the day gtkmm uses templates and you need a compiler that supports them properly. gcc 3.2 is over 18 months old and it's free. If people are developing they should know enough to install a compiler and all modern Linuces come with at leat gcc 3.2. Do we now the oldest version of gcc 3.x that will compile libsigc++? Nick -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Christof Petig Sent: Friday, January 09, 2004 8:57 AM To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org; libsigc-list@gnome.org Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Murray.Cumming@Comneon.com schrieb: > I'll ask this again, using the correct version number: >=20 > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we=20 > Libsigc++ use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Go for it, even the 'official' _woody_backport_ of gtkmm2 already uses=20 gcc 3.0. [Woody is what I would call a dinosaur system for gtk2] And=20 2.9x was never an option for me ever since I encountered the=20 dynamic_cast bug (see SIGSEGV with glademm, gtk2 and gcc 2.95) about one year ago. Christof _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ From christof@petig-baender.de Fri Jan 9 09:41:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 501A9185D8 for ; Fri, 9 Jan 2004 09:41:47 -0500 (EST) Received: (qmail 21264 invoked by uid 4225); 9 Jan 2004 14:41:45 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 14:41:45 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AexpX-0003c7-00; Fri, 09 Jan 2004 15:41:43 +0100 Message-ID: <3FFEBDA0.4020305@petig-baender.de> Date: Fri, 09 Jan 2004 15:41:36 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > Christof wrote: > >>Do you still feel that a custom tree model is unnecessary? My feeling is >>that for _massive_ amounts of lines the C++ wrapper imposes too much >>overhead (vfunc indirection, iterator conversion etc. sum up once the [] >>operator on a Gtk::Tree::Row is used many times to access the columns). >> >>My std::map based model easily handles sorted insertion/reorganization >>of 100k rows into a tree without significant slowdown. > > > I would like to see some proof that it's faster in GTK+ when using normal > TreeStores or ListStores. Such proof should be in bugzilla as a gtkmm > performance bug. I really have no intention to port a three additional library involving, heavily STL using _example_ program to C (custom smart pointers, custom GValue like with user defined sort order etc.). And to be honest, I really gave up to further research this issue once you told me so, back then. The implementation was using STL's lower_bound on Gtk::TreeStore and performed poorly, now with minimal changes and std::map it flies. Perhaps I might code an trivial example in C++ with Gtk::TreeModel vs. GtkTreeModel. If you _really_ want to analyze this. And if I ever find the time for it. Feel free to ask/confirm. >>PS: It seems that because of the >>Gtk::TreeModel::add_interface(get_type()); call during type creation I >>cannot use the Glib provided custom type infrastructure. > > > I'm not sure what you want to do instead, or can't do. What "Glib provided > custom type infrastructure" do you mean? API docs URLS are nicest. I did not find any API docs when I researched implementing Gtk::Interfaces. While I really like the easy Glib::ObjectBase(typeid(...)) way of getting a GType (e.g. custom cellrenderer), I have to use Glib::ObjectBase("MyTreeModel"), Glib::Object(Glib::ConstructParams(myclass.init(), (char*) 0)), create a custom Class struct: class MyTreeModel_Class : public Glib::Class {public: const Glib::Class& init(); static void class_init_function(void* g_class, void* class_data); }; a custom GTypeInfo and call g_type_register_static and Gtk::TreeModel::add_interface. IMHO it should be possible to just derive from some class (e.g. Gtk::CustomTreeModelBase) and override the vfuncs. Perhaps the key to this overhead is the fact that a TreeModel is not a GObject and there's no way to specify additional things to be done at GType registration "TreeModel::add_interface" (is there?). > The problem, I think, is that the Gtype must come from the derived type, but > you want that type to be registered in the base C++ class, whose constructor > runs before the derived part of the class exists. I don't think the > add_interface() call is too bad for something that is very rarely done. add_interface is ok with me. It's the bulk of lines needed to get a minimal custom TreeModel that bothers me. Christof From christof@petig-baender.de Fri Jan 9 09:48:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id 068A018567 for ; Fri, 9 Jan 2004 09:48:08 -0500 (EST) Received: (qmail 9107 invoked by uid 4225); 9 Jan 2004 14:48:06 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 09 Jan 2004 14:48:06 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aexvg-0003cy-00; Fri, 09 Jan 2004 15:48:04 +0100 Message-ID: <3FFEBF1D.5020403@petig-baender.de> Date: Fri, 09 Jan 2004 15:47:57 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: "Huxley, Nick: IT (NYK)" Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? References: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> In-Reply-To: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Huxley, Nick: IT (NYK) schrieb: > http://gcc.gnu.org/releases.html > > Says it all really. 2.9 is 5 years old and sucks for C++. It's not that > hard to install two gcc's on one machine for all those *BSD users who > want to build gtkmm. At the end of the day gtkmm uses templates and you > need a compiler that supports them properly. > > gcc 3.2 is over 18 months old and it's free. If people are developing > they should know enough to install a compiler and all modern Linuces > come with at leat gcc 3.2. Using binary incompatible compilers on one machine is a major pain. You have to make sure that each and every C++ library you want to use is compiled with the same compiler. So abandoning the compiler used to compile nearly any other library present on the system is not an easy choice. I simply wanted to say that nowadays g++-3.x-only systems are commonplace. Drop support for 2.9x, but don't tell people that switching to a binary incompatible compiler is a piece of cake. Christof From Murray.Cumming@Comneon.com Fri Jan 9 10:48:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 3BC4B18AFE for ; Fri, 9 Jan 2004 10:48:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09FiKDb016099; Fri, 9 Jan 2004 16:44:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 16:48:37 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: christof@petig-baender.de Cc: gtkmm-list@gnome.org Date: Fri, 9 Jan 2004 16:48:18 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > >>Do you still feel that a custom tree model is unnecessary? > My feeling > >>is > >>that for _massive_ amounts of lines the C++ wrapper imposes > too much > >>overhead (vfunc indirection, iterator conversion etc. sum > up once the [] > >>operator on a Gtk::Tree::Row is used many times to access > the columns). > >> > >>My std::map based model easily handles sorted > insertion/reorganization > >>of 100k rows into a tree without significant slowdown. > > > > > > I would like to see some proof that it's faster in GTK+ when using > > normal TreeStores or ListStores. Such proof should be in > bugzilla as a > > gtkmm performance bug. > > I really have no intention to port a three additional library > involving, > heavily STL using _example_ program to C (custom smart > pointers, custom > GValue like with user defined sort order etc.). I don't think a simple test case should be too difficult. But even if you don't put a test case in bugzilla, please report your suspicion to bugzilla and maybe someone else will test the theory with test cases. > And to be honest, I really gave up to further research this > issue once > you told me so, back then. The implementation was using STL's > lower_bound on Gtk::TreeStore and performed poorly, now with minimal > changes and std::map it flies. > > Perhaps I might code an trivial example in C++ with > Gtk::TreeModel vs. > GtkTreeModel. If you _really_ want to analyze this. I do. gtkmm should not require you to write a custom tree model to get better performance, unless GTK+ also requires it. And I won't try to solve such a problem until I know that such a problem exists. > And if I > ever find > the time for it. Feel free to ask/confirm. > > >>PS: It seems that because of the > >>Gtk::TreeModel::add_interface(get_type()); call during type > creation I > >>cannot use the Glib provided custom type infrastructure. > > > > > > I'm not sure what you want to do instead, or can't do. What "Glib > > provided custom type infrastructure" do you mean? API docs URLS are > > nicest. > > I did not find any API docs when I researched implementing > Gtk::Interfaces. > > While I really like the easy Glib::ObjectBase(typeid(...)) way of > getting a GType (e.g. custom cellrenderer), I have to use > Glib::ObjectBase("MyTreeModel"), > Glib::Object(Glib::ConstructParams(myclass.init(), (char*) > 0)), create a > custom Class struct: > > class MyTreeModel_Class : public Glib::Class > {public: > const Glib::Class& init(); > static void class_init_function(void* g_class, void* > class_data); }; > > a custom GTypeInfo > and call g_type_register_static and > Gtk::TreeModel::add_interface. IMHO > it should be possible to just derive from some class (e.g. > Gtk::CustomTreeModelBase) and override the vfuncs. OK, that's horrible. You should never have to create the GCLass yourself, or write those C callbacks. And I don't think we do that in our custom cellrenderer example. Please add your example code here: http://bugzilla.gnome.org/show_bug.cgi?id=124297 and I will try to get around to it later. > Perhaps the key to this overhead is the fact that a TreeModel > is not a > GObject and there's no way to specify additional things to be done at > GType registration "TreeModel::add_interface" (is there?). Yes, that might be relevant - Gtk::CellRenderer is a Gtk::Object already, but Gtk::TreeModel is just a Glib::Interface. > > The problem, I think, is that the Gtype must come from the derived > > type, but you want that type to be registered in the base > C++ class, > > whose constructor runs before the derived part of the class > exists. I > > don't think the > > add_interface() call is too bad for something that is very > rarely done. > > add_interface is ok with me. It's the bulk of lines needed to get a > minimal custom TreeModel that bothers me. Yes, that's surprising and horrible. I'll try to investigate before our 2.4 API freeze. However, as I said above, I don't think this should be necessary for performance. Murray Cumming www.murrayc.com murrayc@usa.net From christof@petig-baender.de Fri Jan 9 11:51:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 8913B18770 for ; Fri, 9 Jan 2004 11:51:10 -0500 (EST) Received: (qmail 14505 invoked by uid 4225); 9 Jan 2004 16:51:08 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 16:51:08 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aezqk-0003sW-00; Fri, 09 Jan 2004 17:51:06 +0100 Message-ID: <3FFEDBF2.9010704@petig-baender.de> Date: Fri, 09 Jan 2004 17:50:58 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I don't think a simple test case should be too difficult. But even if > you don't put a test case in bugzilla, please report your suspicion > to bugzilla and maybe someone else will test the theory with test > cases. http://bugzilla.gnome.org/show_bug.cgi?id=131019 >> Perhaps I might code an trivial example in C++ with Gtk::TreeModel >> vs. GtkTreeModel. If you _really_ want to analyze this. > > I do. gtkmm should not require you to write a custom tree model to > get better performance, unless GTK+ also requires it. And I won't try > to solve such a problem until I know that such a problem exists. > I'll give it a go. > OK, that's horrible. You should never have to create the GCLass > yourself, or write those C callbacks. And I don't think we do that in > our custom cellrenderer example. Please add your example code here: > http://bugzilla.gnome.org/show_bug.cgi?id=124297 and I will try to > get around to it later. done Christof From ghenriks@rogers.com Fri Jan 9 11:58:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by mail.gnome.org (Postfix) with ESMTP id 919581875D; Fri, 9 Jan 2004 11:58:48 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep01-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040109165633.UCPU23685.fep01-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Fri, 9 Jan 2004 11:56:33 -0500 From: Gerald Henriksen To: Cc: Subject: Re: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Date: Fri, 09 Jan 2004 11:58:51 -0500 Message-ID: References: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> In-Reply-To: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Fri, 9 Jan 2004 11:56:33 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 9 Jan 2004 09:14:31 -0500, you wrote: >Do we now the oldest version of gcc 3.x that will compile libsigc++? gcc 3.2 or better should be sufficient as there was a binary incompatibility introduced with the move from gcc 3.1 to gcc 3.2 From gene@erachampion.com Fri Jan 9 12:31:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 0455B1874B for ; Fri, 9 Jan 2004 12:31:24 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i09HfFG13436 for gtkmm-list@gnome.org; Fri, 9 Jan 2004 09:41:15 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Fri, 9 Jan 2004 09:41:14 -0800 Message-ID: <1073670074.3ffee7bab23a2@realtyroad.com> Date: Fri, 9 Jan 2004 09:41:14 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, > > >is there a way to connect the signal handler > > > B::something_in_B_selected() to A::update_values_in_A()? > > > class A : public Gtk::VBox > > > class B : public Gtk::VBox > > Here's an example (someone can step in and tell me if this is the > > preferred way of doing things): > > B::something_in_B_selected() to A::update_values_in_A()? > > class A : public Gtk::VBox > > class B : public Gtk::VBox > > // Example given here > > The key is to pass a MainWindow pointer to the MainMenu constructor. > > You can then use this pointer to MainWindow to connect your signals > > to any signal handler in MainWindow. I've declared MainMenu to be > > a friend of MainWindow in order to allow access to the protected > > signal handlers. > > If anyone has a better way of doing this, please speak up. =) > I CAN'T MAKE THE LETTERS ANY BIGGER; but ... > If the goal is just to get your program working, this is as good > a way as any - but it defeats the whole purpose of classes. > One way would be - > Provide class A with a register() interface function so > that if an event in B occurs, it is left to A to decide upon > the necessary action - maybe postpone it! The main thing is > to act through interfaces so that instances don't become classes! > e.g. > class A > { > typedef enum { E1, E2, E3 } ACTION; > class_B b; > void register( ACTION now ) { if( can_do_it( now ) ) do_it(); } > } Can you elaborate (or point me to some online resources) on how this register() interface function works. In the example above, is the register() function in class A acting as a signal handler for a signal emitted in class B, thus resulting in a connection as follows? b.some_signal().connect( SigC::slot(*this, &A::register) ); If this is the case, what about when class A and class B are two separate classes (ie. class_A does not encapsulate class_B). Can you still use the register method above, or at that point, is the most logical approach to use multiple inheritance to make class_C which inherits from both class_A and class_B? I always thought that passing pointers (as in the original example) was not the best way of doing things. > Hope this is useful. Yes, it is very useful. Thank You for your help! Sorry for all the questions. I'm fairly new to gtkmm and GUI programming in C++ in general. -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From Sarah.Leitner@ngc.com Fri Jan 9 13:10:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from xcgtx812.ngxcgtxr1.com (xcgtx812.northgrum.com [208.20.220.60]) by mail.gnome.org (Postfix) with ESMTP id CF1CC185EA for ; Fri, 9 Jan 2004 13:10:26 -0500 (EST) Received: by xcgtx812.northgrum.com with Internet Mail Service (5.5.2656.59) id ; Fri, 9 Jan 2004 10:10:16 -0800 Message-ID: <727B82C682D8E8409BD807B361874F410147EB6E@xcgmd050.northgrum.com> From: "Leitner, Sarah" To: "'gtkmm-list@gnome.org'" Date: Fri, 9 Jan 2004 10:10:01 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain Subject: [gtkmm] losing signals Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've got a GUI that I will be using several places in the code, so I decided to make it into a class and called it daemonGUI. So the code that is using it (I called in the stub) inherits from it. So, all the GUI code is in daemonGUI, and all the file opening, closing, etc, is in the stub. So far, it all works, EXCEPT that I am losing all the signals. They aren't working automatically. Anyone have any ideas? Thanks! Sarah From cjnygard@fast.net Fri Jan 9 14:50:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from newmx3.fast.net (newmx3.fast.net [209.92.1.33]) by mail.gnome.org (Postfix) with SMTP id C4E651817F for ; Fri, 9 Jan 2004 14:50:28 -0500 (EST) Received: (qmail 624 invoked from network); 9 Jan 2004 19:50:27 -0000 Received: from unknown (HELO ?192.168.1.19?) ([209.92.60.87]) (envelope-sender ) by newmx3.fast.net (qmail-ldap-1.03) with SMTP for ; 9 Jan 2004 19:50:27 -0000 From: Carl Nygard To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1073649030.25100.47.camel@traveler> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 09 Jan 2004 06:50:30 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Probably a stupid Gtk+ question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Like I said, this is probably stupid. I've had this question rattling around in my skull for a while, and instead of actually researching it, I'm taking the easy way out and just asking: If Gtk+ is built on an object model, why did those folks go to such (rumored to be) herculean lengths to build one in C, instead of just using C++? I can think perhaps language bindings had something to do, but the only problem that jumps out there would be scheme/lisp binding. Perl/python/ruby are already OO themselves. I'm sure theres a good reason, just curious... and not looking to start a language war. From ssalter@sympatico.ca Fri Jan 9 15:14:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tomts13-srv.bellnexxia.net (tomts13-srv.bellnexxia.net [209.226.175.34]) by mail.gnome.org (Postfix) with ESMTP id 9AB8618BC2 for ; Fri, 9 Jan 2004 15:14:03 -0500 (EST) Received: from [192.168.1.103] ([65.93.92.119]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040109201402.DBEE23150.tomts13-srv.bellnexxia.net@[192.168.1.103]> for ; Fri, 9 Jan 2004 15:14:02 -0500 From: Steven Salter Reply-To: ssalter@sympatico.ca To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Salter Programming Services Message-Id: <1073678905.28724.551.camel@zeus.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 09 Jan 2004 15:08:25 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Compilation problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I get the following error when trying to compile gtkmm 2.2.8: g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -MT convert.lo -MD -MP -MF .deps/convert.Tpo -c convert.cc -fPIC -DPIC -o .libs/convert.o In file included from ../../glib/glibmm/exception.h:25, from ../../glib/glibmm/error.h:28, from ../../glib/glibmm/convert.h:29, from convert.cc:3: ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:548: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:554: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:560: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:566: error: within this context make[5]: *** [convert.lo] Error 1 The compiler: gcc -v Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc version 3.3 20030226 (prerelease) (SuSE Linux) Any suggestions or requests for further information gratefully received. Steve From paul@linuxaudiosystems.com Fri Jan 9 16:41:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mail.gnome.org (Postfix) with ESMTP id CE368189AF for ; Fri, 9 Jan 2004 16:41:05 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040109214102.YEBX18505.out010.verizon.net@dhin.linuxaudiosystems.com>; Fri, 9 Jan 2004 15:41:02 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i09Lf2gG002453; Fri, 9 Jan 2004 16:41:02 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i09Lf2Qb002449; Fri, 9 Jan 2004 16:41:02 -0500 Message-Id: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> To: Carl Nygard Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question In-reply-to: Your message of "Fri, 09 Jan 2004 06:50:30 EST." <1073649030.25100.47.camel@traveler> Date: Fri, 09 Jan 2004 16:41:02 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [141.151.15.227] at Fri, 9 Jan 2004 15:41:02 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >If Gtk+ is built on an object model, why did those folks go to such >(rumored to be) herculean lengths to build one in C, instead of just >using C++? I can think perhaps language bindings had something to do, a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is to all effects and purposes so hard as to be impractical. when you add in the instability of the C++ ABI, even if you loved C++, its a pretty clear choice. --p From julian@jabber.org Fri Jan 9 16:48:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 7B7F818675 for ; Fri, 9 Jan 2004 16:48:31 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id E546F6C2F1; Fri, 9 Jan 2004 15:48:30 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02019-04; Fri, 9 Jan 2004 15:48:30 -0600 (CST) Received: from [192.168.0.194] (pcp05178369pcs.swedsb01.nj.comcast.net [68.46.15.3]) by mail.aspect.net (Postfix) with ESMTP id 3E1996B9A4; Fri, 9 Jan 2004 15:48:27 -0600 (CST) In-Reply-To: <1073649030.25100.47.camel@traveler> References: <1073649030.25100.47.camel@traveler> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8CB79196-42ED-11D8-B13E-000393B4C928@jabber.org> Content-Transfer-Encoding: 7bit Cc: gtkmm-list@gnome.org From: Julian Missig Subject: Re: [gtkmm] Probably a stupid Gtk+ question Date: Fri, 9 Jan 2004 16:48:24 -0500 To: Carl Nygard X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 9 Jan, 2004, at 6:50, Carl Nygard wrote: > > > Like I said, this is probably stupid. I've had this question rattling > around in my skull for a while, and instead of actually researching it, > I'm taking the easy way out and just asking: > > If Gtk+ is built on an object model, why did those folks go to such > (rumored to be) herculean lengths to build one in C, instead of just > using C++? I can think perhaps language bindings had something to do, > but the only problem that jumps out there would be scheme/lisp binding. > Perl/python/ruby are already OO themselves. > > I'm sure theres a good reason, just curious... and not looking to start > a language war. C++ has a history of particularly poor support on Linux. C has been the favored language for development on Linux for a long time. g++ had poor support for STL and has always been rather slow to compile C++. Not to mention the fact that ABI compatibility was broken with every g++ release and that different architectures supported different parts of STL! So basically, when Gtk+ started, C++ was a rather poor choice if you wanted to build a well-supported cross-architecture library. And yes, language bindings are another part of the argument. Supposedly it's much easier to make language bindings to various other languages if the core library is in C than if it were in C++. Also, a lot of the Gtk+ and/or Gnome developers feel that C++ is a crummy language and it makes more sense to build the OO features they need into C. Or something like that. Julian From gtkmm-forge-admin@lists.sourceforge.net Fri Jan 9 23:04:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 38E67183D4 for ; Fri, 9 Jan 2004 23:04:22 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AfAMH-0004yV-7p for gtkmm-list@gnome.org; Fri, 09 Jan 2004 20:04:21 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AfAMH-0007fw-2H for gtkmm-list@gnome.org; Fri, 09 Jan 2004 20:04:21 -0800 Date: Fri, 09 Jan 2004 20:01:57 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #593 - 5 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 2. [Bug 131019] New - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 3. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 4. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 5. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Fri, 9 Jan 2004 11:06:46 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by christof@petig-baender.de. --- shadow/124297 Fri Oct 10 11:07:25 2003 +++ shadow/124297.tmp.22337 Fri Jan 9 11:06:46 2004 @@ -14,6 +14,11 @@ URL: Summary: Need a custom TreeModel example Some people have managed to implement custom Gtk::TreeModels, but they seem to be using strange hacky techniques. It needs to register a GType, but that should be similar to the custom cell renderer. + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:06 ------- +Created an attachment (id=23167) +Feel free to simplify the GObject related stuff + --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:15:16 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] New - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:15:16 2004 +++ shadow/131019.tmp.28018 Fri Jan 9 11:15:16 2004 @@ -0,0 +1,24 @@ +Bug#: 131019 +Product: gtkmm +Version: 2.2 +OS: Linux +OS Details: +Status: NEW +Resolution: +Severity: enhancement +Priority: Normal +Component: TreeView +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: christof@petig-baender.de +TargetMilestone: --- +URL: +Summary: TreeStore has no decent performance on massive inserts + +As reported by several people on the net there seems to be a performance +problem with Gtk::TreeStore insertions. + +I personally have seen more than 30seconds for inserting 10k lines when +generating a tree out of a linear multi-columned list. My std::map based +custom model manages 100k in less than 2 seconds (300MHz G3 powerpc). + +I'm going to simplify my example down to one file. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:37:02 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:15:16 2004 +++ shadow/131019.tmp.9200 Fri Jan 9 11:37:02 2004 @@ -19,6 +19,11 @@ I personally have seen more than 30seconds for inserting 10k lines when generating a tree out of a linear multi-columned list. My std::map based custom model manages 100k in less than 2 seconds (300MHz G3 powerpc). I'm going to simplify my example down to one file. + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:37 ------- +Created an attachment (id=23168) +reported at http://mail.gnome.org/archives/gtk-list/2003-March/msg00361.html + --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:48:12 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:37:02 2004 +++ shadow/131019.tmp.17553 Fri Jan 9 11:48:12 2004 @@ -24,6 +24,14 @@ I'm going to simplify my example down to one file. ------- Additional Comments From christof@petig-baender.de 2004-01-09 11:37 ------- Created an attachment (id=23168) reported at http://mail.gnome.org/archives/gtk-list/2003-March/msg00361.html + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:48 ------- +See also the mailing list thread at +http://mail.gnome.org/archives/gtkmm-list/2003-October/msg00090.html + +[I admit that I do no longer remember the exect timings but it was +simply too much and more O(N^2+) than O(N logN).] + --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Fri, 9 Jan 2004 12:23:25 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Wed Jan 7 14:45:38 2004 +++ shadow/129210.tmp.5563 Fri Jan 9 12:23:25 2004 @@ -215,6 +215,22 @@ Well, that's a lot of babbling. :-> I guess it could all be summarized with this: Go ahead and require modern C++ features, but try to catch support for them up front with autoconf. + +------- Additional Comments From murrayc@usa.net 2004-01-09 12:23 ------- +> if there was NNTP interface available, I'd use it + +Apparently these people have a newsgroup gateway: +http://marc.theaimsgroup.com/?l=gtkmm&r=1&w=2#gtkmm + +Thanks. So, you seem to need gcc 2.9* becuase your need it to build +your kernel. Other mainstream distros don't have this problem - I +guess that they either use 2 compilers or they can compile the kernel +and user space apps with the same compiler. So I believe that it is +not a real problem. Of course, I also believe that linuxfromscratch +people actually enjoy having these problems. + +So, I guess we'll drop the gcc 2.9* support. But thanks for showing us +that we needed to think about it. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From ghenriks@rogers.com Fri Jan 9 23:48:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep04-mail.bloor.is.net.cable.rogers.com (fep04-mail.bloor.is.net.cable.rogers.com [66.185.86.74]) by mail.gnome.org (Postfix) with ESMTP id B19D218BD8 for ; Fri, 9 Jan 2004 23:48:14 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep04-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040110044542.UWXZ430912.fep04-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com> for ; Fri, 9 Jan 2004 23:45:42 -0500 From: Gerald Henriksen To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question Date: Fri, 09 Jan 2004 23:48:23 -0500 Message-ID: References: <1073649030.25100.47.camel@traveler> In-Reply-To: <1073649030.25100.47.camel@traveler> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep04-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Fri, 9 Jan 2004 23:45:42 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 09 Jan 2004 06:50:30 -0500, you wrote: >If Gtk+ is built on an object model, why did those folks go to such >(rumored to be) herculean lengths to build one in C, instead of just >using C++? I can think perhaps language bindings had something to do, Gtk+ is quite old and C++ compiler support back then was a nightmare as each compiler vendor implemented different parts of the standard at any given time. Thus any cross-platform code in C++ quickly either became a mess of compiler specific code or you had to code to a very poor lowest common denominator version of C++. C++ compilers also had a reputation for producing bloated, slow code compared to C. It is only recently that all the major compilers have finally come close to fully implementing the C++ standard, and the peformance issues have disappeared. The other major reason is that many open source programmers first pick up C and never move beyond it. It is typically much easier to pick up procedural programming, and easier to site down and start coding without doing any planning. From billyoc@gnuyork.org Sat Jan 10 00:18:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 0E57518444 for ; Sat, 10 Jan 2004 00:18:03 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AfBTM-0007nV-KV; Sat, 10 Jan 2004 00:15:44 -0500 To: Gerald Henriksen Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <1073649030.25100.47.camel@traveler> From: Billy O'Connor Date: Sat, 10 Jan 2004 00:15:44 -0500 In-Reply-To: (Gerald Henriksen's message of "Fri, 09 Jan 2004 23:48:23 -0500") Message-ID: <87d69s4c5b.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Gerald Henriksen writes: > On Fri, 09 Jan 2004 06:50:30 -0500, you wrote: > >>If Gtk+ is built on an object model, why did those folks go to such >>(rumored to be) herculean lengths to build one in C, instead of just >>using C++? I can think perhaps language bindings had something to do, > > Gtk+ is quite old and C++ compiler support back then was a nightmare > as each compiler vendor implemented different parts of the standard at > any given time. Thus any cross-platform code in C++ quickly either > became a mess of compiler specific code or you had to code to a very > poor lowest common denominator version of C++. C++ compilers also had > a reputation for producing bloated, slow code compared to C. > > It is only recently that all the major compilers have finally come > close to fully implementing the C++ standard, and the peformance > issues have disappeared. > > The other major reason is that many open source programmers first pick > up C and never move beyond it. It is typically much easier to pick up > procedural programming, and easier to site down and start coding > without doing any planning. And the number 1 reason Gtk+ is written in C(drumroll)... It's UNIX, for God's sake! :) From Murray.Cumming@Comneon.com Sat Jan 10 02:36:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6F75718200 for ; Sat, 10 Jan 2004 02:36:51 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0A7WoDb022399; Sat, 10 Jan 2004 08:32:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Sat, 10 Jan 2004 08:37:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22705@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Compilation problem Date: Sat, 10 Jan 2004 08:36:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: SUSE shipped an unofficial version of gcc, and it's broken. Apparently they have an update. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Steven Salter > Sent: Freitag, 9. Januar 2004 21:08 > To: gtkmm-list@gnome.org > Subject: [gtkmm] Compilation problem > > > I get the following error when trying to compile gtkmm 2.2.8: > > g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION > -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED > -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED > -I../../glib -I../../glib -I../../pango -I../../pango > -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk > -I../../gtk -I/usr/local/lib/sigc++-1.2/include > -I/usr/local/include/sigc++-1.2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -g -O2 -Wall -MT convert.lo -MD > -MP -MF .deps/convert.Tpo -c convert.cc > -fPIC -DPIC -o .libs/convert.o > In file included from ../../glib/glibmm/exception.h:25, > from ../../glib/glibmm/error.h:28, > from ../../glib/glibmm/convert.h:29, > from convert.cc:3: > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:548: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:554: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:560: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:566: error: within this context > make[5]: *** [convert.lo] Error 1 > > The compiler: > > gcc -v > Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs > Configured with: ../configure --enable-threads=posix > --prefix=/usr --with-local-prefix=/usr/local > --infodir=/usr/share/info --mandir=/usr/share/man > --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada > --disable-checking --enable-libgcj > --with-gxx-include-dir=/usr/include/g++ > --with-slibdir=/lib --with-system-zlib --enable-shared > --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc > version 3.3 20030226 (prerelease) (SuSE Linux) > > Any suggestions or requests for further information > gratefully received. > > Steve > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From abt@gmx.de Sat Jan 10 04:21:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7895A18CB1 for ; Sat, 10 Jan 2004 04:21:17 -0500 (EST) Received: (qmail 4487 invoked by uid 65534); 10 Jan 2004 09:21:13 -0000 Received: from dialin-212-144-078-225.arcor-ip.net (EHLO gmx.de) (212.144.78.225) by mail.gmx.net (mp021) with SMTP; 10 Jan 2004 10:21:13 +0100 X-Authenticated: #109577 Message-ID: <3FFFC3FE.10206@gmx.de> Date: Sat, 10 Jan 2004 10:21:02 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: Re: [gtkmm] Compilation problem References: <258B0164D480D5118D900800062B385801C22705@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > SUSE shipped an unofficial version of gcc, and it's broken. Apparently they > have an update. Go for SuSE Linux 9.0 or download the new rmp package gcc from www.suse.de Andi From njh@hawthorn.csse.monash.edu.au Fri Jan 9 19:36:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail015.syd.optusnet.com.au (mail015.syd.optusnet.com.au [211.29.132.161]) by mail.gnome.org (Postfix) with ESMTP id D287818758 for ; Fri, 9 Jan 2004 19:36:27 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail015.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0A0aHO05157; Sat, 10 Jan 2004 11:36:18 +1100 Message-ID: <3FFF4900.5010200@hawthorn.csse.monash.edu.au> Date: Sat, 10 Jan 2004 11:36:16 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Paul Davis Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> In-Reply-To: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Paul Davis wrote: >>If Gtk+ is built on an object model, why did those folks go to such >>(rumored to be) herculean lengths to build one in C, instead of just >>using C++? I can think perhaps language bindings had something to do, >> >> > >a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >to all effects and purposes so hard as to be impractical. when you add >in the instability of the C++ ABI, even if you loved C++, its a pretty >clear choice. > This is not particularly true. I've written python interfaces to pure C++ libraries without trauma. I don't think even FuzzyBaseClass isn't the problem that people claim it is. njh From m.barinskis@apollo.lv Sat Jan 10 09:16:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.apollo.lv (smtp1.apollo.lv [80.232.168.211]) by mail.gnome.org (Postfix) with ESMTP id E0094181A2 for ; Sat, 10 Jan 2004 09:16:49 -0500 (EST) Received: from [81.198.145.45] (HELO apollo.lv) by smtp1.apollo.lv (CommuniGate Pro SMTP 4.1) with ESMTP id 4960642 for gtkmm-list@gnome.org; Sat, 10 Jan 2004 16:09:48 +0200 Message-ID: <4000097B.5000608@apollo.lv> Date: Sat, 10 Jan 2004 16:17:31 +0200 From: Martins Barinskis User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040105 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] 'GLIBMM_CHECK_PERL(5.6.0)' configure error Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've already successfully installed the glibmm and libsigc++ but now, compiling a fresh cvs copy of gtkmm after invoking ./autogen.sh, the configure script fails with error: ./configure: line 8021: syntax error near unexpected token `5.6.0' ./configure: line 8021: `GLIBMM_CHECK_PERL(5.6.0)' According to error text, there's something to do with perl: perl -v This is perl, v5.8.0 built for i486-linux Yes, i've got Perl 5.8.0 (I'm using Slackware 9.1, btw). Does gtkmm need _exactly_ perl 5.6.0, not _at least_ perl 5.6.0? Or maybe i've glibmm compiled incorrectly (./autogen.sh --prefix=/usr/devgnome2 , all paths and ld.so.conf are updateded accordingly) ? Thanks in advance, Martins. From paul@linuxaudiosystems.com Sat Jan 10 11:44:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mail.gnome.org (Postfix) with ESMTP id 18F431875A for ; Sat, 10 Jan 2004 11:44:41 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040110164438.XJY38.out012.verizon.net@dhin.linuxaudiosystems.com>; Sat, 10 Jan 2004 10:44:38 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0AGibgG003808; Sat, 10 Jan 2004 11:44:37 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i0AGibcW003804; Sat, 10 Jan 2004 11:44:37 -0500 Message-Id: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> To: Nathan Hurst Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question In-reply-to: Your message of "Sat, 10 Jan 2004 11:36:16 +1100." <3FFF4900.5010200@hawthorn.csse.monash.edu.au> Date: Sat, 10 Jan 2004 11:44:37 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [141.151.15.227] at Sat, 10 Jan 2004 10:44:38 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >>a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >>to all effects and purposes so hard as to be impractical. when you add >>in the instability of the C++ ABI, even if you loved C++, its a pretty >>clear choice. >> >This is not particularly true. I've written python interfaces to pure >C++ libraries without trauma. I don't think even FuzzyBaseClass isn't >the problem that people claim it is. you either to have export "extern C" static functions, or you have to know how names are mangled. you can't call a C++ function unless one of those two things has been done. either one of them is pretty problematic. --p From js8582003@yahoo.com Sat Jan 10 13:41:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60910.mail.yahoo.com (web60910.mail.yahoo.com [216.155.196.86]) by mail.gnome.org (Postfix) with SMTP id 58A251876F for ; Sat, 10 Jan 2004 13:41:45 -0500 (EST) Message-ID: <20040110184141.67996.qmail@web60910.mail.yahoo.com> Received: from [65.33.238.55] by web60910.mail.yahoo.com via HTTP; Sat, 10 Jan 2004 10:41:41 PST Date: Sat, 10 Jan 2004 10:41:41 -0800 (PST) From: Jerry Stahl To: Gtkmm list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] IPC between Gtkmm objects Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, As part of a larger application, I currently have a Gtkmm 2.2 "main" display dialog that uses my .bashrc file to launch it after the GNOME desktop is loaded. I intend to use this main display to show time from an external source, the currently logged in user and group the user belongs to. I would like to use a separately launched dialog to be able to change the user at any time for the purposes of controlling allowed operations. Initially, it seems that the best approach is to have the main display, login dialog and time source all running their own process ID. I need to have execution of the main display to be non-blocking since I would like to have no interruption of the time display when the user name updates. I'm not an IPC expert but have thought about using signals for this application. Does anyone know if the Gtkmm libraries have any IPC APIs or if there is any other better way to handle the needed IPC calls between PIDs. Any help on this would be appreciated. Thanks in advance, Jerry Stahl __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From billyoc@gnuyork.org Sat Jan 10 14:05:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 22A8A1849B for ; Sat, 10 Jan 2004 14:05:30 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AfOO5-0007K2-Co; Sat, 10 Jan 2004 14:03:09 -0500 To: Jerry Stahl Cc: Gtkmm list Subject: Re: [gtkmm] IPC between Gtkmm objects References: <20040110184141.67996.qmail@web60910.mail.yahoo.com> From: Billy O'Connor Date: Sat, 10 Jan 2004 14:03:09 -0500 In-Reply-To: <20040110184141.67996.qmail@web60910.mail.yahoo.com> (Jerry Stahl's message of "Sat, 10 Jan 2004 10:41:41 -0800 (PST)") Message-ID: <877jzzk4nm.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Jerry Stahl writes: > updates. I'm not an IPC expert but have thought about > using signals for this application. Does anyone know > if the Gtkmm libraries have any IPC APIs or if there > is > any other better way to handle the needed IPC calls > between PIDs. Any help on this would be appreciated. Check out dbus. From chris@cvine.freeserve.co.uk Sat Jan 10 17:13:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailm5.svr.pol.co.uk (cmailm5.svr.pol.co.uk [195.92.193.21]) by mail.gnome.org (Postfix) with ESMTP id 31B63183F9 for ; Sat, 10 Jan 2004 17:13:37 -0500 (EST) Received: from modem-1925.jaguar.dialup.pol.co.uk ([81.76.183.133] helo=boulder.localdomain) by cmailm5.svr.pol.co.uk with esmtp (Exim 4.14) id 1AfRM2-00071o-0V; Sat, 10 Jan 2004 22:13:14 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0AMDZot011725; Sat, 10 Jan 2004 22:13:35 GMT From: Chris Vine To: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: Re: [gtkmm] Compilation problem Date: Sat, 10 Jan 2004 22:13:34 +0000 User-Agent: KMail/1.5.4 References: <1073678905.28724.551.camel@zeus.local> In-Reply-To: <1073678905.28724.551.camel@zeus.local> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200401102213.34958.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Friday 09 January 2004 8:08 pm, Steven Salter wrote: > I get the following error when trying to compile gtkmm 2.2.8: [snip] You are using a pre-release of gcc 3.3. Try getting a stable release of either gcc-3.2 or gcc-3.3 (I think I recall seeing similar reports from others using the Suse pre-release you are using). Chris. From ssalter@sympatico.ca Sat Jan 10 20:32:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tomts36-srv.bellnexxia.net (tomts36-srv.bellnexxia.net [209.226.175.93]) by mail.gnome.org (Postfix) with ESMTP id AF21218566 for ; Sat, 10 Jan 2004 20:32:30 -0500 (EST) Received: from [192.168.1.103] ([65.93.71.21]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040111013226.RRHP11804.tomts36-srv.bellnexxia.net@[192.168.1.103]> for ; Sat, 10 Jan 2004 20:32:26 -0500 Subject: Re: [gtkmm] Compilation problem From: Steven Salter Reply-To: ssalter@sympatico.ca To: gtkmm-list@gnome.org In-Reply-To: <200401102213.34958.chris@cvine.freeserve.co.uk> References: <1073678905.28724.551.camel@zeus.local> <200401102213.34958.chris@cvine.freeserve.co.uk> Content-Type: text/plain Organization: Salter Programming Services Message-Id: <1073784399.2169.558.camel@zeus.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 10 Jan 2004 20:26:48 -0500 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sat, 2004-01-10 at 17:13, Chris Vine wrote: > On Friday 09 January 2004 8:08 pm, Steven Salter wrote: > > I get the following error when trying to compile gtkmm 2.2.8: > > [snip] > > You are using a pre-release of gcc 3.3. Try getting a stable release of > either gcc-3.2 or gcc-3.3 (I think I recall seeing similar reports from > others using the Suse pre-release you are using). Yes, that solved the problem. Thanks to Murray, Andi and Chris. Steve From gcgg-gtkmm-list@m.gmane.org Sun Jan 11 07:56:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 54A6D18154 for ; Sun, 11 Jan 2004 07:56:52 -0500 (EST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aff99-0007SQ-00 for ; Sun, 11 Jan 2004 13:56:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aff98-0007SI-00 for ; Sun, 11 Jan 2004 13:56:50 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aff97-0000Zi-00 for ; Sun, 11 Jan 2004 13:56:49 +0100 From: Mike Hearn Date: Sun, 11 Jan 2004 13:00:08 +0000 Lines: 13 Message-ID: References: <727B82C682D8E8409BD807B361874F410147EB6E@xcgmd050.northgrum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] Re: losing signals Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 09 Jan 2004 10:10:01 -0800, Leitner, Sarah wrote: > I've got a GUI that I will be using several places in the code, so I decided > to make it into a class and called it daemonGUI. So the code that is using > it (I called in the stub) inherits from it. So, all the GUI code is in > daemonGUI, and all the file opening, closing, etc, is in the stub. So far, > it all works, EXCEPT that I am losing all the signals. They aren't working > automatically. Anyone have any ideas? Thanks! I think you'd have to explain what exactly is going wrong a bit better. I'm having a hard time understanding the problem. When you say you are "losing" the signals, does that mean you are connecting them without error but the signal handlers are never invoked? From abt@gmx.de Sun Jan 11 11:00:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id B3889184F7 for ; Sun, 11 Jan 2004 11:00:41 -0500 (EST) Received: (qmail 29999 invoked by uid 65534); 11 Jan 2004 16:00:38 -0000 Received: from pD9E95095.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.80.149) by mail.gmx.net (mp009) with SMTP; 11 Jan 2004 17:00:38 +0100 X-Authenticated: #109577 Message-ID: <40017327.4080505@gmx.de> Date: Sun, 11 Jan 2004 17:00:39 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a selected row in a tree view highlighted References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> <3FFE689B.3020805@gmx.de> In-Reply-To: <3FFE689B.3020805@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I have not found the solution yet. No idea, someone? TIA, Andi > I select a row with: > m_tree_sel_ref->select(row); > > Can somebody throw light on this? The row > is selected ( I can get the value ) but > the selected row is not highlighted in the GUI. From njh@hawthorn.csse.monash.edu.au Sat Jan 10 17:46:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail007.syd.optusnet.com.au (mail007.syd.optusnet.com.au [211.29.132.55]) by mail.gnome.org (Postfix) with ESMTP id 11DA8181B9 for ; Sat, 10 Jan 2004 17:46:00 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail007.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0AMjlH26504; Sun, 11 Jan 2004 09:45:47 +1100 Message-ID: <4000809A.5090700@hawthorn.csse.monash.edu.au> Date: Sun, 11 Jan 2004 09:45:46 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Paul Davis Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> In-Reply-To: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Paul Davis wrote: >>>a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >>>to all effects and purposes so hard as to be impractical. when you add >>>in the instability of the C++ ABI, even if you loved C++, its a pretty >>>clear choice. >>> >>> >>> >>This is not particularly true. I've written python interfaces to pure >>C++ libraries without trauma. I don't think even FuzzyBaseClass isn't >>the problem that people claim it is. >> >> > >you either to have export "extern C" static functions, or you have to >know how names are mangled. you can't call a C++ function unless >one of those two things has been done. either one of them is pretty >problematic. > Sure, but that's no worse than having to call functions things like gtk_window_new() Your main implementation can still be done in a clear and simple manner. The interface could even be automatically generated. njh From arvind@acarlab.com Sun Jan 11 18:02:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.96.162]) by mail.gnome.org (Postfix) with SMTP id 9A6FE189A3 for ; Sun, 11 Jan 2004 18:02:01 -0500 (EST) Received: (qmail 8657 invoked by uid 1000); 11 Jan 2004 23:01:10 -0000 Date: Mon, 12 Jan 2004 04:31:09 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Cc: js8582003@yahoo.com Subject: [gtkmm] IPC between Gtkmm objects Message-ID: <20040111230109.GA8645@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, On Sat, 10 Jan 2004 Jerry Stahl wrote : > As part of a larger application, I currently have a > Gtkmm 2.2 "main" display dialog that uses my .bashrc > > Does anyone know if the Gtkmm libraries have any IPC > APIs or if there is any other better way to handle > the needed IPC calls between PIDs. Being in land of limited bit-rates and scarce CD-images I'm not sure if bleeding-edge Gtkmm has preserved its links with the out-of-date gtkmm-1.2.8; but gtkmm-1.2 has the Gtk::Plug and Gtk::Socket, which together with the standard IPC socket ( a STREAMS pipe would have been generally easier, but linux doesn't seem to favour it too much ) is probably what you are looking for. You will find such an implementation in the 'qtstu' app. from http://www.acarlab.com in which a device specific extensions ( for the philips web-cam ) are packaged into a seperate process gtkmm- window but realized in the main app window. - arvind From gtkmm-forge-admin@lists.sourceforge.net Sun Jan 11 23:04:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 7130E182D9 for ; Sun, 11 Jan 2004 23:04:08 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AftJ8-00049w-Nd for gtkmm-list@gnome.org; Sun, 11 Jan 2004 20:04:06 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AftJ8-0004tF-KH for gtkmm-list@gnome.org; Sun, 11 Jan 2004 20:04:06 -0800 Date: Sun, 11 Jan 2004 20:01:55 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #594 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 2. [Bug 131172] New - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) 3. [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Sun, 11 Jan 2004 13:41:34 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Mon Jan 5 10:22:31 2004 +++ shadow/129846.tmp.9726 Sun Jan 11 13:41:34 2004 @@ -58,6 +58,10 @@ This works with the normal gnomemm/libglademm/examples/menus/example program. Regards, Roger + +------- Additional Comments From murrayc@usa.net 2004-01-11 13:41 ------- +So, the problem seems to be only with _stock_ accelerators. I still +have not found any example of this in C, however. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Sun, 11 Jan 2004 14:52:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] New - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by takekawa@users.sourceforge.jp. --- shadow/131172 Sun Jan 11 14:52:17 2004 +++ shadow/131172.tmp.24196 Sun Jan 11 14:52:17 2004 @@ -0,0 +1,49 @@ +Bug#: 131172 +Product: gtkmm +Version: 2.2 +OS: Linux +OS Details: +Status: NEW +Resolution: +Severity: normal +Priority: Normal +Component: build +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: takekawa@users.sourceforge.jp +TargetMilestone: --- +URL: +Summary: duplicate namespace in atkmm/text.h and gtkmm/enums.h + +Intel compiler (both version 7 and 8) can not compile atk/atkmm/text.cc and +gtk/gtkmm/enums.cc because of the duplicate namespace definitions such as +`namespace Glib { class Glib::XXX; }`. + +../../atk/atkmm/text.h(181): error: qualified name is not allowed in +namespace member declaration + class Glib::Value : public +Glib::Value_Enum + ^ + +../../atk/atkmm/text.h(181): error: class "Glib::" is not an entity +that can be explicitly specialized + class Glib::Value : public +Glib::Value_Enum + ^ + +text.cc(33): error: incomplete type is not allowed + GType Glib::Value::value_type() + ^ + +../../gtk/gtkmm/enums.h(1321): error: qualified name is not allowed in +namespace member declaration + class Glib::Value : public Glib::Value_Enum + ^ + +../../gtk/gtkmm/enums.h(1321): error: class "Glib::" is not an +entity that can be explicitly specialized + class Glib::Value : public Glib::Value_Enum + ^ + +enums.cc(32): error: incomplete type is not allowed + GType Glib::Value::value_type() + ^ --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Sun, 11 Jan 2004 14:55:55 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by takekawa@users.sourceforge.jp. --- shadow/131172 Sun Jan 11 14:52:17 2004 +++ shadow/131172.tmp.26142 Sun Jan 11 14:55:55 2004 @@ -44,6 +44,11 @@ class Glib::Value : public Glib::Value_Enum ^ enums.cc(32): error: incomplete type is not allowed GType Glib::Value::value_type() ^ + +------- Additional Comments From takekawa@users.sourceforge.jp 2004-01-11 14:55 ------- +Created an attachment (id=23239) +patch to fix duplicate namespace + --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From Murray.Cumming@Comneon.com Mon Jan 12 03:26:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id EFA3618144 for ; Mon, 12 Jan 2004 03:26:52 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0C8MlDb003611; Mon, 12 Jan 2004 09:22:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 09:27:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22766@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: m.barinskis@apollo.lv, gtkmm-list@gnome.org Subject: RE: [gtkmm] 'GLIBMM_CHECK_PERL(5.6.0)' configure error Date: Mon, 12 Jan 2004 09:26:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've already successfully installed the glibmm and libsigc++ but now, > compiling a fresh cvs copy of gtkmm after invoking ./autogen.sh, the > configure script fails with error: > > > ./configure: line 8021: syntax error near unexpected token `5.6.0' > ./configure: line 8021: `GLIBMM_CHECK_PERL(5.6.0)' > Did you install glibmm from cvs as well? This is a new .m4 macro that I added recently. It should be installed from glibmm/scripts to /share/aclocal/glibmm_check_perl.m4. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Mon Jan 12 04:08:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id DDFD0181E2 for ; Mon, 12 Jan 2004 04:08:49 -0500 (EST) Received: (qmail 22752 invoked by uid 65534); 12 Jan 2004 09:08:46 -0000 Received: from pD9E9459B.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.69.155) by mail.gmx.net (mp010) with SMTP; 12 Jan 2004 10:08:46 +0100 X-Authenticated: #109577 Message-ID: <4002641B.1090107@gmx.de> Date: Mon, 12 Jan 2004 10:08:43 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: "Darren W." , gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a selected row in a tree view highlighted References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> <3FFE689B.3020805@gmx.de> <40017327.4080505@gmx.de> <40018292.BC784CE6@ntlworld.com> In-Reply-To: <40018292.BC784CE6@ntlworld.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Same thing. The selection is not visible in the tree view. I guess something is not right with my code?! void ConstraintTable::onNextClicked() { Gtk::TreeModel::iterator curr_iter = m_tree_sel_ref->get_selected(); Gtk::TreeModel::Row curr_row = *curr_iter; // selected row typedef Gtk::TreeModel::Children type_children; type_children children = m_list_store_ref->children(); for(type_children::iterator iter = children.begin(); iter != children.end(); ++iter) { Gtk::TreeModel::Row row = *iter; if(row) { m_tree_sel_ref->select(row); // selection is ok but invisible selection_made_cb(); // my callback for a selected row } } } ... m_tree_sel_ref = m_tree_view.get_selection(); m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); m_tree_sel_ref->signal_changed ().connect ( SigC::slot (*this, &ConstraintTable::selection_made_cb)); > What happens if for testing you try > > m_tree_sel_ref->set_mode(Gtk::SELECTION_MULTIPLE); > m_tree_sel_ref->select_all(); > > > I'm afraid I'm fairly new to Gtk, so am not an expert. From Murray.Cumming@Comneon.com Mon Jan 12 07:15:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C253F18106; Mon, 12 Jan 2004 07:15:15 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CCBDDb017513; Mon, 12 Jan 2004 13:11:13 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 13:15:33 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227BF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? Date: Mon, 12 Jan 2004 13:15:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So, we will abandon gcc 2.9* support in libsigc++ 2 and gtkmm 2.4. Of course we will apply any reasonable patches [1] that people provide to support any compilers, but nobody should expect core developers to waste time on gcc 2.9*. [1] So far, there are only unfinished gcc 2.9* patches in gtkmm's bugzilla. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cumming > Murray (CN L External) > Sent: Mittwoch, 7. Januar 2004 19:29 > To: gtkmm-list@gnome.org; libsigc-list@gnome.org > Subject: [gtkmm] Abandoning gcc 2.9*? > > > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we > Libsigc++ use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Mon Jan 12 08:53:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 96F7D1852F for ; Mon, 12 Jan 2004 08:53:49 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CDnlDb028355; Mon, 12 Jan 2004 14:49:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 14:54:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: palm@nogui.se Cc: gtkmm-list@gnome.org Subject: RE: [[gtkmm] Alternate libglademm interface] Date: Mon, 12 Jan 2004 14:53:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: We must freeze the libglademm 2.4 API on February 16th http://www.gnome.org/start/2.5/bindings/#ApiFreeze Are you likely to have a patch for me to look at soon? Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Christer Palm [mailto:palm@nogui.se] > Sent: Dienstag, 7. Oktober 2003 20:54 > To: Murray Cumming > Cc: gtkmm-list@gnome.org > Subject: Re: [[gtkmm] Alternate libglademm interface] > > > Hi! > > Murray Cumming wrote: > >> > >> - Allow arbitrary constructor arguments for derived > widget classes. > > > > > > This could be nice. Obviously it would be impractical to typedef an > > Adapter for every possible class, so I think that the example code > > should use the Adapter template without a typedef. > > > > The typedef's are just there for convenience, of course. > The Adapter should stay visible to enable it to be used directly for > other classes. And yes, the example could be much better. > > > > >> - Straightforward creation of derived widgets, no Xml::create(), > >>get_derived_widget(), etc. > > > > > > By putting the glade filename in the constructor, yes. But > would this > > allow us to have 2 derived child-widgets that have been > layed out in > > the same container widget in a .glade file. I think the existing > > get_widget_derived() method allows us to reuse an existing > > Gnome::Glade::Xml instance, but this one creates a new one for each > > class. > > > > This could quite easily be fixed by adding additional XmlWidget::Base > constructors for building the widget from an existing > Gnome::Glade::Xml > instance. > > The other way around, the internal Xml instance should > probably also be > made accessable in some way. > > A version intended for general use should probably also have > constructors for building from a memory buffer, specifying the root, > etc., just as with Gnome::Glade::Xml. > > I didn't put it in there because I didn't need it personally... > > > > >> - Hides more (most) glade stuff from the user. > > > > > > See above. This might be a problem if the top-most class is > not one of > > your derived classes. Maybe that is not a common case. > > > > It appears that it is not. Most gtkmm code I've seen so far > only derives > top-level widgets such as windows and dialogs. > > > > >> - Makes it easy to catch runtime errors when, for > example, making a > >>bunch of get_widget() calls by using exceptions. > > > > > > I don't see a need to create a new exception class. > > Gnome::Glade::Xml::Error should be enough. Also, I don't > think we use > > throw() declarations in our *mm stuff. > > > > Well, I wasn't planning on throwing the actual > XmlWidget::Exception, but > more detailed exceptions derived from it, but I got a little > lazy on the > way and just put in throw(Exception):s for now. > > The idea is to give the user a flexible choice of what level > he (she?) > wants to provide error handling. If you just want to know if > _anything_ > went wrong, catch Glib::Exception. If you want to know if > something went > wrong with XmlWidget, catch XmlWidget::Exception. If you specifically > want to know when a widget is missing from the glade file, catch > XmlWidget::MissingWidgetException. You get the idea... > > throw specifiers are actually used in Glib, so they shouldn't > cause any > porting issues that are not already there. Personally I love > them - they > definitely help to improve your code quality. > > Both mechanisms are practically free from a runtime resource > perspective. Just too bad that they aren't very frequently used, in > gtkmm or elsewhere. > > All this of course subject matter to each and everyones > personal taste > and level on conservativism :-) > > > > >>Please keep in mind that this is a quick proof-of-concept hack. I'd > >>like > >>to hear your comments, as I suspect that the approach I'm > using may not > >>be 100% flawless. > > > > > > I don't see where you are instantiating the gtkmm GTypes. This code > > just seems to instantiate the GTK+ Gtype: > > > > :-) > > The instantiation is well hidden inside libglademm thanks to the fact > that I pass xml->gobj() to glade_xml_get_widget(), and xml is a > Gnome::Glade::Xml instance (providing the virtual function > for looking > up the proper GType). > > > > > In general, I would prefer patches (although new files > generally need > > to be tarballed up separately) in bugzilla. You can put the URL in > > emails. > > > > Yes, of course. As I wrote, this wasn't meant to be an "official" > submission to libglademm in any way (at least not at this stage), but > merely a simple way to demonstrate the concept and gain some > comments on it. > > > This is interesting. I particularly don't like that the > classes used > > with the current get_widget_derived() are forced to all > have the same > > constructor parameters. > > > > Yes. That's actually the main reason to why I cooked this up. > It was a > showstopper in my case. > > -- > Christer Palm > > From Murray.Cumming@Comneon.com Mon Jan 12 08:55:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 63FC718320 for ; Mon, 12 Jan 2004 08:55:49 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CDplDb029042 for ; Mon, 12 Jan 2004 14:51:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 14:56:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Mon, 12 Jan 2004 14:55:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So, are there no volunteers for this? It's starting to bother me that we have had almost no patches for gtkmm 2.4 so far. Don't expect me do everything myself. Murray Cumming www.murrayc.com murrayc@usa.net > I added quite a lot of API documentation to the TreeView and > TextView classes and associated classes, in gtkmm 2.4. For > instance: > http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/group__TreeView.html > > I think that 100% API documentation should be possible, and it's an easy way to help. > > Undocumented class methods are probably undocumented because > - They are hand-coded because they use a different parameter order compared to the underlying C function. In this case you should look > at the C docs and modify it accordingly. Look at the generated html of the C docs because not everything is in the .c files: > http://www.gtk.org/api/ > - They are _MEMBER_GET() or _MEMBER_SET() accessors for struct fields. These needs little "Get the something" descriptions if there is > nothing else to say. > > All classes should also have documentation for the class itself. Again, you can usually rephrase the C documentation for these. > > If you run "make doxygen-warnings" in gtkmm/docs/reference/, it will generate a text file with warnings about undocumented methods and > classes. I'm not sure how complete that will be, but it's a start. > > I think we can reach 100%. That would be good. From abt@gmx.de Mon Jan 12 09:27:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3B7E818526 for ; Mon, 12 Jan 2004 09:27:33 -0500 (EST) Received: (qmail 776 invoked by uid 65534); 12 Jan 2004 14:27:31 -0000 Received: from pD9E940BA.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.64.186) by mail.gmx.net (mp001) with SMTP; 12 Jan 2004 15:27:31 +0100 X-Authenticated: #109577 Message-ID: <4002AED1.2060808@gmx.de> Date: Mon, 12 Jan 2004 15:27:29 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] CheckMenuItem editable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, how do I make the Item editable? I´ve created a CheckMenuItem but I cannot change the value with my mouse and I found no "make_editable()" or something like it. Gtk::CheckMenuItem m_checkItem; TIA, Andi From js8582003@yahoo.com Mon Jan 12 10:56:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60902.mail.yahoo.com (web60902.mail.yahoo.com [216.155.196.78]) by mail.gnome.org (Postfix) with SMTP id 32D3318294 for ; Mon, 12 Jan 2004 10:56:33 -0500 (EST) Message-ID: <20040112155627.79118.qmail@web60902.mail.yahoo.com> Received: from [128.217.80.107] by web60902.mail.yahoo.com via HTTP; Mon, 12 Jan 2004 07:56:27 PST Date: Mon, 12 Jan 2004 07:56:27 -0800 (PST) From: Jerry Stahl Subject: Re: [gtkmm] IPC between Gtkmm objects To: "Arvind R." Cc: Gtkmm list In-Reply-To: <20040111230109.GA8645@mail.acarlab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Arvind, Thanks for the response. I'll take a look at the example you mentioned. Jerry --- "Arvind R." wrote: > Hi, > On Sat, 10 Jan 2004 Jerry Stahl wrote : > > > As part of a larger application, I currently have > a > > Gtkmm 2.2 "main" display dialog that uses my > .bashrc > > > > Does anyone know if the Gtkmm libraries have any > IPC > > APIs or if there is any other better way to > handle > > the needed IPC calls between PIDs. > > Being in land of limited bit-rates and scarce > CD-images > I'm not sure if bleeding-edge Gtkmm has preserved > its > links with the out-of-date gtkmm-1.2.8; but > gtkmm-1.2 > has the Gtk::Plug and Gtk::Socket, which together > with > the standard IPC socket ( a STREAMS pipe would have > been generally easier, but linux doesn't seem to > favour > it too much ) is probably what you are looking for. > > You will find such an implementation in the 'qtstu' > app. > from http://www.acarlab.com in which a device > specific > extensions ( for the philips web-cam ) are packaged > into > a seperate process gtkmm- window but realized in the > main app window. > > - arvind > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From matthew@alledora.co.uk Mon Jan 12 11:03:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 6E5E41865D for ; Mon, 12 Jan 2004 11:03:31 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Ag4Ut-0007fp-Fb for gtkmm-list@gnome.org; Mon, 12 Jan 2004 16:00:59 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Ag4Us-0007fb-D8; Mon, 12 Jan 2004 16:00:58 +0000 Message-ID: <4002C58B.1070501@alledora.co.uk> Date: Mon, 12 Jan 2004 16:04:27 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: > So, are there no volunteers for this? It's starting to bother me that we > have had almost no patches for gtkmm 2.4 so far. Don't expect me do > everything myself. I don't think I got this e-mail originally, or if I did I didn't see it. I'll see if I can find the time to do anything along these lines. From billyoc@gnuyork.org Mon Jan 12 11:16:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 2931018152 for ; Mon, 12 Jan 2004 11:16:06 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Ag4h8-0007l8-2G; Mon, 12 Jan 2004 11:13:38 -0500 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Mon, 12 Jan 2004 11:13:37 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Mon, 12 Jan 2004 14:55:47 +0100") Message-ID: <873cal16xa.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > So, are there no volunteers for this? It's starting to bother me that we > have had almost no patches for gtkmm 2.4 so far. Don't expect me do > everything myself. I'm working on this, I'll have some patches in this week. Billy From Murray.Cumming@Comneon.com Mon Jan 12 11:17:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 58A1018521 for ; Mon, 12 Jan 2004 11:17:56 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CGDrDb018427; Mon, 12 Jan 2004 17:13:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 17:18:14 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: billyoc@gnuyork.org Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Mon, 12 Jan 2004 17:17:49 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > So, are there no volunteers for this? It's starting to > bother me that > > we have had almost no patches for gtkmm 2.4 so far. Don't > expect me do > > everything myself. > > I'm working on this, I'll have some patches in this week. Excellent. To avoid duplication of effort, it might help people to know what parts you expect to work on. (There is plenty for everybody). Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 12 13:39:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DD25B18415 for ; Mon, 12 Jan 2004 13:38:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CIYvDb017285; Mon, 12 Jan 2004 19:34:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 19:39:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Mon, 12 Jan 2004 19:38:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > Well, anyway, I'll be leaving campus soon and no longer have this > > bandwidth. > > > > The packages are at > > http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > > I have downloaded them for safety. I am a bit reluctant to > put binary packages on gtkmm.org until > - I am sure that they will be maintained in future. Isn't > there some central repository for things like this? > - The build process is documented. I would like a > README.MacOSX, like our current README.win32 and README.SUN > - I see that you have at least tried to get libtool fixed > instead of patching it locally. > > I do appreciate your efforts, but I don't want them to be wasted. If anybody wants this file, I can provide it on request, but 27Mb is a bit too much for me to host. And I won't put it on sourceforge until it's documented and there is a maintainer and we know that we can't put it somewhere more central. Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Mon Jan 12 13:41:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 18BF3187B0 for ; Mon, 12 Jan 2004 13:41:54 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Ag6yE-0001wy-2s for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:39:26 -0500 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Mon, 12 Jan 2004 13:39:26 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Mon, 12 Jan 2004 17:17:49 +0100") Message-ID: <877jzxypsx.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: >> I'm working on this, I'll have some patches in this week. > > Excellent. To avoid duplication of effort, it might help people to know what > parts you expect to work on. (There is plenty for everybody). I'm working on Gtk:TextBuffer and Gtk::Tree* Billy From julian@jabber.org Mon Jan 12 13:54:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 0992F18366 for ; Mon, 12 Jan 2004 13:54:58 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id 5670B43597; Mon, 12 Jan 2004 12:54:57 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16490-05; Mon, 12 Jan 2004 12:54:56 -0600 (CST) Received: from [128.2.74.52] (SKADI.WV.CC.cmu.edu [128.2.74.52]) by mail.aspect.net (Postfix) with ESMTP id 3E35B404A6; Mon, 12 Jan 2004 12:54:55 -0600 (CST) In-Reply-To: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: gtkmm-list@gnome.org, Thomas Muldowney From: Julian Missig Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Mon, 12 Jan 2004 13:54:53 -0500 To: Murray.Cumming@Comneon.com X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: >>> Well, anyway, I'll be leaving campus soon and no longer have this >>> bandwidth. >>> >>> The packages are at >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg >> >> I have downloaded them for safety. I am a bit reluctant to >> put binary packages on gtkmm.org until >> - I am sure that they will be maintained in future. Isn't >> there some central repository for things like this? DarwinPorts does not host binary packages. Fink hosts binary versions of their packages... eventually... but these were generated using DarwinPorts, which uses a different path prefix from Fink. Fink also does not use these double-clickable installers like DarwinPorts can produce. osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but I'm not sure whether they'd host something generated by DarwinPorts. >> - The build process is documented. I would like a >> README.MacOSX, like our current README.win32 and README.SUN >> - I see that you have at least tried to get libtool fixed >> instead of patching it locally. What more do you want me to do? I've contacted all the people I can and no one seems to know why it works like that or give a shit. >> >> I do appreciate your efforts, but I don't want them to be wasted. Whatever. I made these so that my users could get gtkmm installed. I've battled with this stuff for so long with so many unhelpful people I honestly don't care whether they're "officially" distributed anywhere. I have something which works, so that's good enough to get Gabber2 on OS X. I'm done as far as I'm concerned. Julian From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 12 16:22:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 1A0E218380 for ; Mon, 12 Jan 2004 16:22:03 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Ag9Va-0005Bp-0o for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:22:02 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1Ag9VZ-0007VK-Sw for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:22:01 -0800 Date: Mon, 12 Jan 2004 13:21:03 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #595 - 17 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 131200] New - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 2. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 3. [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) 4. [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc (bugzilla-daemon@widget.gnome.org) 5. [Bug 128932] Changed - gnome-vfsmm-1.3.4 won't build with gcc-2.95.x (bugzilla-daemon@widget.gnome.org) 6. [Bug 121646] Changed - won't build with older gcc (bugzilla-daemon@widget.gnome.org) 7. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 8. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) 9. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 10. [Bug 97036] Changed - Gdk::Drawable::draw_glyphs() uses a C type. (bugzilla-daemon@widget.gnome.org) 11. [Bug 125969] Changed - Scale button_pressed_event needs connect_notify() (bugzilla-daemon@widget.gnome.org) 12. [Bug 89780] Changed - Treeview: signal_button_press_event needs connect_notify() (bugzilla-daemon@widget.gnome.org) 13. [Bug 123082] Changed - directfb build (bugzilla-daemon@widget.gnome.org) 14. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 15. [Bug 126324] Changed - gtkmm 2.2 doesn't build with GTK+ 2.3 (bugzilla-daemon@widget.gnome.org) 16. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 17. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 00:07:13 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] New - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by billyoc@gnuyork.org. --- shadow/131200 Mon Jan 12 00:07:13 2004 +++ shadow/131200.tmp.4773 Mon Jan 12 00:07:13 2004 @@ -0,0 +1,17 @@ +Bug#: 131200 +Product: gtkmm +Version: 2.4 +OS: Linux +OS Details: Debian Sid +Status: NEW +Resolution: +Severity: normal +Priority: Normal +Component: build +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: billyoc@gnuyork.org +TargetMilestone: --- +URL: +Summary: gtkmm/demo syntax error, breaks build. + +Syntax error in HEAD, just a stray comma. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 00:07:52 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by billyoc@gnuyork.org. --- shadow/131200 Mon Jan 12 00:07:13 2004 +++ shadow/131200.tmp.4978 Mon Jan 12 00:07:52 2004 @@ -12,6 +12,11 @@ ReportedBy: billyoc@gnuyork.org TargetMilestone: --- URL: Summary: gtkmm/demo syntax error, breaks build. Syntax error in HEAD, just a stray comma. + +------- Additional Comments From billyoc@gnuyork.org 2004-01-12 00:07 ------- +Created an attachment (id=23249) +removes stray comma + --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, takekawa@users.sourceforge.jp Cc: Date: Mon, 12 Jan 2004 03:15:00 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by murrayc@usa.net. --- shadow/131172 Sun Jan 11 14:55:55 2004 +++ shadow/131172.tmp.26313 Mon Jan 12 03:15:00 2004 @@ -49,6 +49,15 @@ ^ ------- Additional Comments From takekawa@users.sourceforge.jp 2004-01-11 14:55 ------- Created an attachment (id=23239) patch to fix duplicate namespace + +------- Additional Comments From murrayc@usa.net 2004-01-12 03:14 ------- +Thanks. I will investigate. + +Please see +http://www.gtkmm.org/bugs.shtml +about creating patches. This patch patches generated files, and has no +ChangeLog entry. + --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:22:51 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129396 Changed by murrayc@usa.net. --- shadow/129396 Mon Jan 5 13:06:16 2004 +++ shadow/129396.tmp.22913 Mon Jan 12 07:22:51 2004 @@ -1,13 +1,13 @@ Bug#: 129396 Product: gnomemm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -43,6 +43,11 @@ Fortunately, this seems restricted to the examples directory. ------- Additional Comments From murrayc@usa.net 2003-12-19 10:24 ------- Not many people are using this compiler anymore, but patches are welcome. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:22 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:24:46 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 128932] Changed - gnome-vfsmm-1.3.4 won't build with gcc-2.95.x Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=128932 Changed by murrayc@usa.net. --- shadow/128932 Fri Dec 12 11:46:41 2003 +++ shadow/128932.tmp.23792 Mon Jan 12 07:24:46 2004 @@ -1,13 +1,13 @@ Bug#: 128932 Product: gnomemm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: gnome-vfsmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -469,6 +469,15 @@ } ------- Additional Comments From murrayc@usa.net 2003-12-12 11:46 ------- Thanks, but please _attach_ your patch and patch the ChangeLog. In general, please see: http://www.gtkmm.org/bugs.shtml + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:24 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. + +This bug has a patch, but there isn't much point in applying it until +gtkmm 2.4 builds with gcc 2.9*. That will be even less likely when +gtkmm 2.4 uses libsigc++ 2, as it soon will. --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: p@kapcoweb.com Date: Mon, 12 Jan 2004 07:25:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 121646] Changed - won't build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=121646 Changed by murrayc@usa.net. --- shadow/121646 Sun Oct 12 06:05:50 2003 +++ shadow/121646.tmp.24203 Mon Jan 12 07:25:27 2004 @@ -1,13 +1,13 @@ Bug#: 121646 Product: gnomemm Version: 2.0 OS: other OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: libgnomeuimm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -98,6 +98,11 @@ ------- Additional Comments From murrayc@usa.net 2003-10-12 06:05 ------- You have patched generated files, so this is not actually a patch. Please see http://www.gtkmm.org/bugs.shtml about making patches. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:25 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:26:20 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Jan 5 10:24:56 2004 +++ shadow/129719.tmp.24718 Mon Jan 12 07:26:20 2004 @@ -1,13 +1,13 @@ Bug#: 129719 Product: gnomemm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -114,6 +114,12 @@ project. There is definite precedence for it and I think it would fall under "least surprise" to have the ability to regen them by default. ------- Additional Comments From murrayc@usa.net 2003-12-22 12:39 ------- Of course generated files should be regenerated if the source file has changed. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:26 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. + --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:27:51 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Fri Jan 9 12:23:25 2004 +++ shadow/129210.tmp.25666 Mon Jan 12 07:27:51 2004 @@ -1,13 +1,13 @@ Bug#: 129210 Product: gtkmm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -231,6 +231,11 @@ and user space apps with the same compiler. So I believe that it is not a real problem. Of course, I also believe that linuxfromscratch people actually enjoy having these problems. So, I guess we'll drop the gcc 2.9* support. But thanks for showing us that we needed to think about it. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:27 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 9 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, billyoc@gnuyork.org Cc: Date: Mon, 12 Jan 2004 07:29:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by murrayc@usa.net. --- shadow/131200 Mon Jan 12 00:07:52 2004 +++ shadow/131200.tmp.26856 Mon Jan 12 07:29:17 2004 @@ -17,6 +17,9 @@ Syntax error in HEAD, just a stray comma. ------- Additional Comments From billyoc@gnuyork.org 2004-01-12 00:07 ------- Created an attachment (id=23249) removes stray comma + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:29 ------- +Thanks. Someone please commit this. --__--__-- Message: 10 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, morus.walter@xipolis.net Cc: Date: Mon, 12 Jan 2004 07:30:45 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 97036] Changed - Gdk::Drawable::draw_glyphs() uses a C type. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=97036 Changed by murrayc@usa.net. --- shadow/97036 Thu May 22 06:22:48 2003 +++ shadow/97036.tmp.28600 Mon Jan 12 07:30:45 2004 @@ -92,6 +92,9 @@ --Daniel ------- Additional Comments From murrayc@usa.net 2002-10-31 06:58 ------- OK, thanks for the explanation. Awaiting a patch for a future API-break maybe 2.2. or 2.4. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:30 ------- +Now would be a good time to submit a patch. We must freeze the API soon. --__--__-- Message: 11 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, chalil@boun.edu.tr Cc: Date: Mon, 12 Jan 2004 08:02:59 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 125969] Changed - Scale button_pressed_event needs connect_notify() Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=125969 Changed by murrayc@usa.net. --- shadow/125969 Wed Nov 5 07:10:46 2003 +++ shadow/125969.tmp.15003 Mon Jan 12 08:02:59 2004 @@ -1,9 +1,9 @@ Bug#: 125969 Product: gtkmm -Version: 2.2 +Version: 2.4 OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal --__--__-- Message: 12 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, steve@przepiora.org Cc: Date: Mon, 12 Jan 2004 08:03:30 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 89780] Changed - Treeview: signal_button_press_event needs connect_notify() Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=89780 Changed by murrayc@usa.net. --- shadow/89780 Wed Nov 5 07:09:47 2003 +++ shadow/89780.tmp.15315 Mon Jan 12 08:03:29 2004 @@ -1,9 +1,9 @@ Bug#: 89780 Product: gtkmm -Version: 2.0 +Version: 2.4 OS: Linux OS Details: Status: REOPENED Resolution: Severity: minor Priority: Normal --__--__-- Message: 13 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pgasper@designadvantage.com Cc: Date: Mon, 12 Jan 2004 08:04:32 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 123082] Changed - directfb build Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=123082 Changed by murrayc@usa.net. --- shadow/123082 Tue Nov 25 11:44:11 2003 +++ shadow/123082.tmp.15782 Mon Jan 12 08:04:32 2004 @@ -4,13 +4,13 @@ OS: Linux OS Details: Mandrake 9.1 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pgasper@designadvantage.com TargetMilestone: --- URL: Summary: directfb build --__--__-- Message: 14 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, christof@petig-baender.de Cc: Date: Mon, 12 Jan 2004 08:05:34 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by murrayc@usa.net. --- shadow/131019 Fri Jan 9 11:48:12 2004 +++ shadow/131019.tmp.16360 Mon Jan 12 08:05:34 2004 @@ -2,13 +2,13 @@ Product: gtkmm Version: 2.2 OS: Linux OS Details: Status: NEW Resolution: -Severity: enhancement +Severity: normal Priority: Normal Component: TreeView AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: christof@petig-baender.de TargetMilestone: --- URL: --__--__-- Message: 15 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pierre42d@9online.fr Cc: Date: Mon, 12 Jan 2004 08:13:05 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 126324] Changed - gtkmm 2.2 doesn't build with GTK+ 2.3 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=126324 Changed by murrayc@usa.net. --- shadow/126324 Tue Dec 23 03:19:34 2003 +++ shadow/126324.tmp.19618 Mon Jan 12 08:13:05 2004 @@ -1,13 +1,13 @@ Bug#: 126324 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pierre42d@9online.fr TargetMilestone: --- @@ -102,6 +102,11 @@ ------- Additional Comments From murrayc@usa.net 2003-11-12 10:34 ------- I would like you to check whether gtkmm 2.2 from cvs builds without error. ------- Additional Comments From pierre42d@9online.fr 2003-12-23 03:19 ------- could you put a cvs snapshot somewhere? would be easier for me. + +------- Additional Comments From murrayc@usa.net 2004-01-12 08:12 ------- +Hmm, this build error had nothing to do with the API change - it was +just because we disabled deprecations before. Closing. I'll release a +new gtkmm 2.2.x version soon. --__--__-- Message: 16 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, billyoc@gnuyork.org Cc: Date: Mon, 12 Jan 2004 15:13:49 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by murrayc@usa.net. --- shadow/131200 Mon Jan 12 07:29:17 2004 +++ shadow/131200.tmp.19023 Mon Jan 12 15:13:49 2004 @@ -1,13 +1,13 @@ Bug#: 131200 Product: gtkmm Version: 2.4 OS: Linux OS Details: Debian Sid -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: billyoc@gnuyork.org TargetMilestone: --- --__--__-- Message: 17 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 16:20:36 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Fri Jan 9 11:06:46 2004 +++ shadow/124297.tmp.24398 Mon Jan 12 16:20:36 2004 @@ -19,6 +19,17 @@ that should be similar to the custom cell renderer. ------- Additional Comments From christof@petig-baender.de 2004-01-09 11:06 ------- Created an attachment (id=23167) Feel free to simplify the GObject related stuff + +------- Additional Comments From murrayc@usa.net 2004-01-12 16:20 ------- +So, the question is, why do need the awful C GClass stuff. Here +(gtkmm_custom_treemodel2.cc) is a version that is more like what we +would expect. Ignore the first warning. But it gives this bizarre warning: + +(a.out:24508): GLib-GObject-WARNING **: cannot add interface type +`GtkTreeModel' to type `GObject', since type `GtkListStore' already +conforms to interface + +But we don't mention ListStore anywhere in the example. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From palm@nogui.se Mon Jan 12 17:29:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id 7B52318413 for ; Mon, 12 Jan 2004 17:29:46 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i0CMTd07005775; Mon, 12 Jan 2004 23:29:40 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <40032E07.4090101@nogui.se> Date: Tue, 13 Jan 2004 00:30:15 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [[gtkmm] Alternate libglademm interface] References: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes. As a matter of fact I finished up all the suggested changes a couple of weeks ago - still need to do some more testing and wrap it up as a patch, but I should be able to do that in the upcoming weekend. Murray.Cumming@Comneon.com wrote: > We must freeze the libglademm 2.4 API on February 16th > http://www.gnome.org/start/2.5/bindings/#ApiFreeze > > Are you likely to have a patch for me to look at soon? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > >>-----Original Message----- >>From: Christer Palm [mailto:palm@nogui.se] >>Sent: Dienstag, 7. Oktober 2003 20:54 >>To: Murray Cumming >>Cc: gtkmm-list@gnome.org >>Subject: Re: [[gtkmm] Alternate libglademm interface] >> >> >>Hi! >> >>Murray Cumming wrote: >> >>>> - Allow arbitrary constructor arguments for derived >> >>widget classes. >> >>> >>>This could be nice. Obviously it would be impractical to typedef an >>>Adapter for every possible class, so I think that the example code >>>should use the Adapter template without a typedef. >>> >> >>The typedef's are just there for convenience, of course. >>The Adapter should stay visible to enable it to be used directly for >>other classes. And yes, the example could be much better. >> >> >>>> - Straightforward creation of derived widgets, no Xml::create(), >>>>get_derived_widget(), etc. >>> >>> >>>By putting the glade filename in the constructor, yes. But >> >>would this >> >>>allow us to have 2 derived child-widgets that have been >> >>layed out in >> >>>the same container widget in a .glade file. I think the existing >>>get_widget_derived() method allows us to reuse an existing >>>Gnome::Glade::Xml instance, but this one creates a new one for each >>>class. >>> >> >>This could quite easily be fixed by adding additional XmlWidget::Base >>constructors for building the widget from an existing >>Gnome::Glade::Xml >>instance. >> >>The other way around, the internal Xml instance should >>probably also be >>made accessable in some way. >> >>A version intended for general use should probably also have >>constructors for building from a memory buffer, specifying the root, >>etc., just as with Gnome::Glade::Xml. >> >>I didn't put it in there because I didn't need it personally... >> >> >>>> - Hides more (most) glade stuff from the user. >>> >>> >>>See above. This might be a problem if the top-most class is >> >>not one of >> >>>your derived classes. Maybe that is not a common case. >>> >> >>It appears that it is not. Most gtkmm code I've seen so far >>only derives >>top-level widgets such as windows and dialogs. >> >> >>>> - Makes it easy to catch runtime errors when, for >> >>example, making a >> >>>>bunch of get_widget() calls by using exceptions. >>> >>> >>>I don't see a need to create a new exception class. >>>Gnome::Glade::Xml::Error should be enough. Also, I don't >> >>think we use >> >>>throw() declarations in our *mm stuff. >>> >> >>Well, I wasn't planning on throwing the actual >>XmlWidget::Exception, but >>more detailed exceptions derived from it, but I got a little >>lazy on the >>way and just put in throw(Exception):s for now. >> >>The idea is to give the user a flexible choice of what level >>he (she?) >>wants to provide error handling. If you just want to know if >>_anything_ >>went wrong, catch Glib::Exception. If you want to know if >>something went >>wrong with XmlWidget, catch XmlWidget::Exception. If you specifically >>want to know when a widget is missing from the glade file, catch >>XmlWidget::MissingWidgetException. You get the idea... >> >>throw specifiers are actually used in Glib, so they shouldn't >>cause any >>porting issues that are not already there. Personally I love >>them - they >>definitely help to improve your code quality. >> >>Both mechanisms are practically free from a runtime resource >>perspective. Just too bad that they aren't very frequently used, in >>gtkmm or elsewhere. >> >>All this of course subject matter to each and everyones >>personal taste >>and level on conservativism :-) >> >> >>>>Please keep in mind that this is a quick proof-of-concept hack. I'd >>>>like >>>>to hear your comments, as I suspect that the approach I'm >> >>using may not >> >>>>be 100% flawless. >>> >>> >>>I don't see where you are instantiating the gtkmm GTypes. This code >>>just seems to instantiate the GTK+ Gtype: >>> >> >>:-) >> >>The instantiation is well hidden inside libglademm thanks to the fact >>that I pass xml->gobj() to glade_xml_get_widget(), and xml is a >>Gnome::Glade::Xml instance (providing the virtual function >>for looking >>up the proper GType). >> >> >>>In general, I would prefer patches (although new files >> >>generally need >> >>>to be tarballed up separately) in bugzilla. You can put the URL in >>>emails. >>> >> >>Yes, of course. As I wrote, this wasn't meant to be an "official" >>submission to libglademm in any way (at least not at this stage), but >>merely a simple way to demonstrate the concept and gain some >>comments on it. >> >> >>>This is interesting. I particularly don't like that the >> >>classes used >> >>>with the current get_widget_derived() are forced to all >> >>have the same >> >>>constructor parameters. >>> >> >>Yes. That's actually the main reason to why I cooked this up. >>It was a >>showstopper in my case. >> >>-- >>Christer Palm >> >> > > From tor.arvid.lund@idi.ntnu.no Mon Jan 12 17:50:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from totto.homelinux.net (119.80-202-31.nextgentel.com [80.202.31.119]) by mail.gnome.org (Postfix) with ESMTP id E027918323 for ; Mon, 12 Jan 2004 17:50:26 -0500 (EST) Received: from totto.homelinux.net ([127.0.0.1] helo=idi.ntnu.no) by totto.homelinux.net with esmtp (Exim 3.36 #1 (Debian)) id 1AgAu4-0005tC-00 for ; Mon, 12 Jan 2004 23:51:24 +0100 Message-ID: <400324EC.2050006@idi.ntnu.no> Date: Mon, 12 Jan 2004 23:51:24 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] How to make a column in a TreeView a ProgressBar? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. I am new to gtkmm (and this list), and have been going through the tutorials on gtkmm.org. I am trying to make a TreeView with one column showing a ProgessBar (think DC++ in Windows). I gather from the Documentation that I need to make my own CellRenderer, but that part of the Documentation seemed somewhat unfinished. Can I find information regarding this somewhere else (maybe some of you on this list has experience...?) Any pointers would be helpful. Thanks. - -- Tor Arvid Lund -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAAyTs8CJw6vM17R4RAicFAJ9FeUPdJsbNZmu8qFtWwNRVbzQebgCeI/EX GEDU7YOUKPe/IbGkgPQdqvw= =Xr+s -----END PGP SIGNATURE----- From abhatnag@mda.ca Mon Jan 12 19:50:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 93DD01865D for ; Mon, 12 Jan 2004 19:50:51 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0D0onW08771 for ; Mon, 12 Jan 2004 16:50:49 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 12 Jan 2004 16:50:48 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Mon, 12 Jan 2004 16:50:44 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Examples of libglademm in action? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I'm looking for example source of applications using libglademm. I don't find the "basic" example that comes with the libglademm tarball that usefull. Does anyone know where I can find such examples? thanks. From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 12 23:05:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 4C2BC182E3 for ; Mon, 12 Jan 2004 23:05:42 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AgFoD-0002JF-21 for gtkmm-list@gnome.org; Mon, 12 Jan 2004 20:05:41 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AgFoC-00025B-Q9 for gtkmm-list@gnome.org; Mon, 12 Jan 2004 20:05:40 -0800 Date: Mon, 12 Jan 2004 20:02:37 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #596 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 2. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 3. [Bug 108971] Changed - Deriving from Glib::Object produces debug spew (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 16:21:18 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Mon Jan 12 16:20:36 2004 +++ shadow/124297.tmp.25018 Mon Jan 12 16:21:18 2004 @@ -30,6 +30,11 @@ (a.out:24508): GLib-GObject-WARNING **: cannot add interface type `GtkTreeModel' to type `GObject', since type `GtkListStore' already conforms to interface But we don't mention ListStore anywhere in the example. + +------- Additional Comments From murrayc@usa.net 2004-01-12 16:21 ------- +Created an attachment (id=23281) +gtkmm_custom_treemodel2.cc + --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 17:10:50 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Mon Jan 12 16:21:18 2004 +++ shadow/124297.tmp.26846 Mon Jan 12 17:10:50 2004 @@ -35,6 +35,17 @@ But we don't mention ListStore anywhere in the example. ------- Additional Comments From murrayc@usa.net 2004-01-12 16:21 ------- Created an attachment (id=23281) gtkmm_custom_treemodel2.cc + +------- Additional Comments From murrayc@usa.net 2004-01-12 17:10 ------- +I just checked in a fix to both branches that makes +gtkmm_custom_treemodel2.cc work. It properly implements the +Glib::Object default constructor so that it generates a custom +on-the-fly derived GType (derived from GObject) when you have already +called teh ObjectBase(typeid(MyCustomClass)) constructor. + +So, now the nasty GType stuff is gone, and we just need to tidy this +example up (Separate files for each class. No method implementation in +a .h file.) and add some comments. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 17:15:41 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 108971] Changed - Deriving from Glib::Object produces debug spew Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=108971 Changed by murrayc@usa.net. --- shadow/108971 Wed Jul 16 11:29:57 2003 +++ shadow/108971.tmp.30420 Mon Jan 12 17:15:41 2004 @@ -1,13 +1,13 @@ Bug#: 108971 Product: gtkmm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: trivial Priority: Low Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: seth@gnome.org TargetMilestone: --- @@ -46,6 +46,11 @@ opinion about this. ------- Additional Comments From murrayc@usa.net 2003-07-16 11:29 ------- At the least we should put a bit more information in that warning, such as "You probably have no reason to derive directly from Glib::Object." + +------- Additional Comments From murrayc@usa.net 2004-01-12 17:15 ------- +This has been fixed as part of bug #124297. The Glib::Object default +constructor is now known to be useful for implementing custom +TreeModels, because they need a GType. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From Murray.Cumming@Comneon.com Tue Jan 13 04:38:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 14FBA1843F for ; Tue, 13 Jan 2004 04:38:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0D9YgDc012481 for ; Tue, 13 Jan 2004 10:34:43 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 10:39:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22866@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtkmm-forge@lists.sourceforge.net mailing list remind er Date: Tue, 13 Jan 2004 10:38:36 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry about this. I don't know why it started sending this password reminder to the list. Please ignore it (and don't use the password to change anythign). This is the gtkmm-list digest subscription for gtkmm-forge, not your own subscription to gtkmm-forge. Gtkmm-forge receives bugzilla notifications and then sends a digest of them to the list. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of > gtkmm-forge-request@lists.sourceforge.net > Sent: Montag, 12. Januar 2004 22:39 > To: gtkmm-list@gnome.org > Subject: [gtkmm] Gtkmm-forge@lists.sourceforge.net mailing > list reminder > > > This is a reminder of how to unsubscribe or change your > configuration for the address "gtkmm-list@gnome.org" on the > mailing list Gtkmm-forge. You need to have your password for > these things. YOUR Gtkmm-forge PASSWORD IS: > > panuar > > To make changes to your subscription, use the password on > your options World Wide Web page: > https://lists.sourceforge.net/lists/options/gtkmm-forge/gtkmm-list%40gnome.o rg You can also make such changes via email - send a message to: gtkmm-forge-request@lists.sourceforge.net with the text "help" in the subject or body, and you will be emailed instructions. Questions or comments? Please send them to gtkmm-forge-admin@lists.sourceforge.net. _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list From Murray.Cumming@Comneon.com Tue Jan 13 05:43:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A9B83183D2 for ; Tue, 13 Jan 2004 05:43:19 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DAcmDb001460; Tue, 13 Jan 2004 11:38:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 11:43:09 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22880@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org, temas@box5.net Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 13 Jan 2004 11:42:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I think that this is very recent, but it looks good. Could you try it please?: http://fink.sourceforge.net/pdb/package.php/gtkmm2 Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Julian Missig [mailto:julian@jabber.org] > Sent: Montag, 12. Januar 2004 19:55 > To: Cumming Murray (CN L External) > Cc: gtkmm-list@gnome.org; Thomas Muldowney > Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer > for Mac OS X > > > On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > > >>> Well, anyway, I'll be leaving campus soon and no longer have this > >>> bandwidth. > >>> > >>> The packages are at > >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >> > >> I have downloaded them for safety. I am a bit reluctant to > put binary > >> packages on gtkmm.org until > >> - I am sure that they will be maintained in future. Isn't > there some > >> central repository for things like this? > > DarwinPorts does not host binary packages. Fink hosts binary versions > of their packages... eventually... but these were generated using > DarwinPorts, which uses a different path prefix from Fink. Fink also > does not use these double-clickable installers like DarwinPorts can > produce. osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but > I'm not sure whether they'd host something generated by DarwinPorts. > > >> - The build process is documented. I would like a > README.MacOSX, like > >> our current README.win32 and README.SUN > >> - I see that you have at least tried to get libtool fixed > instead of > >> patching it locally. > > What more do you want me to do? I've contacted all the people > I can and > no one seems to know why it works like that or give a shit. > > >> > >> I do appreciate your efforts, but I don't want them to be wasted. > > Whatever. I made these so that my users could get gtkmm > installed. I've > battled with this stuff for so long with so many unhelpful people I > honestly don't care whether they're "officially" distributed > anywhere. > I have something which works, so that's good enough to get Gabber2 on > OS X. I'm done as far as I'm concerned. > > Julian > From roger@whinlatter.uklinux.net Tue Jan 13 07:45:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by mail.gnome.org (Postfix) with ESMTP id 9EE9018960 for ; Tue, 13 Jan 2004 07:45:29 -0500 (EST) Received: from wrynose.whinlatter.uklinux.net (unknown [213.162.108.80]) by mail.metronet.co.uk (MetroNet Mail) with ESMTP id 8120A407290 for ; Tue, 13 Jan 2004 12:45:19 +0000 (GMT) Received: from roger by wrynose.whinlatter.uklinux.net with local (Exim 3.36 #1 (Debian)) id 1AgL93-0001ma-00; Tue, 13 Jan 2004 09:47:33 +0000 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Examples of libglademm in action? References: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> From: Roger Leigh Date: Tue, 13 Jan 2004 09:47:33 +0000 In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> (Amit BHATNAGAR's message of "Mon, 12 Jan 2004 16:50:44 -0800") Message-ID: <87k73wrxhm.fsf@wrynose.whinlatter.uklinux.net> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR writes: > I'm looking for example source of applications using libglademm. > I don't find the "basic" example that comes with the libglademm > tarball that usefull. Does anyone know where I can find such examples? http://people.debian.org/~rleigh/gtk/ogcalc/ HTH, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. From roger@whinlatter.uklinux.net Tue Jan 13 07:45:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by mail.gnome.org (Postfix) with ESMTP id A0B721897C for ; Tue, 13 Jan 2004 07:45:29 -0500 (EST) Received: from wrynose.whinlatter.uklinux.net (unknown [213.162.108.80]) by mail.metronet.co.uk (MetroNet Mail) with ESMTP id A1013408E5E; Tue, 13 Jan 2004 12:45:18 +0000 (GMT) Received: from roger by wrynose.whinlatter.uklinux.net with local (Exim 3.36 #1 (Debian)) id 1Ag84P-00009x-00; Mon, 12 Jan 2004 19:49:53 +0000 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> From: Roger Leigh Date: Mon, 12 Jan 2004 19:49:53 +0000 In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Fri, 9 Jan 2004 14:29:29 +0100") Message-ID: <87vfnht09q.fsf@wrynose.whinlatter.uklinux.net> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > I think that 100% API documentation should be possible, and it's an easy way > to help. I'm familiar with Doxygen, but not with the way Gtkmm preprocesses its source--where should the documentation be placed? Would it be OK for non-developers to contribute patches? I've checked out Gtkmm from CVS. Is the mainline the right place to be working from? I don't have a huge amount of free time, so this would probably be on an "as I find something undocumented that I need" basis. Regards, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. From Murray.Cumming@Comneon.com Tue Jan 13 07:50:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id AC99B1899C for ; Tue, 13 Jan 2004 07:50:31 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DCkSDb028591; Tue, 13 Jan 2004 13:46:28 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 13:50:49 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22893@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: roger@whinlatter.uklinux.net, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Tue, 13 Jan 2004 13:50:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > I think that 100% API documentation should be possible, and it's an > > easy way to help. > > I'm familiar with Doxygen, but not with the way Gtkmm > preprocesses its source--where should the documentation be > placed? Most .h and .cc files are generated from .hg and .ccg files. Doxygen documentation should be placed above the method declarations in the .hg files. Methods that are generated by _WRAP_METHOD() will almost always have generated documentation automatically, so you don't need to worry about them. You can read more about gmmproc in glibmm/docs/internals/ > Would it be OK for non-developers to contribute patches? It's always OK for anyone to submit patches: http://www.gtkmm.org/bugs.shtml > I've checked out Gtkmm from CVS. Is the mainline the right > place to be working from? Yes: http://www.gtkmm.org/cvs.shtml > I don't have a huge amount of free time, so this would > probably be on an "as I find something undocumented that I > need" basis. OK, but this should not take much time. It's just a case of - looking at part of the C++ docs - finding undocmented methods or classes - looking at the C docs. - Writing C++ docs based on those C docs. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 13 07:51:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7B338189AA for ; Tue, 13 Jan 2004 07:51:14 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DClBDb028807; Tue, 13 Jan 2004 13:47:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 13:51:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22894@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abhatnag@mda.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Examples of libglademm in action? Date: Tue, 13 Jan 2004 13:51:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm looking for example source of applications using > libglademm. I don't find the "basic" example that comes with > the libglademm tarball that usefull. Does anyone know where I > can find such examples? If there is anything particular that you would like the libglademm examples to show, then please do tell us. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 13 12:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 52F0B18A44 for ; Tue, 13 Jan 2004 12:04:58 -0500 (EST) Received: (qmail 3734 invoked by uid 65534); 13 Jan 2004 17:04:54 -0000 Received: from pD9E948EC.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.72.236) by mail.gmx.net (mp021) with SMTP; 13 Jan 2004 18:04:54 +0100 X-Authenticated: #109577 Message-ID: <4004253B.40805@gmx.de> Date: Tue, 13 Jan 2004 18:04:59 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] example for TextView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! Can somebody please provide a small example how to fill the widget with text? TIA, Andi From billyoc@gnuyork.org Tue Jan 13 13:49:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id B762D18516 for ; Tue, 13 Jan 2004 13:49:16 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AgTYq-000288-M0; Tue, 13 Jan 2004 13:46:44 -0500 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] example for TextView References: <4004253B.40805@gmx.de> From: Billy O'Connor Date: Tue, 13 Jan 2004 13:46:44 -0500 In-Reply-To: <4004253B.40805@gmx.de> (Andreas B. Thun's message of "Tue, 13 Jan 2004 18:04:59 +0100") Message-ID: <87u12zit4b.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > Hi! > > Can somebody please provide a small example how to fill > the widget with text? > The code in gtkmm/examples/book/textview should show everything you need. From ramachandrap@dpsl.net Wed Jan 14 01:26:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id DDE2118368 for ; Wed, 14 Jan 2004 01:26:36 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 12:08:42 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZXZK0; Wed, 14 Jan 2004 12:08:32 +0530 Received: FROM comp448 BY khyber.enigma ; Wed Jan 14 12:08:30 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <008b01c3da68$0fafa890$5f0210ac@enigma> References: <20040112214048.28318.55929.Mailman@moniker.gnome.org> Date: Wed, 14 Jan 2004 12:01:37 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Re: API documentation: aiming for 100% Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi In response to your call for documentation of GTKmm classes, below are the classes for which we can do the API documentaion. NAMESPACE - GDK CLASSES- GC Pixbuf Pixmap NAMESPACE - GLIB CLASSES- Thread Thread::Exit Thread::Error Mutex Mutex::Lock NAMESPACE - GTK CLASSES - Window Widget FileSelection NAMESPACE- Gnome::Canvas CLASSES- Canvas CanvasAA Pixbuf and the format we can use for the documentation is- API NAME INPUT PARAMETERS DESCRIPTION OUTPUT Please guide me. Regards, Ramachandra From alberto@paro.homeunix.org Wed Jan 14 03:13:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep03-svc.flexmail.it (fep03.tuttopmi.it [212.131.248.106]) by mail.gnome.org (Postfix) with ESMTP id 9DA0B18441 for ; Wed, 14 Jan 2004 03:13:14 -0500 (EST) Received: from paro.homeunix.org ([82.88.53.142]) by fep03-svc.flexmail.it with ESMTP id <20040114081329.PZQW12265.fep03-svc.flexmail.it@paro.homeunix.org> for ; Wed, 14 Jan 2004 09:13:29 +0100 Message-ID: <4004FA68.3040201@paro.homeunix.org> Date: Wed, 14 Jan 2004 09:14:32 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >I think that 100% API documentation should be possible, and it's an easy way >to help. > > > I'm checking doc for glibmm, but last cvs was unable to merge the doc. I've genered the docs XML file with docgen of pygtk. Something was changed in gtkmmproc and it does not recognize the --mergedocs options. Some ideas? Thanks, Alberto From Murray.Cumming@Comneon.com Wed Jan 14 05:56:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0FA061827D for ; Wed, 14 Jan 2004 05:56:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EAqqDb020919; Wed, 14 Jan 2004 11:52:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 11:57:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228E2@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: alberto@paro.homeunix.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Wed, 14 Jan 2004 11:56:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm checking doc for glibmm, but last cvs was unable to merge > the doc. I've genered the docs XML file with docgen of pygtk. Yes, there is currently no glibmm_docs.xml in glibmm. Please do add it if would be useful. > Something was changed in gtkmmproc It's now "gmmproc" > and it does not recognize the > --mergedocs options. > Some ideas? Yes, I removed the option in glibmm in cvs. It now _always_ merges the docs. Please report any actual build errors with the code in cvs. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 14 05:59:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D8EC31857E for ; Wed, 14 Jan 2004 05:59:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EAtADb021769; Wed, 14 Jan 2004 11:55:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 11:59:34 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228E3@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] Re: API documentation: aiming for 100% Date: Wed, 14 Jan 2004 11:59:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Hi > In response to your call for documentation of GTKmm classes, > below are the classes for which we can do the API documentaion. > > NAMESPACE - GDK > CLASSES- > GC > Pixbuf > Pixmap > > NAMESPACE - GLIB > CLASSES- > Thread > Thread::Exit > Thread::Error > Mutex > Mutex::Lock > > NAMESPACE - GTK > CLASSES - > Window > Widget > FileSelection > > NAMESPACE- Gnome::Canvas > CLASSES- > Canvas > CanvasAA > Pixbuf Great. > and the format we can use for the documentation is- > API NAME > INPUT PARAMETERS > DESCRIPTION > OUTPUT > > Please guide me. I am not quite sure what specific help you need. Are you familiar with the doxygen/javadoc format that we use? Are you not familiar with the way that gmmproc merges the C docs to generate some doxygen comments automatically? Murray Cumming www.murrayc.com murrayc@usa.net From jvilarroig@terra.es Wed Jan 14 06:33:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tsmtp6.mail.isp (smtp.terra.es [213.4.129.129]) by mail.gnome.org (Postfix) with ESMTP id 42AC5183C8 for ; Wed, 14 Jan 2004 06:33:55 -0500 (EST) Received: from 62-151-131-24.tp24.ya.com ([62.151.131.24]) by tsmtp6.mail.isp (terra.es) with ESMTP id HRH9G502.4FS for ; Wed, 14 Jan 2004 12:33:41 +0100 From: Javier Vilarroig To: Gtkmm e-list Content-Type: text/plain Message-Id: <1074078978.4605.16.camel@javor.vilarroig.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 14 Jan 2004 12:16:18 +0100 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Newbie libglademm question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi. Excuse me if this is not the right place for this question. I'm starting to write my first serious app with gtkmm/libglademm, and I'm having a strange problem, at least to me :). I'm creating a separate .glade file for every dialog on the app, and I load it on the class constructor in order to be able to open multiple instances of them. I do that because , to my understanding, when the .glade file is opened only one instance for every dialog is created and I need to be able to open multiple instances. Also I understand that whe the .glade file is loaded, all and every dialog are created, so it seems a memory waste to have only one .glade file. Correct me if I missunderstood that. I open the main app window without problem, but when I create the first independent dialog I got a lot of errors on stderr, there is a sample at mail end. The dialog opens correctly and it seems it's working correctly, but I'm affraid I have misunderstood something on the libglademm "filosofy" and that it can lead to unespected failures later. Any help would be apreciated. Thanks in advance Javor PS. Pls, excuse my bad english. It's not my native tonge. Error listing: -------------------------------- (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GConf-CRITICAL **: file gconf-client.c: line 546 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 869 (gnome_program_locate_file): assertion `program != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 869 (gnome_program_locate_file): assertion `program != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed -------------- From Murray.Cumming@Comneon.com Wed Jan 14 09:15:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6C286188FB for ; Wed, 14 Jan 2004 09:15:06 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EEArDb002025; Wed, 14 Jan 2004 15:10:55 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 15:15:18 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Re: API documentation: aiming for 100% Date: Wed, 14 Jan 2004 15:14:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I would like to clarify whether documentation should commence > on all the below mentioned classes in order to avoid > duplication of the work if someone is already o the same job. Yes, please go ahead. I am not aware of anybody who is working on the documentation of the same classes. Everybody is announcing their work on the list, so it should be easy to avoid conflicts. > Further, is the format as mentioned below is acceptable to > you? You have not really described a format precisely here: > > > and the format we can use for the documentation is- > > > API NAME > > > INPUT PARAMETERS > > > DESCRIPTION > > > OUTPUT but I am confident that you can look at the existing doxygen comments and do the same for new documentation. > Do you need us to give more headers in .h file? I don't understand that sentence, but again, I don't see any way to be confused about the task. > We are fully conversant with Doxygen. Great. Murray Cumming www.murrayc.com murrayc@usa.net > > > In response to your call for documentation of GTKmm > classes, below > > > are the classes for which we can do the API documentaion. > > > > > > NAMESPACE - GDK > > > CLASSES- > > > GC > > > Pixbuf > > > Pixmap > > > > > > NAMESPACE - GLIB > > > CLASSES- > > > Thread > > > Thread::Exit > > > Thread::Error > > > Mutex > > > Mutex::Lock > > > > > > NAMESPACE - GTK > > > CLASSES - > > > Window > > > Widget > > > FileSelection > > > > > > NAMESPACE- Gnome::Canvas > > > CLASSES- > > > Canvas > > > CanvasAA > > > Pixbuf > > > > Great. > > > > > and the format we can use for the documentation is- > > > API NAME > > > INPUT PARAMETERS > > > DESCRIPTION > > > OUTPUT > > > > > > Please guide me. > > > > I am not quite sure what specific help you need. Are you > familiar with > > the doxygen/javadoc format that we use? Are you not > familiar with the > > way that gmmproc merges the C docs to generate some doxygen > comments > > automatically? > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > From abhatnag@mda.ca Wed Jan 14 15:50:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id B07E818A8B for ; Wed, 14 Jan 2004 15:50:30 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0EKoOW10104; Wed, 14 Jan 2004 12:50:25 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 14 Jan 2004 12:50:24 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942848B@msxyvr5.mda.ca> From: Amit BHATNAGAR To: "'Roger Leigh'" Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Examples of libglademm in action? Date: Wed, 14 Jan 2004 12:50:24 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thank you! This is exactly what I needed, an excellent tutorial on GTK+, C++ and glade! amit. > -----Original Message----- > From: Roger Leigh [mailto:roger@whinlatter.uklinux.net] > Sent: January 13, 2004 1:48 AM > To: Amit BHATNAGAR > Cc: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Examples of libglademm in action? > > > Amit BHATNAGAR writes: > > > I'm looking for example source of applications using libglademm. > > I don't find the "basic" example that comes with the libglademm > > tarball that usefull. Does anyone know where I can find > such examples? > > http://people.debian.org/~rleigh/gtk/ogcalc/ > > > HTH, > Roger > > -- > Roger Leigh > > Printing on GNU/Linux? > http://gimp-print.sourceforge.net/ > GPG Public Key: 0x25BFB848. Please sign and > encrypt your mail. > > From gene@erachampion.com Wed Jan 14 18:03:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 0A886182C9 for ; Wed, 14 Jan 2004 18:03:07 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i0ENDHF10205; Wed, 14 Jan 2004 15:13:17 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Wed, 14 Jan 2004 15:13:16 -0800 Message-ID: <1074121996.4005cd0c72c01@realtyroad.com> Date: Wed, 14 Jan 2004 15:13:16 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Cc: roger.whinlatter@uklinux.net Subject: [gtkmm] Gtkmm Tutorials (was: Re: Examples of libglademm in action?) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Roger Leigh writes: > > I'm looking for example source of applications using libglademm. > > I don't find the "basic" example that comes with the libglademm > > tarball that usefull. Does anyone know where I can find such examples? > http://people.debian.org/~rleigh/gtk/ogcalc/ This is exactly what gtkmm needs (ie. more documentation/tutorials). This is an excellent tutorial on gtk+/gtkmm & glade. I think a 'Tutorials' link should be created on the main gtkmm webpage with links to all gtkmm tutorials. Anyone aware of any other gtkmm tutorials out there? -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From Stefan.Andressen@t-online.de Thu Jan 15 00:35:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mail.gnome.org (Postfix) with ESMTP id A436118696 for ; Thu, 15 Jan 2004 00:35:16 -0500 (EST) Received: from fwd08.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1Ah09z-0003eQ-00; Thu, 15 Jan 2004 06:35:15 +0100 Received: from stefanxp1800 (E2KvA+Za8eHYyz20QAvuB3CuNv2Jfa397P4iFNpnjO1S5ESOkTr04s@[62.224.224.223]) by fwd08.sul.t-online.com with smtp id 1Ah09j-05QquW0; Thu, 15 Jan 2004 06:34:59 +0100 Message-ID: <002201c3db29$5000fd10$dfe0e03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 15 Jan 2004 06:34:56 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01C3DB31.B13D7060" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: E2KvA+Za8eHYyz20QAvuB3CuNv2Jfa397P4iFNpnjO1S5ESOkTr04s Subject: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C3DB31.B13D7060 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! Can i compile and run gtkmm applications with gcc 3.3/gcc 3.4, or are = there known problems? I would like to use this newer versions, because they are faster and = more ansi.=20 I did it with gcc 3.3 and it worked fine, at least for me. What about = gcc 3.4 (would be a great advantages, because of the precompiled = headers)? Bye, Stedan ------=_NextPart_000_001F_01C3DB31.B13D7060 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I would like to use this newer = versions,=20 because they are faster and more ansi.
I did it with gcc 3.3 and it worked = fine, at least=20 for me. What about gcc 3.4 (would be a great advantages, because of the=20 precompiled headers)?
 
Bye,
Stedan
------=_NextPart_000_001F_01C3DB31.B13D7060-- From Nathan.Hurst@infotech.monash.edu.au Wed Jan 14 22:47:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ALPHA9.ITS.MONASH.EDU.AU (alpha9.its.monash.edu.au [130.194.1.9]) by mail.gnome.org (Postfix) with ESMTP id 8483618394 for ; Wed, 14 Jan 2004 22:47:11 -0500 (EST) Received: from localhost ([130.194.13.84]) by vaxh.its.monash.edu.au (PMDF V5.2-31 #39306) with ESMTP id <01L5FIFBTYBS9004FK@vaxh.its.monash.edu.au> for gtkmm-list@gnome.org; Thu, 15 Jan 2004 14:10:00 +1100 Received: from blammo.its.monash.edu.au (localhost.its.monash.edu.au [127.0.0.1]) by localhost (Postfix) with ESMTP id 3F74839C004; Thu, 15 Jan 2004 14:10:00 +1100 (EST) Received: from nexus.csse.monash.edu.au (nexus.csse.monash.edu.au [130.194.64.4]) by blammo.its.monash.edu.au (Postfix) with ESMTP id 258BE2DC010; Thu, 15 Jan 2004 14:10:00 +1100 (EST) Received: from mail.csse.monash.edu.au (nudibranch.csse.monash.edu.au [130.194.67.14]) by nexus.csse.monash.edu.au (8.12.8+Sun/8.12.8) with ESMTP id i0F39vsQ024040; Thu, 15 Jan 2004 14:09:59 +1100 (EST) Date: Thu, 15 Jan 2004 14:06:49 +1100 From: Nathan Hurst In-reply-to: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Message-id: <400603C9.5080008@mail.csse.monash.edu.au> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en References: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> Subject: [gtkmm] tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: In the Appendix B of the tutorial there is this example: void on_button_clicked(); class some_class { void on_button_clicked(); }; some_class some_object; main() { Gtk::Button button; button.signal_clicked().connect( SigC::slot(&on_button_clicked) ); button.signal_clicked().connect( SigC::slot(some_object, &some_class::on_button_clicked) ); } After much frustration I finally found out that some_class needs to be derived from SigC::Object. Could something to this effect be added please? njh From abt@gmx.de Thu Jan 15 05:38:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id ACB4818513 for ; Thu, 15 Jan 2004 05:38:51 -0500 (EST) Received: (qmail 4704 invoked by uid 65534); 15 Jan 2004 10:38:47 -0000 Received: from port-213-61-210-205.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.205) by mail.gmx.net (mp003) with SMTP; 15 Jan 2004 11:38:47 +0100 X-Authenticated: #109577 Message-ID: <40066DA9.7080900@gmx.de> Date: Thu, 15 Jan 2004 11:38:33 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] I am stuck with a C++ problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi members, I have a C++ problem I just cannot solve. I am new to C++ so maybe you can help easily: I want to create 10 ParameterLines holding 4 widgets within class ParameterLine. ParameterLine is derived from HBox. class Parameters is calling ParameterLine to create those boxes. Parameters is derived from VBox, holding all objects of ParameterLine. My problem is I cannot see any widget in my table! Something is wrong with creation of my objects. When I create the widgets directly in main.cpp without classes involved it works.... main.h Parameters m_Parameters; main.cpp: myTable->attach(m_Parameters, 0, 6, 1, 2); Parameters.h: ------------- class Parameters : public Gtk::VBox { public: Parameters(); virtual ~Parameters(); }; Parameters.cpp: --------------- // An object of this class represents all ParameterLines in a VBox Parameters::Parameters() { // Generate ParameterLines for (int i=0; i<10; i++) { ParameterLine pLine; pack_start(pLine); } } ParameterLine.h: ---------------- class ParameterLine : public Gtk::HBox { public: ParameterLine(); virtual ~ParameterLine(); protected: Gtk::Label m_paramNameLabel; Gtk::Entry m_paramValEntry; Gtk::Label m_paramTypeLabel; Gtk::Button m_descButton; }; ParameterLine.cpp: ------------------ ParameterLine::ParameterLine() : m_descButton("Help") { // View Name of Parameter as Label m_paramNameLabel.set_alignment(Gtk::ALIGN_LEFT); m_paramNameLabel.set_text("m_name"); // View Value of Parameter in an entry m_paramValEntry.set_text(m_value); m_paramValEntry.set_editable("true"); // View Type of Parameter as Label m_paramTypeLabel.set_text("m_type"); // Pack all widgets into this object pack_start(m_paramNameLabel); pack_start(m_paramValEntry); pack_start(m_paramTypeLabel); pack_start(m_descButton); } TIA, Andi From matthew@alledora.co.uk Thu Jan 15 05:54:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id C6AC518775 for ; Thu, 15 Jan 2004 05:54:55 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Ah56h-0007Wh-S2 for gtkmm-list@gnome.org; Thu, 15 Jan 2004 10:52:11 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Ah56g-0007WS-Qt; Thu, 15 Jan 2004 10:52:10 +0000 Message-ID: <400671BD.60007@alledora.co.uk> Date: Thu, 15 Jan 2004 10:55:57 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> In-Reply-To: <40066DA9.7080900@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Are you calling show_all() on your Parameters object? show_all() causes a widget and all its children to be displayed, and I didn't see any calls to it or to show() in your code. From Murray.Cumming@Comneon.com Thu Jan 15 06:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 1211818C6B for ; Thu, 15 Jan 2004 06:04:58 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FB0pDb022125; Thu, 15 Jan 2004 12:00:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 12:05:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Nathan.Hurst@infotech.monash.edu.au, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Date: Thu, 15 Jan 2004 12:04:55 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes. Thanks for noticing that. Feel free to submit a patch. It should explain it and also explain that Gtk widgets do this automatically. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Nathan Hurst [mailto:Nathan.Hurst@infotech.monash.edu.au] > Sent: Donnerstag, 15. Januar 2004 04:07 > To: Murray.Cumming@Comneon.com > Cc: gtkmm-list@gnome.org > Subject: tutorial appendix B on signals misleading > > > In the Appendix B of the tutorial there is this example: > > void on_button_clicked(); > > class some_class > { > void on_button_clicked(); > }; > > some_class some_object; > > main() > { > Gtk::Button button; > button.signal_clicked().connect( SigC::slot(&on_button_clicked) ); > button.signal_clicked().connect( SigC::slot(some_object, > &some_class::on_button_clicked) ); } > > After much frustration I finally found out that some_class > needs to be > derived from SigC::Object. Could something to this effect be > added please? > > njh > From Murray.Cumming@Comneon.com Thu Jan 15 06:09:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D5A2418185 for ; Thu, 15 Jan 2004 06:09:28 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FB5MDb023808; Thu, 15 Jan 2004 12:05:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 12:09:48 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2293D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 12:09:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Can i compile and run gtkmm applications with gcc 3.3 Yes, as you have discovered. >/gcc 3.4 I am not sure what "gcc 3.4" means. Is there a stable release already?: http://gcc.gnu.org/releases.html >, or are there known problems? No, all known problems are either - in bugzilla: http://www.gtkmm.org/bugs.shtml or - listed as fixed in the ChangeLog in cvs. or - in the FAQ Of course we would like to here about any problems, even with prerelease versions of gcc. > I would like to use this newer versions, because they are faster and more ansi. > I did it with gcc 3.3 and it worked fine, at least for me. What about gcc 3.4 (would be a great advantages, because of the precompiled > headers)? Please do try, and tell us about the results. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Thu Jan 15 06:36:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id EFAC418C82 for ; Thu, 15 Jan 2004 06:36:22 -0500 (EST) Received: (qmail 21787 invoked by uid 65534); 15 Jan 2004 11:36:21 -0000 Received: from pD902B4DF.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.223) by mail.gmx.net (mp012) with SMTP; 15 Jan 2004 12:36:21 +0100 X-Authenticated: #109577 Message-ID: <40067B23.6030804@gmx.de> Date: Thu, 15 Jan 2004 12:36:03 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> <400671BD.60007@alledora.co.uk> In-Reply-To: <400671BD.60007@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes, I do. All other widgets in my table are visible. When I create the widgets in main() it works... :-/ > Are you calling show_all() on your Parameters object? show_all() causes a widget and all its children to be displayed, and I didn't see any calls to it or to show() in your code. From ramachandrap@dpsl.net Thu Jan 15 07:03:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id 0960618C93 for ; Thu, 15 Jan 2004 07:03:01 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 17:45:12 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZX02M; Thu, 15 Jan 2004 17:45:06 +0530 Received: FROM comp448 BY khyber.enigma ; Thu Jan 15 17:45:04 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <014b01c3db60$3cf13550$5f0210ac@enigma> Date: Thu, 15 Jan 2004 17:38:08 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0148_01C3DB8E.569BB5B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Change Mouse cursor Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0148_01C3DB8E.569BB5B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, here i have small code snipet, my main intention is to change the mouse = cursor, but refptr_gdkwindow is NULL, i.e. line if(refptr_gdkwindow) is = never true. any help or suggestions would greatly be appreaciated. i am using gtkmm-2.0.1 Thanx. Regards Ramachandra =20 ------=_NextPart_000_0148_01C3DB8E.569BB5B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,

here i have small code snipet, my main intention is to = change the=20 mouse
cursor, but refptr_gdkwindow is NULL, i.e. line = if(refptr_gdkwindow)=20 is
never true. any help or suggestions would greatly be=20 appreaciated.

i am using=20 gtkmm-2.0.1

Thanx.

Regards


Ramachandra
 
------=_NextPart_000_0148_01C3DB8E.569BB5B0-- From Murray.Cumming@Comneon.com Thu Jan 15 07:48:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E98AE181B3 for ; Thu, 15 Jan 2004 07:48:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FChrDb011211; Thu, 15 Jan 2004 13:43:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 13:48:19 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2294D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: njh@hawthorn.csse.monash.edu.au Cc: Nathan.Hurst@infotech.monash.edu.au, gtkmm-list@gnome.org Date: Thu, 15 Jan 2004 13:47:58 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks, but please see www.gtkmm.org/bugs.shtml about creating patches. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Nathan Hurst [mailto:njh@hawthorn.csse.monash.edu.au] > Sent: Donnerstag, 15. Januar 2004 13:10 > To: Murray.Cumming@Comneon.com > Cc: Nathan.Hurst@infotech.monash.edu.au; gtkmm-list@gnome.org > Subject: Re: tutorial appendix B on signals misleading > > > Murray.Cumming@Comneon.com wrote: > > >Yes. Thanks for noticing that. Feel free to submit a patch. > It should > >explain it and also explain that Gtk widgets do this automatically. > > > >Murray Cumming > >www.murrayc.com > >murrayc@usa.net > > > > > > --- docs/tutorial/gtkmm-tut-with-examples.xml 2004-01-15 > 22:22:35.000000000 +1100 > +++ docs/tutorial/gtkmm-tut-with-examples-njh.xml 2004-01-15 > 23:08:25.000000000 +1100 > @@ -11005,7 +11005,7 @@ > > void on_button_clicked(); > > -class some_class > +class some_class : public SigC::Object > { > void on_button_clicked(); > }; > @@ -11029,7 +11029,7 @@ > second argument is a pointer to one of its methods. This > particular version of slot() creates a > slot which will, when > "called", call > the pointed-to method of the specified object, in this case > -some_object.on_button_clicked(). > +some_object.on_button_clicked(). Note that some_class must > be derived > from SigC::Object - most classes will be > derived from > a Gtk::Widget which includes SigC::Object > as an ancestor. > > > > From bevis@anvil.com Thu Jan 15 08:45:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 765B618887 for ; Thu, 15 Jan 2004 08:45:27 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 62AF4224; Thu, 15 Jan 2004 13:41:35 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 8148221F for ; Thu, 15 Jan 2004 13:41:34 +0000 (GMT) Message-ID: <40069964.5080108@anvil.co.uk> Date: Thu, 15 Jan 2004 13:45:08 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] simple window size question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I want to get the size of a maximised window. I do something like: C_Mywindow mc_mywindow; (inherits Gtk::Window) mc_mywindow.move(0, 0); mc_mywindow.maximize(); int w, h; mc_mywindow.get_size(w, h); (or w=mc_mywindow.get_width(); etc) but the size I get back is not it's maximised size. if i put in a mc_mywindow.set_size_request(400, 400); before the maximize, i actually get back a size of 620x620. what have i missed? bevis From abt@gmx.de Thu Jan 15 08:48:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 699E218887 for ; Thu, 15 Jan 2004 08:48:09 -0500 (EST) Received: (qmail 15021 invoked by uid 65534); 15 Jan 2004 13:48:06 -0000 Received: from pD902B4D4.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.212) by mail.gmx.net (mp012) with SMTP; 15 Jan 2004 14:48:06 +0100 X-Authenticated: #109577 Message-ID: <400699AB.5070309@gmx.de> Date: Thu, 15 Jan 2004 14:46:19 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> In-Reply-To: <40066DA9.7080900@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I solved it! I must allocate objects dynamically: for (int i=0; i<10; i++) { ParameterLine *pLine; Pline = new(ParameterLine); pack_start(pLine); } Andreas B. Thun wrote: > Hi members, > > I have a C++ problem I just cannot solve. > I am new to C++ so maybe you can help easily: > > I want to create 10 ParameterLines holding > 4 widgets within class ParameterLine. > ParameterLine is derived from HBox. > > class Parameters is calling ParameterLine > to create those boxes. Parameters is > derived from VBox, holding all objects > of ParameterLine. > > My problem is I cannot see any widget > in my table! Something is wrong with > creation of my objects. > When I create the widgets directly in > main.cpp without classes involved it works.... > > > main.h > Parameters m_Parameters; > > main.cpp: > myTable->attach(m_Parameters, 0, 6, 1, 2); > > > Parameters.h: > ------------- > class Parameters : public Gtk::VBox { > public: > Parameters(); > virtual ~Parameters(); > }; > > > Parameters.cpp: > --------------- > // An object of this class represents all ParameterLines in a VBox > Parameters::Parameters() > { > // Generate ParameterLines > for (int i=0; i<10; i++) > { > ParameterLine pLine; > pack_start(pLine); > } > } > > > ParameterLine.h: > ---------------- > class ParameterLine : public Gtk::HBox { > public: > ParameterLine(); > virtual ~ParameterLine(); > > protected: > Gtk::Label m_paramNameLabel; > Gtk::Entry m_paramValEntry; > Gtk::Label m_paramTypeLabel; > Gtk::Button m_descButton; > }; > > > ParameterLine.cpp: > ------------------ > ParameterLine::ParameterLine() : m_descButton("Help") > { > // View Name of Parameter as Label > m_paramNameLabel.set_alignment(Gtk::ALIGN_LEFT); > m_paramNameLabel.set_text("m_name"); > > // View Value of Parameter in an entry > m_paramValEntry.set_text(m_value); > m_paramValEntry.set_editable("true"); > > // View Type of Parameter as Label > m_paramTypeLabel.set_text("m_type"); > > // Pack all widgets into this object > pack_start(m_paramNameLabel); > pack_start(m_paramValEntry); > pack_start(m_paramTypeLabel); > pack_start(m_descButton); > } > > > > TIA, > Andi > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From bevis@anvil.com Thu Jan 15 08:53:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id C063D18140 for ; Thu, 15 Jan 2004 08:53:14 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 8D100231; Thu, 15 Jan 2004 13:49:23 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id B9DB522C for ; Thu, 15 Jan 2004 13:49:22 +0000 (GMT) Message-ID: <40069B39.80706@anvil.co.uk> Date: Thu, 15 Jan 2004 13:52:57 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org References: <40069964.5080108@anvil.co.uk> In-Reply-To: <40069964.5080108@anvil.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] simple window size question part 2 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: OK, let me clarify that a bit. This code: mc_image_window.set_size_request(400, 400); mc_image_window.move(0, 0); mc_image_window.maximize(); int w=0, h=0; mc_image_window.get_size(w, h); cout << w<<", "< I want to get the size of a maximised window. I do something like: > > C_Mywindow mc_mywindow; (inherits Gtk::Window) > mc_mywindow.move(0, 0); > mc_mywindow.maximize(); > int w, h; > mc_mywindow.get_size(w, h); > (or w=mc_mywindow.get_width(); etc) > > but the size I get back is not it's maximised size. > > if i put in a > mc_mywindow.set_size_request(400, 400); > before the maximize, i actually get back a size of 620x620. > > what have i missed? > > > > bevis > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From Stefan.Andressen@t-online.de Thu Jan 15 08:54:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mail.gnome.org (Postfix) with ESMTP id 294E7183B4 for ; Thu, 15 Jan 2004 08:54:29 -0500 (EST) Received: from fwd09.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1Ah7x5-0002yB-00; Thu, 15 Jan 2004 14:54:27 +0100 Received: from stefanxp1800 (Z2D9t6ZAreCpPbdFdRUaqdJsHWrAVPe1oPB4jlY393xIZHRqTd+HUE@[62.224.223.57]) by fwd09.sul.t-online.com with smtp id 1Ah7wq-1e0arw0; Thu, 15 Jan 2004 14:54:12 +0100 Message-ID: <001201c3db6f$0d5876a0$39dfe03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: References: <258B0164D480D5118D900800062B385801C2293D@vihsx09a.vih.infineon.com> Subject: Re: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 14:54:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: Z2D9t6ZAreCpPbdFdRUaqdJsHWrAVPe1oPB4jlY393xIZHRqTd+HUE Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: No, gcc 3.4 is still in stage 3 and therefore not a stable release version. But it looks very promising:). Thanks for your answer. Bye, Stefan ----- Original Message ----- From: To: ; Sent: Thursday, January 15, 2004 12:09 PM Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm > > Can i compile and run gtkmm applications with gcc 3.3 > > Yes, as you have discovered. > > >/gcc 3.4 > > I am not sure what "gcc 3.4" means. Is there a stable release already?: > http://gcc.gnu.org/releases.html > > >, or are there known problems? > > No, all known problems are either > - in bugzilla: > http://www.gtkmm.org/bugs.shtml > or > - listed as fixed in the ChangeLog in cvs. > or > - in the FAQ > > Of course we would like to here about any problems, even with prerelease > versions of gcc. > > > I would like to use this newer versions, because they are faster and more > ansi. > > I did it with gcc 3.3 and it worked fine, at least for me. What about gcc > 3.4 (would be a great advantages, because of the precompiled > headers)? > > Please do try, and tell us about the results. > > Murray Cumming > www.murrayc.com > murrayc@usa.net From njh@hawthorn.csse.monash.edu.au Thu Jan 15 07:10:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail019.syd.optusnet.com.au (mail019.syd.optusnet.com.au [211.29.132.73]) by mail.gnome.org (Postfix) with ESMTP id 18B0818C93 for ; Thu, 15 Jan 2004 07:10:03 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail019.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0FC9pB10347; Thu, 15 Jan 2004 23:09:52 +1100 Message-ID: <4006830E.3080509@hawthorn.csse.monash.edu.au> Date: Thu, 15 Jan 2004 23:09:50 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: Nathan.Hurst@infotech.monash.edu.au, gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >Yes. Thanks for noticing that. Feel free to submit a patch. It should >explain it and also explain that Gtk widgets do this automatically. > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > --- docs/tutorial/gtkmm-tut-with-examples.xml 2004-01-15 22:22:35.000000000 +1100 +++ docs/tutorial/gtkmm-tut-with-examples-njh.xml 2004-01-15 23:08:25.000000000 +1100 @@ -11005,7 +11005,7 @@ void on_button_clicked(); -class some_class +class some_class : public SigC::Object { void on_button_clicked(); }; @@ -11029,7 +11029,7 @@ second argument is a pointer to one of its methods. This particular version of slot() creates a slot which will, when "called", call the pointed-to method of the specified object, in this case -some_object.on_button_clicked(). +some_object.on_button_clicked(). Note that some_class must be derived from SigC::Object - most classes will be derived from a Gtk::Widget which includes SigC::Object as an ancestor. From Nick.Huxley@barclayscapital.com Thu Jan 15 08:42:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id 5FAF618C9C for ; Thu, 15 Jan 2004 08:42:02 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0FDe8VQ007976 for ; Thu, 15 Jan 2004 08:40:08 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0FDe5lc007970 for ; Thu, 15 Jan 2004 08:40:06 -0500 (EST) Received: from nykpsmeh003.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Thu, 15 Jan 2004 08:41:58 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by nykpsmeh003.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Thu, 15 Jan 2004 08:41:58 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3DB6D.58A5373C" content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 08:41:58 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF054@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Thread-Index: AcPbKjclchAac/kzQ/u210OF1aUHfgAQvCTQ From: "Huxley, Nick: IT (NYK)" To: , X-OriginalArrivalTime: 15 Jan 2004 13:41:58.0551 (UTC) FILETIME=[58E02A70:01C3DB6D] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C3DB6D.58A5373C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 3.4 is still in a development phase and _not_ stable. I really wouldn't use it unless you want to use gtkmm as a test case for the compiler. They've just improved the template look up code for example but other stuff is mid re-write. =20 Nick -----Original Message----- From: Stefan.Andressen@t-online.de [mailto:Stefan.Andressen@t-online.de]=20 Sent: Thursday, January 15, 2004 12:35 AM To: gtkmm-list@gnome.org Subject: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm =09 =09 Hi! =20 Can i compile and run gtkmm applications with gcc 3.3/gcc 3.4, or are there known problems? I would like to use this newer versions, because they are faster and more ansi.=20 I did it with gcc 3.3 and it worked fine, at least for me. What about gcc 3.4 (would be a great advantages, because of the precompiled headers)? =20 Bye, Stedan ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ ------_=_NextPart_001_01C3DB6D.58A5373C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
3.4 is=20 still in a development phase and _not_ stable. I really wouldn't use it unl= ess=20 you want to use gtkmm as a test case for the compiler.
They've just improved the template look up code for example but ot= her=20 stuff is mid re-write.
 
Nick
-----Original Message-----
From:=20 Stefan.Andressen@t-online.de [mailto:Stefan.Andressen@t-online.de]=20
Sent: Thursday, January 15, 2004 12:35 AM
To:=20 gtkmm-list@gnome.org
Subject: [gtkmm] gcc 3.3/gcc 3.4 with=20 Gtkmm

Hi!
 
Can i compile and run gtkmm applications= with=20 gcc 3.3/gcc 3.4, or are there known problems?
I would like to use this newer vers= ions,=20 because they are faster and more ansi.
I did it with gcc 3.3 and it worked fine= , at=20 least for me. What about gcc 3.4 (would be a great advantages, because of= the=20 precompiled headers)?
 
Bye,
Stedan


------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays
Group does not accept legal responsibility for the contents of this
message. Although the Barclays Group operates anti-virus programmes,
it does not accept responsibility for any damage whatsoever that is
caused by viruses being passed. Any views or opinions presented are
solely those of the author and do not necessarily represent those of the Barclays Group. Replies to this email may be monitored by the Barclays
Group for operational or business reasons.

------------------------------------------------------------------------
=00 ------_=_NextPart_001_01C3DB6D.58A5373C-- From ufk2003@yahoo.com Thu Jan 15 08:56:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx-in-01.simplementehosting.net (mx-in-01.simplementehosting.net [66.216.79.177]) by mail.gnome.org (Postfix) with ESMTP id B119918140 for ; Thu, 15 Jan 2004 08:56:48 -0500 (EST) Received: from tux-in (CBL62-0-171-41.bb.netvision.net.il [62.0.171.41]) by mx-in-01.simplementehosting.net (Postfix) with ESMTP id A2AF4234048 for ; Thu, 15 Jan 2004 07:56:47 -0600 (CST) Received: from tux-in (localhost [127.0.0.1]) by tux-in (Postfix) with ESMTP id 1C3046C09DB for ; Wed, 14 Jan 2004 16:55:13 +0200 (IST) Date: Sat, 27 Sep 2003 18:19:31 +0300 From: Kfir Ozer To: gtkmm-list@gnome.org Message-ID: <20030927151931.GA24606@tux-in> Mime-Version: 1.0 Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: Balsa 2.0.14 Lines: 27 Subject: [gtkmm] (no subject) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: i have a small project that i did a few months ago that used to compile just fine. now when i compile it this is what i get: In file included from /usr/include/gtkmm-2.0/gtkmm.h:85, from common.hh:4, from callback.cc:1: /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const Gtk::Notebook_Helpers::Page& Gtk::Notebook_Helpers::PageIterator::operator*() const': /usr/include/gtkmm-2.0/gtkmm/notebook.h:822: error: ` Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` Gtk::Notebook_Helpers::Page' /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const Gtk::Notebook_Helpers::Page* Gtk::Notebook_Helpers::PageIterator::operator->() const': /usr/include/gtkmm-2.0/gtkmm/notebook.h:828: error: ` Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` Gtk::Notebook_Helpers::Page' make[2]: *** [callback.o] Error 1 make[2]: Leaving directory `/home/ufk/Projects/gebuilder/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ufk/Projects/gebuilder' make: *** [all-recursive-am] Error 2 ufk@tux-in gebuilder $ any ideas? thanks From Murray.Cumming@Comneon.com Thu Jan 15 09:56:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 25806187C6 for ; Thu, 15 Jan 2004 09:56:35 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FEqSDb008482; Thu, 15 Jan 2004 15:52:28 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 15:56:54 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22964@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ufk2003@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] (no subject) Date: Thu, 15 Jan 2004 15:56:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: You are maybe using a new compiler. This might require an update version of gtkmm 2.2, or you might need to update your compiler (SUSE's gcc in SUSE 8.2 was broken, for instance). Details will help us. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Kfir Ozer > Sent: Samstag, 27. September 2003 17:20 > To: gtkmm-list@gnome.org > Subject: [gtkmm] (no subject) > > > i have a small project that i did a few months ago that used > to compile just fine. now when i compile it this is what i get: > > In file included from /usr/include/gtkmm-2.0/gtkmm.h:85, > from common.hh:4, > from callback.cc:1: > /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const > Gtk::Notebook_Helpers::Page& > Gtk::Notebook_Helpers::PageIterator::operator*() const': > /usr/include/gtkmm-2.0/gtkmm/notebook.h:822: error: ` > Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` > Gtk::Notebook_Helpers::Page' > /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const > Gtk::Notebook_Helpers::Page* > Gtk::Notebook_Helpers::PageIterator::operator->() const': > /usr/include/gtkmm-2.0/gtkmm/notebook.h:828: error: ` > Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` > Gtk::Notebook_Helpers::Page' > make[2]: *** [callback.o] Error 1 > make[2]: Leaving directory `/home/ufk/Projects/gebuilder/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/ufk/Projects/gebuilder' > make: *** [all-recursive-am] Error 2 > ufk@tux-in gebuilder $ > > > any ideas? thanks _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From abas@aix.meng.auth.gr Thu Jan 15 10:24:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id 46390180D9 for ; Thu, 15 Jan 2004 10:24:04 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1Ah9LR-00032k-00; Thu, 15 Jan 2004 17:23:41 +0200 Subject: Re: [gtkmm] simple window size question part 2 From: Anastasios Bassoukos To: Bevis Peters Cc: gtkmm-list@gnome.org In-Reply-To: <40069B39.80706@anvil.co.uk> References: <40069964.5080108@anvil.co.uk> <40069B39.80706@anvil.co.uk> Content-Type: multipart/alternative; boundary="=-874lnvL2TPnNexFYg4Eu" Organization: LHTEE, AUTh Message-Id: <1074180221.25593.7.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 15 Jan 2004 17:23:41 +0200 X-Scanner: exiscan *1Ah9LR-00032k-00*BsVFtVGOCR.* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-874lnvL2TPnNexFYg4Eu Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, 2004-01-15 at 15:52, Bevis Peters wrote: > OK, let me clarify that a bit. This code: > > mc_image_window.set_size_request(400, 400); > mc_image_window.move(0, 0); > mc_image_window.maximize(); > int w=0, h=0; > mc_image_window.get_size(w, h); > cout << w<<", "< > gets back 400x400, not the windows true maximised size. > > what have i missed? By the time you get to the get_size(), the resize request has not even been sent to the window manager. You will need to add a slot to the "size-allocate" signal , and only then will your window be maximized. Also read the documentation on that method. Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri --=-874lnvL2TPnNexFYg4Eu Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit On Thu, 2004-01-15 at 15:52, Bevis Peters wrote:
OK, let me clarify that a bit.  This code:

  mc_image_window.set_size_request(400, 400);
  mc_image_window.move(0, 0);
  mc_image_window.maximize();
  int w=0, h=0;
  mc_image_window.get_size(w, h);
  cout << w<<", "<<h<<endl;

gets back 400x400, not the windows true maximised size.

what have i missed?

By the time you get to the get_size(), the resize request has not even been sent to the window manager. You will need to add a slot to the "size-allocate" signal , and only then will your window be maximized. Also read the documentation on that method.

Tassos

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master." 
	-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri
--=-874lnvL2TPnNexFYg4Eu-- From lupv@gmv.es Thu Jan 15 10:54:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 8100E18735 for ; Thu, 15 Jan 2004 10:54:35 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0FFrO78027690 for ; Thu, 15 Jan 2004 16:53:24 +0100 Received: from gmvmailhost.gmv.es (gmvmailhost.gmv.es [172.22.2.4]) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) with ESMTP id i0FFrlZ09255 for ; Thu, 15 Jan 2004 16:53:47 +0100 (MET) Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0FFsXiO000440 for ; Thu, 15 Jan 2004 16:54:33 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Thu, 15 Jan 2004 17:04:14 +0100 Message-ID: <4006B7E0.2030201@gmv.es> Date: Thu, 15 Jan 2004 16:55:12 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] gtkmm resources Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm new using gtkmm and I would like to know how to configure the properties of a customized class, e.g. MyLabel that derives from Gtk::Label, to change its default font, font size, background, etc, from a resource file. I don't know how to apply themes for a simple gtkmm application (not gnome application). I'm first using gtkmm without knowing anything about GTK+ and perhaps this is my problem. I've reviewed the gtkmm documentation and I haven't found any clue. Thank you for your help, Luis From jonnyyu@online.sh.cn Thu Jan 15 11:26:13 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep2.online.sh.cn (unknown [202.96.209.41]) by mail.gnome.org (Postfix) with ESMTP id 0614318DEC for ; Thu, 15 Jan 2004 11:26:13 -0500 (EST) Received: from STARDUSTS ([218.80.108.37]) by fep2.online.sh.cn with ESMTP id <20040115162608.IRWJ5474.fep2.online.sh.cn@STARDUSTS> for ; Fri, 16 Jan 2004 00:26:08 +0800 Reply-To: From: "Jonny Yu" To: Date: Fri, 16 Jan 2004 00:27:42 +0800 Organization: Microsoft Message-ID: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: [gtkmm] Link problem using gtkmm with MSVC 7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I'm trying to build the example code of gtkmm with MSVC 7.1, Although I got several warnings ,such as e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: 'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via dominance e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning C4181: qualifier applied to reference type; ignored the sample did compiled through, the problem is I don't have the lib file (in .lib format). I downloaded the win32 port of http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ however the lib format is in .dll.a format, which could not be recognized by VC linker. Where can I find the .lib format gtkmm lib file? If not, can I build the .lib file from source or convert the .dll.a to .lib format? Any suggestions are grealy appreciated! Best Regards, Ying-Shen Yu From cedric.gustin@swing.be Fri Jan 16 04:17:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id CEBFA187EA for ; Fri, 16 Jan 2004 04:16:59 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0G9Ajte019688; Fri, 16 Jan 2004 10:10:53 +0100 (MET) Message-Id: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Fri, 16 Jan 2004 10:16:26 +0100 To: , From: Cedric Gustin Subject: Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 In-Reply-To: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> References: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:27 PM 1/15/2004, Jonny Yu wrote: >I'm trying to build the example code of gtkmm with MSVC 7.1, >Although I got several warnings ,such as > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: >'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via >dominance > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning >C4181: qualifier applied to reference type; ignored > >the sample did compiled through, the problem is I don't have the lib >file (in .lib format). I downloaded the win32 port of >http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ >however the lib format is in .dll.a format, which could not be >recognized by VC linker. Right, because of the different C++ name mangling schemes used by gcc and MSVC, their import libraries are incompatible. You cannot simply rename the .dll.a files to .lib (unlike their C counterparts, in most cases). >Where can I find the .lib format gtkmm lib file? >If not, can I build the .lib file from source or convert the .dll.a to >.lib format? I only support mingw32-gcc on my page but the projects files for MSVC 7.1 are in the MSVC_NET2003 directory. Don't know if they are up to date and/or if somebody provides binaries. Cedric From fnaumann@cs.uni-magdeburg.de Fri Jan 16 04:28:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10]) by mail.gnome.org (Postfix) with ESMTP id A484C1822D for ; Fri, 16 Jan 2004 04:28:00 -0500 (EST) Received: from wh58-508.st.uni-magdeburg.de ([141.44.198.58]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.30) id 1AhQGf-0004zj-J4; Fri, 16 Jan 2004 10:27:53 +0100 Date: Fri, 16 Jan 2004 10:27:50 +0100 (CET) From: Frank Naumann X-X-Sender: fnaumann@wh58-508.st.uni-magdeburg.de To: jonnyyu@online.sh.cn Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 In-Reply-To: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> Message-ID: References: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: ---- Start SpamAssassin results -4.9 points, 5.0 required; -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] ---- End of SpamAssassin results X-Scan-Signature: a6013c0e33abd25698719c75475606ab Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello! > >Where can I find the .lib format gtkmm lib file? > >If not, can I build the .lib file from source or convert the .dll.a to > >.lib format? There is no binary distribution of gtkmm for MSVC 7.1 yet. You need to compile the library itself (I can also send you the .lib files). > I only support mingw32-gcc on my page but the projects files for MSVC 7.1 > are in the MSVC_NET2003 directory. Don't know if they are up to date and/or > if somebody provides binaries. They are uptodate for gtkmm 2.2. I don't found any time to look at 2.4 yet :-( Regards, Frank Naumann From bevis@anvil.com Fri Jan 16 06:28:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 225611819D for ; Fri, 16 Jan 2004 06:28:55 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 6542D346; Fri, 16 Jan 2004 11:24:59 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id A7DFB342; Fri, 16 Jan 2004 11:24:58 +0000 (GMT) Message-ID: <4007CAE0.9060109@anvil.co.uk> Date: Fri, 16 Jan 2004 11:28:32 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Anastasios Bassoukos Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] simple window size question part 2 References: <40069964.5080108@anvil.co.uk> <40069B39.80706@anvil.co.uk> <1074180221.25593.7.camel@lhtee912.meng.auth.gr> In-Reply-To: <1074180221.25593.7.camel@lhtee912.meng.auth.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > By the time you get to the get_size(), the resize request has not even > been sent to the window manager. You will need to add a slot to the > "size-allocate" signal , and only then will your window be maximized. > Also read the documentation on that method. marvellous! that worked. bevis From lupv@gmv.es Fri Jan 16 06:36:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 598FD182A1 for ; Fri, 16 Jan 2004 06:36:27 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0GBZFfb021264 for ; Fri, 16 Jan 2004 12:35:15 +0100 Received: from gmvmailhost.gmv.es (gmvmailhost.gmv.es [172.22.2.4]) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) with ESMTP id i0GBZdZ18351 for ; Fri, 16 Jan 2004 12:35:39 +0100 (MET) Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0GBaPiO020963; Fri, 16 Jan 2004 12:36:25 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Fri, 16 Jan 2004 12:46:08 +0100 Message-ID: <4007CCE1.6090507@gmv.es> Date: Fri, 16 Jan 2004 12:37:05 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm resources References: <4006B7E0.2030201@gmv.es> In-Reply-To: <4006B7E0.2030201@gmv.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Luis Pastor Vegas wrote: > Hi, > > I'm new using gtkmm and I would like to know how to configure the > properties of a customized class, e.g. MyLabel that derives from > Gtk::Label, to change its default font, font size, background, etc, > from a resource file. I don't know how to apply themes for a simple > gtkmm application (not gnome application). I'm first using gtkmm > without knowing anything about GTK+ and perhaps this is my problem. > I've reviewed the gtkmm documentation and I haven't found any clue. > > Thank you for your help, > Luis Ok. I have already learnt that I have to use the Gtk::RC class, and reading the GTK+ documentation I am somewhat familiar to the resource file format. I have created two styles in the gtkrc file, but only the "default" style works. This is my gtkrc file: ---- style "default" { font_name = "Sans 14" } class "*" style "default" style "my-label" { font_name = "Sans Italic 10" } class "MyLabel" style "my-label" ---- In the "MyLabel" constructor there is a call to set_name("MyLabel"). What's wrong? I don't know how is the class path format that must be specified in a gtkmm application, since the only documentation I have found is for GTK+ applications. Can anybody send me a gtkrc example file? Thank you very much. From abas@aix.meng.auth.gr Fri Jan 16 07:09:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id D740B18120 for ; Fri, 16 Jan 2004 07:09:33 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1AhSmc-0007sW-00; Fri, 16 Jan 2004 14:09:02 +0200 Subject: Re: [gtkmm] gtkmm resources From: Anastasios Bassoukos To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org In-Reply-To: <4007CCE1.6090507@gmv.es> References: <4006B7E0.2030201@gmv.es> <4007CCE1.6090507@gmv.es> Content-Type: text/plain Organization: LHTEE, AUTh Message-Id: <1074254941.27735.14.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 16 Jan 2004 14:09:01 +0200 Content-Transfer-Encoding: 7bit X-Scanner: exiscan *1AhSmc-0007sW-00*lwOEDbw04ws* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 2004-01-16 at 13:37, Luis Pastor Vegas wrote: [snip] > Ok. I have already learnt that I have to use the Gtk::RC class, and > reading the GTK+ documentation I am somewhat familiar to the resource > file format. I have created two styles in the gtkrc file, but only the > "default" style works. This is my gtkrc file: > ---- > style "default" { > font_name = "Sans 14" > } > class "*" style "default" > > style "my-label" { > font_name = "Sans Italic 10" > } > class "MyLabel" style "my-label" ^^^^^ > ---- > In the "MyLabel" constructor there is a call to set_name("MyLabel"). ^^^^ > What's wrong? I don't know how is the class path format that must be > specified in a gtkmm application, since the only documentation I have > found is for GTK+ applications. Can anybody send me a gtkrc example file? > > Thank you very much. In the RC file, you should use widget "*.MyLabel" style "my-label" as the "widget" declaration sets styles by widget *names*. HTH, Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri From abt@gmx.de Fri Jan 16 08:27:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A14C818622 for ; Fri, 16 Jan 2004 08:27:46 -0500 (EST) Received: (qmail 25301 invoked by uid 65534); 16 Jan 2004 13:27:44 -0000 Received: from pD902B4D2.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.210) by mail.gmx.net (mp011) with SMTP; 16 Jan 2004 14:27:44 +0100 X-Authenticated: #109577 Message-ID: <4007E6BC.1040705@gmx.de> Date: Fri, 16 Jan 2004 14:27:24 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Strange behaviour of my Gtk::Notebook. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, I've created a Notebook with some widgets arranged in a table on it. On "button click" I create another table and append it to the notebook pages. New tab appears .... .. when I click the append-Button size of my current notebook window #1 doubles in size!! Any hints for me? TIA, Andi From jonnyyu@online.sh.cn Fri Jan 16 11:16:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep1.online.sh.cn (unknown [202.96.209.39]) by mail.gnome.org (Postfix) with ESMTP id 5CC391852C for ; Fri, 16 Jan 2004 11:16:30 -0500 (EST) Received: from STARDUSTS ([127.0.0.1]) by fep1.online.sh.cn with ESMTP id <20040116161745.JCZM11001.fep1.online.sh.cn@STARDUSTS>; Sat, 17 Jan 2004 00:17:45 +0800 Reply-To: From: "Jonny Yu" To: "'Cedric Gustin'" , Date: Sat, 17 Jan 2004 00:17:59 +0800 Organization: Microsoft Message-ID: <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> Subject: [gtkmm] =?gb2312?B?tPC4tDogW290aGVyXSBSZTogW2d0a21tXSBMaW5rIHByb2JsZW0gdQ==?= =?gb2312?B?c2luZyBndGttbSB3aXRoIE1TVkMgNy4x?= Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi Cedric, Thanks for your reply! Thanks for your help, I'd like to try the project file, however I couldn't find the MSVC_NET2003 directory in the installed files. Do you mean a web directory on your homepage? Could you give me a link to it? Thanks a lot! Best Regards, Ying-Shen Yu -----=D3=CA=BC=FE=D4=AD=BC=FE----- =B7=A2=BC=FE=C8=CB: Cedric Gustin [mailto:cedric.gustin@swing.be]=20 =B7=A2=CB=CD=CA=B1=BC=E4: Friday, January 16, 2004 5:16 PM =CA=D5=BC=FE=C8=CB: jonnyyu@online.sh.cn; gtkmm-list@gnome.org =D6=F7=CC=E2: [other] Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 At 05:27 PM 1/15/2004, Jonny Yu wrote: >I'm trying to build the example code of gtkmm with MSVC 7.1, >Although I got several warnings ,such as > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: >'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via >dominance > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning >C4181: qualifier applied to reference type; ignored > >the sample did compiled through, the problem is I don't have the lib >file (in .lib format). I downloaded the win32 port of >http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ >however the lib format is in .dll.a format, which could not be >recognized by VC linker. Right, because of the different C++ name mangling schemes used by gcc and=20 MSVC, their import libraries are incompatible. You cannot simply rename the=20 .dll.a files to .lib (unlike their C counterparts, in most cases). >Where can I find the .lib format gtkmm lib file? >If not, can I build the .lib file from source or convert the .dll.a to >.lib format? I only support mingw32-gcc on my page but the projects files for MSVC 7. 1=20 are in the MSVC_NET2003 directory. Don't know if they are up to date and/or=20 if somebody provides binaries. Cedric=20 From kmilo@softhome.net Fri Jan 16 11:42:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id B7586187D4 for ; Fri, 16 Jan 2004 11:42:51 -0500 (EST) Received: (qmail 27983 invoked by uid 417); 16 Jan 2004 16:42:51 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 16 Jan 2004 16:42:51 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Fri, 16 Jan 2004 09:42:51 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Fri, 16 Jan 2004 09:42:51 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.163] Message-ID: Subject: [gtkmm] how close the console gtkmm app's open in windows? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: every gtkmm app that run(in windows XP) open a console, there is any form to close it? anybody know a multiplataform compression library? there is support for html in any widget of gtkmm? From kickvb@touva.be Fri Jan 16 12:59:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moses.all2all.org (sys2.all2all.org [62.58.108.3]) by mail.gnome.org (Postfix) with ESMTP id 045FA180EF for ; Fri, 16 Jan 2004 12:59:11 -0500 (EST) Received: from buddha.all2all.org ([62.58.108.9] helo=all2all.org) by moses.all2all.org with smtp (ALL2ALL.ORG The Independent Network) id 1AhYFV-0007KC-00; Fri, 16 Jan 2004 18:59:14 +0100 Date: Fri, 16 Jan 2004 17:59:09 -0000 To: "Tor Arvid Lund" , Subject: Re: [gtkmm] How to make a column in a TreeView a ProgressBar? From: X-Mailer: TWIG 2.7.7 Message-ID: In-Reply-To: <400324EC.2050006@idi.ntnu.no> X-Client-IP: 81.11.157.116 Reply-To: kickvb@touva.be MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--------part4008266d49517" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ----------part4008266d49517 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > I am trying to make a TreeView with one column showing a ProgessBar > (think DC++ in Windows). I gather from the Documentation that I need to > make my own CellRenderer, but that part of the Documentation seemed > somewhat unfinished. Can I find information regarding this somewhere > else (maybe some of you on this list has experience...?) I have a made a class an a test program for a progress bar in a treeview (class ProgressCellRenderer, extending Gtk::CellRenderer). The files are in attachment. This progress bar is somewhat advanced as the foreground is drawn from an image file, allowing to have some nice look. I think this is a cool example to be added to the gtkmm package as it is somewhat common and can save lot of time for other programmers. Murray or anybody else, can I add a patch to the CVS? Can I put it in examples\book\treeview\progresscellrenderer? Regards, Christian Van Brussel ----------part4008266d49517 Content-Type: application/x-zip-compressed; name="progresscellrenderer.zip" Content-Transfer-Encoding: base64 UEsDBBQAAAAIAFp3LjAQS6YGXAYAACkUAAAsAAAAcHJvZ3Jlc3NjZWxscmVuZGVyZXIvUHJvZ3Jl c3NDZWxsUmVuZGVyZXIuY2O9WG1v2zYQ/p5fcc3QTu4cvyTYhtmpN8dxUgNOYthOg2AYBFqiLC6y KFCUba3YfvuOFO34RYrToZ1QIDJ199zxuYdHstX33/CpHlXNG3zVJwf+IyXz9IYH9LD3wScHvsOj VLCpL8HqlOC0VqsB9CvQDiVnIYVzkr3MfgtYmCxnhAUVLqat18LnPZ0KfCIhTEQSxzSA8yfmPM0n hwO8Ev6/PjnwY5/FEAk+FWQG+OoJSiHmnlwQQZuQ8gQcnImgLoulYJNEUmASSOhWuTgMP+Mu81Ll kYQuFSB9CpKKWQzc0z+ub+/hmoZUkAAGySRgDvSZQ8N4Xww58ARzV06xT12YpBrxSs1gZGYAVxwD E8l42ATK8LuAORUx/obTg/AmR5NQGXDGFpGKFAE8UqAlZCKFgMhn3Mpe4kXwX/PJgd8t7XMFXWCh npnPI6yHj3PCCi1YEMCEQhJTLwnKh+ARCB56449392No3z7CQ3s4bN+OH5sIJH2OX+mcZmHYLAoY RsWKCFxtqSL2EPxNd9j5iHjti16/N35U3F/1xrfd0Qiu7obQhkF7OO517vvtIQzuh4O7UReZH1Gq Ix6Ef0F3HoaacdSOSyWu1bigoC/Cf80nB/4Rl2WMHAcu+GROcXk6lM2RYQIOdrsvWlw58CTg4VSX EWGeRdQE5kHIZRkWgmEfkDxnwb0i++c1WYZe6FTK8OMvMKYoEgqDgDgUTmCUqAhnZ7UyXPBYKtOb NkDttF6vn9TPaj+X4X7Urvzv3H+Tp3p09B0LnSBx1XaEW4aQFb+1MXg8UBWgcdyhQTCkqpVSUfH9 46OjvC+NRt6oVYLGESo/YJNG427yJ3XkBYmpJdOIMtfKcymVyspDPjUa20hqGFURYaapHRlPe06C hNpgvVeqKcPx9ofjMtQKHCOG22KU55l9OS4dfd50xG2F4nQ+mNS6/b497N5edofdoX1zd9m1e7fd 4bi56bKMiKtdalvD6cbw30Vs/lNA52flkvE5MID4d5nailfIx7LXoYUeI5OAaijAVSwTERbxapWa BeHOWShbBeEKwV4R0a5MqVRjy/SF4EZQQ+oNpDi/drEgA7acJF4LXp9UVuZDWRmZ7KU158wtCKVM Y/YXtedeEjqW1ssDc3H4HTY49beMLTOMJejMh7goSDgN6DtwEMfGjkbKuFui9dLmnhcre/0z3f6J WNI37z5Vp81sLsXk7MwKJVhMi57xWgWQRcs8Ng1PWspOf8zsskyKDLOvhznMhGoYNGTtTeuBhS5f tBQT6qUMX0D1hDhPU6F2BUP4wYrkG9BlxGNqTPa61kjiMQ28gEzjrDbVKmBSgMA+dZ5AGDuIlSF+ x2I+E6fZzy2SqctujbI+bu0AtLDTwLt3u7jnH6Beq2m/b6MYk82bHcMKi+0wCQKrhFYZJQ6fReqU jywInD+Pmdqp1ZGCzch0xYv+ai8xh3VVdMglruEfwNoeNIrEbf0lwZaqcNrcgk/34FMNX1/l6qHW wEkElk6uy6YLr4s9xp0tG15tFaNxe9y1b++GN+2+juWBZWlJoAxyNpNRt9/tjLuXJXiDhSsdqTPB CtDKRF3xSWx73ElinAL8uhln5Q2NzdF2Z9z71F1NQSlwNYPrzvdxrgKuOy2YTO2pg2FNVN3YZKo2 D8OijycmNMnqjcj66BaoK66FJ9oFnvLxQC7wcBdwB09feMIjEFNcSW5+xJK++TlIPU5XmU49kgSr mxwu87PTwmQlXcqX0zUWlmZzLT5XkIU6gNOsHehWp9rJSUt9UarBlWBpKsq7YsLjhf5npLl6Scs7 i23Pcbsblk1bub6wL/F6gyLI5JLBl5pKAibbSNBInXkj7D8cb4GpuvXoYzOuSjxnS1wvmopdngbK odHoa4/WyvMDbI03Ghn31gaFOpKNNVOoetECdi8iIHJ+r//0h/oZRwJXkGdFyNDxW/ft2+NdArRX FvOkFZtaoP3euIdxbJfGjmD6tmsVFVMZ5rQQhbvuIGZlZ/g2bhDmzTdy9TgKc6FkqZOMQTGr7hdq +1YXViwWDdb/caCxCWrX3IMm6hZEXPAEn2kDQyrXB931xOwF0nxae56prfbR+tmq8chl1tWslzoV NrIVWgmwa1Vqm+5poftKYs/+/tp/Q/9GMVvKz+wts2rWIsdmqDNei90MpCt69eb+L1BLAwQUAAAA CABady4wHMbxVnUDAABlCwAALAAAAHByb2dyZXNzY2VsbHJlbmRlcmVyL1Byb2dyZXNzQ2VsbFJl bmRlcmVyLmhovVVtb+JGEP7Orxgp0impfEASVVUhQnUoSZAIQQYa5ZO1tsd4xdpr7a4d3Kr97Z01 VnNtnMCdct0v3vXsPPPM6/Z++I6r1+k1O/jQ1QJ/h6ys7qVAuErsNqXtL0YWJesGODoM+eVqgR/L vFJ8kxg4HZ/BRb/fB5h1wc2M5BnZZPtNeozJI4Mz7sJvLINAFVqjgKstD7dlcNjAkfDfulrgVwnX kCu5USwF2sYKEbSMzTNTOIRKFhCSJwojro3iQWEQuAGWRT2pDsOnMuJxZTWKLEIFJkEwqFINMq4P t/M13GKGiglYFIHgIcx4iJnGY9gz4m6VdIIRBFWNeGM9WDYewI0kw8xwmQ0BOckVlKg0neHiIHzD sSHkAHl8yowNigKZW9AzikQFgpkX3O4r4m/Bf+Rqgf9val8yGAHPas8SmVM+EvKJMvTMhYAAodAY F8I5BE9A8Dhd3T2sV+DOn+DR9Tx3vnoaEpBJJEmxxL0ZnuaCk1XKiKJuq2xgD8HfT7zxHeG519PZ dPVkY38zXc0nyyXcPHjgwsL1VtPxeuZ6sFh7i4flhCK/RKwtHoR/p+5iMpVKqp0IDeNCv5HQd+E/ crXAP1FbaoqxiCBhJVJ7hshLijCDkKbdVzVXCzwTMtvUaSSYlyIaAo8hk8aBZ8VpDhjZ0nBHsH/p SQemWdh14MefYYVUJAgLwUKEz7AsrIXLy74D11Ibe/XeBehfnJ+ffz6/7P/kwHrpdv/32H+X1et0 TnhMAzIGf+E93HpU5ePJbOZN5r9OvInXOSGRfavapaSchaKI6C3bmG2adpNRpxMKpjUsbOZQ6zEK 4aEdwTSoBvuhGcKt2Q4GX4o6f3T2okEHWnVPz4YkKbkyBdXUX29dsXckj2CDxtf8d/TLuMjC09re I4/o9ycqL/t1qGAzbeA2IpGHoWHZRuAnCAnRp3piDs0qur3zZRxre78+Vv8+EpZJmn2C9q3f87Qc VM2rYdAYEzyw1uKFUVe15UeeRfJ5ZJHsxoGvoBqwcLtRtqYbwgc9ar+Au1xqbK68Ss3S0CMDsWAb 3QS4ScLeGcpEjspU9N1V/jWjFvfz5p+/DwELBO7z16JyRbEbwT8aeZNYv2SieEerJZQLvguKeARt aDnfpSyvK4T+GfIdo8Er6He5+K+pfBsLAvqTeJxQbGis9XpvNNffUEsDBBQAAAAIAEmSLjAneDQM CAQAAAYOAAAwAAAAcHJvZ3Jlc3NjZWxscmVuZGVyZXIvUHJvZ3Jlc3NDZWxsUmVuZGVyZXJUZXN0 LmNj7Vdbb+I4FH7PrzhlNJXTUhaotg+hRRqh3VGl6U7VsrtazY4ikxiw6sSR40C7qP99j20SQpsy UO3jvoA51+/Y58YHnkaiiBlczvRDkvyUUJ525kPvQ0XPteLpbOhtSK1bJWeK5fmICXHH0pgppjrz ecvzIkHzHMYs12PF2IKzJQSQFRPBI/isH4LAkP9AsrfyHDnwPNhSID4ESAJYUFEw0vXb9hfNI/RE tCqYj4SVJX4WfBIEd2x6q9Wltf+F5/peS8WGIPCYmyNcwTYvCCLFqGYkCUdSFEma+wNrL2c6TGTM BKmUkeNYOg4Cdxcw5YKlNDGGW9n6LnqdxyxpOTNaPcEq44+TYtozzmN0fmt/lp7DqZJJaOyQ0pg/ eLbKEdXRHIgL7Vdk/qKUVMB8WME0Q/96ShAMU6oNrd+kBZPDVBZpDDyFj/nfaatdQexEIYImvj8A 9sg16eFh288G3C5H1yk+B0cPCZ0xa31vZ9Zb05X1m6+s//+VuYzPMsz4MLIZSlr1YhuzR41GqvTt JEYsLC821MgvE7epWOFElacrSGiKAEmKtdoka7C5YqvXr3MMJ+h220SDFGlsGIi/QlG62A7ZGF8z 8HQ2pHEcUo0lOCmwdkvdsyGGnTGlnzbxu9bh77ghK/E+45ilCc12Wnci5QsouTRt4KTqKejNBkrW AIzAt52P+d3UDZ0o2tpHwwZnVLr7SDuwRnzdsjaw+z+C3d8DdkTjGuwdGhXs8/N9xF/i7m9wn/8I 9/keuCeySI5a+6hUwC8u9hF/68Jd/8r5LKUi1DxhstDE70QyTVmkyT2fjZAtpCYnes7zNhzX52YQ FFls+mTpBxP0564N2TaUicRSfSGCs9YNUj4F4iYsHB+7yQtXV9DrdkuJcgIj6iN3Gqzph2VXv6Z2 wOP2amoHXO3a27qjmiiPGsL8z4PsvS/I/vuC7L0K0mH3XYSnp47PRM4c5eys1pn2SGt7OKiCibvb UyxlHz6aPDqojir1i4ua+jOAge12zBuzpq3tNOyYlh0ETuCORVLF9o3LpdOAqZsgtRSIY9I8T9/k 16dJo0A1ENxDmc9tqA7GZW3LHEIDiMHbqrh8vFKpPVyjzosFerPXDOGVLReCfQebPVsPUD2pZb1t dZ2w7XrCV8ju5NJmZNtmmf20gwAj26SgbWNlbRokhmv+tRBzoGoWtSGaU1xx8Lz49t33VqWPG5SC B1yynJThuxG99X9FLypQf/I0RkxL+1VR7yMlhWDxhmtY+NUxfx8yifn1RKzk7dcv16O/wk+/j7/e fBpfj9rQSPZLfZM4elH+ROOWgsc6yTiJ2ZQWQoc5/4eRfrfbtp26LjSXy5AK4UZeFX0QqCIlLmjF dKFSsyI8e/8CUEsDBBQAAAAIAPiWMDDucnF7WgwAACUnAAAiAAAAcHJvZ3Jlc3NjZWxscmVuZGVy ZXIvcHJvZ3Jlc3MyLnhwbc2YWVPeuBZFn29X9X8QbWaB+OzPI1PJIxDCDGEqphCmJAwBkhCm396y jvbJ801uVW7zlFW0ra11tmw8Niy2lhfE8Njff93dH91fHIvj86NbMSxubq/Pbk/u7oKDh5vL3T0x JZ7+/usfv9MRfiTCTiSCf0YMEOI/x2Lx+urE/ku1//KapmP+s0ASqP3IAU2g6uI3PAJFWDjQSyCP Ewf6HEhKB/oJZGnowDBA5cCUAxluO0ogzWoHJhzIcZdpAkneODDiQJE6MOBA6TswRCAuMwd6HKgC B14BcgeeCER114E9AITbJ9BtcI0xC+rSAN+CQQKRAV0LDiyoGgNCC8YJpAZEFkwS8A2ILdi1oCwM SC14IRAakFnwbEFRG5Bb4BNIDCgtCAh0mm6nsqBrQZ4bUFsQEug2XZ+yRBZkpQGUJSYQG0DzlFiQ NgZQuJRAagBlyQgEBlCWjgWJbwAt/ciCqG5Cnxb23oKwbMKAbntsQTczgHbsgwVBYgDtx4kFfthE QWHBqQWd0gC66BmJqn2oPCdQBZixCwJlCPsfCeQxxvKTAwmG/zOBLMU4XBJIM4z2lQN57MA1AAb3 hkBSYLS/OFCic7cE4gqTfEcgqjF09wBY2FcL6oqn8BuB2AAy992CKuOheyAQ8ND9sKCMeMYeLSh8 nqDcgnZgOo0FBc1HxQNTkv2Mx6Ei+wHbry2IO2y/IfuVcUtZZsh+wfZnyX7K9ufIfsz230A2dmwe siHqLWTjuFggUMSYj0XIxjgsQTZ+Y9mBDAfbCtxiYFYBMGNrkA3765CNdWxANk6pdwRCPmE2SWWH z48tElXy6bBNotoDhfZjh0QVXPVDAiGbE8qaS7jZikCHmy0tSLtcZG1BErJKz4LYNyrpyOm1IGxY ZZ8F3ZJV9lsQ5AYkFgxb4CesckqRyg52bFQ5lfAyoZxKVGxaOZWwP6KcOWzhAAD6MkQgzTAfPQ7k KPKrcuZwlycHSvR2Tzlz6O0+gajGOsYAsPRBC+qEW3lgQZVzK8cJdLmVk4pl047tEoi5pi8WFA0/ Cp4JBNxbn9zWXNOA3JpHgU9euuQ2YrchuQ3YbWRB1GG3Mblte0sDk5Dbgt2m5DZltxncYpM7cIs2 HMEtKvbeuY0wDscE8gR9+QC32OQTBzL09hRucdEzuEVvzwH42eDclrjtR8jGSj85wLI/QzYWdukA F/mK7Nd8SF8T8PlV4YbcViz7C6nMuNm3FuQRF/nup1u6yz2BlJv9lYDPzf5G9kNu9ney3z7m6UB5 IPsh2/9B9tuq020fyX7D9nOyX7L9guznxj6NZQn7KGEF+6hYDfvYsQb2MTAzsA8Ns7APDXOwj2u8 cfYz3HYe48DPBtjHXRYcKLGwRdhH95dgH91fhmysY4Xcplz1VQuqkJu9RrITLvI6gQ4XeYPst89b 0vCO7Jd8rm+S24btb5Hbgpu9TW5TdrtDbiN2e0huu+xWyBaEHXarLAjMG1tAS5cW+AW71dK5xfB7 0rlFxXqlc4sd65POLbz0S+cWuz4snVv8L1MAuMuodG752eBAju5PS+cW3R8hEJeo+oADFao+RCCq MWM9FtQN9/aVQMC9fbKgKvgY37OgrLnI+5Jlk4YxC4qcmz1oQR5zsw8syALu7bgFacQvV5MWJBm7 3bUgjo1KuuiLBVHIbp/Jrc9ufXLbsNuA3Jbstgu3GP4QbrHJkXPbxZ7GcAtRCdxCQwqV2OTMgQwF 6kAlinwEgIF5D7co8rEDJYbuA9xipE7gFllOHWgwY2fkNuPenv90S426IBBxkT+SW597+4nchtzb z+S24t5eEuhwb69IdsaP6GuSXXKRb0h2+8x2zwaSnbLsW5Idsew7km2aHVCWewu6HZb9lWTXLPsb ZGMLv0M2vDxANnb9B2RjTx8hG+Zy5zZBxQrIxq6Xzm2GgakgG82uIRtD10A2RmrGyS5xjM/CPsZy DvaxjjcEOvyInif7XW72W5Jdsv0Fkt1wsxcJpNzsJbJfcLOXf9qn97EVAglXfZXsd7nqayS7ZNnr JDtj2Rsk2/xJ7NNIvSPZIcveJNkBy94i2Y2RTQ+cbcjGnu442T426BCyoUFoJxvzobSTzd+UCGQp xkFrpxIT5GmnErveC4Bm92mnkr8pOVDhtsPaqUSzpyyoc+7tqAVVzDWdsKAM+Hk7bUHRPpGppiMW 5DWLGiDgc02HLMhyrmmPBWnFNX0lEPMh/WRBUrHKPQvinFXuWxClrHLMgjBilYMWdNsi00UPLAg6 rHLcgk7N3z8mtXOLXd/Vzi3q8aKdWxzBz3CLcfCd2xjjEDi3CRrVhWz8RuhkZ7hoBPtodgzZGKnE gRK3TSEbzc4A+O8G2Mc6jgj4XOT3NA4hF/mYxqHiIn/4OR+0pycEOtzsUwvKjJt9ZkFRcrPPCUQ8 QRcW5Ck3+6MFWchv459oHGoeh880DubF2acj+JLGIeNxuKJxSHgcrmkcQh6HGxqHgMfhC41DW3Va 2C3so2J3sI8C3cM+BuYr7GPXv8E+wHfYxzUeYB/d/wH7OB0eYR93yWEf5gonu8RKS9jHYVDBPg6D mmQX/ILWkMqE3c6Qyi53f5ZENVz1uZ/maNffEAi4+/OksuDuv7Ugrbn7CwQS7v4igQ7/pbVEstvD gGQvk+yCZa+Q7JQ/hq6S7Ihlr5HsLstet8DvsOwNyOZvSpCNRm062SF6uwXZ2PVtB1j2DmRj1w8B UELhOfu4qHIgx2EgPWcfC9Oek43DwHOgwmHQ6znZWHofABbWTyDg7g9bUNVc9SkCPjd71IIy52ZP WFBU3OxpAvHPZ4MFecbzMWBBFnGzhyxIfZbdY0Fcs+xXC6KSv30+WRBmLHvPgm7CsvctCNoP3e7v Bgv8gGUPUvzaR+cOPCcb+zHuOdnYsUnPyYaGXZhDkV8gCr19hhfMh/9zxyhcQPEbbkPXgqTD8UOK X3H8iOIXHD+m+Cl/L0wofsyfflOK3+X4Svx3P1Jo4Yle0Sf6xbCYEqNiQkyLETEghkSPeBVPYk/s izExKA7EuJgUu+JFPAtfBKIrQhGJWCQiFZnoiCPxXhyLD+JEnP4Pfn4pzJk4Fxfio/hkwnw2YS7F lbgWN+KLCXNrwtyJexPmq/hmwnwXDybMDxvm0YTJRWHDlCZMJWrRiBkxK+Z+O0j780th3oh58VYs iEWxZMIsmzArYtWEWRPrJsyGDfPOhtm0YbZsmG0TZkccmjBCKVUKqbTyVK/qU/1qWP1+lF8MM6VG 1YSaVotiRA2oZTGkVkSPelVr4kntqQ2xr8ZUG2ZQbYoDNa4m1a56UdviWbVhfNWGCZRUXRWqSMUq UemfC5OpjjpS79WxGlEf1IkaUqeqR52pc/WkLtRH9Ul9VpfqSg2qa9WGubFhvqg2zK26U/fqqwnz TX1XD+qHelS5Kv5cmFJVqlaNmlGzJsycemPCzJswb9WCCbOolkyYZRNmxYZZNWHW1LoJs6HeqVu1 acNsmTDbakcdmvNESSl/P8ovhtHSk72yT/bLYTkl59SonJDzalq2YUbkohqQQ3JZ9cgV9Sqf5Kra k/tyXY3JNsygbMMcyC01LiflrnyRz9KXwZ8L05WhjGQsExMmlZkclR15JKfle3ksR+QHOSBP5Kns kWfyVZ7LC9mG+SjH5Cf5WQ7KS3klD+S1HJc38ou8lXfyXn79c2G+ye/yQf6QjzI3YQpZmjCVrE2Y Rs6YMLMmzJx8Y8LMy7cmzIJcNGGWTJhluWLDrNowa3Jdbsh3clNu/bkw23JHHponp9K5lLoNo3Ul Pd2rG9mn+/WsHNZtmCndhhnVbZgJvSSn9YhekQN6SK/KHv2qn/Se3tdjelAf6HH9h8JM6l39op+1 rwMtdVeHWutIezrWie7Tqc70sO7oIz2l3+tj/UGf6FM9oc/0uQlzodswH3Ub5pP+rC/1lb7WN/qL /t0ovxhGiVt9p+/1V/1NfzdhHvQPE+bRhMl1YcKUurJhahum0ScmzIwNM6vn9Bs9b8K81Qt6US/p Zb2iV/WaXte/G+WXw2zod3pTb+ltvaMPTRjhKe/RHHK51p7nlbrX6/P6vTbMsNfoKW/Um9ET3rQ3 q0e8NsyA14YZ8nq8V+/J2/P2vTHvj4UZ9A68cW/S6xM7eljsesKbEC+e9AaE9nrEs9fr7Yl+r33V HPbGRRvmRfgmTCDaMJEY8AIvFUNe1wu9yIu9xEv/XJj/z/fmf14m/v7rX1BLAwQUAAAACAD0ljAw rMXwbyAGAABFGAAAIgAAAHByb2dyZXNzY2VsbHJlbmRlcmVyL3Byb2dyZXNzMS54cG29l9dSFVsQ QJ+vVf5DK0i2mRxUKCYSBCQKSgEikiUekiJ++9107+6jXhPXg8UTq9gzvTrtob8HFqcmoKf//r3G 6drpzjqsb6+dQA8cnRxunWw0Gu7q5dH+0jIMwNX9ew9dxwE3BDdxwXvYZwDAP+sweXiwQb/hzW9t TlGHXkmgl0GlYIiAmxqQEWgj4IV14CUE2gn4rgERgUcMSgN8Ah0EgtQAl0APgdA8w60JDBCIHAP4 tY8ZFAbwa58SiJPad/m1gwQSzwB+bR+DyICQQCeDzICAQDeD2gAO7AGB1FfwmUFsAKfrikFuAIe+ TCBzDHAIrDAIat9hl34GiYIuBoUBFYFVArlrANs+YRDWnlMQeMYgNSAnsMSgNIDzcU2g8BR8YhAZ kBJwGWQGcMY8BpUBMQGfQOkbwCkMGMQGcApDBrmCiEFtAOc0JlAFBnAKEwaJAZzClEFhAKfQIVA7 BnAK1xiECt5aUBUWrAuILXgnwLVgg0FUypFNAZEFWwLkyLYFRW7BDoO4kCO7AhwL9izI5ch7AaEF +wLkyAGDJMssOBQgR44sSGsLjgXIkRMGaRpY0LAgkSOnAlILzgT4FpxbEFcWXDDI4sSCSwsiSfIH BnkokX5kUAQSR2aBL5XLGZSeJLlgcFMnBiUDE7gFFQGn1JVTE6D9wT02TCAMdF2MEKBB5r8YFVsJ bExCl1I+l0glH+MEgkSX0gQ/tNKHThJIax31FwRyR+d2ikDh6hBOEyg9nagZApWv4zHLcYRVaeOY kzJI5eYlhZLTlwRoBfMyWCBgVnBoV/AiZ6zQjL3iZwQ6Ua/ltQLeMIhKKTagrb60A6IttlS/l4DZ arLohwjEse7kNj4SFTKE7QziQtrhkX2oL4XqQNsf8hc9BNxEbQcIeIHaPiYQ5c27wb4ll2IPMkgy GdM+tO0gtp0EwlovnG4CiavXyQMCqde8Gwhkvu71KwJ5oFt7mUAR6gpeIVBGuj77CVSxLscuiVSm YZVBmkrWn1iQyDJ4JnUR2yUGpSetfW1zqiP2iW19HSDXPjSW/eFJ9aULfS52ri0VEAhinZdQSimR RlJK6bGYK1drwyTNynFtUz4SVtJ0DoOolPFYE6B3g5RSjqyLrXTQO36trw2z0Qyds75JII60cbe4 +qF+O2xz9SP9ENjh6sda/V2ufqJX9B5XP9X79j1XP9Pq73P1c70JDzj0uJC2PLQglwE6kmLLXxxL sWWATgi4sc5Lg4tdaWufctYzzfoZP8PROM7ltZLCCwZJJj12Kf0hXfhBii1N97GZdW7+jOPwtOly zlipGSs4QZFuy9K+NpW5rRikqXRyLdWXPh22CfIl0hEudqTFHuXK+brGxziOmy82ntvn9i2JdPK4 tY3FdsLaOtKFkwT8TMfjBQFzh0sHTRFIM/1ynOY4cv0MnOE4Cs3HLIGi1A+0OU5QpV9b8wSqWiv3 kgMLK7nVF2w+AhmPRQalJ3II3//phSFog3Z4BB3m34kBeAxPYRD6oBO64QF8hitYhhXohy5YhSfw DJbgGj6B+b8CfAgghAhiSCAFB9bgLazDO9iATdiCbdiBXdiD97APB3AIR3AMJ9CAUziDc7iAS/gA HyGDHAoob/HzU5nKytRGZvgrmZE7khm1MmNG5vldyYx/IzNhZSatzAsrM2Vlpq3MjMrM/rbMnMrM t1bmJSwYmcU/lnlFMq+NzJvfkAEcA8Q7kenFpswQtkKmDXegHX8l8wjnoQNbKNODA/iFDLZW5inu wyB+T6YPWy6DX8l04o1MN1oZZJnPyDJXyDLLyDIryDL9+GuZLjyGVWzAE2zKPDMyS9iB17fQ+W2Z T/h3ZFycA+8uZXwM8O/LhEYmarVMrDLJH8mk+BocfANr+GuZtyqz3kqZdySzYWU2jcwWssw2sswO sswusswessx7ZJl9/K/MAbbjIf5M5sjIHLdW5uQLmQae/k+ZM/yRzDkO4gV+K3OpMh9aK/PRymS/ IZNjU6a4lUyJq1hhU6Y2MsN3JTPyQ5lRKzPWEpnn6OI4fikz0WqZyW9kXiDLTCHLTCPLzFiZWWSZ OWSZeSPzEm8ns2BkFm8rc/30/r1/AVBLAwQKAAAAAABJki4wAAAAAAAAAAAAAAAAFQAAAHByb2dy ZXNzY2VsbHJlbmRlcmVyL1BLAQIUABQAAAAIAFp3LjAQS6YGXAYAACkUAAAsAAAAAAAAAAEAIAC2 gQAAAABwcm9ncmVzc2NlbGxyZW5kZXJlci9Qcm9ncmVzc0NlbGxSZW5kZXJlci5jY1BLAQIUABQA AAAIAFp3LjAcxvFWdQMAAGULAAAsAAAAAAAAAAEAIAC2gaYGAABwcm9ncmVzc2NlbGxyZW5kZXJl ci9Qcm9ncmVzc0NlbGxSZW5kZXJlci5oaFBLAQIUABQAAAAIAEmSLjAneDQMCAQAAAYOAAAwAAAA AAAAAAEAIAC2gWUKAABwcm9ncmVzc2NlbGxyZW5kZXJlci9Qcm9ncmVzc0NlbGxSZW5kZXJlclRl c3QuY2NQSwECFAAUAAAACAD4ljAw7nJxe1oMAAAlJwAAIgAAAAAAAAABACAAtoG7DgAAcHJvZ3Jl c3NjZWxscmVuZGVyZXIvcHJvZ3Jlc3MyLnhwbVBLAQIUABQAAAAIAPSWMDCsxfBvIAYAAEUYAAAi AAAAAAAAAAEAIAC2gVUbAABwcm9ncmVzc2NlbGxyZW5kZXJlci9wcm9ncmVzczEueHBtUEsBAhQA CgAAAAAASZIuMAAAAAAAAAAAAAAAABUAAAAAAAAAAAAQAP9BtSEAAHByb2dyZXNzY2VsbHJlbmRl cmVyL1BLBQYAAAAABgAGAPUBAADoIQAAAAA= ----------part4008266d49517-- From tor.arvid.lund@idi.ntnu.no Fri Jan 16 16:57:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from totto.homelinux.net (119.80-202-31.nextgentel.com [80.202.31.119]) by mail.gnome.org (Postfix) with ESMTP id 44F1418201 for ; Fri, 16 Jan 2004 16:57:53 -0500 (EST) Received: from totto.homelinux.net ([127.0.0.1] helo=idi.ntnu.no) by totto.homelinux.net with esmtp (Exim 3.36 #1 (Debian)) id 1AhbzP-0007rU-00; Fri, 16 Jan 2004 22:58:51 +0100 Message-ID: <40085E97.50605@idi.ntnu.no> Date: Fri, 16 Jan 2004 22:58:47 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: kickvb@touva.be Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a column in a TreeView a ProgressBar? References: In-Reply-To: X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: kickvb@touva.be wrote (amongst other things): >I have a made a class an a test program for a progress bar in a treeview >(class ProgressCellRenderer, extending Gtk::CellRenderer). The files are in attachment. > > Thank you for responding. It sure is the best solution I've seen so far. Still, I was hoping to find a way to draw (and use) the existing Gtk::ProgressBar widget. Actually, it would really be nice to be able to put any widget inside a treeview column. Then one could also use the functions already implemented in that widget. I just looked briefly at the code, but it seemed unfortunate that it might segfault on Win32 (but there may be an easy workaround... I'll look into it later). Thanks again. regards, Tor Arvid Lund From kmilo@softhome.net Fri Jan 16 18:52:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id 5EF33182D7 for ; Fri, 16 Jan 2004 18:52:44 -0500 (EST) Received: (qmail 24449 invoked by uid 417); 16 Jan 2004 23:52:43 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 16 Jan 2004 23:52:43 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Fri, 16 Jan 2004 16:52:43 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Fri, 16 Jan 2004 16:52:43 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.162] Message-ID: Subject: [gtkmm] Subject: possible bug in Gtk::Main kit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: the first time the function ayudar run fine, but the second time (after Gtk::Main kit) ayudar print bad the file #include #include #include void ayudar(){ char* buffer=NULL; int tamanoBytesFname=0; std::ifstream file ("help.txt"); file.seekg (0, std::ios::end); tamanoBytesFname = file.tellg();// obtiene el tamano del archivo file.seekg (0, std::ios::beg); buffer = new char [tamanoBytesFname]; file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda file.close(); std::cout << buffer << std::endl << std::endl; delete[] buffer; } int main(int argc, char *argv[]) { ayudar(); Gtk::Main kit(argc, argv); ayudar(); std::cin.get(); return 0; } I'm ussing gtkmm in windows following the instructions from here: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ape.html From arvind@acarlab.com Fri Jan 16 22:52:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.117.31]) by mail.gnome.org (Postfix) with SMTP id 6476B1850F for ; Fri, 16 Jan 2004 22:52:17 -0500 (EST) Received: (qmail 1882 invoked by uid 1000); 17 Jan 2004 03:51:39 -0000 Date: Sat, 17 Jan 2004 09:21:39 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Cc: abt@gmx.de Subject: Re: [gtkmm] I am stuck with a C++ problem Message-ID: <20040117035139.GA1875@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Thu, 15 Jan 2004, Andreas B. Thun wrote: > Parameters::Parameters() > { > // Generate ParameterLines > for (int i=0; i<10; i++) > { > ParameterLine pLine; > pack_start(pLine); Change to // create and manage storage ParameterLine * pLine = manage( new pLine ); pack_start( *pLine ); > } > } Would like to know : How come no runtime errors? Does the new gtkmm exception handlers neatly, quietly trap them? - arvind r. From abt@gmx.de Sat Jan 17 10:01:13 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3AE5D185C7 for ; Sat, 17 Jan 2004 10:01:13 -0500 (EST) Received: (qmail 28179 invoked by uid 65534); 17 Jan 2004 15:01:07 -0000 Received: from dialin-212-144-000-156.arcor-ip.net (EHLO gmx.de) (212.144.0.156) by mail.gmx.net (mp017) with SMTP; 17 Jan 2004 16:01:07 +0100 X-Authenticated: #109577 Message-ID: <40094E23.6060008@gmx.de> Date: Sat, 17 Jan 2004 16:00:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] ever tried a Gtk::HandleBox? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've experimented with HandleBoxes, but nothing happens in my GUI. A horizontal bar is drawn but I cannot drag it with the mouse?! Any hints would be appreciated. TIA, Andi ... // Add the Button Box and the ScrolledWindow with the TreeView to a VBox Gtk::VBox *VBox = Gtk::manage(new Gtk::VBox()); VBox->pack_start(*ButtonBox); VBox->pack_start(m_ScrolledWindow); // Add a HandleBox at the bottom of the VBox Gtk::HandleBox *TabHandleBox = Gtk::manage(new Gtk::HandleBox()); TabHandleBox->set_snap_edge(Gtk::POS_BOTTOM); VBox->pack_start(*TabHandleBox); // Add VBox to frame (a frame can only hold one widget) m_Frame.add(*VBox); // Pack frame into this object pack_start(m_Frame); show_all(); ... From billyoc@gnuyork.org Sat Jan 17 11:34:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 3978D181E7 for ; Sat, 17 Jan 2004 11:34:11 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AhtM3-0002rk-Ct; Sat, 17 Jan 2004 11:31:23 -0500 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] ever tried a Gtk::HandleBox? References: <40094E23.6060008@gmx.de> From: Billy O'Connor Date: Sat, 17 Jan 2004 11:31:20 -0500 In-Reply-To: <40094E23.6060008@gmx.de> (Andreas B. Thun's message of "Sat, 17 Jan 2004 16:00:51 +0100") Message-ID: <87ptdi8rl3.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > Hi! > > I've experimented with HandleBoxes, but > nothing happens in my GUI. A horizontal > bar is drawn but I cannot drag it with > the mouse?! > Any hints would be appreciated. > As a sanity check, make sure this compiles, and that you can drag the entry out of the frame window. If you need further help with this, try to post the smallest example that will actually compile. #include int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Gtk::Window window; Gtk::HandleBox hbox; Gtk::Entry entry1; entry1.show(); hbox.add(entry1); hbox.show(); window.add(hbox); window.show(); Gtk::Main::run(window); return 0; } -- Billy O'Connor From olau@hardworking.dk Sat Jan 17 12:14:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 546D818562 for ; Sat, 17 Jan 2004 12:14:04 -0500 (EST) Received: from bach.composers (122.ppp1-1.abc.worldonline.dk [213.237.21.122]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0HHE17x014231 for ; Sat, 17 Jan 2004 18:14:02 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AhsFz-0000HI-TG for gtkmm-list@gnome.org; Sat, 17 Jan 2004 16:21:03 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Subject: possible bug in Gtk::Main kit References: From: Ole Laursen Date: Sat, 17 Jan 2004 16:21:03 +0100 In-Reply-To: (kmilo@softhome.net's message of "Fri, 16 Jan 2004 16:52:43 -0700") Message-ID: <87oet21u00.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: kmilo@softhome.net writes: > the first time the function ayudar run fine, but the second time (after > Gtk::Main kit) ayudar print bad the file > > #include > #include > #include > > void ayudar(){ > char* buffer=NULL; > int tamanoBytesFname=0; > std::ifstream file ("help.txt"); > file.seekg (0, std::ios::end); > tamanoBytesFname = file.tellg();// obtiene el tamano del archivo > file.seekg (0, std::ios::beg); > buffer = new char [tamanoBytesFname]; > file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda > file.close(); > std::cout << buffer << std::endl << std::endl; > delete[] buffer; > } Your function is buggy. The call to 'std::cout <<' expects buffer to be a null-terminated C string, which it is not. Try something like: buffer = new char [tamanoBytesFname + 1]; // extra space for '\0' file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda file.close(); buffer[tamanoBytesFname] = '\0'; std::cout << buffer << std::endl << std::endl; -- Ole Laursen http://www.cs.auc.dk/~olau/ From olau@hardworking.dk Sat Jan 17 12:14:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 4E1451849E for ; Sat, 17 Jan 2004 12:14:07 -0500 (EST) Received: from bach.composers (122.ppp1-1.abc.worldonline.dk [213.237.21.122]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0HHE181014231 for ; Sat, 17 Jan 2004 18:14:05 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AgrOw-0000Ht-Tb for gtkmm-list@gnome.org; Wed, 14 Jan 2004 21:14:06 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Newbie libglademm question References: <1074078978.4605.16.camel@javor.vilarroig.com> From: Ole Laursen Date: Wed, 14 Jan 2004 21:14:06 +0100 In-Reply-To: <1074078978.4605.16.camel@javor.vilarroig.com> (Javier Vilarroig's message of "Wed, 14 Jan 2004 12:16:18 +0100") Message-ID: <873cainv8x.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Javier Vilarroig writes: > I'm creating a separate .glade file for every dialog on the app, and I > load it on the class constructor in order to be able to open multiple > instances of them. I do that because , to my understanding, when the > .glade file is opened only one instance for every dialog is created and > I need to be able to open multiple instances. Also I understand that whe > the .glade file is loaded, all and every dialog are created, so it seems > a memory waste to have only one .glade file. Correct me if I > missunderstood that. Perhaps that is correct. I really don't know - it would very interesting to experiment with. I asked James Henstridge about this stuff a couple of months ago, but never got a reply. > I open the main app window without problem, but when I create the first > independent dialog I got a lot of errors on stderr, there is a sample at > mail end. The dialog opens correctly and it seems it's working > correctly, but I'm affraid I have misunderstood something on the > libglademm "filosofy" and that it can lead to unespected failures later. As far as I can tell, you've understood it correctly. Unfortunately, your listings don't really help without the code. > Error listing: > -------------------------------- > (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 > (gnome_program_get_app_id): assertion `program != NULL' failed > > (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 > (g_string_prepend): assertion `val != NULL' failed [...] Probably, you have a simple bug somewhere. You need to show us some code (the minimal code, please) exhibiting the problem. -- Ole Laursen http://www.cs.auc.dk/~olau/ From drink_n_park@hotmail.com Sun Jan 18 08:36:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (law10-f97.law10.hotmail.com [64.4.15.97]) by mail.gnome.org (Postfix) with ESMTP id 4946D18392 for ; Sun, 18 Jan 2004 08:36:14 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 Jan 2004 05:36:13 -0800 Received: from 203.217.38.178 by lw10fd.law10.hotmail.msn.com with HTTP; Sun, 18 Jan 2004 13:36:13 GMT X-Originating-IP: [203.217.38.178] X-Originating-Email: [drink_n_park@hotmail.com] X-Sender: drink_n_park@hotmail.com From: "Drinkin Park" To: gtkmm-list@gnome.org Date: Sun, 18 Jan 2004 13:36:13 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Jan 2004 13:36:13.0478 (UTC) FILETIME=[0A6F7460:01C3DDC8] Subject: [gtkmm] Function pointers question (gtkmm related) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I am having a small problem implementing the callback functions for menu items, toolbar buttons, etc: My current code looks like this: ------------------------------------------------------------ class MyToolbar:Gtk::Toolbar { public: MyToolbar(); private: AnotherClass* anotherObject; }; class OtherClass { public: doStuff(); }; MyToolbar::MyToolbar() { ... push_back(StockElem(Gtk::Stock::NEW, SigC::slot(*this, &MyToolbar::newButtonClicked), "New")); ... } //callback function MyToolbar::newButtonClicked() { //do stuff otherObject->doStuff(); } ------------------------------------------------------------ What I'm after, is to be able to pass a method belonging to another object, in a similar method to this (which doesn't compile): ------------------------------------------ MyToolbar::MyToolbar() { ... push_back(StockElem(Gtk::Stock::NEW, SigC::slot(*this, &OtherClass::newButtonClicked), "New")); ... } --------------------------------------------- Is this possible, or will I have to stick with the method that I am currently using? Thanks in advance. _________________________________________________________________ Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp From pierric@descamps.net Sun Jan 18 09:53:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.insa-lyon.fr (csiges9.insa-lyon.fr [134.214.79.200]) by mail.gnome.org (Postfix) with ESMTP id B24AA18596 for ; Sun, 18 Jan 2004 09:53:05 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.insa-lyon.fr (Postfix) with ESMTP id 638234B4C1 for ; Sun, 18 Jan 2004 15:53:02 +0100 (CET) Received: from J534-a.resJ.insa-lyon.fr (J534-a.resJ.insa-lyon.fr [134.214.166.190]) by mail.insa-lyon.fr (Postfix) with SMTP id 15E1E4B48B for ; Sun, 18 Jan 2004 15:53:01 +0100 (CET) Date: Sun, 18 Jan 2004 15:54:27 +0000 From: Pierric Descamps To: gtkmm-list@gnome.org Message-Id: <20040118155427.35a424cd.pierric@descamps.net> Organization: X-Mailer: Sylpheed version 0.9.4-gtk2-20030802 (GTK+ 2.2.2; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd 0.1 Subject: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview.cc Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, 2.0.2, and 2.2.8. In any case, I get the following error: --- g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -Dgtkmm_COMPILATION -DG_DISABLE_DEP RECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_D EPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I.. /../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/gnome2/include/gt k-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gno me2/include/pango-1.0 -I/opt/gnome2//include/glib-2.0 -I/opt/gnome2//lib/glib-2. 0/include -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -p thread -I/opt/gnome2//include/glib-2.0 -I/opt/gnome2//lib/glib-2.0/include -g -O 2 -Wall -c treeview.cc -fPIC -DPIC -o treeview.lo treeview.cc: In function `static void Gtk::TreeView_Class::class_init_function(void *, void *)': treeview.cc:891: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:892: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:893: assignment to `gboolean (*)(_GtkTreeView *, int)' from `void (*)(GtkTreeView *, int)' treeview.cc:894: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:895: assignment to `gboolean (*)(_GtkTreeView *, int, int, int)' from `void (*)(GtkTreeView *, int, int, int)' treeview.cc:896: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:897: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' make[5]: *** [treeview.lo] Error 1 --- Note (if it's of any help) that everything concerning Gnome2 on my system has been compiled from the sources, no package here. Of course I tried some research and the only piece of information I found was this message, for someone who had the same problem with Gtk 2.2.0 and gtkmm 2.0.2: --- Please see the gtkmm 2.1.2 release notes. GTK+ broke its API slightly. gtkmm2 was one of the few projects affected. You could use gtkmm 2.2 or GTK+ 2.0, but not both. --- I wasn't sure of the meaning of the last sentence: should I install a new Gtk version, or a new gtkmm version? As for gtkmm, I had already tried 2.0 and 2.2. Concerning Gtk+, I decided to install the unstable, 2.3 version. But it looks like I need Xft for that, and my X server is too old, so I'll have to do without. To be honest, I'm quite lost here. My goal is too be able to generate a gtkmm2 project with the Anjuta2 IDE, use glade to build the interface, and then compile the program correctly. Can you help me? If I forgot any useful information, please tell me, I'll try to be fast at answering. Thanks in advance, Pierric Descamps. From alberto@paro.homeunix.org Sun Jan 18 11:36:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx-in-01.simplementehosting.net (mx-in-01.simplementehosting.net [66.216.79.177]) by mail.gnome.org (Postfix) with ESMTP id 51C39180F5 for ; Sun, 18 Jan 2004 11:36:39 -0500 (EST) Received: from fep04-svc.flexmail.it (fep04.tuttopmi.it [212.131.248.107]) by mx-in-01.simplementehosting.net (Postfix) with ESMTP id EE08523406C for ; Sun, 18 Jan 2004 10:36:37 -0600 (CST) Received: from paro.homeunix.org ([82.88.53.142]) by fep04-svc.flexmail.it with ESMTP id <20040118163610.NMHR26403.fep04-svc.flexmail.it@paro.homeunix.org> for ; Sun, 18 Jan 2004 17:36:10 +0100 Message-ID: <400AB660.60406@paro.homeunix.org> Date: Sun, 18 Jan 2004 17:37:52 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've fixed some undocumentated functions in glibmm. I've posted the result on Bugzilla http://bugzilla.gnome.org/show_bug.cgi?id=131841 Now I think that I'll look to fix some documentation on gnomemm. (Lots of people are working on gtkmm docs) I'll propose an API add in calendar widget that return a Glib::Date of the date selected. Do I need to post the API change on Bugzilla or we have to discuss this API change? Hi, Alberto From chris@cvine.freeserve.co.uk Sun Jan 18 13:01:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailg6.svr.pol.co.uk (cmailg6.svr.pol.co.uk [195.92.195.176]) by mail.gnome.org (Postfix) with ESMTP id 388CA185D6 for ; Sun, 18 Jan 2004 13:01:53 -0500 (EST) Received: from modem-598.putangitangi.dialup.pol.co.uk ([81.78.194.86] helo=boulder.localdomain) by cmailg6.svr.pol.co.uk with esmtp (Exim 4.14) id 1AiHEl-0007mV-Li; Sun, 18 Jan 2004 18:01:28 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0IHxl8l002831; Sun, 18 Jan 2004 17:59:47 GMT From: Chris Vine To: "Andreas B. Thun" , gtkmm-list@gnome.org Subject: Re: [gtkmm] ever tried a Gtk::HandleBox? Date: Sun, 18 Jan 2004 17:59:47 +0000 User-Agent: KMail/1.5.4 References: <40094E23.6060008@gmx.de> In-Reply-To: <40094E23.6060008@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181759.47340.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Saturday 17 January 2004 3:00 pm, Andreas B. Thun wrote: > Hi! > > I've experimented with HandleBoxes, but > nothing happens in my GUI. A horizontal > bar is drawn but I cannot drag it with > the mouse?! > Any hints would be appreciated. [snip] You don't seem to have added anything to the HandleBox. What widget have you put in it? Chris From chris@cvine.freeserve.co.uk Sun Jan 18 13:11:57 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailg4.svr.pol.co.uk (cmailg4.svr.pol.co.uk [195.92.195.174]) by mail.gnome.org (Postfix) with ESMTP id C8857186EB for ; Sun, 18 Jan 2004 13:11:56 -0500 (EST) Received: from modem-598.putangitangi.dialup.pol.co.uk ([81.78.194.86] helo=boulder.localdomain) by cmailg4.svr.pol.co.uk with esmtp (Exim 4.14) id 1AiHOs-0005NY-PF; Sun, 18 Jan 2004 18:11:55 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0IIBp8l003001; Sun, 18 Jan 2004 18:11:51 GMT From: Chris Vine To: "Drinkin Park" , gtkmm-list@gnome.org Subject: Re: [gtkmm] Function pointers question (gtkmm related) Date: Sun, 18 Jan 2004 18:11:50 +0000 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181811.50771.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sunday 18 January 2004 1:36 pm, Drinkin Park wrote: [snip] > MyToolbar::MyToolbar() { > ... > push_back(StockElem(Gtk::Stock::NEW, > SigC::slot(*this, &OtherClass::newButtonClicked), "New")); ^^^^^^ You are not passing the right object to the slot. You need to pass an object of type OtherClass. Chris. From cedric.gustin@swing.be Sun Jan 18 16:44:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 6EA4F183E0 for ; Sun, 18 Jan 2004 16:44:36 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0ILcDte008058; Sun, 18 Jan 2004 22:38:19 +0100 (MET) Message-Id: <6.0.1.1.2.20040118103944.01be84c0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 18 Jan 2004 10:44:55 +0100 To: , From: Cedric Gustin In-Reply-To: <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> References: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Subject: [gtkmm] Re: [gtkmm] =?gb2312?B?tPC4tDogW290aGVyXSBSZTogW2d0a21tXSBMaW5rIHByb2JsZW0gdQ==?= =?gb2312?B?c2luZyBndGttbSB3aXRoIE1TVkMgNy4x?= Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:17 PM 1/16/2004, Jonny Yu wrote: >Hi Cedric, > >Thanks for your reply! >Thanks for your help, I'd like to try the project file, however I >couldn't find the MSVC_NET2003 directory in the installed files. It's in the source tarball. Download it from http://www.gtkmm.org. Cedric P.S. : Could you check please the text encoding you're using for sending messages to mailing lists ? The subject of this thread has been somewhat messed up , which is bad for the browsing/searching of the mailinglist archives. I suppose the mailing list engine is not unicode-compliant yet ! From mxpxfifws@yahoo.com Sun Jan 18 22:49:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web13805.mail.yahoo.com (web13805.mail.yahoo.com [216.136.175.15]) by mail.gnome.org (Postfix) with SMTP id C3BEA18115 for ; Sun, 18 Jan 2004 22:49:58 -0500 (EST) Message-ID: <20040119034958.58723.qmail@web13805.mail.yahoo.com> Received: from [65.243.233.2] by web13805.mail.yahoo.com via HTTP; Sun, 18 Jan 2004 19:49:58 PST Date: Sun, 18 Jan 2004 19:49:58 -0800 (PST) From: Bryan Forbes To: Gtkmm List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Convert Enum to GType Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is there a way to take a typedef'd enum and turn it into a GType? The reason I ask is I'm deriving a class from Gtk::TreeStore, but my derived TreeModel uses an enum I made up. here are the classes: class DataColumns : public Gtk::TreeModel::ColumnRecord { public: DataColumns() { add(m_col_name); add(m_col_size); add(m_col_uri); add(m_col_entity_type); } Gtk::TreeModelColumn m_col_name; Gtk::TreeModelColumn m_col_size; Gtk::TreeModelColumn m_col_uri; Gtk::TreeModelColumn m_col_entity_type; // cstr_EntityType is my enum }; class cstr_TreeStoreDnd : public Gtk::TreeStore { protected: explicit cstr_TreeStoreDnd(const Gtk::TreeModelColumnRecord& columns); public: static DataColumns m_modelColumns; static Glib::RefPtr create(); protected: // Overridden virtual functions virtual bool row_draggable_vfunc(const Gtk::TreeModel::Path& path); }; When I run the program with these two classes compiled in, I get this warning: (process:760): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function And when I actually use the TreeStore class, I get these warnings: (process:2315): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function (coaster:2315): Gtk-WARNING **: gtktreestore.c:384: Invalid type (null) passed to gtk_tree_store_set_column_types and it segfaults when I try to add things to the treestore. I figure it's because I'm using that custom enum value. I've even tried using Glib::ObjectBase(typeid(cstr_TreeStoreDnd)) in the constructor, and I still get those warnings. Is there any easy way to register that enum as a GType? Thanks in advance! -Bryan __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From pks@timing.com Sun Jan 18 23:50:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by mail.gnome.org (Postfix) with ESMTP id 9610718307 for ; Sun, 18 Jan 2004 23:50:46 -0500 (EST) Received: from jester.timing.com (root@jester.timing.com [206.168.13.216]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i0J4ojDf006826; Sun, 18 Jan 2004 21:50:45 -0700 (MST) (envelope-from pks@timing.com) Received: from jester.timing.com (pks@localhost.timing.com [127.0.0.1]) by jester.timing.com (8.12.6/8.12.6) with ESMTP id i0J4ojvx081592; Sun, 18 Jan 2004 21:50:45 -0700 (MST) (envelope-from pks@jester.timing.com) Received: (from pks@localhost) by jester.timing.com (8.12.6/8.12.6/Submit) id i0J4ojBx081589; Sun, 18 Jan 2004 21:50:45 -0700 (MST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16395.25125.213863.500622@jester.timing.com> Date: Sun, 18 Jan 2004 21:50:45 -0700 From: pks@timing.com To: Bryan Forbes Cc: Gtkmm List Subject: Re: [gtkmm] Convert Enum to GType In-Reply-To: <20040119034958.58723.qmail@web13805.mail.yahoo.com> References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> X-Mailer: VM 7.00 under Emacs 20.7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Bryan Forbes writes: > > class DataColumns : public Gtk::TreeModel::ColumnRecord > { > public: > Gtk::TreeModelColumn m_col_entity_type; // cstr_EntityType is my enum > }; > > class cstr_TreeStoreDnd : public Gtk::TreeStore > { > public: > static DataColumns m_modelColumns; > }; > When I run the program with these two classes compiled in, I get this warning: > (process:760): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, > use g_type_init() prior to this function > and it segfaults when I try to add things to the treestore. I figure it's because I'm > using that custom enum value. At the first glance, this doesn't seem related to your enum at all. This variation on the simplest gtkmm application will cause you the same grief! #include int main(int argc, char *argv[]) { Gtk::Window win; Gtk::Main kit(argc, argv); kit.run(win); return 0; } When win is created it checks if its type is registered with glib, and will register its type if it hasn't been. Well, the glib type database is not initialized until kit (the Gtk::Main object) is created ... My guess is that *static* DataColumns is the culprit (with or without the TreeModelColumn instantiated on your enum). That is m_modelColumns behaves as Gtk::Window does in the example above, before main(), where you presumably create a Gtk::Main object, has a chance to initialize the type registration database ... I assume that making m_modelColumn non static will eliminate the runtime errors. You will be using redundant copies thereof ... You could consider making it a pointer, and creating it the first time you need it, after :) Gtk::Main has been instantiated, then reusing that instance ... An alternative would be to follow the error message's advice: > use g_type_init() prior to this function but can't give advice on how to ensure it's called before your static object is created, and won't investigate that either, the singleton method has worked well enough for me. From pks@timing.com Mon Jan 19 00:07:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from Daffy.timing.com (smtp.timing.com [206.168.13.218]) by mail.gnome.org (Postfix) with ESMTP id 92112182CF for ; Mon, 19 Jan 2004 00:07:55 -0500 (EST) Received: from jester.timing.com (root@jester.timing.com [206.168.13.216]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i0J57sDf007262 for ; Sun, 18 Jan 2004 22:07:54 -0700 (MST) (envelope-from pks@timing.com) Received: from jester.timing.com (pks@localhost.timing.com [127.0.0.1]) by jester.timing.com (8.12.6/8.12.6) with ESMTP id i0J57svx081614 for ; Sun, 18 Jan 2004 22:07:54 -0700 (MST) (envelope-from pks@jester.timing.com) Received: (from pks@localhost) by jester.timing.com (8.12.6/8.12.6/Submit) id i0J57sbZ081611; Sun, 18 Jan 2004 22:07:54 -0700 (MST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16395.26154.771085.413384@jester.timing.com> Date: Sun, 18 Jan 2004 22:07:54 -0700 From: pks@timing.com To: Gtkmm List Subject: Re: [gtkmm] Convert Enum to GType In-Reply-To: <16395.25125.213863.500622@jester.timing.com> References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> <16395.25125.213863.500622@jester.timing.com> X-Mailer: VM 7.00 under Emacs 20.7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: pks@timing.com writes: > An alternative would be to follow the error message's advice: > > use g_type_init() prior to this function this does raise a question, which may well have been asked before. Please blow me off if you've dealt with it one too many times, and forgive me for adding another copy! why do we determine that the type system is uninitialized, complain, then crash and burn, instead of just initializing it? From murrayc@usa.net Mon Jan 19 05:34:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmsrelay02.mx.net (cmsrelay02.mx.net [165.212.11.111]) by mail.gnome.org (Postfix) with SMTP id 03853183BA for ; Mon, 19 Jan 2004 05:34:43 -0500 (EST) Received: from uadvg129.cms.usa.net (165.212.11.129) by cmsoutbound.mx.net with SMTP; 19 Jan 2004 10:34:35 -0000 Received: from uwdvg017.cms.usa.net [165.212.8.17] by uadvg129.cms.usa.net (ASMTP/) via mtad (C8.MAIN.3.11E) with ESMTP id 462iaskIh0493M29; Mon, 19 Jan 2004 10:34:33 GMT X-USANET-Auth: 165.212.8.17 AUTO murrayc@usa.net uwdvg017.cms.usa.net Received: from 194.175.117.85 [194.175.117.85] by uwdvg017.cms.usa.net (USANET web-mailer CM.0402.7.03); Mon, 19 Jan 2004 10:34:32 -0000 Date: Mon, 19 Jan 2004 11:34:32 +0100 From: Murray Cumming To: Bryan Forbes , Gtkmm List Subject: Re: [[gtkmm] Convert Enum to GType] X-Mailer: USANET web-mailer (CM.0402.7.03) Mime-Version: 1.0 Message-ID: <516iaskIG5648S17.1074508472@uwdvg017.cms.usa.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Bryan Forbes wrote: > Is there a way to take a typedef'd enum and turn it into a GType? = The reason I ask > is I'm deriving a class from Gtk::TreeStore, but my derived TreeModel u= ses an enum I made > up. By the way, I will check in some derived-treemodel changes today, to gtkm= m 2.4. It's a lot more C++-like. It should help here, because it uses Glib::Value instead of GValue, and Glib::Value does all that enum/whatever-GType stuff for you. Murray Cumming murrayc@usa.net www.murrayc.com From kgergely@mlabdial.hit.bme.hu Mon Jan 19 07:46:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id CD5641864B for ; Mon, 19 Jan 2004 07:46:54 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JCksg21866 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 13:46:54 +0100 Date: Mon, 19 Jan 2004 13:46:54 +0100 From: KONTRA Gergely To: gtkmm-list@gnome.org Message-ID: <20040119124654.GB21675@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] ItemFactory Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've seen nice Gtk code (ruby bindings), and started to learn it. During menu creation, I've come into a so called ItemFactory class. Is this widget part of gtk2? I cannot find any useful info, and I cannot find it in /usr/include. thx Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From abt@gmx.de Mon Jan 19 08:09:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 99177185E9 for ; Mon, 19 Jan 2004 08:09:38 -0500 (EST) Received: (qmail 31590 invoked by uid 65534); 19 Jan 2004 13:09:36 -0000 Received: from pD9E9473E.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.71.62) by mail.gmx.net (mp007) with SMTP; 19 Jan 2004 14:09:36 +0100 X-Authenticated: #109577 Message-ID: <400BD718.7030700@gmx.de> Date: Mon, 19 Jan 2004 14:09:44 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Size of a TextView window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I wonder how I can set the size of my TextView window within a scrolled window. Per default six lines are displayed but I only want one. I´ve tried with set_border_window_size but it has no effect... // Scrolled Window that holds text view for description m_scrolledDescWindow.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); m_DescriptionBuffer = Gtk::TextBuffer::create(); m_DescriptionBuffer->set_text("This is my text"); m_textViewDesc.set_buffer(m_DescriptionBuffer); m_textViewDesc.set_border_window_size(Gtk::TEXT_WINDOW_TOP, 2); m_scrolledDescWindow.add(m_textViewDesc); From kgergely@mlabdial.hit.bme.hu Mon Jan 19 08:40:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id 511F1188A9 for ; Mon, 19 Jan 2004 08:40:00 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JDdxj22418 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 14:39:59 +0100 Date: Mon, 19 Jan 2004 14:39:59 +0100 From: KONTRA Gergely To: gtkmm mailing list Message-ID: <20040119133958.GA22071@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] widget for displaying icons Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! Can I easily set up a widget, which will show me thumbnail images? I have a LOT of images, I want a multicolumn-multirow solution, where the number of columns depends on the widget size. thx Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From gcgg-gtkmm-list@m.gmane.org Mon Jan 19 09:06:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 175E2187CE for ; Mon, 19 Jan 2004 09:06:46 -0500 (EST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aia3B-0001bd-00 for ; Mon, 19 Jan 2004 15:06:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aia39-0001bV-00 for ; Mon, 19 Jan 2004 15:06:43 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aia39-0002nc-00 for ; Mon, 19 Jan 2004 15:06:43 +0100 From: Mike Hearn Date: Mon, 19 Jan 2004 14:10:17 +0000 Lines: 5 Message-ID: References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> <16395.25125.213863.500622@jester.timing.com> <16395.26154.771085.413384@jester.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] Re: Convert Enum to GType Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sun, 18 Jan 2004 22:07:54 -0700, pks wrote: > why do we determine that the type system is uninitialized, complain, > then crash and burn, instead of just initializing it? That probably wouldn't be thread safe. From drink_n_park@hotmail.com Mon Jan 19 09:12:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (law10-f78.law10.hotmail.com [64.4.15.78]) by mail.gnome.org (Postfix) with ESMTP id 3BC3D18903 for ; Mon, 19 Jan 2004 09:12:24 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 19 Jan 2004 06:12:23 -0800 Received: from 203.217.38.178 by lw10fd.law10.hotmail.msn.com with HTTP; Mon, 19 Jan 2004 14:12:23 GMT X-Originating-IP: [203.217.38.178] X-Originating-Email: [drink_n_park@hotmail.com] X-Sender: drink_n_park@hotmail.com From: "Drinkin Park" To: chris@cvine.freeserve.co.uk, gtkmm-list@gnome.org Subject: Re: [gtkmm] Function pointers question (gtkmm related) Date: Mon, 19 Jan 2004 14:12:23 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Jan 2004 14:12:23.0352 (UTC) FILETIME=[4231B380:01C3DE96] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks for the help :) >From: Chris Vine >To: "Drinkin Park" , gtkmm-list@gnome.org >Subject: Re: [gtkmm] Function pointers question (gtkmm related) >Date: Sun, 18 Jan 2004 18:11:50 +0000 > >On Sunday 18 January 2004 1:36 pm, Drinkin Park wrote: > >[snip] > > > MyToolbar::MyToolbar() { > > ... > > push_back(StockElem(Gtk::Stock::NEW, > > SigC::slot(*this, &OtherClass::newButtonClicked), "New")); > ^^^^^^ > >You are not passing the right object to the slot. You need to pass an >object >of type OtherClass. > >Chris. > > _________________________________________________________________ Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp From yzine_zjdt@yahoo.com Mon Jan 19 10:39:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web20726.mail.yahoo.com (web20726.mail.yahoo.com [216.136.226.109]) by mail.gnome.org (Postfix) with SMTP id 6600C18270 for ; Mon, 19 Jan 2004 10:39:49 -0500 (EST) Message-ID: <20040119153945.14882.qmail@web20726.mail.yahoo.com> Received: from [156.56.116.58] by web20726.mail.yahoo.com via HTTP; Mon, 19 Jan 2004 07:39:45 PST Date: Mon, 19 Jan 2004 07:39:45 -0800 (PST) From: L Yang To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-697103962-1074526785=:14281" Subject: [gtkmm] Set a unicode string as the label of button Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --0-697103962-1074526785=:14281 Content-Type: text/plain; charset=us-ascii Dear all, I have a txt file, coded with unicode (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian. gedit told me it's Unicode UTF-16) How to search " Lingyun Yang ..... Thank you in advance! #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;Lingyun Yang #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;yzine@etang.com #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;2004-01-19 --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-697103962-1074526785=:14281 Content-Type: text/html; charset=us-ascii
Dear all,
  I have a txt file, coded with unicode
(MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian.
gedit told me it's Unicode UTF-16)
How to search "<!" in it and how to make it the caption or label of a button
(I am using set_label() from gtkmm and glib::ustring seems doesn't work
and I'm working with dev-c++ under windows)
or even better, could you give me a hint or help to parse this txt file?
it's orgnized like XML format:
<RECORD>
  <FIRST NAME>Lingyun<FIRST NAME>
  <LAST NAME>Yang</LAST NAME>
</RECORD>
<RECORD>
.....
</RECORD>
     
Thank you in advance!
        Lingyun Yang
        yzine@etang.com
          2004-01-19


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-697103962-1074526785=:14281-- From abas@aix.meng.auth.gr Mon Jan 19 11:57:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id 0DDA718431 for ; Mon, 19 Jan 2004 11:57:15 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1Aichx-0001P5-00; Mon, 19 Jan 2004 18:57:01 +0200 Subject: Re: [gtkmm] Set a unicode string as the label of button From: Anastasios Bassoukos To: L Yang Cc: gtkmm-list@gnome.org In-Reply-To: <20040119153945.14882.qmail@web20726.mail.yahoo.com> References: <20040119153945.14882.qmail@web20726.mail.yahoo.com> Content-Type: multipart/alternative; boundary="=-s0dNXruK0qvWbL7ne2Fw" Organization: LHTEE, AUTh Message-Id: <1074531420.3765.1.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 19 Jan 2004 18:57:00 +0200 X-Scanner: exiscan *1Aichx-0001P5-00*lfhfBnxbB9I* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-s0dNXruK0qvWbL7ne2Fw Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2004-01-19 at 17:39, L Yang wrote: > Dear all, > I have a txt file, coded with unicode > (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or > Big-Endian. > gedit told me it's Unicode UTF-16) > How to search " button > (I am using set_label() from gtkmm and glib::ustring seems doesn't > work > and I'm working with dev-c++ under windows) > or even better, could you give me a hint or help to parse this txt > file? > it's orgnized like XML format: > > Lingyun > Yang > > > ..... > > > Thank you in advance! Use the iconv command to transcode the file to UTF-8 and the use standard XML parsing techniques. HTH, Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri --=-s0dNXruK0qvWbL7ne2Fw Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit On Mon, 2004-01-19 at 17:39, L Yang wrote:
Dear all,
  I have a txt file, coded with unicode
(MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian.
gedit told me it's Unicode UTF-16)
How to search "<!" in it and how to make it the caption or label of a button
(I am using set_label() from gtkmm and glib::ustring seems doesn't work
and I'm working with dev-c++ under windows)
or even better, could you give me a hint or help to parse this txt file?
it's orgnized like XML format:
<RECORD>
  <FIRST NAME>Lingyun<FIRST NAME>
  <LAST NAME>Yang</LAST NAME>
</RECORD>
<RECORD>
.....
</RECORD>
     
Thank you in advance!

Use the iconv command to transcode the file to UTF-8 and the use standard XML parsing techniques.

HTH,
Tassos

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master." 
	-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri
--=-s0dNXruK0qvWbL7ne2Fw-- From Murray.Cumming@Comneon.com Mon Jan 19 12:42:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7072F185E6 for ; Mon, 19 Jan 2004 12:42:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JHcZDb002938; Mon, 19 Jan 2004 18:38:35 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 18:43:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A7D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: yzine_zjdt@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Set a unicode string as the label of button Date: Mon, 19 Jan 2004 18:42:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-2022-jp" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Glib::convert() can convert between text encodings: http://www.gtkmm.org/gtkmm2/docs/reference/html/group__CharsetConv.html You might wish to use libxml++ for XML parsing in C++: http://libxmlplusplus.sourceforge.net/ Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of L Yang Sent: Montag, 19. Januar 2004 16:40 To: gtkmm-list@gnome.org Subject: [gtkmm] Set a unicode string as the label of button Dear all, I have a txt file, coded with unicode (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian. gedit told me it's Unicode UTF-16) How to search " Lingyun Yang ..... Thank you in advance! $B!!!!!!!!!!!!!!!!(JLingyun Yang $B!!!!!!!!!!!!!!!!(Jyzine@etang.com $B!!!!!!!!!!!!!!!!!!!!(J2004-01-19 Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes From kgergely@mlabdial.hit.bme.hu Mon Jan 19 13:00:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id AD5DD184B2 for ; Mon, 19 Jan 2004 13:00:03 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JI02g25116 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 19:00:02 +0100 Date: Mon, 19 Jan 2004 19:00:02 +0100 From: KONTRA Gergely To: gtkmm mailing list Subject: Re: [gtkmm] Set a unicode string as the label of button Message-ID: <20040119180002.GA25094@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 0119, L Yang wrote: > I have a txt file, coded with unicode > (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or > Big-Endian. > gedit told me it's Unicode UTF-16) > or even better, could you give me a hint or help to parse this txt > file? > it's orgnized like XML format: Give vim a try. I can handle extreme character sets, knows utf-8, and so on... official: ftp://ftp.vim.org/pub/vim/pc/gvim62.exe unofficial (patched): http://cream.sourceforge.net/gvim-6-2-170.exe If you don't know vim, you can use it, as a notepad, just click on the created vim easy icon. It behaves almost like notepad. But it's a great text editor, and you can use it for compiling gtk project as well... Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ ----- End forwarded message ----- -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From Murray.Cumming@Comneon.com Mon Jan 19 12:46:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 3006018612 for ; Mon, 19 Jan 2004 12:46:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JHflDb016397; Mon, 19 Jan 2004 18:41:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 18:46:19 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pierric@descamps.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview .cc Date: Mon, 19 Jan 2004 18:45:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an > old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, > 2.0.2, and 2.2.8. In any case, I get the following error: gtkmm 2.0 does not build with GTK+ 2.2. gtkmm 2.2 should have no such problems - please check again. Murray Cumming www.murrayc.com murrayc@usa.net From DonScorgie@Blueyonder.co.uk Mon Jan 19 13:30:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp-out7.blueyonder.co.uk (smtp-out7.blueyonder.co.uk [195.188.213.10]) by mail.gnome.org (Postfix) with ESMTP id A6B8318406 for ; Mon, 19 Jan 2004 13:30:37 -0500 (EST) Received: from 82-41-53-103.cable.ubr07.edin.blueyonder.co.uk ([82.41.53.103]) by smtp-out7.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Mon, 19 Jan 2004 18:30:56 +0000 From: Donald To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1074537036.2594.8.camel@Madaline.mydomain.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 19 Jan 2004 18:30:36 +0000 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jan 2004 18:30:56.0622 (UTC) FILETIME=[60D2D8E0:01C3DEBA] Subject: [gtkmm] Gtk::Image and Eventbox Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: hi, I'm new here, so don't be too hard. I've been using gtkmm for a while, but run across a problem. I have a window containing a Gtk::Image which is set with a Gdk::Image / Gdk::Pixmap. I need to recieve events on this, so I proceeded to put it in an eventbox. The problem arises when I try to connect a signal up to it. With no signal (i.e. the eventbox is doing nothing), it is fine and the image displays properly. But when a signal is connected up, the Image / eventbox is displayed as grey. I've check this on the archives and Google, and the nearest I come was a posting saying that the background color of the eventbox can be changed, but nothing else relavent. So, my question after all this rambling is, can I get my Image to display with signals, or do I have to go look for another way to do this? Cheers Don From Murray.Cumming@Comneon.com Mon Jan 19 16:26:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C46C418673 for ; Mon, 19 Jan 2004 16:26:05 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JLLnDb009247; Mon, 19 Jan 2004 22:21:49 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 22:26:21 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: DonScorgie@Blueyonder.co.uk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::Image and Eventbox Date: Mon, 19 Jan 2004 22:25:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've been using gtkmm for a while, but run across a problem. > > I have a window containing a Gtk::Image which is set with a > Gdk::Image / Gdk::Pixmap. > > I need to recieve events on this, so I proceeded to put it in > an eventbox. > > The problem arises when I try to connect a signal up to it. > > With no signal (i.e. the eventbox is doing nothing), it is > fine and the image displays properly. But when a signal is > connected up, the Image / eventbox is displayed as grey. You should probably tell us exactly what signal you are talking about. But I guess that you probably just need to use the correct return type in your event signal handler: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/apbs06.html Murray Cumming www.murrayc.com murrayc@usa.net From pierric@descamps.net Mon Jan 19 16:03:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.insa-lyon.fr (csiges9.insa-lyon.fr [134.214.79.200]) by mail.gnome.org (Postfix) with ESMTP id 132E9189AD for ; Mon, 19 Jan 2004 16:03:47 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.insa-lyon.fr (Postfix) with ESMTP id D10254B4E4 for ; Mon, 19 Jan 2004 22:03:38 +0100 (CET) Received: from J534-a.resJ.insa-lyon.fr (J534-a.resJ.insa-lyon.fr [134.214.166.190]) by mail.insa-lyon.fr (Postfix) with SMTP id DB2174B5F9 for ; Mon, 19 Jan 2004 22:03:36 +0100 (CET) Date: Mon, 19 Jan 2004 22:05:10 +0000 From: Pierric Descamps To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview .cc Message-Id: <20040119220510.48f22caa.pierric@descamps.net> In-Reply-To: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> Organization: X-Mailer: Sylpheed version 0.9.4-gtk2-20030802 (GTK+ 2.2.2; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd 0.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm really sorry. Why is it that every time I post a message, I forget to double-check? Version 2.2.8 actually compiled, though I was completly sure it once failed. Maybe the fact that I updated glib from 2.1.something to 2.2.something helped. I don't know. But it now works, thanks a lot. You might hear from me for stupid newbie questions in the near future. :-) Pierric. On Mon, 19 Jan 2004 18:45:56 +0100 Murray.Cumming@Comneon.com wrote: > > I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an > > old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, > > 2.0.2, and 2.2.8. In any case, I get the following error: > > gtkmm 2.0 does not build with GTK+ 2.2. gtkmm 2.2 should have no such > problems - please check again. > > Murray Cumming > www.murrayc.com > murrayc@usa.net > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From hellish@comcast.net Mon Jan 19 19:33:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mail.gnome.org (Postfix) with ESMTP id DE52418283 for ; Mon, 19 Jan 2004 19:33:26 -0500 (EST) Received: from osiris (c-24-20-76-138.client.comcast.net[24.20.76.138]) by comcast.net (sccrmhc12) with SMTP id <20040120003325012001sdm0e> (Authid: hellish); Tue, 20 Jan 2004 00:33:25 +0000 Date: Mon, 19 Jan 2004 16:33:18 -0800 From: Nick Nolan To: gtkmm-list Message-Id: <20040119163318.0eaba60a.hellish@comcast.net> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; powerpc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j" Subject: [gtkmm] libglademm problem... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit I can compile my extremely simple program fine, but when I run it I get: hellish@Osiris:~/hacking/space-battle/src$ ./a.out (a.out:28347): libglade-WARNING **: Expected . Got . (a.out:28347): libglade-WARNING **: did not finish in PARSER_FINISH state Aborted anyone know what that means? google and list archives turn up nothing. code: #include #include int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Glib::RefPtr refXml = Gnome::Glade::Xml::create("space-battle.glade"); return 0; } The .glade is attached if it's of any interest. Thanks in advance, Nick Nolan --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFADHdUpa1ZoSmkxrkRAi+HAJ95j9aXR+fK3T857EHPdOfhz5W6+ACeLbKT vegTejoGoCFQV8GvbYDb3co= =pyK2 -----END PGP SIGNATURE----- --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j-- From hellish@comcast.net Mon Jan 19 19:51:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mail.gnome.org (Postfix) with ESMTP id 74D121815B for ; Mon, 19 Jan 2004 19:51:54 -0500 (EST) Received: from osiris (c-24-20-76-138.client.comcast.net[24.20.76.138]) by comcast.net (rwcrmhc11) with SMTP id <20040120005149013007u9l0e> (Authid: hellish); Tue, 20 Jan 2004 00:51:50 +0000 Date: Mon, 19 Jan 2004 16:51:31 -0800 From: Nick Nolan To: gtkmm-list@gnome.org Subject: Re: [gtkmm] libglademm problem... Message-Id: <20040119165131.636fd793.hellish@comcast.net> In-Reply-To: <20040119163318.0eaba60a.hellish@comcast.net> References: <20040119163318.0eaba60a.hellish@comcast.net> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; powerpc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn Content-Type: multipart/mixed; boundary="Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD" --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Mon, 19 Jan 2004 16:33:18 -0800 Nick Nolan wrote: > The .glade is attached if it's of any interest. oops... anyway here's the glade --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD Content-Type: application/octet-stream; name="space-battle.glade" Content-Disposition: attachment; filename="space-battle.glade" Content-Transfer-Encoding: base64 PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxHVEstSW50ZXJmYWNlPgoKPHByb2plY3Q+CiAgPG5hbWU+ c3BhY2UtYmF0dGxlPC9uYW1lPgogIDxwcm9ncmFtX25hbWU+c3BhY2UtYmF0dGxlPC9wcm9ncmFt X25hbWU+CiAgPGRpcmVjdG9yeT48L2RpcmVjdG9yeT4KICA8c291cmNlX2RpcmVjdG9yeT5zcmM8 L3NvdXJjZV9kaXJlY3Rvcnk+CiAgPHBpeG1hcHNfZGlyZWN0b3J5PnBpeG1hcHM8L3BpeG1hcHNf ZGlyZWN0b3J5PgogIDxsYW5ndWFnZT5DKys8L2xhbmd1YWdlPgogIDxnbm9tZV9zdXBwb3J0PkZh bHNlPC9nbm9tZV9zdXBwb3J0PgogIDxnZXR0ZXh0X3N1cHBvcnQ+VHJ1ZTwvZ2V0dGV4dF9zdXBw b3J0PgogIDxvdXRwdXRfbWFpbl9maWxlPkZhbHNlPC9vdXRwdXRfbWFpbl9maWxlPgogIDxvdXRw dXRfc3VwcG9ydF9maWxlcz5GYWxzZTwvb3V0cHV0X3N1cHBvcnRfZmlsZXM+CiAgPG91dHB1dF9i dWlsZF9maWxlcz5GYWxzZTwvb3V0cHV0X2J1aWxkX2ZpbGVzPgogIDxiYWNrdXBfc291cmNlX2Zp bGVzPkZhbHNlPC9iYWNrdXBfc291cmNlX2ZpbGVzPgo8L3Byb2plY3Q+Cgo8d2lkZ2V0PgogIDxj bGFzcz5HdGtXaW5kb3c8L2NsYXNzPgogIDxuYW1lPk1haW5XaW5kb3c8L25hbWU+CiAgPHRpdGxl PlNwYWNlIEJhdHRsZSE8L3RpdGxlPgogIDx0eXBlPkdUS19XSU5ET1dfVE9QTEVWRUw8L3R5cGU+ CiAgPHBvc2l0aW9uPkdUS19XSU5fUE9TX05PTkU8L3Bvc2l0aW9uPgogIDxtb2RhbD5GYWxzZTwv bW9kYWw+CiAgPGFsbG93X3Nocmluaz5GYWxzZTwvYWxsb3dfc2hyaW5rPgogIDxhbGxvd19ncm93 PlRydWU8L2FsbG93X2dyb3c+CiAgPGF1dG9fc2hyaW5rPkZhbHNlPC9hdXRvX3Nocmluaz4KCiAg PHdpZGdldD4KICAgIDxjbGFzcz5HdGtWQm94PC9jbGFzcz4KICAgIDxuYW1lPnZib3gxPC9uYW1l PgogICAgPGhvbW9nZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAgIDxzcGFjaW5nPjA8L3Nw YWNpbmc+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0ltYWdlPC9jbGFzcz4KICAgICAg PG5hbWU+aW1hZ2UxPC9uYW1lPgogICAgICA8eGFsaWduPjAuNTwveGFsaWduPgogICAgICA8eWFs aWduPjAuNTwveWFsaWduPgogICAgICA8eHBhZD4wPC94cGFkPgogICAgICA8eXBhZD4wPC95cGFk PgogICAgICA8aW1hZ2Vfd2lkdGg+NTEyPC9pbWFnZV93aWR0aD4KICAgICAgPGltYWdlX2hlaWdo dD4yNTY8L2ltYWdlX2hlaWdodD4KICAgICAgPGltYWdlX3R5cGU+R0RLX0lNQUdFX05PUk1BTDwv aW1hZ2VfdHlwZT4KICAgICAgPGltYWdlX3Zpc3VhbD5HREtfVklTVUFMX1NZU1RFTTwvaW1hZ2Vf dmlzdWFsPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5UcnVl PC9leHBhbmQ+Cgk8ZmlsbD5UcnVlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRnZXQ+ CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1l PkNvbmZpZ3VyZVNlcnZlckJ1dHRvbjwvbmFtZT4KICAgICAgPGNhbl9mb2N1cz5UcnVlPC9jYW5f Zm9jdXM+CiAgICAgIDxsYWJlbD5TdGFydCBhIG5ldyBnYW1lIChsYXVuY2ggc2VydmVyKTwvbGFi ZWw+CiAgICAgIDxyZWxpZWY+R1RLX1JFTElFRl9OT1JNQUw8L3JlbGllZj4KICAgICAgPGNoaWxk PgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+RmFsc2U8L2V4cGFuZD4KCTxmaWxsPkZh bHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAg ICAgPGNsYXNzPkd0a0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1lPkNvbm5lY3RCdXR0b248L25h bWU+CiAgICAgIDxjYW5fZm9jdXM+VHJ1ZTwvY2FuX2ZvY3VzPgogICAgICA8bGFiZWw+Q29ubmVj dCB0byBhIGN1cnJlbnQgZ2FtZTwvbGFiZWw+CiAgICAgIDxyZWxpZWY+R1RLX1JFTElFRl9OT1JN QUw8L3JlbGllZj4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+ RmFsc2U8L2V4cGFuZD4KCTxmaWxsPkZhbHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93 aWRnZXQ+CiAgPC93aWRnZXQ+Cjwvd2lkZ2V0PgoKPHdpZGdldD4KICA8Y2xhc3M+R3RrV2luZG93 PC9jbGFzcz4KICA8bmFtZT5TdGFydFNlcnZlcldpbmRvdzwvbmFtZT4KICA8dGl0bGU+U3RhcnRp bmcgYSBnYW1lLi4uPC90aXRsZT4KICA8dHlwZT5HVEtfV0lORE9XX1RPUExFVkVMPC90eXBlPgog IDxwb3NpdGlvbj5HVEtfV0lOX1BPU19OT05FPC9wb3NpdGlvbj4KICA8bW9kYWw+RmFsc2U8L21v ZGFsPgogIDxhbGxvd19zaHJpbms+RmFsc2U8L2FsbG93X3Nocmluaz4KICA8YWxsb3dfZ3Jvdz5U cnVlPC9hbGxvd19ncm93PgogIDxhdXRvX3Nocmluaz5GYWxzZTwvYXV0b19zaHJpbms+CgogIDx3 aWRnZXQ+CiAgICA8Y2xhc3M+R3RrVkJveDwvY2xhc3M+CiAgICA8bmFtZT52Ym94MjwvbmFtZT4K ICAgIDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICA8c3BhY2luZz4wPC9zcGFj aW5nPgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtMYWJlbDwvY2xhc3M+CiAgICAgIDxu YW1lPmxhYmVsMTwvbmFtZT4KICAgICAgPGxhYmVsPlN0YXJ0aW5nIGEgbmV3IFNwYWNlIEJhdHRs ZSBnYW1lPC9sYWJlbD4KICAgICAgPGp1c3RpZnk+R1RLX0pVU1RJRllfQ0VOVEVSPC9qdXN0aWZ5 PgogICAgICA8d3JhcD5GYWxzZTwvd3JhcD4KICAgICAgPHhhbGlnbj4wLjU8L3hhbGlnbj4KICAg ICAgPHlhbGlnbj4wLjU8L3lhbGlnbj4KICAgICAgPHhwYWQ+MDwveHBhZD4KICAgICAgPHlwYWQ+ MDwveXBhZD4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+RmFs c2U8L2V4cGFuZD4KCTxmaWxsPkZhbHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRn ZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0hCb3g8L2NsYXNzPgogICAgICA8bmFt ZT5oYm94MTwvbmFtZT4KICAgICAgPGhvbW9nZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAg ICAgPHNwYWNpbmc+MDwvc3BhY2luZz4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGlu Zz4KCTxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJPGZpbGw+VHJ1ZTwvZmlsbD4KICAgICAgPC9jaGls ZD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+R3RrTGFiZWw8L2NsYXNzPgoJPG5hbWU+bGFiZWwy PC9uYW1lPgoJPGxhYmVsPlBvcnQ/PC9sYWJlbD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZX0NFTlRF UjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGlnbj4KCTx5 YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4wPC94cGFkPgoJPHlwYWQ+MDwveXBhZD4KCTxjaGls ZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJICA8 ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgoKICAgICAgPHdpZGdl dD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+Cgk8bmFtZT5Qb3J0RW50cnk8L25hbWU+Cgk8Y2Fu X2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxlZGl0YWJsZT5UcnVlPC9lZGl0YWJsZT4KCTx0ZXh0 X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxlPgoJPHRleHRfbWF4X2xlbmd0aD4wPC90ZXh0X21h eF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+ CgkgIDxleHBhbmQ+RmFsc2U8L2V4cGFuZD4KCSAgPGZpbGw+RmFsc2U8L2ZpbGw+Cgk8L2NoaWxk PgogICAgICA8L3dpZGdldD4KICAgIDwvd2lkZ2V0PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFz cz5HdGtDaGVja0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1lPlBsYXlJblRoaXNHYW1lPC9uYW1l PgogICAgICA8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KICAgICAgPGxhYmVsPlBsYXkgaW4g dGhpcyBnYW1lPzwvbGFiZWw+CiAgICAgIDxhY3RpdmU+RmFsc2U8L2FjdGl2ZT4KICAgICAgPGRy YXdfaW5kaWNhdG9yPlRydWU8L2RyYXdfaW5kaWNhdG9yPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGlu Zz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+ CiAgICAgIDwvY2hpbGQ+CiAgICA8L3dpZGdldD4KCiAgICA8d2lkZ2V0PgogICAgICA8Y2xhc3M+ R3RrSEJveDwvY2xhc3M+CiAgICAgIDxuYW1lPmhib3gyPC9uYW1lPgogICAgICA8aG9tb2dlbmVv dXM+RmFsc2U8L2hvbW9nZW5lb3VzPgogICAgICA8c3BhY2luZz4wPC9zcGFjaW5nPgogICAgICA8 Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZp bGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0 a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVsMzwvbmFtZT4KCTxsYWJlbD5UdXJucyBwZXIgaG91 cj88L2xhYmVsPgoJPGp1c3RpZnk+R1RLX0pVU1RJRllfQ0VOVEVSPC9qdXN0aWZ5PgoJPHdyYXA+ RmFsc2U8L3dyYXA+Cgk8eGFsaWduPjAuNTwveGFsaWduPgoJPHlhbGlnbj4wLjU8L3lhbGlnbj4K CTx4cGFkPjA8L3hwYWQ+Cgk8eXBhZD4wPC95cGFkPgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9w YWRkaW5nPgoJICA8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+CgkgIDxmaWxsPkZhbHNlPC9maWxsPgoJ PC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0VudHJ5 PC9jbGFzcz4KCTxuYW1lPlRQSEVudHJ5PC9uYW1lPgoJPGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9j dXM+Cgk8ZWRpdGFibGU+VHJ1ZTwvZWRpdGFibGU+Cgk8dGV4dF92aXNpYmxlPlRydWU8L3RleHRf dmlzaWJsZT4KCTx0ZXh0X21heF9sZW5ndGg+MDwvdGV4dF9tYXhfbGVuZ3RoPgoJPHRleHQ+PC90 ZXh0PgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRkaW5nPgoJICA8ZXhwYW5kPlRydWU8L2V4 cGFuZD4KCSAgPGZpbGw+VHJ1ZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgogICAg PC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0NoZWNrQnV0dG9uPC9jbGFz cz4KICAgICAgPG5hbWU+Y2hlY2tidXR0b24xPC9uYW1lPgogICAgICA8Y2FuX2ZvY3VzPlRydWU8 L2Nhbl9mb2N1cz4KICAgICAgPGxhYmVsPkxhdW5jaCBsb2cgdmlld2VyPyBsb2dzIGFyZSBhdCB+ Ly5zcGFjZS1iYXR0bGUvbG9nPC9sYWJlbD4KICAgICAgPGFjdGl2ZT5GYWxzZTwvYWN0aXZlPgog ICAgICA8ZHJhd19pbmRpY2F0b3I+VHJ1ZTwvZHJhd19pbmRpY2F0b3I+CiAgICAgIDxjaGlsZD4K CTxwYWRkaW5nPjA8L3BhZGRpbmc+Cgk8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+Cgk8ZmlsbD5GYWxz ZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KICAgIDwvd2lkZ2V0PgoKICAgIDx3aWRnZXQ+CiAgICAg IDxjbGFzcz5HdGtCdXR0b248L2NsYXNzPgogICAgICA8bmFtZT5TdGFydFNlcnZlckJ1dHRvbjwv bmFtZT4KICAgICAgPGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9jdXM+CiAgICAgIDxsYWJlbD5MZXQg dGhlIGdhbWUgYmVnaW4hPC9sYWJlbD4KICAgICAgPHJlbGllZj5HVEtfUkVMSUVGX05PUk1BTDwv cmVsaWVmPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxz ZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+CiAgICA8L3dpZGdl dD4KICA8L3dpZGdldD4KPC93aWRnZXQ+Cgo8d2lkZ2V0PgogIDxjbGFzcz5HdGtXaW5kb3c8L2Ns YXNzPgogIDxuYW1lPkNvbm5lY3RXaW5kb3c8L25hbWU+CiAgPHRpdGxlPkNvbm5lY3RpbmcgdG8g YSBnYW1lLi4uPC90aXRsZT4KICA8dHlwZT5HVEtfV0lORE9XX1RPUExFVkVMPC90eXBlPgogIDxw b3NpdGlvbj5HVEtfV0lOX1BPU19OT05FPC9wb3NpdGlvbj4KICA8bW9kYWw+RmFsc2U8L21vZGFs PgogIDxhbGxvd19zaHJpbms+RmFsc2U8L2FsbG93X3Nocmluaz4KICA8YWxsb3dfZ3Jvdz5UcnVl PC9hbGxvd19ncm93PgogIDxhdXRvX3Nocmluaz5GYWxzZTwvYXV0b19zaHJpbms+CgogIDx3aWRn ZXQ+CiAgICA8Y2xhc3M+R3RrVkJveDwvY2xhc3M+CiAgICA8bmFtZT52Ym94MzwvbmFtZT4KICAg IDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICA8c3BhY2luZz4wPC9zcGFjaW5n PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtIQm94PC9jbGFzcz4KICAgICAgPG5hbWU+ aGJveDM8L25hbWU+CiAgICAgIDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICAg IDxzcGFjaW5nPjA8L3NwYWNpbmc+CiAgICAgIDxjaGlsZD4KCTxwYWRkaW5nPjA8L3BhZGRpbmc+ Cgk8ZXhwYW5kPlRydWU8L2V4cGFuZD4KCTxmaWxsPlRydWU8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+ CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVsNDwv bmFtZT4KCTxsYWJlbD5JUCBvZiBzZXJ2ZXI/PC9sYWJlbD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZ X0NFTlRFUjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGln bj4KCTx5YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4wPC94cGFkPgoJPHlwYWQ+MDwveXBhZD4K CTxjaGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5k PgoJICA8ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgoKICAgICAg PHdpZGdldD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+Cgk8bmFtZT5JUEVudHJ5PC9uYW1lPgoJ PGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9jdXM+Cgk8ZWRpdGFibGU+VHJ1ZTwvZWRpdGFibGU+Cgk8 dGV4dF92aXNpYmxlPlRydWU8L3RleHRfdmlzaWJsZT4KCTx0ZXh0X21heF9sZW5ndGg+MDwvdGV4 dF9tYXhfbGVuZ3RoPgoJPHRleHQ+PC90ZXh0PgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRk aW5nPgoJICA8ZXhwYW5kPlRydWU8L2V4cGFuZD4KCSAgPGZpbGw+VHJ1ZTwvZmlsbD4KCTwvY2hp bGQ+CiAgICAgIDwvd2lkZ2V0PgogICAgPC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNs YXNzPkd0a0hCb3g8L2NsYXNzPgogICAgICA8bmFtZT5oYm94NDwvbmFtZT4KICAgICAgPGhvbW9n ZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAgICAgPHNwYWNpbmc+MDwvc3BhY2luZz4KICAg ICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJ PGZpbGw+VHJ1ZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+ R3RrTGFiZWw8L2NsYXNzPgoJPG5hbWU+bGFiZWw1PC9uYW1lPgoJPGxhYmVsPlBvcnQ/PC9sYWJl bD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZX0NFTlRFUjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93 cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGlnbj4KCTx5YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4w PC94cGFkPgoJPHlwYWQ+MDwveXBhZD4KCTxjaGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4K CSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJICA8ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+ CiAgICAgIDwvd2lkZ2V0PgoKICAgICAgPHdpZGdldD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+ Cgk8bmFtZT5Qb3J0RW50cnk8L25hbWU+Cgk8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxl ZGl0YWJsZT5UcnVlPC9lZGl0YWJsZT4KCTx0ZXh0X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxl PgoJPHRleHRfbWF4X2xlbmd0aD4wPC90ZXh0X21heF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8 Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+CgkgIDxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJ ICA8ZmlsbD5UcnVlPC9maWxsPgoJPC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CiAgICA8L3dpZGdl dD4KCiAgICA8d2lkZ2V0PgogICAgICA8Y2xhc3M+R3RrSEJveDwvY2xhc3M+CiAgICAgIDxuYW1l Pmhib3g1PC9uYW1lPgogICAgICA8aG9tb2dlbmVvdXM+RmFsc2U8L2hvbW9nZW5lb3VzPgogICAg ICA8c3BhY2luZz4wPC9zcGFjaW5nPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5n PgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hp bGQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVs NzwvbmFtZT4KCTxsYWJlbD5Vc2VybmFtZT88L2xhYmVsPgoJPGp1c3RpZnk+R1RLX0pVU1RJRllf Q0VOVEVSPC9qdXN0aWZ5PgoJPHdyYXA+RmFsc2U8L3dyYXA+Cgk8eGFsaWduPjAuNTwveGFsaWdu PgoJPHlhbGlnbj4wLjU8L3lhbGlnbj4KCTx4cGFkPjA8L3hwYWQ+Cgk8eXBhZD4wPC95cGFkPgoJ PGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRkaW5nPgoJICA8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+ CgkgIDxmaWxsPkZhbHNlPC9maWxsPgoJPC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8 d2lkZ2V0PgoJPGNsYXNzPkd0a0VudHJ5PC9jbGFzcz4KCTxuYW1lPlVzZXJuYW1lRW50cnk8L25h bWU+Cgk8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxlZGl0YWJsZT5UcnVlPC9lZGl0YWJs ZT4KCTx0ZXh0X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxlPgoJPHRleHRfbWF4X2xlbmd0aD4w PC90ZXh0X21heF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8 L3BhZGRpbmc+CgkgIDxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJICA8ZmlsbD5UcnVlPC9maWxsPgoJ PC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVs PC9jbGFzcz4KCTxuYW1lPmxhYmVsODwvbmFtZT4KCTxsYWJlbD5QYXNzd29yZDwvbGFiZWw+Cgk8 anVzdGlmeT5HVEtfSlVTVElGWV9DRU5URVI8L2p1c3RpZnk+Cgk8d3JhcD5GYWxzZTwvd3JhcD4K CTx4YWxpZ24+MC41PC94YWxpZ24+Cgk8eWFsaWduPjAuNTwveWFsaWduPgoJPHhwYWQ+MDwveHBh ZD4KCTx5cGFkPjA8L3lwYWQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+CgkgIDxl eHBhbmQ+RmFsc2U8L2V4cGFuZD4KCSAgPGZpbGw+RmFsc2U8L2ZpbGw+Cgk8L2NoaWxkPgogICAg ICA8L3dpZGdldD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+R3RrRW50cnk8L2NsYXNzPgoJPG5h bWU+UGFzc3dvcmRFbnRyeTwvbmFtZT4KCTxjYW5fZm9jdXM+VHJ1ZTwvY2FuX2ZvY3VzPgoJPGVk aXRhYmxlPlRydWU8L2VkaXRhYmxlPgoJPHRleHRfdmlzaWJsZT5UcnVlPC90ZXh0X3Zpc2libGU+ Cgk8dGV4dF9tYXhfbGVuZ3RoPjA8L3RleHRfbWF4X2xlbmd0aD4KCTx0ZXh0PjwvdGV4dD4KCTxj aGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5UcnVlPC9leHBhbmQ+Cgkg IDxmaWxsPlRydWU8L2ZpbGw+Cgk8L2NoaWxkPgogICAgICA8L3dpZGdldD4KICAgIDwvd2lkZ2V0 PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtCdXR0b248L2NsYXNzPgogICAgICA8bmFt ZT5Kb2luQnV0dG9uPC9uYW1lPgogICAgICA8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KICAg ICAgPGxhYmVsPkpvaW48L2xhYmVsPgogICAgICA8cmVsaWVmPkdUS19SRUxJRUZfTk9STUFMPC9y ZWxpZWY+CiAgICAgIDxjaGlsZD4KCTxwYWRkaW5nPjA8L3BhZGRpbmc+Cgk8ZXhwYW5kPkZhbHNl PC9leHBhbmQ+Cgk8ZmlsbD5GYWxzZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KICAgIDwvd2lkZ2V0 PgogIDwvd2lkZ2V0Pgo8L3dpZGdldD4KCjwvR1RLLUludGVyZmFjZT4K --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD-- --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFADHukpa1ZoSmkxrkRAvfiAKCMb9d++rvGHbxDhONPw69IhvRhZQCfV4Yr 3PctZWP2ZTmMh/Yq5vQU3cg= =e9Qq -----END PGP SIGNATURE----- --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn-- From billyoc@gnuyork.org Mon Jan 19 20:40:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 9BD731819A for ; Mon, 19 Jan 2004 20:40:44 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Aikpy-0001In-62; Mon, 19 Jan 2004 20:37:50 -0500 To: Nick Nolan Cc: gtkmm-list Subject: Re: [gtkmm] libglademm problem... References: <20040119163318.0eaba60a.hellish@comcast.net> From: Billy O'Connor Date: Mon, 19 Jan 2004 20:37:49 -0500 In-Reply-To: <20040119163318.0eaba60a.hellish@comcast.net> (Nick Nolan's message of "Mon, 19 Jan 2004 16:33:18 -0800") Message-ID: <87d69ftn6a.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Nick Nolan writes: > I can compile my extremely simple program fine, but when I run it I get: > > hellish@Osiris:~/hacking/space-battle/src$ ./a.out > > (a.out:28347): libglade-WARNING **: Expected . Got . > > (a.out:28347): libglade-WARNING **: did not finish in PARSER_FINISH state > Aborted > > > anyone know what that means? google and list archives turn up nothing. > > code: > #include > #include > int main(int argc, char *argv[]) > { > Gtk::Main kit(argc, argv); > > > Glib::RefPtr refXml = Gnome::Glade::Xml::create("space-battle.glade"); > return 0; > } There's something wrong with that glade file, did you use an older version of glade to produce it? It's not the correct syntax at all, and glade itself wouldn't even load it here. From yzine_zjdt@yahoo.com Tue Jan 20 00:41:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web20723.mail.yahoo.com (web20723.mail.yahoo.com [216.136.226.77]) by mail.gnome.org (Postfix) with SMTP id 72EF61849C for ; Tue, 20 Jan 2004 00:41:58 -0500 (EST) Message-ID: <20040120054157.14110.qmail@web20723.mail.yahoo.com> Received: from [156.56.123.49] by web20723.mail.yahoo.com via HTTP; Mon, 19 Jan 2004 21:41:57 PST Date: Mon, 19 Jan 2004 21:41:57 -0800 (PST) From: L Yang Subject: Re: Re: [gtkmm] Set a unicode string as the label of button To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1164928020-1074577317=:11787" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --0-1164928020-1074577317=:11787 Content-Type: text/plain; charset=us-ascii I used the Glib::convert(s,"GBK","UTF-16"); but it says: unhandled exception (type Glib::Error) in signal handler: domain: g_convert_error code :3 what : Partial character sequence at end of input does it mean it's not coded by UTF-16 ? here is the strings from the file I want to transfer I'm using Chinese Windows XP, so I want to convert them to GBK format, anyone can help me with this ? orginal: ---------------------------------------------------- < US#34540;WW> < US#34540;#37520;#34156;WW> < #40378;,g#34540;IN> < US#34540;y? < US#34540;#28923;#23169;> < ! [ C D A T A [ C ] ] > < / US#34540;#28923;#23169;> < US#34540;#39676;h> < #34540;xQ#39676;h> < ! [ C D A T A [ s i : ] ] > < / #34540;xQ#39676;h> < / US#34540;#39676;h> < #37520;#34156;y? < ! [ C D A T A [ n . W[#34489;C ] ] > < / #37520;#34156;y? < vQ#35570;> < ! [ C D A T A [ 3 , 0 , 2 0 0 3 / 1 2 / 1 9 2 1 : 2 4 : 3 5 ] ] > < / vQ#35570;> < / US#34540;y? < / #40378;,g#34540;IN> < / US#34540;#37520;#34156;WW> < / US#34540;WW> < US#34540;WW> < US#34540;#37520;#34156;WW> < #40378;,g#34540;IN> < US#34540;y? < US#34540;#28923;#23169;> < ! [ C D A T A [ C ] ] > < / US#34540;#28923;#23169;> < US#34540;#39676;h> < #34540;xQ#39676;h> < ! [ C D A T A [ s i : ] ] > < / #34540;xQ#39676;h> < / US#34540;#39676;h> < #37520;#34156;y? < ! [ C D A T A [ n . W[#34489;C ] ] > < / #37520;#34156;y? < vQ#35570;> < ! [ C D A T A [ 3 , 1 , 2 0 0 3 / 1 2 / 1 9 2 1 : 2 4 : 3 5 ] ] > < / vQ#35570;> < / US#34540;y? < / #40378;,g#34540;IN> < / US#34540;#37520;#34156;WW> < / US#34540;WW> converteded manually with MS WORD XP ----------------------------------------------- <#21333;#35789;#22359;> <#21333;#35789;#35299;#37322;#22359;> <#22522;#26412;#35789;#20041;> <#21333;#35789;#39033;> <#21333;#35789;#21407;#22411;> <#21333;#35789;#38899;#26631;> <#35789;#20856;#38899;#26631;> <#35299;#37322;#39033;> <#20854;#20182;> <#21333;#35789;#22359;> <#21333;#35789;#35299;#37322;#22359;> <#22522;#26412;#35789;#20041;> <#21333;#35789;#39033;> <#21333;#35789;#21407;#22411;> <#21333;#35789;#38899;#26631;> <#35789;#20856;#38899;#26631;> <#35299;#37322;#39033;> <#20854;#20182;> --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-1164928020-1074577317=:11787 Content-Type: text/html; charset=us-ascii
I used the Glib::convert(s,"GBK","UTF-16");
but it says:
unhandled exception (type Glib::Error) in signal handler:
domain: g_convert_error
code  :3
what  : Partial character sequence at end of input
does it mean it's not coded by UTF-16 ?
here is the strings from the file I want to transfer
I'm using Chinese Windows XP, so I want to convert them
to GBK format, anyone can help me with this ?
orginal:
----------------------------------------------------
 
 < US蛬WW>
 
   < US蛬銐蕬WW>
 
     < 鶺,g蛬IN>
 
       < US蛬y?
 
         < US蛬烻媁> < ! [ C D A T A [ C ] ] > < / US蛬烻媁>
 
         < US蛬髼h>
 
           < 蛬xQ髼h> < ! [ C D A T A [ s i : ] ] > < / 蛬xQ髼h>
 
         < / US蛬髼h>
 
         < 銐蕬y? < ! [ C D A T A [ n . W[蚹C ] ] > < / 銐蕬y?
 
         < vQ諲> < ! [ C D A T A [ 3 , 0 , 2 0 0 3 / 1 2 / 1 9   2 1 : 2 4 : 3 5 ] ] > < / vQ諲>
 
       < / US蛬y?
 
     < / 鶺,g蛬IN>
 
   < / US蛬銐蕬WW>
 
 < / US蛬WW>
 
 < US蛬WW>
 
   < US蛬銐蕬WW>
 
     < 鶺,g蛬IN>
 
       < US蛬y?
 
         < US蛬烻媁> < ! [ C D A T A [ C ] ] > < / US蛬烻媁>
 
         < US蛬髼h>
 
           < 蛬xQ髼h> < ! [ C D A T A [ s i : ] ] > < / 蛬xQ髼h>
 
         < / US蛬髼h>
 
         < 銐蕬y? < ! [ C D A T A [ n . W[蚹C ] ] > < / 銐蕬y?
 
         < vQ諲> < ! [ C D A T A [ 3 , 1 , 2 0 0 3 / 1 2 / 1 9   2 1 : 2 4 : 3 5 ] ] > < / vQ諲>
 
       < / US蛬y?
 
     < / 鶺,g蛬IN>
 
   < / US蛬銐蕬WW>
 
 < / US蛬WW>
 

converteded manually with MS WORD XP
-----------------------------------------------
<单词块>
 <单词解释块>
  <基本词义>
   <单词项>
    <单词原型><![CDATA[C]]></单词原型>
    <单词音标>
     <词典音标><![CDATA[si:]]></词典音标>
    </单词音标>
    <解释项><![CDATA[n.字母C]]></解释项>
    <其他><![CDATA[3,0,2003/12/19 21:24:35]]></其他>
   </单词项>
  </基本词义>
 </单词解释块>
</单词块>
<单词块>
 <单词解释块>
  <基本词义>
   <单词项>
    <单词原型><![CDATA[C]]></单词原型>
    <单词音标>
     <词典音标><![CDATA[si:]]></词典音标>
    </单词音标>
    <解释项><![CDATA[n.字母C]]></解释项>
    <其他><![CDATA[3,1,2003/12/19 21:24:35]]></其他>
   </单词项>
  </基本词义>
 </单词解释块>
</单词块>


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-1164928020-1074577317=:11787-- From lupv@gmv.es Tue Jan 20 05:37:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 2E06B187FD for ; Tue, 20 Jan 2004 05:37:29 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0KAaAee010080 for ; Tue, 20 Jan 2004 11:36:10 +0100 Received: (from uucp@localhost) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) id i0KAad412621 for ; Tue, 20 Jan 2004 11:36:39 +0100 (MET) Received: from gmvmailhost.gmv.es(172.22.2.4) by caronte.gmv.es via csmap (V6.0) id srcAAAYzaGPy; Tue, 20 Jan 04 11:36:37 +0100 Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0KAbOBL016075 for ; Tue, 20 Jan 2004 11:37:25 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Tue, 20 Jan 2004 11:47:15 +0100 Message-ID: <400D050C.5060707@gmv.es> Date: Tue, 20 Jan 2004 11:38:04 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] MDI on gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm trying to develop the MDI concept on gtkmm. We don't want to use the gnome libraries because we are evaluating only the gtkmm toolkit (we don't even use direct calls to gtk+ functions). Using Gtk::Layout as container it has been easy to emulate the MDI behaviour. The problem is that when a MDIchild contains a Gtk::ScrolledWindow, the scrollbars seem to be in a lower z-level than other widgets. So, when a MDIchild (mdiChild1) is over another MDIchild (mdiChild2), all the widgets comprised in mdiChild1 are over any widget comprised in mdiChild2, except the scrollbars, that are below and seem to disappear under mdiChild2. Has anyone had a similar problem? What's wrong? What can I do? Thank you very much, Luis From dss@home.se Tue Jan 20 05:51:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gepetto.dc.luth.se (gepetto.dc.luth.se [130.240.42.40]) by mail.gnome.org (Postfix) with ESMTP id C2D821864A for ; Tue, 20 Jan 2004 05:51:47 -0500 (EST) Received: from sumpan (sumpan.campus.luth.se [130.240.194.33]) by gepetto.dc.luth.se (8.12.5/8.12.5) with SMTP id i0KApegC011280; Tue, 20 Jan 2004 11:51:40 +0100 (MET) Date: Tue, 20 Jan 2004 11:51:40 +0100 From: Daniel Sundberg To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] MDI on gtkmm Message-Id: <20040120115140.27905010.dss@home.se> In-Reply-To: <400D050C.5060707@gmv.es> References: <400D050C.5060707@gmv.es> X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, 20 Jan 2004 11:38:04 +0100 Luis Pastor Vegas wrote: > Hi, > > I'm trying to develop the MDI concept on gtkmm. We don't want to use the > gnome libraries because we are evaluating only the gtkmm toolkit (we > don't even use direct calls to gtk+ functions). Using Gtk::Layout as > container it has been easy to emulate the MDI behaviour. The problem is > that when a MDIchild contains a Gtk::ScrolledWindow, the scrollbars seem > to be in a lower z-level than other widgets. So, when a MDIchild > (mdiChild1) is over another MDIchild (mdiChild2), all the widgets > comprised in mdiChild1 are over any widget comprised in mdiChild2, > except the scrollbars, that are below and seem to disappear under mdiChild2. > > Has anyone had a similar problem? What's wrong? What can I do? > In Gtk/Gnome the common MDI approach is to use tabs in a notebook instead of separate windows. Take a look at galeon, x-chat or gedit if you don't know what i mean. If you have to use multiple windows the standard is to use a single window interface like gimp does. However, this does not answer your question but if you want to be integrated with gnome i believe this is the way to go. Daniel Sundberg -- http://sumpan.com sumpan@sumpan.com > Thank you very much, > Luis > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Tue Jan 20 06:05:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 951AA18795 for ; Tue, 20 Jan 2004 06:05:55 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KB1eDb017481; Tue, 20 Jan 2004 12:01:40 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:06:12 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lupv@gmv.es, gtkmm-list@gnome.org Subject: RE: [gtkmm] MDI on gtkmm Date: Tue, 20 Jan 2004 12:05:49 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm trying to develop the MDI concept on gtkmm. We don't want > to use the > gnome libraries because we are evaluating only the gtkmm toolkit (we > don't even use direct calls to gtk+ functions). Using Gtk::Layout as > container it has been easy to emulate the MDI behaviour. The > problem is > that when a MDIchild contains a Gtk::ScrolledWindow, the > scrollbars seem > to be in a lower z-level than other widgets. So, when a MDIchild > (mdiChild1) is over another MDIchild (mdiChild2), all the widgets > comprised in mdiChild1 are over any widget comprised in mdiChild2, > except the scrollbars, that are below and seem to disappear > under mdiChild2. > > Has anyone had a similar problem? What's wrong? What can I do? I don't think that Gtk::Layout or any other GTK+ container is meant to support overlapping widgets. I'm sure that some other people have tried to implement window-in-window MDI. You might ask on gtk-list@gnome.org if you do not find discussion in the archives. You might also ask there about overlapping widgets in general. But most people will tell you that window-in-window MDI is a bad UI design. Please read the archives about why it is a bad UI design rather than discussing again why it is a bad UI design. Tabbed-window MDI, as in gedit or mozilla or epiphany, does not seem so bad. But maybe you just want "window-in-window" and not any MDI at all, just so you can show more than one window at a time. In this case, maybe you do not really need the child windows to be in a parent window. Maybe it is enough for the child windows to _belong_ to the parent window. Gimp, with it's toolboxes, might be a example of this. Murray Cumming www.murrayc.com murrayc@usa.net From lupv@gmv.es Tue Jan 20 06:28:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id C4C7D18649 for ; Tue, 20 Jan 2004 06:28:05 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0KBQhee013514; Tue, 20 Jan 2004 12:26:43 +0100 Received: (from uucp@localhost) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) id i0KBRBj15426; Tue, 20 Jan 2004 12:27:11 +0100 (MET) Received: from gmvmailhost.gmv.es(172.22.2.4) by caronte.gmv.es via csmap (V6.0) id srcAAAZ2aiiE; Tue, 20 Jan 04 12:27:10 +0100 Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0KBRwBL024827; Tue, 20 Jan 2004 12:27:58 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Tue, 20 Jan 2004 12:37:48 +0100 Message-ID: <400D10E4.3070502@gmv.es> Date: Tue, 20 Jan 2004 12:28:36 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] MDI on gtkmm References: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote:
I'm trying to develop the MDI concept on gtkmm. We don't want 
to use the 
gnome libraries because we are evaluating only the gtkmm toolkit (we 
don't even use direct calls to gtk+ functions). Using Gtk::Layout as 
container it has been easy to emulate the MDI behaviour. The 
problem is 
that when a MDIchild contains a Gtk::ScrolledWindow, the 
scrollbars seem 
to be in a lower z-level than other widgets. So, when a MDIchild 
(mdiChild1) is over another MDIchild (mdiChild2), all the widgets 
comprised in mdiChild1 are over any widget comprised in mdiChild2, 
except the scrollbars, that are below and seem to disappear 
under mdiChild2.

Has anyone had a similar problem? What's wrong? What can I do?
    

I don't think that Gtk::Layout or any other GTK+ container is meant to
support overlapping widgets. I'm sure that some other people have tried to
implement window-in-window MDI. You might ask on gtk-list@gnome.org if you
do not find discussion in the archives. You might also ask there about
overlapping widgets in general.

But most people will tell you that window-in-window MDI is a bad UI design.
Please read the archives about why it is a bad UI design rather than
discussing again why it is a bad UI design. Tabbed-window MDI, as in gedit
or mozilla or epiphany, does not seem so bad.

But maybe you just want "window-in-window" and not any MDI at all, just so
you can show more than one window at a time. In this case, maybe you do not
really need the child windows to be in a parent window. Maybe it is enough
for the child windows to _belong_ to the parent window. Gimp, with it's
toolboxes, might be a example of this.

Murray Cumming
www.murrayc.com
murrayc@usa.net 



  
You are right about the window-in-window MDI concept. I read the discussions about this subject, but anyway I tried to emulate this behaviour to demonstrate the feasibility, or not, of doing it with gtkmm. This is one among other features that we are evaluating. On this case, all that we can do is to set forth the rationale of this impossibility to our client in order to explain them why the window-in-window MDI is a bad UI design.

Thank you very much for your prompt answer,
Luis
From Murray.Cumming@Comneon.com Tue Jan 20 06:31:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 286C818484 for ; Tue, 20 Jan 2004 06:31:07 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBQqDb028025; Tue, 20 Jan 2004 12:26:52 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:31:24 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22AFE@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lupv@gmv.es Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] MDI on gtkmm Date: Tue, 20 Jan 2004 12:31:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > You are right about the window-in-window MDI concept. I read the discussions about this subject, but anyway I tried to emulate this > behaviour to demonstrate the feasibility, or not, of doing it with gtkmm. This is one among other features that we are evaluating. On > this case, all that we can do is to set forth the rationale of this impossibility to our client in order to explain them why the > window-in-window MDI is a bad UI design. And you can also ask on the lists, and check the archives, as I suggested. Even if it's a bad idea, people have tried it. Murray Cumming www.murrayc.com murrayc@usa.net From susumu@yt.com Tue Jan 20 06:44:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id 6593418484 for ; Tue, 20 Jan 2004 06:44:29 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0KBiaP6006442 for ; Tue, 20 Jan 2004 20:44:36 +0900 Date: Tue, 20 Jan 2004 20:44:36 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Message-Id: <20040120204436.7c7e304c.susumu@yt.com> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::TreeView on gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I am coding a software on glademm and gtkmm. If there is someone with knowledge, I would like you to help me. I got a problem when I tried to use a Gtk::TreeView. I would like to code as below. Suppose there is a TreeView like ... item1 | item2 | item3 --------------------------- entry11 | entry12 | entry13 entry21 | entry22 | entry23 entry31 | entry32 | entry33 I would like to distinguish between single-click and double-click. When you single-click "entry11", for example , the first row should be just high-lit (not selected, nothing happens but being high-lit). When you double-click "entry11", the first row should be selected and some operation should be done. What signal should I connect? And what code should I add? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From matthew@alledora.co.uk Tue Jan 20 06:55:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id B6BB818305 for ; Tue, 20 Jan 2004 06:55:29 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AiuQc-0003qi-1O for gtkmm-list@gnome.org; Tue, 20 Jan 2004 11:52:18 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AiuQa-0003qU-Un; Tue, 20 Jan 2004 11:52:16 +0000 Message-ID: <400D1772.5000008@alledora.co.uk> Date: Tue, 20 Jan 2004 11:56:34 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: susumu@yt.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> In-Reply-To: <20040120204436.7c7e304c.susumu@yt.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Susumu Yoshida wrote: > Hi all, > > I am coding a software on glademm and gtkmm. > If there is someone with knowledge, I would like you to help me. > I got a problem when I tried to use a Gtk::TreeView. > I would like to code as below. > Suppose there is a TreeView like ... > > item1 | item2 | item3 > --------------------------- > entry11 | entry12 | entry13 > entry21 | entry22 | entry23 > entry31 | entry32 | entry33 > > I would like to distinguish between single-click and double-click. > When you single-click "entry11", for example , the first row should be > just high-lit (not selected, nothing happens but being high-lit). > When you double-click "entry11", the first row should be selected > and some operation should be done. > > What signal should I connect? > And what code should I add? > If you connect a signal handler to Gtk::TreeView::signal_row_activated() you will catch double-clicks on rows, and also the user pressing enter when a row is highlighted. Single click to highlight the row is built in behaviour in a Treeview. The signal handler to connect to signal_row_activated should have a prototype like void handler(const Gtk::TreeModel::Path &, Gtk::TreeViewColumn*) The TreeModel::Path is a path to the row that was activated (use TreeModel::get_iter to get an iterator from that if you need one), and the TreeViewColumn is a pointer to the column which was activated (at least, I assume so, I've not had cause to use that particular functionality before). From Murray.Cumming@Comneon.com Tue Jan 20 06:57:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ADEEB18305 for ; Tue, 20 Jan 2004 06:57:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBqoDb025477; Tue, 20 Jan 2004 12:52:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:57:23 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B03@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: susumu@yt.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 12:57:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am coding a software on glademm and gtkmm. > If there is someone with knowledge, I would like you to help > me. I got a problem when I tried to use a Gtk::TreeView. I > would like to code as below. Suppose there is a TreeView like ... > > item1 | item2 | item3 > --------------------------- > entry11 | entry12 | entry13 > entry21 | entry22 | entry23 > entry31 | entry32 | entry33 > > I would like to distinguish between single-click and > double-click. When you single-click "entry11", for example , > the first row should be > just high-lit (not selected, nothing happens but being > high-lit). So "high-lit" and "selected" would look exactly the same to the user. I think that's a bad, confused, idea. > When you double-click "entry11", the first row > should be selected and some operation should be done. That should be easy. You need to handle signal_button_press_event. If you have problems, then this bug should help you: http://bugzilla.gnome.org/show_bug.cgi?id=89780 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 20 06:59:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 34FAC18305 for ; Tue, 20 Jan 2004 06:59:23 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBtBDb026359; Tue, 20 Jan 2004 12:55:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:59:43 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B04@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Murray.Cumming@Comneon.com, susumu@yt.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 12:59:19 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > That should be easy. You need to handle > signal_button_press_event. If you have problems, then this > bug should help you: http://bugzilla.gnome.org/show_bug.cgi?id=89780 As Matthew says, signal_row_activated() would be better. Murray Cumming www.murrayc.com murrayc@usa.net From susumu@yt.com Tue Jan 20 07:31:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id AF76B181EA for ; Tue, 20 Jan 2004 07:31:34 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0KCVZP6008709; Tue, 20 Jan 2004 21:31:36 +0900 Date: Tue, 20 Jan 2004 21:31:35 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Cc: Matthew Walton Subject: Re: [gtkmm] Gtk::TreeView on gtkmm Message-Id: <20040120213135.6e368362.susumu@yt.com> In-Reply-To: <400D1772.5000008@alledora.co.uk> References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thank you for your quick and detailed response. On Tue, 20 Jan 2004 11:56:34 +0000 Matthew Walton wrote: > If you connect a signal handler to Gtk::TreeView::signal_row_activated() > you will catch double-clicks on rows, and also the user pressing enter > when a row is highlighted. Single click to highlight the row is built in > behaviour in a Treeview. I already tried to experiment that signal handler many times but I got the same error (which I can't understand) every time. nana:~/2004/XHercules/exp-tree_view5/src$ make source='exp.cc' object='exp.o' libtool=no \ depfile='.deps/exp.Po' tmpdepfile='.deps/exp.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -c -o exp.o `test -f 'exp.cc' || echo './'`exp.cc in the file included from window1.hh:13 from exp.cc:10: window1_glade.hh:48: there is a syntax error before the token `::' in the file included from exp.cc:10 window1.hh:43: there is a syntax error before the token `::' window.hh:13 is .. # include "window1_glade.hh" window1_glade.hh is ... // generated 2004/1/20 21:14:26 JST by susumu@nana.michael-net.(none) // using glademm V2.0.0 // // DO NOT EDIT THIS FILE ! It was created using // glade-- /home/susumu/2004/XHercules/exp-tree_view5/exp.glade // for gtk 2.2.1 and gtkmm 2.2.8 // // Please modify the corresponding derived classes in ./src/window1.hh and./src/ window1.cc #ifndef _WINDOW1_GLADE_HH # define _WINDOW1_GLADE_HH #if !defined(GLADEMM_DATA) #define GLADEMM_DATA #include class GlademmData { Glib::RefPtr accgrp; public: GlademmData(Glib::RefPtr ag) : accgrp(ag) { } Glib::RefPtr getAccelGroup() { return accgrp; } }; #endif //GLADEMM_DATA #include #include class GlademmData { Glib::RefPtr accgrp; public: GlademmData(Glib::RefPtr ag) : accgrp(ag) { } Glib::RefPtr getAccelGroup() { return accgrp; } }; #endif //GLADEMM_DATA #include #include class window1_glade : public Gtk::Window { GlademmData *gmm_data; protected: class Gtk::TreeView *treeview1; window1_glade(); ~window1_glade(); private: virtual void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column) = 0; // THIS IS LINE 48 -------RIGHT HERE-------- virtual void on_treeview1_cursor_changed() = 0; }; #endif window1.hh:43 is ... void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column); They are generated by glademm. Is there anything wrong? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From christof@petig-baender.de Tue Jan 20 07:47:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id 81A0918138 for ; Tue, 20 Jan 2004 07:47:18 -0500 (EST) Received: (qmail 28970 invoked by uid 4225); 20 Jan 2004 12:47:16 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 20 Jan 2004 12:47:16 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AivHl-00017J-00; Tue, 20 Jan 2004 13:47:14 +0100 Message-ID: <400D234D.8050404@petig-baender.de> Date: Tue, 20 Jan 2004 13:47:09 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: susumu@yt.com Cc: gtkmm-list@gnome.org, Matthew Walton , glademm-list Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <20040120213135.6e368362.susumu@yt.com> In-Reply-To: <20040120213135.6e368362.susumu@yt.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Susumu Yoshida schrieb: > Thank you for your quick and detailed response. most probably you hit the wrong list, again. This time the glademm-list would have been 1st choice. The glademm generated code contains a wrong signature for the callback ;-/ > in the file included from window1.hh:13 > from exp.cc:10: > window1_glade.hh:48: there is a syntax error before the token `::' > in the file included from exp.cc:10 > window1.hh:43: there is a syntax error before the token `::' > virtual void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column) = 0; // THIS IS LINE 48 -------RIGHT HERE-------- Gtk:: is missing. That's all. > They are generated by glademm. > Is there anything wrong? see above. Could you please try the CVS version of glademm (I think I fixed that bug already). Christof From Murray.Cumming@Comneon.com Tue Jan 20 07:47:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 69B9218138 for ; Tue, 20 Jan 2004 07:47:28 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KChCDb002639; Tue, 20 Jan 2004 13:43:12 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 13:47:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B10@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: susumu@yt.com, gtkmm-list@gnome.org Cc: matthew@alledora.co.uk Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 13:47:21 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > window1_glade.hh:48: there is a syntax error before the token > `::' in the file included from exp.cc:10 > window1.hh:43: there is a syntax error before the token `::' This looks like glademm-generated code, so I therefore think you should ask on glademm-list@gnome.org. We are not responsible for the code that glademm generates. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 20 08:08:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 4CB8D18138; Tue, 20 Jan 2004 08:08:02 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KD3oDb010512; Tue, 20 Jan 2004 14:03:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 14:08:22 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: otaylor@redhat.com Cc: gtk-devel-list@gnome.org, gtkmm-list@gnome.org Date: Tue, 20 Jan 2004 14:07:59 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: GTK+ release soon? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > On Tue, 2004-01-06 at 03:38, Murray.Cumming@Comneon.com wrote: > > > Is there likely to be a GTK+ release in the next couple > of days? It > > > would be nice for our imminent GNOME Platform Bindings > > 2.5.2 release. > > > > It would be nice, but I doubt it will happen. API issues are > > my first priority this week. > > OK. A release for the GNOME Platform Bindings 2.5.3 instead > (scheduled for February 17th) would be very nice. I am > worried that gtkmm API will not get enough scrutiny if I > can't make frequent releases. > > Please please ask someone to help you roll releases if you > don't have time - it should be a simple task. Thank you for asking for volunteers to roll 2.2.x releases. That's seems like a good move. I wish I had the extra time to set up my system to do that for you. But the lack of GTK+ 2.3.x release has caused gtkmm to miss yet another Platform Bindings release schedule date. There has never been a GTK+ 2.3.x release that is usable with gtkmm, though the GTK+ in cvs has been usable with gtkmm for over a month. So I fear that not enough people are testing new gtkmm API, although we are late in the schedule, with Platform Bindings API freeze 1 month away: http://www.gnome.org/start/2.5/bindings/ I will repeat my earlier dire warnings from a release-team email: One thing that the GTK+ people can certainly do to help is to release regular tarballs (ideally one for each GNOME 2.5 release), so that we have a good chance of getting it tested. It disturbs me greatly that you seem to be waiting for stuff to get into GTK+ before doing tarballs - please just push it out into the world regularly. If we can't be sure when a GTK+ tarball will appear then I fear a great deal more delayed GNOME 2.5 test releases. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 20 09:21:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 1474318462 for ; Tue, 20 Jan 2004 09:21:54 -0500 (EST) Received: (qmail 12524 invoked by uid 65534); 20 Jan 2004 14:21:50 -0000 Received: from pD9E94B45.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.75.69) by mail.gmx.net (mp013) with SMTP; 20 Jan 2004 15:21:50 +0100 X-Authenticated: #109577 Message-ID: <400D3987.5060408@gmx.de> Date: Tue, 20 Jan 2004 15:21:59 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Matthew Walton , gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> In-Reply-To: <400D1772.5000008@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Now it is me who is completely confused. I do it this way: m_tree_sel_ref->signal_changed () Ok, I have major problems because I still cannot make a selection highlighted :-( Andi // Build ListStore/TreeView m_list_store_ref = Gtk::ListStore::create(m_columns); m_tree_view.set_model(m_list_store_ref); m_tree_view.set_rules_hint(); m_tree_view.set_size_request(); // Handle selection m_tree_sel_ref = m_tree_view.get_selection(); m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); m_tree_sel_ref->signal_changed ().connect( <<<<<<<<<<<<<<<<< SigC::slot(*this, &ConstraintTable::selection_made_cb)); > If you connect a signal handler to Gtk::TreeView::signal_row_activated() > you will catch double-clicks on rows, and also the user pressing enter > when a row is highlighted. Single click to highlight the row is built in > behaviour in a Treeview. > > The signal handler to connect to signal_row_activated should have a > prototype like > > void handler(const Gtk::TreeModel::Path &, Gtk::TreeViewColumn*) From matthew@alledora.co.uk Tue Jan 20 09:44:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 6074618824 for ; Tue, 20 Jan 2004 09:44:47 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Aix4T-0004G0-1U for gtkmm-list@gnome.org; Tue, 20 Jan 2004 14:41:37 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Aix4R-0004Fl-Us; Tue, 20 Jan 2004 14:41:35 +0000 Message-ID: <400D3F21.7020002@alledora.co.uk> Date: Tue, 20 Jan 2004 14:45:53 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <400D3987.5060408@gmx.de> In-Reply-To: <400D3987.5060408@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Andreas B. Thun wrote: > Now it is me who is completely confused. > I do it this way: m_tree_sel_ref->signal_changed () > > Ok, I have major problems > because I still cannot make a selection highlighted :-( > > Andi > > // Build ListStore/TreeView > m_list_store_ref = Gtk::ListStore::create(m_columns); > m_tree_view.set_model(m_list_store_ref); > m_tree_view.set_rules_hint(); > m_tree_view.set_size_request(); > > // Handle selection > m_tree_sel_ref = m_tree_view.get_selection(); > m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); > m_tree_sel_ref->signal_changed ().connect( <<<<<<<<<<<<<<<<< > SigC::slot(*this, &ConstraintTable::selection_made_cb)); So what exactly is the problem? That code should give you a handler for when the selection for that treeview changes. What do you mean by making a selection 'highlighted'? From abt@gmx.de Tue Jan 20 09:51:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 95D681892D for ; Tue, 20 Jan 2004 09:51:48 -0500 (EST) Received: (qmail 1202 invoked by uid 65534); 20 Jan 2004 14:51:46 -0000 Received: from pD9E94B45.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.75.69) by mail.gmx.net (mp007) with SMTP; 20 Jan 2004 15:51:46 +0100 X-Authenticated: #109577 Message-ID: <400D4087.3010108@gmx.de> Date: Tue, 20 Jan 2004 15:51:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Matthew Walton Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <400D3987.5060408@gmx.de> <400D3F21.7020002@alledora.co.uk> In-Reply-To: <400D3F21.7020002@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I trigger a row selection with a "next" button to walk the rows and select a row with: m_tree_sel_ref->select(row); The row is selected ( I can get the value ) but the selected row is not highlighted in the GUI. > So what exactly is the problem? That code should give you a handler for > when the selection for that treeview changes. What do you mean by making > a selection 'highlighted'? From bevis@anvil.com Tue Jan 20 10:15:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id A035118705 for ; Tue, 20 Jan 2004 10:14:59 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2D274259; Tue, 20 Jan 2004 15:14:38 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 5E8D2250 for ; Tue, 20 Jan 2004 15:14:37 +0000 (GMT) Message-ID: <400D45E2.6030205@anvil.co.uk> Date: Tue, 20 Jan 2004 15:14:42 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] GDK_space not getting passed? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This may not be a gtkmm problem, but I've noticed that if I attach a signal: mc_image_window.signal_key_press_event().connect(slot(*this, &C_PicV::cb_keypress)); then in the callback: bool C_PicV::cb_keypress(GdkEventKey* ke) { gint key = ke->keyval; ... 'key' is never GDK_space, even if you press space. All other keys I've used work OK. Can't see any reference to it in the list archives, but found someone on google who reported the same thing. bevis From murrayc@usa.net Tue Jan 20 12:27:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from localhost.localdomain (unknown [80.121.222.26]) by mail.gnome.org (Postfix) with SMTP id 1920B18A39 for ; Tue, 20 Jan 2004 12:27:30 -0500 (EST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i0K9qVlm030917; Tue, 20 Jan 2004 10:52:32 +0100 Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X From: Murray Cumming Reply-To: murrayc@usa.net To: Julian Missig Cc: Murray.Cumming@Comneon.com, gtkmm-list , Thomas Muldowney In-Reply-To: References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1073938828.28458.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 10:52:31 +0100 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-12 at 19:54, Julian Missig wrote: > On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > > >>> Well, anyway, I'll be leaving campus soon and no longer have this > >>> bandwidth. > >>> > >>> The packages are at > >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >> > >> I have downloaded them for safety. I am a bit reluctant to > >> put binary packages on gtkmm.org until > >> - I am sure that they will be maintained in future. Isn't > >> there some central repository for things like this? > > DarwinPorts does not host binary packages. Fink hosts binary versions > of their packages... eventually... I do want to see the discussion in which the Fink people apparently refused to help you to package gtkmm for Fink. So far I have heard nothing specific, so I have nothing to tell the people who want gtkmm in Fink. > but these were generated using > DarwinPorts, which uses a different path prefix from Fink. Fink also > does not use these double-clickable installers like DarwinPorts can > produce. That sounds like a nice feature. > osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but > I'm not sure whether they'd host something generated by DarwinPorts. > > >> - The build process is documented. I would like a > >> README.MacOSX, like our current README.win32 and README.SUN > >> - I see that you have at least tried to get libtool fixed > >> instead of patching it locally. > > What more do you want me to do? Like I say, I would like the build process to be documented, just as it is for our other unusual platforms. > I've contacted all the people I can and > no one seems to know why it works like that or give a shit. For the libtool thing, you could point me to the email discussion in an archive or a bug report. Then I could take it further if you don't want to. At least we would have something to point to in our documentation. > >> I do appreciate your efforts, but I don't want them to be wasted. > > Whatever. I made these so that my users could get gtkmm installed. I've > battled with this stuff for so long with so many unhelpful people I > honestly don't care whether they're "officially" distributed anywhere. > I have something which works, so that's good enough to get Gabber2 on > OS X. I'm done as far as I'm concerned. If gtkmm.org hosts them, then we'd need someone who will package future gtkmm releases as well. Sorry, but you can't expect anything else. -- Murray Cumming murrayc@usa.net www.murrayc.com From epenharbel@yahoo.com.br Tue Jan 20 12:41:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp103.mail.sc5.yahoo.com (smtp103.mail.sc5.yahoo.com [66.163.169.222]) by mail.gnome.org (Postfix) with SMTP id 9E2B018A21 for ; Tue, 20 Jan 2004 12:41:43 -0500 (EST) Received: from unknown (HELO 200-171-128-203.dsl.telesp.net.br) (epenharbel@200.171.128.203 with plain) by smtp103.mail.sc5.yahoo.com with SMTP; 20 Jan 2004 17:41:38 -0000 From: =?ISO-8859-1?Q?=C9der?= Augusto Penharbel To: gtkmm-list Content-Type: text/plain Message-Id: <1074620608.308.192.camel@lobo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 15:43:28 -0200 Content-Transfer-Encoding: 7bit Subject: [gtkmm] draw images... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello I need to draw a image from a BGR ( Blue green red ) buffer. To draw a rgb buffer i can use this: get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); but how do i do this with the bgr buffer ( rgb in LSBFirst byte order ) without swap the bytes on a loop??? Using the Xlib i'd use the XPutImage with a XImage in the LSBFirst byte_order, but in gtkmm or gtk??? can I use the Xlib to draw a image in a Gtk::Window? or are there other way to do this? thanks... From donscorgie@blueyonder.co.uk Tue Jan 20 13:43:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp-out6.blueyonder.co.uk (smtp-out6.blueyonder.co.uk [195.188.213.9]) by mail.gnome.org (Postfix) with ESMTP id BFE371878B for ; Tue, 20 Jan 2004 13:43:57 -0500 (EST) Received: from 82-41-53-103.cable.ubr07.edin.blueyonder.co.uk ([82.41.53.103]) by smtp-out6.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Tue, 20 Jan 2004 18:44:17 +0000 Subject: RE: [gtkmm] Gtk::Image and Eventbox From: Donald To: gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1074624237.930.5.camel@Madaline.mydomain.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 18:43:57 +0000 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jan 2004 18:44:17.0148 (UTC) FILETIME=[68632BC0:01C3DF85] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-19 at 21:25, Murray.Cumming@Comneon.com wrote: > > I've been using gtkmm for a while, but run across a problem. > > > > I have a window containing a Gtk::Image which is set with a > > Gdk::Image / Gdk::Pixmap. > > > > I need to recieve events on this, so I proceeded to put it in > > an eventbox. > > > > The problem arises when I try to connect a signal up to it. > > > > With no signal (i.e. the eventbox is doing nothing), it is > > fine and the image displays properly. But when a signal is > > connected up, the Image / eventbox is displayed as grey. > > You should probably tell us exactly what signal you are talking about. But I > guess that you probably just need to use the correct return type in your > event signal handler: > http://www.gtkmm.org/gtkmm2/docs/tutorial/html/apbs06.html > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > Bingo! Thanks. I was using a signal_motion_notify_event. I was returning true (the event is handled), but when I change that to false it seems to work. Thanks for the help Don From julian@jabber.org Tue Jan 20 13:58:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 66174181D3 for ; Tue, 20 Jan 2004 13:58:33 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id C671E6F733; Tue, 20 Jan 2004 12:58:30 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16695-03; Tue, 20 Jan 2004 12:58:30 -0600 (CST) Received: from [128.2.76.12] (SKADI.WV.CC.cmu.edu [128.2.76.12]) by mail.aspect.net (Postfix) with ESMTP id B64D86F6F9; Tue, 20 Jan 2004 12:58:26 -0600 (CST) In-Reply-To: <1073938828.28458.9.camel@localhost.localdomain> References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> <1073938828.28458.9.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: gtkmm-list , Murray.Cumming@Comneon.com, Thomas Muldowney From: Julian Missig Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 20 Jan 2004 13:58:25 -0500 To: murrayc@usa.net X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok, here's how I built it. Grab DarwinPorts. I have Panther with X11 and X11 SDK. The gtk+ dependencies I installed are: atk, expat, fontconfig, freetype, gettext, glib2, gtk2, jpeg, libpng, libungif, pango, pkgconfig, tiff, Xft2, xrender For libglade2, I modified the portfile to not depend on gnome, so my libglade2 does not depend on gnome, but it also cannot use gnome widgets. libxml2 is required. Gconf needs linc, orbit2, gconf In the Portfiles for libsigc++, gtkmm2, libglademm, and gconfmm, I used these values for configure.env (in other words, these were passed to configure): CPPFLAGS="-L${prefix}/lib -I${prefix}/include" CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" After configure happened, I modified the generated 'libtool' script. I changed CC and LTCC to use 'g++' instead of 'gcc' After that, they build and run fine with the setup I described. And murray, I'm not expecting or asking anything of you. I don't know why you get that idea. I'm just presenting this stuff that I built, that is all. You're under no obligation to do anything at all with it. Julian On 20 Jan, 2004, at 4:52, Murray Cumming wrote: > On Mon, 2004-01-12 at 19:54, Julian Missig wrote: >> On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: >> >>>>> Well, anyway, I'll be leaving campus soon and no longer have this >>>>> bandwidth. >>>>> >>>>> The packages are at >>>>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg >>>> >>>> I have downloaded them for safety. I am a bit reluctant to >>>> put binary packages on gtkmm.org until >>>> - I am sure that they will be maintained in future. Isn't >>>> there some central repository for things like this? >> >> DarwinPorts does not host binary packages. Fink hosts binary versions >> of their packages... eventually... > > I do want to see the discussion in which the Fink people apparently > refused to help you to package gtkmm for Fink. So far I have heard > nothing specific, so I have nothing to tell the people who want gtkmm > in > Fink. > >> but these were generated using >> DarwinPorts, which uses a different path prefix from Fink. Fink also >> does not use these double-clickable installers like DarwinPorts can >> produce. > > That sounds like a nice feature. > >> osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but >> I'm not sure whether they'd host something generated by DarwinPorts. >> >>>> - The build process is documented. I would like a >>>> README.MacOSX, like our current README.win32 and README.SUN >>>> - I see that you have at least tried to get libtool fixed >>>> instead of patching it locally. >> >> What more do you want me to do? > > Like I say, I would like the build process to be documented, just as it > is for our other unusual platforms. > >> I've contacted all the people I can and >> no one seems to know why it works like that or give a shit. > > For the libtool thing, you could point me to the email discussion in an > archive or a bug report. Then I could take it further if you don't want > to. At least we would have something to point to in our documentation. > >>>> I do appreciate your efforts, but I don't want them to be wasted. >> >> Whatever. I made these so that my users could get gtkmm installed. >> I've >> battled with this stuff for so long with so many unhelpful people I >> honestly don't care whether they're "officially" distributed anywhere. >> I have something which works, so that's good enough to get Gabber2 on >> OS X. I'm done as far as I'm concerned. > > If gtkmm.org hosts them, then we'd need someone who will package future > gtkmm releases as well. Sorry, but you can't expect anything else. > > -- > Murray Cumming > murrayc@usa.net > www.murrayc.com > From otaylor@redhat.com Tue Jan 20 14:20:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by mail.gnome.org (Postfix) with ESMTP id 7C65A185DD; Tue, 20 Jan 2004 14:20:41 -0500 (EST) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKdl28011; Tue, 20 Jan 2004 14:20:39 -0500 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKda28628; Tue, 20 Jan 2004 14:20:39 -0500 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKcY27594; Tue, 20 Jan 2004 14:20:38 -0500 From: Owen Taylor To: Murray.Cumming@Comneon.com Cc: gtk-devel-list@gnome.org, gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1074626334.7297.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Tue, 20 Jan 2004 14:18:55 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] RE: GTK+ release soon? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, 2004-01-20 at 08:07, Murray.Cumming@Comneon.com wrote: > ease-team email: > > One thing that the GTK+ people can certainly do to help is to release > regular tarballs (ideally one for each GNOME 2.5 release), so that we have a > good chance of getting it tested. It disturbs me greatly that you seem to be > waiting for stuff to get into GTK+ before doing tarballs - please just push > it out into the world regularly. If we can't be sure when a GTK+ tarball > will appear then I fear a great deal more delayed GNOME 2.5 test releases. No, I'm waiting to have 5 consecutive minutes to do a release. (Well, actually, a day or so in total.) There are only 3 things on my TODO list for the rest of this week, doing 2.3.2 releases being one of them. By far the most time consuming part of doing a devel series release is writing the NEWS entries. (Especially when one hasn't been done for a while.) If people want to help out, that's a pretty straightforward thing to do, especially for an area that you are familiar with. Regards, Owen From Murray.Cumming@Comneon.com Tue Jan 20 15:55:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 592E118177 for ; Tue, 20 Jan 2004 15:55:35 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KKotDb017433; Tue, 20 Jan 2004 21:50:55 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 21:55:28 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B41@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org, temas@box5.net Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 20 Jan 2004 21:55:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry, my SMTP server just sent an old reply. This was either outdated or already dealt with. Still, your reply was interesting. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Julian Missig [mailto:julian@jabber.org] > Sent: Dienstag, 20. Januar 2004 19:58 > To: murrayc@usa.net > Cc: gtkmm-list; Murray.Cumming@Comneon.com; Thomas Muldowney > Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer > for Mac OS X > > > Ok, here's how I built it. > > Grab DarwinPorts. I have Panther with X11 and X11 SDK. > > The gtk+ dependencies I installed are: atk, expat, fontconfig, > freetype, gettext, glib2, gtk2, jpeg, libpng, libungif, pango, > pkgconfig, tiff, Xft2, xrender > > For libglade2, I modified the portfile to not depend on gnome, so my > libglade2 does not depend on gnome, but it also cannot use gnome > widgets. libxml2 is required. > > Gconf needs linc, orbit2, gconf > > In the Portfiles for libsigc++, gtkmm2, libglademm, and > gconfmm, I used > these values for configure.env (in other words, these were passed to > configure): > CPPFLAGS="-L${prefix}/lib -I${prefix}/include" > CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" > > After configure happened, I modified the generated 'libtool' > script. I > changed CC and LTCC to use 'g++' instead of 'gcc' > > After that, they build and run fine with the setup I described. > > And murray, I'm not expecting or asking anything of you. I don't know > why you get that idea. I'm just presenting this stuff that I built, > that is all. You're under no obligation to do anything at all with it. > > Julian > > On 20 Jan, 2004, at 4:52, Murray Cumming wrote: > > > On Mon, 2004-01-12 at 19:54, Julian Missig wrote: > >> On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > >> > >>>>> Well, anyway, I'll be leaving campus soon and no longer > have this > >>>>> bandwidth. > >>>>> > >>>>> The packages are at > >>>>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >>>> > >>>> I have downloaded them for safety. I am a bit reluctant to put > >>>> binary packages on gtkmm.org until > >>>> - I am sure that they will be maintained in future. Isn't there > >>>> some central repository for things like this? > >> > >> DarwinPorts does not host binary packages. Fink hosts > binary versions > >> of their packages... eventually... > > > > I do want to see the discussion in which the Fink people apparently > > refused to help you to package gtkmm for Fink. So far I have heard > > nothing specific, so I have nothing to tell the people who > want gtkmm > > in Fink. > > > >> but these were generated using > >> DarwinPorts, which uses a different path prefix from Fink. > Fink also > >> does not use these double-clickable installers like > DarwinPorts can > >> produce. > > > > That sounds like a nice feature. > > > >> osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, > but I'm not > >> sure whether they'd host something generated by DarwinPorts. > >> > >>>> - The build process is documented. I would like a README.MacOSX, > >>>> like our current README.win32 and README.SUN > >>>> - I see that you have at least tried to get libtool > fixed instead > >>>> of patching it locally. > >> > >> What more do you want me to do? > > > > Like I say, I would like the build process to be > documented, just as > > it is for our other unusual platforms. > > > >> I've contacted all the people I can and > >> no one seems to know why it works like that or give a shit. > > > > For the libtool thing, you could point me to the email > discussion in > > an archive or a bug report. Then I could take it further if > you don't > > want to. At least we would have something to point to in our > > documentation. > > > >>>> I do appreciate your efforts, but I don't want them to be wasted. > >> > >> Whatever. I made these so that my users could get gtkmm installed. > >> I've > >> battled with this stuff for so long with so many unhelpful people I > >> honestly don't care whether they're "officially" > distributed anywhere. > >> I have something which works, so that's good enough to get > Gabber2 on > >> OS X. I'm done as far as I'm concerned. > > > > If gtkmm.org hosts them, then we'd need someone who will package > > future gtkmm releases as well. Sorry, but you can't expect anything > > else. > > > > -- > > Murray Cumming > > murrayc@usa.net > > www.murrayc.com > > > From kmilo@softhome.net Tue Jan 20 21:57:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id 9B55A18566 for ; Tue, 20 Jan 2004 21:57:31 -0500 (EST) Received: (qmail 23158 invoked by uid 417); 21 Jan 2004 02:57:30 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 21 Jan 2004 02:57:30 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Tue, 20 Jan 2004 19:57:30 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Tue, 20 Jan 2004 19:57:30 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.162] Message-ID: Subject: [gtkmm] how build a statically link program Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: There is a way to build a statically link program in gtkmm under windows (It must works without dll) From cedric.gustin@swing.be Wed Jan 21 02:25:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 77CAB1814F for ; Wed, 21 Jan 2004 02:25:37 -0500 (EST) Received: from [130.104.231.127] (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0L7JOtd014215; Wed, 21 Jan 2004 08:19:25 +0100 (MET) Subject: Re: [gtkmm] how build a statically link program From: Cedric Gustin To: kmilo@softhome.net Cc: gtkmm-list@gnome.org In-Reply-To: References: Content-Type: text/plain Message-Id: <1074669929.3833.17.camel@gandalf> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 21 Jan 2004 08:25:30 +0100 Content-Transfer-Encoding: 7bit X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-21 at 03:57, kmilo@softhome.net wrote: > There is a way to build a statically link program in gtkmm under windows (It > must works without dll) Well yes, you can build static gtkmm libraries if you want (./configure --enable-static --disable-shared in your mingw32+msys environment: see README.win32 for details) but I haven't done that for a long time because : 1. You end up with huge executables (they can be stripped though!) 2. Your gtkmm static library (hence your final executable) still relies on the GTK+ runtime, which is only available as DLLs. So, if you want a nice, standalone gtkmm application, my best advise is to compile it dynamically and provide your own integrated installer for your executable + the GTK+ and gtkmm runtimes. An intermediate solution is to ask your users to install the GTK+ runtime only (from dropline), and to ship you application with the glibmm, atkmm, pangomm, gdkmm and gtkmm DLLs located in the same directory. Cedric > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list -- Cedric Gustin Ph.D. Student _/ _/ _/_/_/_/ _/ _/ _/ _/ _/ mailto:gustin@pcpm.ucl.ac.be _/ _/ _/ _/ PCPM Lab, Univ. Catholique de Louvain _/ _/ _/ _/ Place Croix du Sud, 1 _/_/_/_/ _/_/_/_/ _/_/_/_/ B-1348 Louvain-la-Neuve (Belgium) tel: +32 (0)10/47.33.59 fax: +32 (0)10/47.33.59 From bernardet.karim@wanadoo.fr Wed Jan 21 03:15:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from marocco.in2p3.fr (marocco.in2p3.fr [134.158.16.54]) by mail.gnome.org (Postfix) with ESMTP id DC3BD18212 for ; Wed, 21 Jan 2004 03:15:37 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by marocco.in2p3.fr (Postfix) with ESMTP id 8AFEC380F8 for ; Wed, 21 Jan 2004 09:15:34 +0100 (CET) Received: from wanadoo.fr (marpain.in2p3.fr [134.158.17.186]) by marocco.in2p3.fr (Postfix) with ESMTP id 6AADF38347 for ; Wed, 21 Jan 2004 09:15:27 +0100 (CET) Message-ID: <400E351F.60808@wanadoo.fr> Date: Wed, 21 Jan 2004 09:15:27 +0100 From: Karim Bernardet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 X-Accept-Language: French, fr, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Subject: [gtkmm] treeview and tooltip Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, Few months ago, I asked if it was possible to use tooltips with a treeview and the response was no because of a bug in gtk+. So do you know if it has been corrected ? Cheers, Karim. -- __________________________________________________________________________ | Karim BERNARDET | Phone : (+33){0}4-91-82-72-33 | | C.P.P.M. | Fax : (+33){0}4-91-82-72-99 | | 163, av. de Luminy | Email : bernardet@cppm.in2p3.fr | | Case 902 | Web : http://marwww.in2p3.fr/~kbernard | | F-13288 Marseille CEDEX 09 | Bureau 349 | | FRANCE | | -------------------------------------------------------------------------- From susumu@yt.com Wed Jan 21 07:30:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id 3E4CE1886B for ; Wed, 21 Jan 2004 07:30:43 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0LCUoMK004350 for ; Wed, 21 Jan 2004 21:30:51 +0900 Date: Wed, 21 Jan 2004 21:30:50 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Message-Id: <20040121213050.3803bbb9.susumu@yt.com> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] Ctrl+f on Gtk::TextView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I even don't know if this is possible on gtkmm,so if it were possible and someone knew how to, I would like you to tell me. I would like to move a cursor on Gtk::TextView as we do on an emacs. Meaning, when I press Ctrl + f, I want the cursor to be moved forward. I want "Ctrl + b" to mean "to move backward",etc. So I would like to control and change the behavior of inputs from a keyboard. Is it possible? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From paul@linuxaudiosystems.com Wed Jan 21 08:33:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mail.gnome.org (Postfix) with ESMTP id 4198D1818C for ; Wed, 21 Jan 2004 08:33:42 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.92.205]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040121133339.SUFI26012.out010.verizon.net@dhin.linuxaudiosystems.com> for ; Wed, 21 Jan 2004 07:33:39 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0LDXbOS009121 for ; Wed, 21 Jan 2004 08:33:38 -0500 Received: (from paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) id i0LDXbIq009117; Wed, 21 Jan 2004 08:33:37 -0500 Date: Wed, 21 Jan 2004 08:33:37 -0500 Message-Id: <200401211333.i0LDXbIq009117@dhin.linuxaudiosystems.com> From: Paul Davis To: gtkmm-list@gnome.org X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [141.151.92.205] at Wed, 21 Jan 2004 07:33:39 -0600 Subject: [gtkmm] CList rewrap Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: murray has mentioned a few times that it would be possible to rewrap CList for gtkmm2. i have a large app which makes major use of CList and CTree, and although we want to use TreeView for the improved functionality it offers, porting to gtkmm2 will be difficult if we have to do everything in one step. so, we are considering rewrapping CList as a bridge for the port effort. i wanted to check if anybody has done this yet .... --p From toka@freebits.de Wed Jan 21 08:46:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from freebits.de (unknown [62.27.20.5]) by mail.gnome.org (Postfix) with ESMTP id 2E3DC18BD6 for ; Wed, 21 Jan 2004 08:46:37 -0500 (EST) Received: from desktop.tokahome.de (freebits.nod [62.27.20.22]) (authenticated bits=0) by freebits.de (8.12.10/8.12.10) with ESMTP id i0LDlS35008184 for ; Wed, 21 Jan 2004 14:47:30 +0100 Date: Wed, 21 Jan 2004 14:46:33 +0100 From: Marcel Karras To: gtkmm-list@gnome.org Message-Id: <20040121144633.0bf83dce.toka@freebits.de> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] OpenSSL related bug - #define set_key des_set_key Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, some time ago I made a bugreport: http://bugzilla.gnome.org/show_bug.cgi?id=126756 I tried to contact the openssl mailinglist but there's a problem subscribing to the list. Thus I request for your help. Could someone post the problem? THe OpenSSL team should not define the macro "set_key". If I compile a gtkmm application it won't compile successfully until I make: #ifdef set_key #undef set_key #endif Thank you - Marcel Karras -- Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource From Murray.Cumming@Comneon.com Wed Jan 21 08:53:12 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DE2C318BD7 for ; Wed, 21 Jan 2004 08:53:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LDmvDb025155; Wed, 21 Jan 2004 14:48:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 14:53:31 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BA7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: epenharbel@yahoo.com.br, gtkmm-list@gnome.org Subject: RE: [gtkmm] draw images... Date: Wed, 21 Jan 2004 14:53:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I suggest that you: - ask on the GTK+ list, with a more specific subject, such as "LSB byte-order RGB immage". - investigate C++ image conversion APIs. Maybe you can convert the = image with a different library and then use it with gtkmm. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org=20 > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of =C9der Augusto=20 > Penharbel > Sent: Dienstag, 20. Januar 2004 18:43 > To: gtkmm-list > Subject: [gtkmm] draw images... >=20 >=20 > Hello >=20 > I need to draw a image from a BGR ( Blue green red ) buffer. >=20 > To draw a rgb buffer i can use this: >=20 > get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, > Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); >=20 > but how do i do this with the bgr buffer ( rgb in LSBFirst=20 > byte order ) without swap the bytes on a loop???=20 >=20 > Using the Xlib i'd use the XPutImage with a XImage in the=20 > LSBFirst byte_order, but in gtkmm or gtk???=20 >=20 > can I use the Xlib to draw a image in a Gtk::Window? or are=20 > there other way to do this? >=20 >=20 > thanks... >=20 >=20 > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org = http://mail.gnome.org/mailman/listinfo/gtkmm-list >=20 From fnaumann@cs.uni-magdeburg.de Wed Jan 21 08:59:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10]) by mail.gnome.org (Postfix) with ESMTP id 967E518BF0 for ; Wed, 21 Jan 2004 08:59:17 -0500 (EST) Received: from wh58-508.st.uni-magdeburg.de ([141.44.198.58]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.30) id 1AjIsw-00024F-2F; Wed, 21 Jan 2004 14:59:10 +0100 Date: Wed, 21 Jan 2004 14:59:07 +0100 (CET) From: Frank Naumann X-X-Sender: fnaumann@wh58-508.st.uni-magdeburg.de To: Marcel Karras Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] OpenSSL related bug - #define set_key des_set_key In-Reply-To: <20040121144633.0bf83dce.toka@freebits.de> Message-ID: References: <20040121144633.0bf83dce.toka@freebits.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: ---- Start SpamAssassin results -4.9 points, 5.0 required; -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] ---- End of SpamAssassin results X-Scan-Signature: 8f557e09c6f25d1c731b1614156185f1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello! > I tried to contact the openssl mailinglist but there's a problem > subscribing to the list. Thus I request for your help. Could someone > post the problem? > THe OpenSSL team should not define the macro "set_key". If I compile a > gtkmm application it won't compile successfully until I make: > > #ifdef set_key > #undef set_key > #endif Due to: ./gdk/gdkmm/device.h: void set_key (guint index_, guint keyval, ModifierType modifiers); Under Windows you have similiar problems if you don't include windows headers at last (as they define tons of [undocumented] macros that conflict in the same way as above). As workaround you can try to include the OpenSSL header files at last. Regards, Frank From toka@freebits.de Wed Jan 21 09:16:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from freebits.de (unknown [62.27.20.5]) by mail.gnome.org (Postfix) with ESMTP id 3509318506 for ; Wed, 21 Jan 2004 09:16:24 -0500 (EST) Received: from desktop.tokahome.de (freebits.nod [62.27.20.22]) (authenticated bits=0) by freebits.de (8.12.10/8.12.10) with ESMTP id i0LEHGSd008680 for ; Wed, 21 Jan 2004 15:17:17 +0100 Date: Wed, 21 Jan 2004 15:16:21 +0100 From: Marcel Karras To: gtkmm-list@gnome.org Subject: Re: [gtkmm] OpenSSL related bug - #define set_key des_set_key Message-Id: <20040121151621.60f17815.toka@freebits.de> In-Reply-To: References: <20040121144633.0bf83dce.toka@freebits.de> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, > Under Windows you have similiar problems if you don't include windows > headers at last (as they define tons of [undocumented] macros that > conflict in the same way as above). > > As workaround you can try to include the OpenSSL header files at last. yes, it seems to work well - thank you. Greetings - Marcel Karras -- Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource From Murray.Cumming@Comneon.com Wed Jan 21 12:30:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8BC9C18C2F for ; Wed, 21 Jan 2004 12:30:25 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LHQ7Db018300; Wed, 21 Jan 2004 18:26:07 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 18:30:41 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BC6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: toka@freebits.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Wed, 21 Jan 2004 18:30:18 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > some time ago I made a bugreport: > http://bugzilla.gnome.org/show_bug.cgi?id=126756 > > I tried to contact the openssl mailinglist but there's a > problem subscribing to the list. Thus I request for your > help. Could someone post the problem? I don't think anybody here wants to act as an email relay. I'm sure that you are capable of using their mailing list, or emailing the list admin if there is a problem. Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Wed Jan 21 12:58:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 782C318C73 for ; Wed, 21 Jan 2004 12:58:52 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id BCC362C2; Wed, 21 Jan 2004 17:58:27 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id F02A32BF for ; Wed, 21 Jan 2004 17:58:26 +0000 (GMT) Message-ID: <400EBDC6.30802@anvil.co.uk> Date: Wed, 21 Jan 2004 17:58:30 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] saving a TreeView to disk Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I have a program which parses a large directory structure into a tree view. There are several hundred directories to scan for, though, and it's pretty slow. Since the directories don't change very often (just the files within them), I was thinking about saving the tree on disk, and reloading it in when the program starts up. Taking the treeview example in the docs, I thought perhaps I could save the contents of ( Glib::RefPtr ) m_refTreeModel as a binary file, then load it in again - I think this is all that I'd need to recreate the tree. Would this work? I'm not entirely certain how to do it either; get a pointer to the start of the tree store, find the total size of it and do an fwrite kind of thing (which assumes the tree's in contiguous memory)? or would i need to iterate over the whole tree, saving each row in some fashion? I realise I could store on disk some kind of textual structure representing the tree, and recreate the tree from that on startup, but I'm hoping for a more simple solution! bevis PS alternatively, does anyone have a code snippet for recursively scanning directories really quickly? currently i'm using something like: DIR *dirp = opendir(dirname); while ((dirent *dp = readdir(dirp)) != NULL) { temp = dirname+"/"+dp->d_name; stat(temp, &sbuf); int isdir = sbuf.st_mode & S_IFDIR; if (!isdir) continue; ... put in tree ... ... recurse ... } but it's over NFS so that may be the bottleneck. From Murray.Cumming@Comneon.com Wed Jan 21 14:02:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 183EE183F3; Wed, 21 Jan 2004 14:02:37 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LIwLDb025543; Wed, 21 Jan 2004 19:58:21 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 20:02:55 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BCF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: otaylor@redhat.com Cc: gtk-devel-list@gnome.org, hadess@hadess.net, gtkmm-list@gnome.org Date: Wed, 21 Jan 2004 20:02:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: gtk_tree_model_iter_previous() Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > On Wed, 2004-01-21 at 13:44, Murray.Cumming@Comneon.com wrote: > > As mentioned here: http://bugzilla.gnome.org/show_bug.cgi?id=128058 > > > > It would be nice to have a gtk_tree_model_iter_previous() > as well as > > the current gtk_tree_model_iter_next(). Totem has an > implementation, > > though I guess it's significantly slower than > > gtk_tree_model_iter_next(): > > http://cvs.gnome.org/lxr/source/totem/src/totem-playlist.c#146 > > > > Thoughts? > > > If we add one, Totem will get what it deserves... people - if > you write utility functions, *DO NOT PUT THEM IN THE GTK+ > NAMESPACE I think that's not in any .h file, so it's not _so_ bad. > I've written that function before, and think it would be > useful to have in GTK+. Would need a warning in the docs > about performance. We could potentially add a vtable member > to GtkTreeModel in the > future to allow models to accelerate it when possible with > the model's data structures. > > I've discussed this with Jonathan before, forget what his > response was. > > But post-2.4. OK. Thanks. I'll prepare a patch sometime. And I might add it to gtkmm even before it's in GTK+. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 21 16:35:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id F1E99185C3 for ; Wed, 21 Jan 2004 16:35:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LLVUDb022134; Wed, 21 Jan 2004 22:31:30 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 22:36:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BD7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: alberto@paro.homeunix.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Wed, 21 Jan 2004 22:35:41 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've fixed some undocumentated functions in glibmm. > I've posted the result on Bugzilla > > http://bugzilla.gnome.org/show_bug.cgi?id=131841 Excellent. Sorry for not noticing this until now. I'll deal with that patch soon. Thanks a lot. Please try to use "true" instead of "TRUE" in the docs. > Now I think that I'll look to fix some documentation on gnomemm. (Lots > of people are working on gtkmm docs) Never quite enough, and it's easier to document gtkmm because the GTK+ C docs are so good. > I'll propose an API add in calendar widget that return a Glib::Date of > the date selected. > Do I need to post the API change on Bugzilla or we have to discuss this > API change? That sounds good. Just post the patch in bugzilla, please. They might like a GTK+ patch for that as well. Murray Cumming www.murrayc.com murrayc@usa.net From Nick.Huxley@barclayscapital.com Wed Jan 21 09:01:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id AD55B18759 for ; Wed, 21 Jan 2004 09:01:51 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0LDxlr6019468 for ; Wed, 21 Jan 2004 08:59:47 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0LDxief019437 for ; Wed, 21 Jan 2004 08:59:44 -0500 (EST) Received: from NYKPSMEH001.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Wed, 21 Jan 2004 09:01:43 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by NYKPSMEH001.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Wed, 21 Jan 2004 08:59:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Wed, 21 Jan 2004 08:59:34 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF0C2@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] OpenSSL related bug - #define set_key des_set_key Thread-Index: AcPgJbrQi65K2LasTle79SkoZJL27gAALeEQ From: "Huxley, Nick: IT (NYK)" To: "Marcel Karras" , X-OriginalArrivalTime: 21 Jan 2004 13:59:35.0437 (UTC) FILETIME=[CD4EABD0:01C3E026] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What include file is the macro initially being set in? I can see they would argue that more people use SSL than gnomemm so they probably won't change. Also as you've already come up with a work around is it so much of a problem? I hate CPP macros they're evil. Nick=20 -----Original Message----- From: Marcel Karras [mailto:toka@freebits.de]=20 Sent: Wednesday, January 21, 2004 8:47 AM To: gtkmm-list@gnome.org Subject: [gtkmm] OpenSSL related bug - #define set_key des_set_key Hello, some time ago I made a bugreport: http://bugzilla.gnome.org/show_bug.cgi?id=3D126756 I tried to contact the openssl mailinglist but there's a problem subscribing to the list. Thus I request for your help. Could someone post the problem?=20 THe OpenSSL team should not define the macro "set_key". If I compile a gtkmm application it won't compile successfully until I make: #ifdef set_key #undef set_key #endif Thank you - Marcel Karras --=20 Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ From Murray.Cumming@Comneon.com Thu Jan 22 03:18:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6009318204 for ; Thu, 22 Jan 2004 03:18:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0M8E8Db023707; Thu, 22 Jan 2004 09:14:10 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Jan 2004 09:18:43 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BE4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Nick.Huxley@barclayscapital.com, toka@freebits.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Thu, 22 Jan 2004 09:18:15 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > What include file is the macro initially being set in? > I can see they would argue that more people use SSL than > gnomemm so they probably won't change. Also as you've already > come up with a work around is it so much of a problem? I hate > CPP macros they're evil. But I doubt that have any good reason to use a macro rather than a function. But somebody must talk to them. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 22 05:22:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DC73E18125 for ; Thu, 22 Jan 2004 05:22:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0MAHvDb028342 for ; Thu, 22 Jan 2004 11:17:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Jan 2004 11:22:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Thu, 22 Jan 2004 11:22:02 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] gtkmm rpms for Mandrake? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: About a year ago somebody (I forget) at Mandrake told me that gtkmm 2 would definitely be in the next release of the distro. But I don't see it anywhere on the web, though I don't actually have Mandrake installed. Can anybody comment. Is there a status page anywhere? Who should we ask? Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Thu Jan 22 11:26:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id ED6DA18234 for ; Thu, 22 Jan 2004 11:26:54 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AjhcT-0002N2-9t; Thu, 22 Jan 2004 11:23:49 -0500 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm rpms for Mandrake? References: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Thu, 22 Jan 2004 11:23:49 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Thu, 22 Jan 2004 11:22:02 +0100") Message-ID: <87llo0kl4a.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > About a year ago somebody (I forget) at Mandrake told me that gtkmm 2 would > definitely be in the next release of the distro. But I don't see it anywhere > on the web, though I don't actually have Mandrake installed. Can anybody > comment. Is there a status page anywhere? Who should we ask? > I'll be at LWE this afternoon, I'll see if anyone there knows anything. From djmaecki@ull.at Fri Jan 23 04:58:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from stud3.tuwien.ac.at (stud3.tuwien.ac.at [193.170.75.13]) by mail.gnome.org (Postfix) with ESMTP id E314E182D2 for ; Fri, 23 Jan 2004 04:58:49 -0500 (EST) Received: from zaphod (v208-157.vps.tuwien.ac.at [128.131.208.157]) by stud3.tuwien.ac.at (8.9.3 (PHNE_28810+JAGae91741+JAGae92668)/8.9.3) with ESMTP id KAA06787 for ; Fri, 23 Jan 2004 10:58:49 +0100 (MET) Received: from marvin.home.srr.ull.at ([10.0.1.2]) by zaphod with smtp (Exim 3.35 #1 (Debian)) id 1Ajy5T-0000yS-00 for ; Fri, 23 Jan 2004 10:58:51 +0100 Received: by marvin.home.srr.ull.at (sSMTP sendmail emulation); Fri, 23 Jan 2004 10:58:45 +0100 To: gtkmm-list@gnome.org X-Face: (AyZfZV"!KH"MTF)t0v,Brpg61vAyl"x9NyDm/gakdi<9.\\aDlytY^1}O.[K_0EEbI9rD6 1CVK9qr7p-v9=5r!Q4eoGAcYQ|c$n)N\@5*`b0%2eS/bt Date: Fri, 23 Jan 2004 10:58:42 +0100 Message-ID: <878yjznfzh.fsf@ull.at> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: [gtkmm] TreeView vs. TreeModel Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-=-= Hi! I wrote a small app which receives requests from another thread and add a new row to a TreeModel upon each request. If I simply add the row like this Glib::Mutex::Lock Lock (_Mutex); SupplyColumns Columns; Gtk::TreeModel::iterator iter = _refTreeModel->append (); Gtk::TreeModel::Row row = *iter; row[Columns._OrderId] = OrderID; row[Columns._State] = "OPEN"; the TreeView doesn't get updated if the mainloop doesn't receive an event. If I move the mouse for example the new row is added. So surfing through the docs leads me to TreeModel::row_inserted(const Path& path, const iterator& iter) which should (I think) signal the TreeView to update it's display. A naive approach was simply adding following line after above code: _refTreeModel->row_inserted (_refTreeModel->get_path (iter), iter); But this leads to following critical message: (supfe:17982): Gtk-CRITICAL **: file gtktreeview.c: line 3353 (gtk_tree_view_bin_expose): assertion `has_next' failed. There is a disparity between the internal view of the GtkTreeView, and the GtkTreeModel. This generally means that the model has changed without letting the view know. Any display from now on is likely to be incorrect. How do I use row_inserted() to signal the TreeView. Or is there a better way to fix this problem? So long Thomas -- .''`. Calm yourself, Tubbs. None shall come... - Edward, Royston Vasey : :' : Thomas Krennwallner `. `'` 1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B `- http://bigfish.ull.at/~djmaecki/ --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD4DBQBAEPBV/1hOWWeh2nsRAoLTAJUcDGsl2B68JbobJvqSzaqC3CePAJ4rsPaZ TNb7rHLZYArM+rhpbkpfwQ== =i3cx -----END PGP SIGNATURE----- --=-=-=-- From find_all@hotmail.com Fri Jan 23 06:55:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f59.sea2.hotmail.com [207.68.165.59]) by mail.gnome.org (Postfix) with ESMTP id 2C39918AD4 for ; Fri, 23 Jan 2004 06:55:39 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 Jan 2004 03:55:38 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Fri, 23 Jan 2004 11:55:38 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Fri, 23 Jan 2004 11:55:38 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 23 Jan 2004 11:55:38.0290 (UTC) FILETIME=[D13F9920:01C3E1A7] Subject: [gtkmm] Indexed image on Gdk::Pixbuf Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm trying to put an indexed image into a Gdk::Pixbuf. I have the image as a buffer in memory of 8 bits per color with the palette also in memory on another buffer of 3 bytes per color (256 colors). The problem is : How do I put this image into a Gdk::Pixbuf without converting it to a 24 or 32 bits format? If I do the conversion I waste a lot of time. If it is imposible to put directly a 8 bits indexed image into a pixbuf , can I put the image to a Gtk::Image or Gdk::Image in 8 bits and then transfer it to the Gdk::Pixbuf? How? The functions from Gdk::Pixbuf to get an image from a file don't suits me because I'm using an encrypted image that I have to decryp before putting it on the Gdk::Pixbuf. I've try to use Gdk::Drawable->draw_indexed_image but I haven't been able to make it work. Can anybody put a simple working example of Gdk::Drawable->draw_indexed_image? I haven't found any example on the net. Thanks in advance _________________________________________________________________ Reserva y planifica tu viaje online. http://www.msn.es/Viajes/ From olau@hardworking.dk Fri Jan 23 13:21:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp020.tiscali.dk (smtp020.tiscali.dk [212.54.64.104]) by mail.gnome.org (Postfix) with ESMTP id 98D9D1835B for ; Fri, 23 Jan 2004 13:21:37 -0500 (EST) Received: from bach.composers (8.ppp1-1.abc.worldonline.dk [213.237.21.8]) by smtp020.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0NILUFK007056 for ; Fri, 23 Jan 2004 19:21:31 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1Ak3z5-0000Ho-Ep for gtkmm-list@gnome.org; Fri, 23 Jan 2004 17:16:39 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Indexed image on Gdk::Pixbuf References: From: Ole Laursen Date: Fri, 23 Jan 2004 17:16:39 +0100 In-Reply-To: (Find All's message of "Fri, 23 Jan 2004 11:55:38 +0000") Message-ID: <87zncehc7s.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Find All" writes: > I have the image as a buffer in memory of 8 bits per color with the palette > also in memory on another buffer of 3 bytes per color (256 colors). > The problem is : How do I put this image into a Gdk::Pixbuf without > converting it > to a 24 or 32 bits format? > If I do the conversion I waste a lot of time. I don't know how to solve this inside X, but are you sure it isn't best to just to the conversion yourself? If you are displaying the image on an ordinary screen anyway, someplace in X something is likely to have to convert it to the higher bit depth anyway. So you won't save anything at all. Also, unless you're converting lots of images, you will have plenty of time. Without having timed it, I would bet that you could easily convert 100 images with the resolution 1024x768 in a second. That's plenty of time for most purposes. Premature optimisation is the root of all evil, and all that... :-) > If it is imposible to put directly a 8 bits indexed image into a > pixbuf, can I put the image to a Gtk::Image or Gdk::Image in 8 bits > and then transfer it to the Gdk::Pixbuf? How? I think you are misunderstanding something. As far as I know, the data in Gdk::Pixbufs are always 24 bpp. But I may be wrong. -- Ole Laursen http://www.cs.auc.dk/~olau/ From prencher@prencher.dk Sat Jan 24 09:34:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id 1A87E1847A for ; Sat, 24 Jan 2004 09:34:36 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 0A74D47FEE0 for ; Sat, 24 Jan 2004 15:34:32 +0100 (CET) From: "Thomas Johansson" To: Date: Sat, 24 Jan 2004 15:34:32 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0017_01C3E28F.9013E710" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPihy4nb8fL5SQgT7OnkmdsSCcP0A== Message-Id: <20040124143432.0A74D47FEE0@pfepa.post.tele.dk> Subject: [gtkmm] Auto-import errors with TreeViewColumn on win32 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0017_01C3E28F.9013E710 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Recently I've been working on porting LostIRC to windows. However, while trying to link, I get a bunch of auto import errors, apparently on TreeViewColumn, the output from the linking step is a the buttom of this email. The files in question are these: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .h?rev=1.5 &view=auto http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .cpp?rev=1.10 &view=auto It seems to be errors with exporting from gtkmm, however im not sure, so any help would be appreciated. Here's the output from the linking step, I get no errors during compilation. ---------------------------------------------------------------------------- -------------------------------- /bin/bash ../../libtool --mode=link g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Info: resolving __ZTTN3Gtk14TreeViewColumnE by linking to __imp___ZTTN3Gtk14TreeViewColumnE (auto-import) Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking to __imp___ZTVN3Gtk14TreeViewColumnE (auto-import) kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ---------------------------------------------------------------------------- -------------------------------- Regards, Thomas Johansson, prencher@prencher.dk ------=_NextPart_000_0017_01C3E28F.9013E710 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
 
Recently I've been=20 working on porting LostIRC to windows.
 
However, while=20 trying to link, I get a bunch of auto import errors, apparently on=20 TreeViewColumn, the output from the linking step is a the buttom of this = email.
 
The files in=20 question are these:
http://cvs.sourceforge.net/viewc= vs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=3D1.5&view=3Dauto<= /A>
http://cvs.sourceforge.net/vi= ewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=3D1.10&view=3D= auto
 
It = seems to be=20 errors with exporting from gtkmm, however im not sure, so any help would = be appreciated.
 
Here's = the output=20 from the linking step, I get no errors during = compilation.
 
----------------------------------------------= --------------------------------------------------------------
 
/bin/bash=20 ../../libtool --mode=3Dlink g++  -g -O2 -Wall   -o=20 lostirc.exe  main.o MainWindow.o MainNotebook.o Tab.o Prefs.o=20 ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 = -lgdkmm-2.0=20 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 = -lsigc-1.2=20 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 = -lpango-1.0=20 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 
g++ -g = -O2 -Wall=20 -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o = ServerWindow.o=20 GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o =20 ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 = -latkmm-1.0=20 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 = -lgdk-win32-2.0=20 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 = -lgobject-2.0=20 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
Info: resolving=20 __ZTTN3Gtk14TreeViewColumnE by linking to = __imp___ZTTN3Gtk14TreeViewColumnE=20 (auto-import)
Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking = to=20 __imp___ZTVN3Gtk14TreeViewColumnE=20 (auto-import)
kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for=20 Gtk::TreeViewColumn' can't be auto-imported. Please read the = documentation for=20 ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for = details.
ServerWindow.o
(.text$_ZN3Gtk14TreeViewColumnC1IN4Gli= b7ustringEEERKS3_RKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/inclu= de/gtkmm-2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for = details.
 
----------------------------------------------= --------------------------------------------------------------
 
Regards,
Thomas Johansson, prencher@prencher.dk
 
= ------=_NextPart_000_0017_01C3E28F.9013E710-- From prencher@prencher.dk Sat Jan 24 09:27:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id B7EE0181B8 for ; Sat, 24 Jan 2004 09:27:40 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 251B647FF3C for ; Sat, 24 Jan 2004 15:27:34 +0100 (CET) From: "Thomas Johansson" To: Date: Sat, 24 Jan 2004 15:27:34 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C3E28E.97061EE0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPihjTudHJ1qir+QraJNDjIGEkEhQ== Message-Id: <20040124142734.251B647FF3C@pfepa.post.tele.dk> Subject: [gtkmm] Auto-import errors with TreeViewColumn on win32 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C3E28E.97061EE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Recently I've been working on porting LostIRC to windows. However, while trying to link, I get a bunch of auto import errors, apparently on TreeViewColumn, the output from the linking step is a the buttom of this email. The files in question are these: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .h?rev=1.5 &view=auto http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .cpp?rev=1.10 &view=auto It seems to be errors with exporting from gtkmm, however im not sure, so any help would be appreciated. Here's the output from the linking step, I get no errors during compilation. ---------------------------------------------------------------------------- -------------------------------- /bin/bash ../../libtool --mode=link g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Info: resolving __ZTTN3Gtk14TreeViewColumnE by linking to __imp___ZTTN3Gtk14TreeViewColumnE (auto-import) Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking to __imp___ZTVN3Gtk14TreeViewColumnE (auto-import) kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ---------------------------------------------------------------------------- -------------------------------- Regards, Thomas Johansson, prencher@prencher.dk ------=_NextPart_000_0013_01C3E28E.97061EE0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
 
Recently I've been=20 working on porting LostIRC to windows.
 
However, while=20 trying to link, I get a bunch of auto import errors, apparently on=20 TreeViewColumn, the output from the linking step is a the buttom of this = email.
 
The files in=20 question are these:
http://cvs.sourceforge.net/viewc= vs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=3D1.5&view=3Dauto<= /A>
http://cvs.sourceforge.net/vi= ewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=3D1.10&view=3D= auto
Can i compile and run gtkmm = applications with gcc 3.3/gcc 3.4, or are there known = problems?
 
It = seems to be=20 errors with exporting from gtkmm, however im not sure, so any help would = be appreciated.
 
Here's = the output=20 from the linking step, I get no errors during = compilation.
 
----------------------------------------------= --------------------------------------------------------------
 
/bin/bash=20 ../../libtool --mode=3Dlink g++  -g -O2 -Wall   -o=20 lostirc.exe  main.o MainWindow.o MainNotebook.o Tab.o Prefs.o=20 ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 = -lgdkmm-2.0=20 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 = -lsigc-1.2=20 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 = -lpango-1.0=20 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 
g++ -g = -O2 -Wall=20 -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o = ServerWindow.o=20 GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o =20 ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 = -latkmm-1.0=20 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 = -lgdk-win32-2.0=20 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 = -lgobject-2.0=20 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
Info: resolving=20 __ZTTN3Gtk14TreeViewColumnE by linking to = __imp___ZTTN3Gtk14TreeViewColumnE=20 (auto-import)
Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking = to=20 __imp___ZTVN3Gtk14TreeViewColumnE=20 (auto-import)
kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for=20 Gtk::TreeViewColumn' can't be auto-imported. Please read the = documentation for=20 ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for = details.
 
----------------------------------------------= --------------------------------------------------------------
 
Regards,
Thomas Johansson, prencher@prencher.dk
 
------=_NextPart_000_0013_01C3E28E.97061EE0-- From djmaecki@ull.at Sun Jan 25 11:24:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from stud3.tuwien.ac.at (stud3.tuwien.ac.at [193.170.75.13]) by mail.gnome.org (Postfix) with ESMTP id 4BCEE1887D for ; Sun, 25 Jan 2004 11:24:05 -0500 (EST) Received: from zaphod (v208-157.vps.tuwien.ac.at [128.131.208.157]) by stud3.tuwien.ac.at (8.9.3 (PHNE_28810+JAGae91741+JAGae92668)/8.9.3) with ESMTP id RAA15322 for ; Sun, 25 Jan 2004 17:24:01 +0100 (MET) Received: from marvin.home.srr.ull.at ([10.0.1.2]) by zaphod with smtp (Exim 3.35 #1 (Debian)) id 1Akn3N-0001ak-00 for ; Sun, 25 Jan 2004 17:24:05 +0100 Received: by marvin.home.srr.ull.at (sSMTP sendmail emulation); Sun, 25 Jan 2004 17:23:57 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] TreeView vs. TreeModel X-Face: (AyZfZV"!KH"MTF)t0v,Brpg61vAyl"x9NyDm/gakdi<9.\\aDlytY^1}O.[K_0EEbI9rD6 1CVK9qr7p-v9=5r!Q4eoGAcYQ|c$n)N\@5*`b0%2eS/bt In-Reply-To: <878yjznfzh.fsf@ull.at> (Thomas Krennwallner's message of "Fri, 23 Jan 2004 10:58:42 +0100") References: <878yjznfzh.fsf@ull.at> Date: Sun, 25 Jan 2004 17:23:56 +0100 Message-ID: <87u12kngir.fsf@ull.at> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-=-= Hi! Thomas Krennwallner writes: > How do I use row_inserted() to signal the TreeView. Or is there a > better way to fix this problem? I solved it by using a Gtk::Dispatcher. Thanks to Igor Gorbounov for his helpful hints. So long Thomas -- .''`. Tephelome...Is this one? - Tubbs, Royston Vasey : :' : Thomas Krennwallner `. `'` 1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B `- http://bigfish.ull.at/~djmaecki/ --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBAE+2c/1hOWWeh2nsRAtFCAKC9iFHoZZxNm/ANxpoErUulbCZCBQCgk99S 2zbtw4TOLLpTjyRUIPYInI8= =4xr+ -----END PGP SIGNATURE----- --=-=-=-- From cedric.gustin@swing.be Mon Jan 26 01:57:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 7B10818342 for ; Mon, 26 Jan 2004 01:57:06 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0Q6onte024711; Mon, 26 Jan 2004 07:50:54 +0100 (MET) Message-Id: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 25 Jan 2004 10:32:25 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040124142734.251B647FF3C@pfepa.post.tele.dk> References: <20040124142734.251B647FF3C@pfepa.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 03:27 PM 1/24/2004, you wrote: >Recently I've been working on porting LostIRC to windows. > >However, while trying to link, I get a bunch of auto import errors, >apparently on TreeViewColumn, the output from the linking step is a the >buttom of this email. > >The files in question are these: >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=1.10&view=auto > >It seems to be errors with exporting from gtkmm, however im not sure, so >any help would be appreciated. Hi Thomas, To help you, it would be nice to know : 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. If the configure and libtool scripts are generated locally on your win32 machine or on a linux machine when making the tarball (make dist) + version and origin (cygwin/msys if produced locally) of the autotools, especially libtool ! 3. if you use my port of gtkmm for mingw, the port of gtk/gtkmm that uses the cygwin runtime, or your own port. Cedric From mattgerg@users.sourceforge.net Mon Jan 26 05:39:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from f04n01.cac.psu.edu (f04s01.cac.psu.edu [128.118.141.31]) by mail.gnome.org (Postfix) with ESMTP id 4B8C9181E9 for ; Mon, 26 Jan 2004 05:39:36 -0500 (EST) Received: from MAG357.rhbd.psu.edu (MAG357.rhbd.psu.edu [66.71.10.196]) by f04n01.cac.psu.edu (8.9.3p2.1/8.9.3) with ESMTP id FAA363184 for ; Mon, 26 Jan 2004 05:39:32 -0500 From: Matt Gerginski To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1075095542.4399.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 26 Jan 2004 05:39:02 +0000 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Widget inside a Treeview Cell Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, I am wondering if there is any way to go about embedding a widget, inside a cell of a treeview. If there is a way to go about this, any help would be appreciated, for now I just want to know if it is possible. Thanks, Matt PS. Can you please respond to my email, I am not a member of the list. -- Matt Gerginski From B.Touron@citb.bull.net Mon Jan 26 09:01:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id D79DE18292 for ; Mon, 26 Jan 2004 09:01:26 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0QE1O427939 for ; Mon, 26 Jan 2004 15:01:24 +0100 Message-ID: <40151DF3.9050006@citb.bull.net> Date: Mon, 26 Jan 2004 15:02:27 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::TreeView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello everybody ! I am new to Gtkmm. I searched in the documentation, and in the mailing list archive, without success. So, in a TreeView, how can I display the connecting lines between the nodes ? Is it an option somewhere in the TreeView ? I am using gtkmm under Windows. Thanks for your help. Ben From prencher@prencher.dk Mon Jan 26 09:12:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mail.gnome.org (Postfix) with ESMTP id AFE6318157 for ; Mon, 26 Jan 2004 09:12:52 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepc.post.tele.dk (Postfix) with ESMTP id 36151263002; Mon, 26 Jan 2004 15:12:39 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 15:12:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPj2a030RPf+p5ZS6K1dCISuGCIfAAO5wSw Message-Id: <20040126141239.36151263002@pfepc.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: 1. Running on a cygwin system with mingw tools as compiling suit. $ g++ --version g++.exe (GCC) 3.3.1 (mingw special 20030804-1) 2. Was generated on a linux machine, for making a tarball dist. $ autoconf --version autoconf (GNU Autoconf) 2.59 $ automake --version autautomake (GNU automake) 1.7.9 $ libtool --version altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) Debian: 192 $ 3. I use your mingw native port. I tried running autogen.sh locally, but it gives me errors about GETTEXT macros, I have installed the mingw gettext and iconv packages. Perhaps they should be installed somewhere in the cygwin tree rather than in mingws ? --- Thomas Johansson prencher@prencher.dk http://prencher.dk/ > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 25. jan 2004 10:32 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > At 03:27 PM 1/24/2004, you wrote: > > >Recently I've been working on porting LostIRC to windows. > > > >However, while trying to link, I get a bunch of auto import errors, > >apparently on TreeViewColumn, the output from the linking > step is a the > >buttom of this email. > > > >The files in question are these: > > kmm/Server > >Window.h?rev=1.5&view=auto>http://cvs.sourceforge.net/viewcvs .py/lostir > >c/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto > >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtk > mm/ServerW > >indow.cpp?rev=1.10&view=auto > > > >It seems to be errors with exporting from gtkmm, however im > not sure, > >so any help would be appreciated. > > > Hi Thomas, > > To help you, it would be nice to know : > > 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. > If the configure and libtool scripts are generated locally on > your win32 machine or on a linux machine when making the > tarball (make dist) + version and origin (cygwin/msys if > produced locally) of the autotools, especially libtool ! > 3. if you use my port of gtkmm for mingw, the port of > gtk/gtkmm that uses the cygwin runtime, or your own port. > > Cedric > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From matthew@alledora.co.uk Mon Jan 26 09:14:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 06B4118157 for ; Mon, 26 Jan 2004 09:14:03 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Al7RW-0000w2-6X for gtkmm-list@gnome.org; Mon, 26 Jan 2004 14:10:22 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Al7RV-0000vo-3Y; Mon, 26 Jan 2004 14:10:21 +0000 Message-ID: <401520F3.1050701@alledora.co.uk> Date: Mon, 26 Jan 2004 14:15:15 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView References: <40151DF3.9050006@citb.bull.net> In-Reply-To: <40151DF3.9050006@citb.bull.net> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Hello everybody ! > > I am new to Gtkmm. I searched in the documentation, and in the mailing > list archive, without success. > > So, in a TreeView, how can I display the connecting lines between the > nodes ? > Is it an option somewhere in the TreeView ? As I understand it, in GTK+ 2 it's impossible to display connecting lines in a TreeView in the manner see in, say, the GTK+ 1.x CTree, or the Win32 tree control. That's not just a matter of the theme engine not drawing them, but the toolkit not supporting it (not entirely sure, but that's the impression I got from an interview with one of the GTK+ developers recently). So the short answer is that, unfortunately, you can't. I'm hoping somebody will make a patch to allow theme engines to draw those lines if they wish, as sometimes I'd really rather like to have them. From prencher@prencher.dk Mon Jan 26 09:41:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id 27A711870E for ; Mon, 26 Jan 2004 09:41:58 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id DEABF480156; Mon, 26 Jan 2004 15:41:53 +0100 (CET) From: "Thomas Johansson" To: "'Thomas Johansson'" , "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 15:41:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040126141239.36151263002@pfepc.post.tele.dk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPj2a030RPf+p5ZS6K1dCISuGCIfAAO5wSwAAE3qYA= Message-Id: <20040126144153.DEABF480156@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok last error I got fixed, however, running locally generated ./configure gives me this error: ./configure: line 18835: syntax error near unexpected token `DEPS,' ./configure: line 18835: `PKG_CHECK_MODULES(DEPS, gtkmm-2.0)' The configure.ac file can be seen here: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/configure.ac?rev=1.8&v iew=auto --- Thomas Johansson prencher@prencher.dk http://prencher.dk/ > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Thomas Johansson > Sent: 26. jan 2004 15:13 > To: 'Cedric Gustin'; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > 1. Running on a cygwin system with mingw tools as compiling suit. > > $ g++ --version > g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > > 2. Was generated on a linux machine, for making a tarball dist. > > $ autoconf --version > autoconf (GNU Autoconf) 2.59 > $ automake --version > autautomake (GNU automake) 1.7.9 > $ libtool --version > altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 > 12:25:08) Debian: 192 $ > > 3. I use your mingw native port. > > I tried running autogen.sh locally, but it gives me errors > about GETTEXT macros, I have installed the mingw gettext and > iconv packages. Perhaps they should be installed somewhere in > the cygwin tree rather than in mingws ? > > --- > Thomas Johansson > prencher@prencher.dk > http://prencher.dk/ > > > -----Original Message----- > > From: gtkmm-list-admin@gnome.org > > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > > Sent: 25. jan 2004 10:32 > > To: Thomas Johansson; gtkmm-list@gnome.org > > Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > > > At 03:27 PM 1/24/2004, you wrote: > > > > >Recently I've been working on porting LostIRC to windows. > > > > > >However, while trying to link, I get a bunch of auto > import errors, > > >apparently on TreeViewColumn, the output from the linking > > step is a the > > >buttom of this email. > > > > > >The files in question are these: > > > > kmm/Server > > >Window.h?rev=1.5&view=auto>http://cvs.sourceforge.net/viewcvs > .py/lostir > > >c/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto > > >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtk > > mm/ServerW > > >indow.cpp?rev=1.10&view=auto > > > > > >It seems to be errors with exporting from gtkmm, however im > > not sure, > > >so any help would be appreciated. > > > > > > Hi Thomas, > > > > To help you, it would be nice to know : > > > > 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. > > If the configure and libtool scripts are generated locally on your > > win32 machine or on a linux machine when making the tarball (make > > dist) + version and origin (cygwin/msys if produced locally) of the > > autotools, especially libtool ! > > 3. if you use my port of gtkmm for mingw, the port of > gtk/gtkmm that > > uses the cygwin runtime, or your own port. > > > > Cedric > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From cedric.gustin@swing.be Mon Jan 26 10:12:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 147EA18353 for ; Mon, 26 Jan 2004 10:12:18 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0QF65te018621; Mon, 26 Jan 2004 16:06:06 +0100 (MET) Message-Id: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 26 Jan 2004 16:12:26 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040126141239.36151263002@pfepc.post.tele.dk> References: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> <20040126141239.36151263002@pfepc.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok, I checked lostirc. It requires some posix functions/macros that are not available natively on win32 (hence with mingw32). Therefore, either you modify the lostirc source and replace those posix functions by their win32 counterparts, or you should use the cygwin runtime. Unfortunately, my port of gtkmm is for the mingw32 distribution, only but you can find a port of gtkmm for cygwin (that runs both natively and with an X server) at http://web.sfc.keio.ac.jp/~s01397ms/cygwin/ If you decide to go the native way (win32 specific functions in lostirc + mingw32), I strongly recommend to set/modify the LIBRARY_PATH, C_INCLUDE_PATH and PKG_CONFIG_PATH variables to make sure that they are set appropriately (in order for gcc to detect iconv, libintl,...). The -I option to aclocal is also your friend (for the PKG_CHECK_MODULES autoconf macro). Hope it helps Cedric At 03:12 PM 1/26/2004, Thomas Johansson wrote: >1. Running on a cygwin system with mingw tools as compiling suit. > >$ g++ --version >g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > >2. Was generated on a linux machine, for making a tarball dist. > >$ autoconf --version >autoconf (GNU Autoconf) 2.59 >$ automake --version >autautomake (GNU automake) 1.7.9 >$ libtool --version >altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) Debian: 192 >$ > >3. I use your mingw native port. > >I tried running autogen.sh locally, but it gives me errors about GETTEXT >macros, I have installed the mingw gettext and iconv packages. Perhaps they >should be installed somewhere in the cygwin tree rather than in mingws ? From prencher@prencher.dk Mon Jan 26 10:29:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id E72B618154 for ; Mon, 26 Jan 2004 10:29:48 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 0409D480165; Mon, 26 Jan 2004 16:29:42 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 16:29:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPkHsauYvJxdN+DQEypfNv7+kjRqAAAdcHg Message-Id: <20040126152942.0409D480165@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Im aware lostirc contains some linux specific functions, but those will be ported eventually. The issue is with those TreeViewColumn errors, and PKG_CHECK_MODULES. > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 26. jan 2004 16:12 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > > Ok, I checked lostirc. It requires some posix > functions/macros that are not available natively on win32 > (hence with mingw32). Therefore, either you modify the > lostirc source and replace those posix functions by their > win32 counterparts, or you should use the cygwin runtime. > Unfortunately, my port of gtkmm is for the mingw32 > distribution, only but you can find a port of gtkmm for > cygwin (that runs both natively and with an X server) at > > http://web.sfc.keio.ac.jp/~s01397ms/cygwin/ > > If you decide to go the native way (win32 specific functions > in lostirc + mingw32), I strongly recommend to set/modify the > LIBRARY_PATH, C_INCLUDE_PATH and PKG_CONFIG_PATH variables to > make sure that they are set appropriately (in order for gcc > to detect iconv, libintl,...). The -I option to aclocal is > also your friend (for the PKG_CHECK_MODULES autoconf macro). > > Hope it helps > > Cedric > > At 03:12 PM 1/26/2004, Thomas Johansson wrote: > >1. Running on a cygwin system with mingw tools as compiling suit. > > > >$ g++ --version > >g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > > > > >2. Was generated on a linux machine, for making a tarball dist. > > > >$ autoconf --version > >autoconf (GNU Autoconf) 2.59 > >$ automake --version > >autautomake (GNU automake) 1.7.9 > >$ libtool --version > >altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) > >Debian: 192 $ > > > >3. I use your mingw native port. > > > >I tried running autogen.sh locally, but it gives me errors about > >GETTEXT macros, I have installed the mingw gettext and iconv > packages. > >Perhaps they should be installed somewhere in the cygwin > tree rather than in mingws ? > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From pgasper@designadvantage.com Mon Jan 26 11:39:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 9684518268 for ; Mon, 26 Jan 2004 11:39:01 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1Al9lK-0007Gw-Ow for gtkmm-list@gnome.org; Mon, 26 Jan 2004 11:38:58 -0500 From: Peter Gasper To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Message-Id: <1075135134.2178.23.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 26 Jan 2004 09:38:58 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Subject: [gtkmm] scrolledwindow floating point exception Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I want to say this is a bug, but I'm probably just doing something wrong. I'm adding a scrolledwindow to one or both panes in an HPaned widget. If one then takes the mouse and drags the handle all the way to the left or right the program errors out with a floating point exception. What am I doing wrong? If this is a bug, let me know and I'll add it to bugzilla. Thanks. -- Peter Gasper From pgasper@designadvantage.com Mon Jan 26 11:57:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 493FD18187 for ; Mon, 26 Jan 2004 11:57:26 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AlA39-0007Gz-L5 for gtkmm-list@gnome.org; Mon, 26 Jan 2004 11:57:23 -0500 Subject: Re: [gtkmm] scrolledwindow floating point exception From: Peter Gasper To: gtkmm-list@gnome.org In-Reply-To: <1075135134.2178.23.camel@PETE> References: <1075135134.2178.23.camel@PETE> Content-Type: multipart/mixed; boundary="=-tCmNmsEYfk2zONm5VrGB" Organization: Message-Id: <1075136239.2176.25.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 26 Jan 2004 09:57:23 -0700 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-tCmNmsEYfk2zONm5VrGB Content-Type: text/plain Content-Transfer-Encoding: 7bit Attached is an example. Thanks. On Mon, 2004-01-26 at 09:38, Peter Gasper wrote: > I want to say this is a bug, but I'm probably just doing something > wrong. > > I'm adding a scrolledwindow to one or both panes in an HPaned widget. If > one then takes the mouse and drags the handle all the way to the left or > right the program errors out with a floating point exception. > > What am I doing wrong? If this is a bug, let me know and I'll add it to > bugzilla. > > Thanks. -- Peter Gasper --=-tCmNmsEYfk2zONm5VrGB Content-Disposition: attachment; filename=main.cc Content-Type: text/x-c++; name=main.cc; charset=UTF-8 Content-Transfer-Encoding: 7bit #include #include #include #include #include class Test : public Gtk::Window { public: Test() :label1("test"), label2("test2") { add(hpaned); hpaned.add1(win1); win1.add(label1); hpaned.add2(win2); win2.add(label2); show_all(); }; virtual ~Test() {}; protected: Gtk::Label label1, label2; Gtk::ScrolledWindow win1, win2; Gtk::HPaned hpaned; }; int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Test test; Gtk::Main::run(test); return (0); } --=-tCmNmsEYfk2zONm5VrGB-- From cedric.gustin@swing.be Mon Jan 26 15:12:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 0A395187FA for ; Mon, 26 Jan 2004 15:12:29 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0QK6Ite001186; Mon, 26 Jan 2004 21:06:18 +0100 (MET) Message-Id: <6.0.1.1.2.20040126205924.01c0baf0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 26 Jan 2004 21:12:20 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040126152942.0409D480165@pfepa.post.tele.dk> References: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> <20040126152942.0409D480165@pfepa.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 04:29 PM 1/26/2004, Thomas Johansson wrote: >Im aware lostirc contains some linux specific functions, but those will be >ported eventually. The issue is with those TreeViewColumn errors, and >PKG_CHECK_MODULES. I managed to compile lostirc (without the posix stuff. I commented out the corresponding pieces of code). You can see a screenshot here : http://www.pcpm.ucl.ac.be/~gustin/tmp/lostirc.jpg I guess your TreeViewColumn problem is related to either your compiler version (I use and compiled gtkmm with mingw-gcc 3.2.3 while it seems you have updated your compiler to the recently released 3.3.1), or to some conflicts with cygwin dlls. Did you test your gtkmm installation on a simple gtkmm example (say one of the gtkmm book examples) ? About the PKG_CHECK_MODULES, make sure that aclocal in your autogen.sh script is called with the '-I /path/to/pkg.m4'. In my case, this is C:\Gtk\share\aclocal. Or set the ACLOCAL_FLAGS environment variable if your autogen.sh supports this feature. But in any case, lostirc compiles out of the box with the source tarball. Cedric From prencher@prencher.dk Mon Jan 26 21:24:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id A60B418277 for ; Mon, 26 Jan 2004 21:24:07 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 339E547FF3B; Tue, 27 Jan 2004 03:24:06 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Tue, 27 Jan 2004 03:24:06 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcPkSK0i0hq+owULScGDHGIs8IJAKgAM4E0g In-Reply-To: <6.0.1.1.2.20040126205924.01c0baf0@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-Id: <20040127022406.339E547FF3B@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yeah, I do know it compiles, I have ported a good bit of it by now, which is in the cvs. I just redid my cygwin/mingw/gtk+/gtkmm setup, and it seems it was the newer compiler (mingw gcc 3.3.1) that made the trouble. Thanks for you help :) > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 26. jan 2004 21:12 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > At 04:29 PM 1/26/2004, Thomas Johansson wrote: > >Im aware lostirc contains some linux specific functions, but > those will > >be ported eventually. The issue is with those TreeViewColumn errors, > >and PKG_CHECK_MODULES. > > I managed to compile lostirc (without the posix stuff. I > commented out the corresponding pieces of code). You can see > a screenshot here : > > http://www.pcpm.ucl.ac.be/~gustin/tmp/lostirc.jpg > > I guess your TreeViewColumn problem is related to either your > compiler version (I use and compiled gtkmm with mingw-gcc > 3.2.3 while it seems you have updated your compiler to the > recently released 3.3.1), or to some conflicts with cygwin > dlls. Did you test your gtkmm installation on a simple gtkmm > example (say one of the gtkmm book examples) ? > > About the PKG_CHECK_MODULES, make sure that aclocal in your > autogen.sh script is called with the '-I /path/to/pkg.m4'. In > my case, this is C:\Gtk\share\aclocal. Or set the > ACLOCAL_FLAGS environment variable if your autogen.sh > supports this feature. But in any case, lostirc compiles out > of the box with the source tarball. > > Cedric > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Tue Jan 27 04:40:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 83DAE182BE; Tue, 27 Jan 2004 04:40:30 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0R9aCDb028927; Tue, 27 Jan 2004 10:36:12 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 27 Jan 2004 10:40:53 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Date: Tue, 27 Jan 2004 10:40:21 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: *** gtkmm 2.4 NOTE: This is probably your last chance to comment on the API before the API freeze. gtkmm provides a C++ interface to GTK+. The 2.3.x tarballs are the unstable development series that will become the stable gtkmm 2.4. gtkmm 2.3/2.4 will wrap any additional API in GTK+ 2.4. glibmm is now a separate module, for use in non-GUI software. gtkmm 2.3/2.4 installs in parallel with gtkmm 2.2, so you can install this unstable library without the risk of breaking existing applications. This allows us to break ABI and API, though we will try not to break API unless it is absolutely necessary. But do be aware that the underlying unstable GTK+ 2.3 does not install in parallel with GTK+ 2.2, so be careful if you apply it in your normal prefix. We recommend the use of jhbuild or garnome for testing in a separate prefix. The stable (API/ABI-frozen) gtkmm 2.4.0 will be released soon after GTK+ 2.4.0. gtkmm is on the official GNOME Platform Bindings release schedule: http://www.gnome.org/start/2.5/bindings/ http://www.gtkmm.org *** Changes glibmm 2.3.3: * gmmproc (code generator) - properties: Make read-only properties have const accessors, and add a second read-only const accessor for normal properties. Wrap construct-only properties as read-only, instead of ignoring them. - vfuncs: Really generate const vfuncs when requested. Put the method declaration directly into the .h file, so that the doxygen documentation can be next to it. - documentation: - Remove mergecdocs configure option - always merge the C docs, to avoid any risk of uploading or releasing empty documentation. Just delete the *_docs.xml files to make building from cvs faster. - Install a GLIBMM_CHECK_PERL() macro, for use by gtkmm and other *mm projects, to get the perl path needed by doxygen. - Install beautify_docs.pl so it can be reused in gtkmm and other *mm projects, instead of having lots of copies. * Glib::ObjectBase: The default constructor, never before used, now generates a custom GType, for use when creating new implementations of Glib::Interfaces - for instance, see the new custom tree model example in gtkmm. * Glib::Date: Added clamp_min() and clamp_max(). (Murray Cumming) * Documentation: - Added reference documentation for MainLoop, MainContext, Source, and Date. (Alberto Paro) gtkmm 2.3.2: * Gtk: * AccelMap: Added lock_path() and unlock_path(). * Button: Added get/set_alignment(). * CellLayout: Added reorder(). * Clipboard: Added wait_for_targets(), and a simpler request_targets(). * MenuShell: Added cancel(). * ListStore, TreeStore: Added set_model_columns() for use by derived classes. * TreeModel: vfuncs now use C++ types, and are documented. * TreeModelFilter: Wrapped set_modify_func(). * Window: Added get_group() and set_accept_focus(). * Gdk: * Colormap: Added get_system(). * Device: Added get_name(), get_source(), get_mode() and get_has_cursor() * Display: Added set_double_click_distance() and get_default_group(). * DragContext: Added get_targets(). * Added rgb_*() methods. * Pango: * LayoutLine: Added get_length(), get_start_index(), and get_layout(). * Atk: * Added Document, Hyperlink, Hypertext, and StreamableContent classes. * Portability: * Atk::Text build fix for Intel compiler. (Takashi Takekawa) * Documentation: * devhelp file now installs correctly, with working hyperlinks. * Documented Gtk::AccelMap methods. * Documented Atk classes. * TreeView, TextView, and associated classes are almost fully documented. (Murray Cumming) * Also: - build fix. (Billy O'Connor) - spec file fix. (Eric Bourque) *** Download http://www.gtkmm.org/download.shtml You will need libsigc++ 1.2, available here: https://sourceforge.net/project/showfiles.php?group_id=1970 *** Development There is active discussion on the mailing list: http://www.gtkmm.org/mailinglist.shtml and in the #c++ channel on irc.gnome.org -- Murray Cumming murray@usa.net www.murrayc.com _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 27 04:46:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7D7C8184DB for ; Tue, 27 Jan 2004 04:46:49 -0500 (EST) Received: (qmail 21114 invoked by uid 65534); 27 Jan 2004 09:19:06 -0000 Received: from pD9E94C81.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.129) by mail.gmx.net (mp005) with SMTP; 27 Jan 2004 10:19:06 +0100 X-Authenticated: #109577 Message-ID: <40162D19.7030707@gmx.de> Date: Tue, 27 Jan 2004 10:19:21 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] how to set appended Notebook page active? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! When I append a second VBox to my notebook with m_Notebook.append_page(*VBoxRight, notebookTabName); the first notebook page is still displayed active. I´ve tried m_Notebook.set_current_page(1); // activate 2nd but it has no effect. Can somebody help? TIA, Andi From find_all@hotmail.com Tue Jan 27 04:57:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f30.sea2.hotmail.com [207.68.165.30]) by mail.gnome.org (Postfix) with ESMTP id B6B68187EF for ; Tue, 27 Jan 2004 04:57:49 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 27 Jan 2004 01:57:45 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Tue, 27 Jan 2004 09:57:45 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Tue, 27 Jan 2004 09:57:45 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 27 Jan 2004 09:57:45.0648 (UTC) FILETIME=[03471300:01C3E4BC] Subject: [gtkmm] Transparent background in a Pango::Layout Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm drawing an image into a Gtk::DrawingArea and want to write text on that image. Is there a way to set a transparent background for a Pango::Layout? If not, is there another way to write a string with an expecific font, size,color but with a transparent background? _________________________________________________________________ ¿Estás dispuesto a una cita? Conoce gente en MSN Amor & Amistad. http://match.msn.es/match/mt.cfm?pg=channel From bevis@anvil.com Tue Jan 27 05:16:12 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 0C92518A03 for ; Tue, 27 Jan 2004 05:16:12 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id A4A7A416; Tue, 27 Jan 2004 10:15:40 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id CB5772C8; Tue, 27 Jan 2004 10:15:39 +0000 (GMT) Message-ID: <40163A51.907@anvil.co.uk> Date: Tue, 27 Jan 2004 10:15:45 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Find All Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Transparent background in a Pango::Layout References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Find All wrote: > I'm drawing an image into a Gtk::DrawingArea and want to write text on > that image. you may find that writing text to a drawingarea will automatically have a transparent background. certainly i've written text over a pixbuf in a drawing area and that's happened. bevis From andrew@solvo.ru Tue Jan 27 06:38:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gate.solvo.ru (gate.solvo.ru [195.201.44.254]) by mail.gnome.org (Postfix) with ESMTP id B58A118713; Tue, 27 Jan 2004 06:38:57 -0500 (EST) Received: from tiger.solvo.ru (tiger.solvo.ru [195.201.44.86]) by gate.solvo.ru (8.12.8/8.12.8) with ESMTP id i0RBcaFu000743; Tue, 27 Jan 2004 14:38:38 +0300 Received: by tiger.solvo.ru (Postfix, from userid 504) id 5DAD290726; Tue, 27 Jan 2004 14:38:35 +0300 (MSK) Received: from solvo.ru (phoenix.solvo.ru [195.201.44.78]) by tiger.solvo.ru (Postfix) with ESMTP id 05734906FC; Tue, 27 Jan 2004 14:38:35 +0300 (MSK) Message-ID: <40165085.60101@solvo.ru> Date: Tue, 27 Jan 2004 14:50:29 +0300 From: "Andrew E. Makeev" Organization: Solvo Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: ru, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Subject: Re: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 References: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Milter: Spamilter Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi I've seen the mail that there is a chance to get couple deprecated widgets to be wrapped in gtkmm (GtkCTree and GtkCList). I guess, It's a good idea, because those widgets have few "advantages" (like configurable lines btw nodes in CTree and very high speed of CList with lot of the data filled in). So, are you going to wait when TreeView will be improved a bit, either wait for those depricated widgets are wrapped? Regards, -andrew Murray.Cumming@Comneon.com wrote: >*** gtkmm 2.4 > >NOTE: This is probably your last chance to comment on the API before the API >freeze. > > > > From Murray.Cumming@Comneon.com Tue Jan 27 06:48:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E4CAC1891A; Tue, 27 Jan 2004 06:47:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0RBhfDb023206; Tue, 27 Jan 2004 12:43:42 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 27 Jan 2004 12:48:23 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22DFC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: andrew@solvo.ru, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Subject: RE: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 Date: Tue, 27 Jan 2004 12:47:52 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've seen the mail that there is a chance to get couple deprecated > widgets to be wrapped in gtkmm (GtkCTree and GtkCList). Anybody is free to start a project to do that. I have no intention to add them to gtkmm itself at this time. You don't need them to be in gtkmm itself. > I guess, It's a good idea, because those widgets have few > "advantages" > (like configurable lines btw nodes in CTree and very high > speed of CList > with lot of the data filled in). > > So, are you going to wait when TreeView will be improved a > bit, If you want specific changes to GtkTreeView please do ask on gtk-list and/or submit GTK+ bugs in bugzilla.gnome.org. > either > wait for those depricated widgets are wrapped? Doing is better than waiting. Murray Cumming www.murrayc.com murrayc@usa.net From buxman@telia.com Tue Jan 27 08:21:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from av1-2-sn1.fre.skanova.net (av1-2-sn1.fre.skanova.net [81.228.11.108]) by mail.gnome.org (Postfix) with ESMTP id 851B918B0E for ; Tue, 27 Jan 2004 08:21:29 -0500 (EST) Received: by av1-2-sn1.fre.skanova.net (Postfix, from userid 502) id AA00C37E55; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Received: from smtp3-2-sn1.fre.skanova.net (smtp3-2-sn1.fre.skanova.net [81.228.11.164]) by av1-2-sn1.fre.skanova.net (Postfix) with ESMTP id 9DC4F37E42 for ; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Received: from telia.com (h89n2fls303o885.telia.com [81.227.153.89]) by smtp3-2-sn1.fre.skanova.net (Postfix) with ESMTP id 86E8937E42 for ; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Message-ID: <401665D6.90007@telia.com> Date: Tue, 27 Jan 2004 14:21:26 +0100 From: Alexander Bussman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031115 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::Window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I wonder if it's a way to lock the application until a newly created window is closed. I need to do that because I want to grab a string from that window (that the user writes). something like this I mean: ... mywindow.show(); wait_until_mywindow_is_closed(); std::string data = mywindow.getData(); ... I can't figure out a good way to do this.... anyone? // Alexander Bussman From matthew@alledora.co.uk Tue Jan 27 08:31:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 575E018AC5 for ; Tue, 27 Jan 2004 08:31:08 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AlTFN-0003JM-Rz for gtkmm-list@gnome.org; Tue, 27 Jan 2004 13:27:17 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AlTFM-0003J8-OW; Tue, 27 Jan 2004 13:27:16 +0000 Message-ID: <40166861.4030505@alledora.co.uk> Date: Tue, 27 Jan 2004 13:32:17 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Bussman Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window References: <401665D6.90007@telia.com> In-Reply-To: <401665D6.90007@telia.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Alexander Bussman wrote: > Hi! > I wonder if it's a way to lock the application until a newly created > window is closed. > I need to do that because I want to grab a string from that window (that > the user writes). > > something like this I mean: > ... > mywindow.show(); > wait_until_mywindow_is_closed(); > std::string data = mywindow.getData(); > ... > > I can't figure out a good way to do this.... anyone? Try show_modal() From nxg@saratov.pvrr.ru Tue Jan 27 09:58:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from access.pvrr.ru (access.pvrr.ru [217.23.88.43]) by mail.gnome.org (Postfix) with ESMTP id 53BCA18398 for ; Tue, 27 Jan 2004 09:58:38 -0500 (EST) Received: from mail.pvrr.mps (mail.pvrr.mps [10.61.5.11]) by access.pvrr.ru (8.12.10/8.12.10) with ESMTP id i0REw3Bo089765 for ; Tue, 27 Jan 2004 17:58:37 +0300 (MSK) Received: from mail.pvrr.mps (root@localhost) by mail.pvrr.mps (8.12.9/8.12.8) with SMTP id i0REvIuF043000 for ; Tue, 27 Jan 2004 17:57:19 +0300 (MSK) Received: from ns.nxg.pvrr.mps (ns.nxg.pvrr.mps [10.61.19.129]) by mail.pvrr.mps (8.12.9/8.12.8) with ESMTP id i0REoqY9040277; Tue, 27 Jan 2004 17:51:07 +0300 (MSK) Received: from saratov.pvrr.mps (mx.nxg.pvrr.mps [10.61.19.139]) by ns.nxg.pvrr.mps (8.12.8/8.12.8) with ESMTP id i0RBcKJS001894; Tue, 27 Jan 2004 14:38:20 +0300 Message-ID: <40164A96.4080508@saratov.pvrr.mps> Date: Tue, 27 Jan 2004 14:25:10 +0300 From: Sergey Mihailov Reply-To: igorbounov@voronezh.serw.ru User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: gtk-list@gnome.org, gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Setting colour of a window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, All! I'v trying to change the background color of a GtkWindow in this way: this->get_window()->set_background(Gdk::Color("maroon")); this->get_window()->clear(); However, it is still gray . Where am I wrong? Igor Gorbounov From timf@trdlnk.com Tue Jan 27 12:30:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from trdlnk.com (postman.trdlnk.com [208.252.163.7]) by mail.gnome.org (Postfix) with ESMTP id 2EDA318AA6 for ; Tue, 27 Jan 2004 12:30:22 -0500 (EST) Received: from trdlnk.com (troll [10.10.2.12]) by trdlnk.com (8.12.9+Sun/8.12.9) with ESMTP id i0RHULM7027144 for ; Tue, 27 Jan 2004 11:30:21 -0600 (CST) Message-ID: <4016A02D.10100@trdlnk.com> Date: Tue, 27 Jan 2004 11:30:21 -0600 From: Tim Flechtner Reply-To: timf@trdlnk.com User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.5) Gecko/20031020 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801A057B6@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801A057B6@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Reducing the rows / columns of a Gtk::Table Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: i am trying to figure out the correct way to remove rows and columns from a Gtk::Table. this doesn't work: #include #include #include using namespace Gtk; using namespace std; int main(int argc, char** argv) { // The gtk context (event loop et al) in which this example will run. Main kit(argc, argv); Window w; Button *b1 = manage(new Button("One")); Button *b2 = manage(new Button("Two")); Table t; t.resize(1, 2); // works t.attach(*b1, 0, 1, 0, 1); t.attach(*b2, 1, 2, 0, 1); t.resize(1,1); // doesn't work w.add(t); w.show_all(); kit.run(); } this works: #include #include #include using namespace Gtk; using namespace std; int main(int argc, char** argv) { // The gtk context (event loop et al) in which this example will run. Main kit(argc, argv); Window w; Button *b1 = new Button("One"); Button *b2 = new Button("Two"); Table t; t.resize(1, 2); // works t.attach(*b1, 0, 1, 0, 1); t.attach(*b2, 1, 2, 0, 1); delete b2; // necessary to make resize work t.resize(1,1); // works now w.add(t); w.show_all(); kit.run(); } i suspect though, that this is not the intended way to use the table. i would certainly prefer to let manage work its wonders, and not worry about the memory for the widgets i attach in the table? is there a way to both use manage and be able to remove rows and columns from the table? thanks! -tim From B.Touron@citb.bull.net Tue Jan 27 13:21:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 6C6C518E56 for ; Tue, 27 Jan 2004 13:21:22 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0RILJ413039 for ; Tue, 27 Jan 2004 19:21:19 +0100 Message-ID: <4016AC52.7060902@citb.bull.net> Date: Tue, 27 Jan 2004 19:22:10 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Button question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello there ! I need to create a button containing an stock image (built in GTK), like Gtk::Stock::CANCEL. If I pass Gtk::Stock::CANCEL to the button's constructor, then the button contains the image AND the text (cancel). How can I avoid the button to display the text ? Thanks Ben From billyoc@gnuyork.org Tue Jan 27 14:16:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id DA4C118302 for ; Tue, 27 Jan 2004 14:16:21 -0500 (EST) Received: by gnuyork.org via sendmail from stdin id (Debian Smail3.2.0.115) Tue, 27 Jan 2004 14:13:01 -0500 (EST) To: =?iso-8859-1?q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Button question References: <4016AC52.7060902@citb.bull.net> From: Billy O'Connor Date: Tue, 27 Jan 2004 14:13:01 -0500 In-Reply-To: <4016AC52.7060902@citb.bull.net> =?iso-8859-1?q?=28Beno=EEt?= Touron's message of "Tue, 27 Jan 2004 19:22:10 +0100") Message-ID: <87llntgq82.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Beno=EEt Touron writes: > Hello there ! > > I need to create a button containing an stock image (built in GTK), > like Gtk::Stock::CANCEL. > If I pass Gtk::Stock::CANCEL to the button's constructor, then the > button contains the image AND the text (cancel). > How can I avoid the button to display the text ? > Use the Gtk::Button::add_pixlabel() member function to set the pixmap and optional text you want(or don't) displayed. See the example program: gtkmm/examples/book/buttons/button From chris@cvine.freeserve.co.uk Tue Jan 27 17:30:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailm2.svr.pol.co.uk (cmailm2.svr.pol.co.uk [195.92.193.210]) by mail.gnome.org (Postfix) with ESMTP id E85A818549 for ; Tue, 27 Jan 2004 17:30:21 -0500 (EST) Received: from modem-2358.putangitangi.dialup.pol.co.uk ([81.78.201.54] helo=boulder.localdomain) by cmailm2.svr.pol.co.uk with esmtp (Exim 4.14) id 1Albit-0005xd-UO; Tue, 27 Jan 2004 22:30:20 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0RMQ2SR001333; Tue, 27 Jan 2004 22:26:02 GMT From: Chris Vine To: Alexander Bussman , gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window Date: Tue, 27 Jan 2004 22:26:01 +0000 User-Agent: KMail/1.5.4 References: <401665D6.90007@telia.com> In-Reply-To: <401665D6.90007@telia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401272226.01882.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tuesday 27 January 2004 1:21 pm, Alexander Bussman wrote: > Hi! > I wonder if it's a way to lock the application until a newly created > window is closed. > I need to do that because I want to grab a string from that window (that > the user writes). > > something like this I mean: > ... > mywindow.show(); > wait_until_mywindow_is_closed(); > std::string data = mywindow.getData(); > ... In the constructor of the new window put something like this (where 'parent' is a reference to the application window): set_transient_for(parent); parent.set_sensitive(false); set_modal(true); Chris. From buxman@telia.com Tue Jan 27 18:13:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from av7-2-sn4.m-sp.skanova.net (av7-2-sn4.m-sp.skanova.net [81.228.10.109]) by mail.gnome.org (Postfix) with ESMTP id 099D51826D for ; Tue, 27 Jan 2004 18:13:02 -0500 (EST) Received: by av7-2-sn4.m-sp.skanova.net (Postfix, from userid 502) id 783B237E43; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Received: from smtp2-1-sn4.m-sp.skanova.net (smtp2-1-sn4.m-sp.skanova.net [81.228.10.183]) by av7-2-sn4.m-sp.skanova.net (Postfix) with ESMTP id 69B5537E43 for ; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Received: from telia.com (h89n2fls303o885.telia.com [81.227.153.89]) by smtp2-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 298EB37E4D; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Message-ID: <4016F07C.7000304@telia.com> Date: Wed, 28 Jan 2004 00:13:00 +0100 From: Alexander Bussman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031115 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Vine Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window References: <401665D6.90007@telia.com> <200401272226.01882.chris@cvine.freeserve.co.uk> In-Reply-To: <200401272226.01882.chris@cvine.freeserve.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Chris Vine wrote: >In the constructor of the new window put something like this (where 'parent' >is a reference to the application window): > > set_transient_for(parent); > parent.set_sensitive(false); > set_modal(true); > >Chris. > > Thanks! I got it to work the way I wanted now. // Alexander Bussman From B.Touron@citb.bull.net Wed Jan 28 02:33:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 29D4018AE2 for ; Wed, 28 Jan 2004 02:33:41 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0S7Xe431524 for ; Wed, 28 Jan 2004 08:33:40 +0100 Message-ID: <401765FD.1060107@citb.bull.net> Date: Wed, 28 Jan 2004 08:34:21 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Button question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >Hello there ! >> >> I need to create a button containing an stock image (built in GTK), >> like Gtk::Stock::CANCEL. >> If I pass Gtk::Stock::CANCEL to the button's constructor, then the >> button contains the image AND the text (cancel). >> How can I avoid the button to display the text ? >> Use the Gtk::Button::add_pixlabel() member function to set the pixmap and optional text you want(or don't) displayed. See the example program: gtkmm/examples/book/buttons/button ---- Thanks Billy for your quick answer. Unfortunatly, this was not exactly what I needed. The add_pixlabel requires an external file (.xpm). I finally created a Gtk::Image containing the stock icon, and added it to the button. Thanks a lot anyway, and keep answering :-) Ben From Murray.Cumming@Comneon.com Wed Jan 28 03:12:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0DA711852B; Wed, 28 Jan 2004 03:12:56 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0S88aDb026350; Wed, 28 Jan 2004 09:08:37 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 09:13:18 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22E47@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: igorbounov@voronezh.serw.ru, gtk-list@gnome.org, gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 09:12:51 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: Setting colour of a window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > this->get_window()->set_background(Gdk::Color("maroon")); > this->get_window()->clear(); > > However, it is still gray . > Where am I wrong? I doubt that "maroon" is a supported color string, but I don't know what strings are supported. Murray Cumming www.murrayc.com murrayc@usa.net From morten@stud326.idi.ntnu.no Wed Jan 28 05:06:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ray.idi.ntnu.no (ray.idi.ntnu.no [129.241.107.68]) by mail.gnome.org (Postfix) with ESMTP id 5142918C0C for ; Wed, 28 Jan 2004 05:06:10 -0500 (EST) Received: from stud326.idi.ntnu.no (stud326.idi.ntnu.no [129.241.103.26]) by ray.idi.ntnu.no (8.12.10/8.12.10) with ESMTP id i0SA67Dw014618 for ; Wed, 28 Jan 2004 11:06:07 +0100 (MET) Received: (from morten@localhost) by stud326.idi.ntnu.no (8.12.10/8.12.10/Submit) id i0SA67Or011320 for gtkmm-list@gnome.org; Wed, 28 Jan 2004 11:06:07 +0100 (CET) (envelope-from morten) Date: Wed, 28 Jan 2004 11:06:07 +0100 From: Morten Rodal To: gtkmm-list@gnome.org Message-ID: <20040128100606.GA11138@stud326.idi.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, hits=-5.9 required=4 X-Virus-Scanned: by amavisd-new-IDI Subject: [gtkmm] Compiling programs with Intel C++ Compiler and gtkmm-2.2.8 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: When compiling a program with the Intel C++ Compiler (icc-8.0.058) on FreeBSD 5.2-CURRENT I get the following error: /usr/X11R6/include/gtkmm-2.0/gtkmm/enums.h(1321): error: qualified name is not allowed in namespace member declaration class Glib::Value : public Glib::Value_Enum The fix is simply: --- /tmp/enums.h.orig Wed Jan 28 11:03:16 2004 +++ /usr/X11R6/include/gtkmm-2.0/gtkmm/enums.h Wed Jan 28 11:03:25 2004 @@ -1318,7 +1318,7 @@ { template <> -class Glib::Value : public Glib::Value_Enum +class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; -- Morten Rodal From Murray.Cumming@Comneon.com Wed Jan 28 06:27:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id BE0D5181E5 for ; Wed, 28 Jan 2004 06:27:32 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0SBNEDb005700 for ; Wed, 28 Jan 2004 12:23:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 12:27:56 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 12:27:30 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] gtkmm 2.3.2 build problems Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is anybody else having a problem building 2.3.2?: http://bugzilla.gnome.org/show_bug.cgi?id=132362 Murray Cumming www.murrayc.com murrayc@usa.net From pavenis@latnet.lv Wed Jan 28 09:46:21 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from geomets2.hut.fi (geomets2.hut.fi [130.233.244.100]) by mail.gnome.org (Postfix) with ESMTP id 28C3918AC3 for ; Wed, 28 Jan 2004 09:46:20 -0500 (EST) Received: from geomets2.hut.fi (IDENT:1000@geomets2.hut.fi [130.233.244.100]) by geomets2.hut.fi (8.12.10/8.12.6) with ESMTP id i0SEl7PP011324; Wed, 28 Jan 2004 16:47:08 +0200 From: Andris Pavenis To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems Date: Wed, 28 Jan 2004 16:47:06 +0200 User-Agent: KMail/1.6 Cc: Murray.Cumming@Comneon.com References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200401281647.07301.pavenis@latnet.lv> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wednesday 28 January 2004 13:27, Murray.Cumming@Comneon.com wrote: > Is anybody else having a problem building 2.3.2?: > http://bugzilla.gnome.org/show_bug.cgi?id=132362 At least not I. gtkmm-2.3.2 built without problems for me. I used glib-2.3.2 glibmm-2.3.3 gtk-2.3.2 atk-1.5.2 pango-1.3.2 gcc-3.3.2 glibc-2.3.2 Distribution: Slackware-current Andris From pjmlp@progtools.org Wed Jan 28 10:44:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id 6FB0E18437 for ; Wed, 28 Jan 2004 10:43:58 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0SFhrEh026554 for ; Wed, 28 Jan 2004 16:43:54 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <4017D8B9.5020604@progtools.org> Date: Wed, 28 Jan 2004 16:43:53 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Problems checking out some packages from CVS Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I've just checked out gnomemm from CVS using the gnome-2-4 tag. I was able to build almost everything besides the following packages: - gnomemm_hello - gtkmm_hello - libgnomeuimm - libpanelappletmm The first two don't accept the automake/autoconf versions that every other package accepts. And for the last two, that are the ones that really matter, I just get a couple of empty directories. Did I do something wrong? -- Paulo Pinto From Murray.Cumming@Comneon.com Wed Jan 28 11:15:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 2CFDB18683 for ; Wed, 28 Jan 2004 11:15:29 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0SGB8Db015937; Wed, 28 Jan 2004 17:11:08 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 17:15:51 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EB5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pjmlp@progtools.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Problems checking out some packages from CVS Date: Wed, 28 Jan 2004 17:15:22 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > - gnomemm_hello > - gtkmm_hello I have not branched these. HEAD should work with gtkmm 2.2. > - libgnomeuimm > - libpanelappletmm > > The first two don't accept the automake/autoconf > versions that every other package accepts. Are you using autogen.sh. Please give details in a bug report. > And for the last two, that are the ones that really > matter, I just get a couple of empty directories. Please try again. Here are the branch names: http://www.gtkmm.org/cvs.shtml Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Wed Jan 28 11:21:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 4D32A183A6 for ; Wed, 28 Jan 2004 11:21:25 -0500 (EST) Received: by gnuyork.org via sendmail from stdin id (Debian Smail3.2.0.115) Wed, 28 Jan 2004 11:18:05 -0500 (EST) To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Wed, 28 Jan 2004 11:18:05 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Wed, 28 Jan 2004 12:27:30 +0100") Message-ID: <87d694caiq.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > Is anybody else having a problem building 2.3.2?: > http://bugzilla.gnome.org/show_bug.cgi?id=132362 > I couldn't reproduce this with Debian Sid. Billy From vlad@integ.com Wed Jan 28 11:45:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from blaise.integ.local (mail2.integ.com [207.32.114.40]) by mail.gnome.org (Postfix) with ESMTP id CD5CE18639 for ; Wed, 28 Jan 2004 11:45:40 -0500 (EST) Received: from vgrinche-nt.integ.com [172.16.1.173] by blaise.integ.local with XWall v3.27 ; Wed, 28 Jan 2004 11:45:31 -0500 Received: from vgrinche-nt.integ.local (localhost [127.0.0.1]) by vgrinche-nt.integ.local (8.12.8/8.12.5) with ESMTP id i0SGjVEn002103; Wed, 28 Jan 2004 11:45:31 -0500 Received: (from vlad@localhost) by vgrinche-nt.integ.local (8.12.8/8.12.5/Submit) id i0SGjUBR002101; Wed, 28 Jan 2004 11:45:30 -0500 Date: Wed, 28 Jan 2004 11:45:30 -0500 From: Vladislav Grinchenko To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] how to set appended Notebook page active? Message-ID: <20040128164530.GA1580@vgrinche-nt.integ.com> References: <40162D19.7030707@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <40162D19.7030707@gmx.de> User-Agent: Mutt/1.4.1i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, Jan 27, 2004 at 10:19:21AM +0100, Andreas B. Thun wrote: > Hi! > > When I append a second VBox to my notebook with > m_Notebook.append_page(*VBoxRight, notebookTabName); > > the first notebook page is still displayed active. > > I´ve tried > m_Notebook.set_current_page(1); // activate 2nd > but it has no effect. > > Can somebody help? Andi, have you tried m_Notebook.set_current_page(*VBoxRight) ? -Vlad -- ______________________________________________________ Vladislav Grinchenko e-mail (w): vgrinche@integ.com Software Engineer (h): 3rdshift@comcast.net Integral Systems, Inc. Focus on quality, and productivity will follow. ______________________________________________________ From abhatnag@mda.ca Wed Jan 28 13:37:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 564201826A for ; Wed, 28 Jan 2004 13:37:54 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0SIbpW12809 for ; Wed, 28 Jan 2004 10:37:52 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 28 Jan 2004 10:37:51 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A2694284DE@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 10:37:50 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: [gtkmm] Symbology and annotations "on top" of my images. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I plan on using a drawing area widget to display images where the user may want to place some symbology and textual annotations at various locations on the image. I am wondering how GTK / GdkPixbuf will facilitate this. Ideally, I would like to treat the symbology and text annotations as "layers" where the user would be able to toggle on and off the display of the symbology/annotations, and possibly drag them to different positions. Does GTK / GdkPixbuf allow me to do something like this? If not, what would be an approach to take? thanks again. amit. From moses@gcecisp.com Wed Jan 28 15:51:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gcecisp.com (mail.gcecisp.com [208.14.31.3]) by mail.gnome.org (Postfix) with SMTP id 1402118D79 for ; Wed, 28 Jan 2004 15:51:52 -0500 (EST) Received: (qmail 9064 invoked from network); 28 Jan 2004 20:56:47 -0000 Received: from unknown (HELO gcecisp.com) (208.14.26.121) by mail.gcecisp.com with SMTP; 28 Jan 2004 20:56:47 -0000 Message-ID: <4018227C.2080704@gcecisp.com> Date: Wed, 28 Jan 2004 14:58:36 -0600 From: Moses McKnight User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 X-Accept-Language: en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Notebook tab scrolling Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, Is there a way to scroll just the tabs in a notebook instead of switching between pages? Moses From murrayc@murrayc.com Wed Jan 28 16:54:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jareth.dreamhost.com (jareth.dreamhost.com [66.33.198.201]) by mail.gnome.org (Postfix) with ESMTP id 83E4C18BBC for ; Wed, 28 Jan 2004 16:54:45 -0500 (EST) Received: from localhost.localdomain (unknown [80.121.222.26]) by jareth.dreamhost.com (Postfix) with ESMTP id B45476B60F; Wed, 28 Jan 2004 13:54:43 -0800 (PST) Subject: Re: [gtkmm] Notebook tab scrolling From: Murray Cumming To: Moses McKnight Cc: gtkmm-list In-Reply-To: <4018227C.2080704@gcecisp.com> References: <4018227C.2080704@gcecisp.com> Content-Type: text/plain Message-Id: <1075326702.13200.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 28 Jan 2004 22:51:43 +0100 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > Hi, > > Is there a way to scroll just the tabs in a notebook instead of switching > between pages? I'm not sure what you mean. Murray From ghenriks@rogers.com Wed Jan 28 21:37:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep03-mail.bloor.is.net.cable.rogers.com (fep03-mail.bloor.is.net.cable.rogers.com [66.185.86.73]) by mail.gnome.org (Postfix) with ESMTP id 8CACA1813C for ; Wed, 28 Jan 2004 21:37:41 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep03-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040129023412.FQKB146807.fep03-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Wed, 28 Jan 2004 21:34:12 -0500 From: Gerald Henriksen To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems Date: Wed, 28 Jan 2004 21:34:24 -0500 Message-ID: References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep03-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Wed, 28 Jan 2004 21:34:12 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 28 Jan 2004 12:27:30 +0100, you wrote: >Is anybody else having a problem building 2.3.2?: >http://bugzilla.gnome.org/show_bug.cgi?id=3D132362 No problems with Fedora Devel. From moses@gcecisp.com Wed Jan 28 22:31:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gcecisp.com (mail.gcecisp.com [208.14.31.3]) by mail.gnome.org (Postfix) with SMTP id E44B018BB6 for ; Wed, 28 Jan 2004 22:31:46 -0500 (EST) Received: (qmail 23848 invoked from network); 29 Jan 2004 03:36:45 -0000 Received: from unknown (HELO gcecisp.com) (208.14.26.121) by mail.gcecisp.com with SMTP; 29 Jan 2004 03:36:45 -0000 Message-ID: <40188042.5060106@gcecisp.com> Date: Wed, 28 Jan 2004 21:38:42 -0600 From: Moses McKnight User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 X-Accept-Language: en MIME-Version: 1.0 To: Murray Cumming Cc: gtkmm-list Subject: Re: [gtkmm] Notebook tab scrolling References: <4018227C.2080704@gcecisp.com> <1075326702.13200.2.camel@localhost.localdomain> In-Reply-To: <1075326702.13200.2.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: If you set_scrollable(true) it shows arrows to scroll the tabs if there are too many to fit in the area. When you scroll the tabs it actually switches pages as you scroll through the tabs. In MS Windows when you scroll tabs it just scrolls the tabs and then you click on the highlighted tab if you want to switch to that page. Murray Cumming wrote: > On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > >>Hi, >> >>Is there a way to scroll just the tabs in a notebook instead of switching >>between pages? > > > I'm not sure what you mean. > > Murray > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From Erik@mail.echohome.org Wed Jan 28 23:02:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server.echohome.org (s233-64-29-217.try.wideopenwest.com [64.233.217.29]) by mail.gnome.org (Postfix) with ESMTP id A62EA1816E for ; Wed, 28 Jan 2004 23:02:18 -0500 (EST) Received: from echo (echo.echohome.org [192.168.2.254]) by server.echohome.org (8.12.8/8.12.8) with ESMTP id i0T42Gxb014846 for ; Wed, 28 Jan 2004 23:02:17 -0500 Reply-To: From: "Erik Ch. Ohrnberger" To: "'gtkmm-list'" Subject: RE: [gtkmm] Notebook tab scrolling Date: Wed, 28 Jan 2004 23:02:16 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <40188042.5060106@gcecisp.com> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Speaking of arrows to scroll through notebook pages, is there a way to make the arrows larger than what they are by default? I'm building a touch screen application and those arrows are too small for fingers. Thanks, Erik. > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Moses McKnight > Sent: Wednesday, January 28, 2004 10:39 PM > To: Murray Cumming > Cc: gtkmm-list > Subject: Re: [gtkmm] Notebook tab scrolling > > > If you set_scrollable(true) it shows arrows to scroll the > tabs if there are too > many to fit in the area. When you scroll the tabs it > actually switches pages as > you scroll through the tabs. In MS Windows when you scroll > tabs it just scrolls > the tabs and then you click on the highlighted tab if you > want to switch to that > page. > > Murray Cumming wrote: > > On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > > > >>Hi, > >> > >>Is there a way to scroll just the tabs in a notebook instead of > >>switching > >>between pages? > > > > > > I'm not sure what you mean. > > > > Murray > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-> list > > > > > > _______________________________________________ > > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From ramachandrap@dpsl.net Wed Jan 28 23:37:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id A6E64180F7 for ; Wed, 28 Jan 2004 23:37:03 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:19:31 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id DMBQJXX4; Thu, 29 Jan 2004 10:19:22 +0530 Received: FROM comp448 BY khyber.enigma ; Thu Jan 29 10:19:20 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Cc: Vijay D , Nilesh S , Pramod S , Manjit D , Subramaniam R , Nishikant K , Girish P , Manoj K Message-ID: <002f01c3e622$4eec6e60$5f0210ac@enigma> Date: Thu, 29 Jan 2004 10:12:32 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01C3E650.6899FC00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Key press events not captured for some keys Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_002C_01C3E650.6899FC00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I have developed a gtkmm application under Redhat Linux 7.3, gcc 2.96=20 and gtkmm 2.0, that shows a simple window.I am trying to obtain key press=20 events on the window. I am using "on_key_press(GdkEvent *key)" method to get the values of = key pressed, what i found was that for keys like "Enter", "Space Bar" and all=20 arrow keys, no event key_press is generated. I wrote on_key_release_event(GdkEvent *key), the same keys "Enter",=20 "Space bar" and all arrow keys. It generates the release event only. i.e. no key=20 press event is generated, but the release event is fired. I also noticed that for system reserved keys in KDE, like ALT-F1 for = Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the = system executes them for its use before I can capture it. So my query is, 1. What is the code for capturing key press events ? 2. How to catch the system reserved keys before their execution by the system ? Below is Code snippet for you to try out what I have stated above, Any help would be great appreciated, Regards, Ramachandra #include #include #include #include #include class CWindow: public Gtk::Window { public: CWindow(); ~CWindow(); bool on_window1_key_press_event(GdkEventKey *Key); bool on_window1_key_release_event(GdkEventKey *Key); }; CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) { Gtk::Window *window1 =3D this; window1->set_title("window1"); window1->set_modal(false); window1->set_position(Gtk::WIN_POS_NONE); window1->show(); window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_= window1_key_press_event)); window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::o= n_window1_key_release_event)); } CWindow::~CWindow() { } bool CWindow::on_window1_key_press_event(GdkEventKey *Key) { printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); return true; } bool CWindow::on_window1_key_release_event(GdkEventKey *Key) { printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); return true; } int main(int argc, char **argv) { Gtk::Main m(argc, argv); CWindow *ptrWindow =3D new class CWindow(); m.run(*ptrWindow); delete ptrWindow; ptrWindow =3D 0; return 0; } ------=_NextPart_000_002C_01C3E650.6899FC00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,

I have developed a gtkmm application under Redhat Linux = 7.3, gcc=20 2.96
and gtkmm 2.0, that shows a simple window.I am trying to = obtain key=20 press
events on the window.

I am using = "on_key_press(GdkEvent=20 *key)" method to get the values of key
pressed, what i found was = that for=20 keys like "Enter", "Space Bar" and  all
arrow keys, no event = key_press=20 is generated.

I wrote on_key_release_event(GdkEvent *key), the = same keys=20 "Enter",
"Space bar" and  all arrow keys. It  = generates the=20 release event only. i.e. no key
press event is generated, but the = release=20 event is fired.

I also noticed that for system reserved = keys in=20 KDE, like ALT-F1 for Run command, CTRL-f2 is for desktop 2,=20 when I pressed these keys, the system executes them for its use = before I=20 can capture it.

So my query=20 is,
1. What is the code for capturing key = press events=20 ?
2. How to catch=20 the system reserved keys before their execution by the system = ?

Below is=20 Code snippet for you to try out what I have stated=20 above,
Any help would=20 be great appreciated,
Regards,
Ramachandra



#include <stdio.h>
#include=20 <gdkmm/gc.h>
#include <gdk/gdkkeysyms.h>
#include=20 <gtkmm/window.h>
#include <gtkmm/main.h>
class = CWindow: public=20 Gtk::Window
{

  = public:
CWindow();
~CWindow();

bool=20 on_window1_key_press_event(GdkEventKey *Key);
bool=20 on_window1_key_release_event(GdkEventKey = *Key);
};

CWindow::CWindow():=20 Gtk::Window(Gtk::WINDOW_TOPLEVEL)
{
Gtk::Window *window1 =3D=20 this;
   window1->set_title("window1");
   = window1->set_modal(false);
  =20 window1->set_position(Gtk::WIN_POS_NONE);
  =20 window1->show();

window1->signal_key_press_event().connect(= SigC::slot(*this,&CWindow::on_window1_key_press_event));

wind= ow1->signal_key_release_event().connect(SigC::slot(*this,&CWindow= ::on_window1_key_release_event));
}
CWindow::~CWindow()
{
}<= BR>bool=20 CWindow::on_window1_key_press_event(GdkEventKey = *Key)
{
printf("\n Key=20 Presssed is %s\n",gdk_keyval_name(Key->keyval));
return=20 true;
}

bool = CWindow::on_window1_key_release_event(GdkEventKey=20 *Key)
{
printf("\n Key Released is %s=20 \n",gdk_keyval_name(Key->keyval));
return = true;
}


int=20 main(int argc, char **argv)
{

    Gtk::Main = m(argc,=20 argv);
CWindow *ptrWindow =3D new class=20 CWindow();
m.run(*ptrWindow);
delete ptrWindow;
ptrWindow =3D=20 0;
return=20 0;
}









------=_NextPart_000_002C_01C3E650.6899FC00-- From alberto@paro.homeunix.org Thu Jan 29 02:25:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep05-svc.flexmail.it (fep05.tuttopmi.it [212.131.248.83]) by mail.gnome.org (Postfix) with ESMTP id 6470A18E54 for ; Thu, 29 Jan 2004 02:25:06 -0500 (EST) Received: from paro.homeunix.org ([82.88.53.142]) by fep05-svc.flexmail.it with ESMTP id <20040129072502.RRUT3949.fep05-svc.flexmail.it@paro.homeunix.org> for ; Thu, 29 Jan 2004 08:25:02 +0100 Message-ID: <4018B63F.70208@paro.homeunix.org> Date: Thu, 29 Jan 2004 08:29:03 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >Is anybody else having a problem building 2.3.2?: >http://bugzilla.gnome.org/show_bug.cgi?id=132362 > > No problem with gentoo linux (arch=~x86) Alberto Paro From B.Touron@citb.bull.net Thu Jan 29 03:07:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 40DDE18C50 for ; Thu, 29 Jan 2004 03:07:36 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0T87Z408565 for ; Thu, 29 Jan 2004 09:07:35 +0100 Message-ID: <4018BF62.2040307@citb.bull.net> Date: Thu, 29 Jan 2004 09:08:02 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::ScrolledWindow add/remove problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello again, I am writing an app using a pane window. In the left side, there is a tree and in the right part a Gtk::ScrolledWindow. When the tree selection changes, I need to change the widget contained in the ScrolledWindow. To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). It works a couple of times (usually 3), then it crashes (access violation), in the add mathod. I am using gtkmm 2.2 under win32, built with VS.NET 2003. Is it an issue ? I probably could do it a different way, but I would like to know if it is a GTK's bug, or a developper's bug. Thanks Ben From find_all@hotmail.com Thu Jan 29 04:18:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f40.sea2.hotmail.com [207.68.165.40]) by mail.gnome.org (Postfix) with ESMTP id 46E8A183B2 for ; Thu, 29 Jan 2004 04:18:31 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 29 Jan 2004 01:18:30 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Thu, 29 Jan 2004 09:18:30 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Thu, 29 Jan 2004 09:18:30 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 29 Jan 2004 09:18:30.0524 (UTC) FILETIME=[DC572BC0:01C3E648] Subject: [gtkmm] Draw lines into a Gdk::Pixbuf Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is there a way to draw lines,rectangles... directly to a Gdk::Pixbuf in the same way as the functions draw_line,draw_rectangle... of Gdk::Drawable? _________________________________________________________________ Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/ From Murray.Cumming@Comneon.com Thu Jan 29 04:26:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id CEE2118F70 for ; Thu, 29 Jan 2004 04:26:36 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9LxDb006804; Thu, 29 Jan 2004 10:22:02 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:26:42 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EDB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Cc: vijayd@enigma.gnome.org, sonawanen@enigma.gnome.org, pramods@enigma.gnome.org, manjitd@enigma.gnome.org, subramanianr@enigma.gnome.org, nishikantk@enigma.gnome.org, girishp@enigma.gnome.org, manojk@enigma.gnome.org Subject: RE: [gtkmm] Key press events not captured for some keys Date: Thu, 29 Jan 2004 10:26:14 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: You might try using connect_notify() instead of connect(), to handle the signal before anything else does. That's the gtkmm equivalent of connect_before for GTK+. Here is a similar problem: http://bugzilla.gnome.org/show_bug.cgi?id=125969 I don't think that you can ever handle the key event before the window manager does. Please send emails as text rather than HTML. Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Ramachandra Putti Sent: Donnerstag, 29. Januar 2004 05:43 To: gtkmm-list@gnome.org Cc: Vijay D; Nilesh S; Pramod S; Manjit D; Subramaniam R; Nishikant K; Girish P; Manoj K Subject: [gtkmm] Key press events not captured for some keys Hi all, I have developed a gtkmm application under Redhat Linux 7.3, gcc 2.96 and gtkmm 2.0, that shows a simple window.I am trying to obtain key press events on the window. I am using "on_key_press(GdkEvent *key)" method to get the values of key pressed, what i found was that for keys like "Enter", "Space Bar" and all arrow keys, no event key_press is generated. I wrote on_key_release_event(GdkEvent *key), the same keys "Enter", "Space bar" and all arrow keys. It generates the release event only. i.e. no key press event is generated, but the release event is fired. I also noticed that for system reserved keys in KDE, like ALT-F1 for Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the system executes them for its use before I can capture it. So my query is, 1. What is the code for capturing key press events ? 2. How to catch the system reserved keys before their execution by the system ? Below is Code snippet for you to try out what I have stated above, Any help would be great appreciated, Regards, Ramachandra #include #include #include #include #include class CWindow: public Gtk::Window { public: CWindow(); ~CWindow(); bool on_window1_key_press_event(GdkEventKey *Key); bool on_window1_key_release_event(GdkEventKey *Key); }; CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) { Gtk::Window *window1 = this; window1->set_title("window1"); window1->set_modal(false); window1->set_position(Gtk::WIN_POS_NONE); window1->show(); window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_wind ow1_key_press_event)); window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::on_wi ndow1_key_release_event)); } CWindow::~CWindow() { } bool CWindow::on_window1_key_press_event(GdkEventKey *Key) { printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); return true; } bool CWindow::on_window1_key_release_event(GdkEventKey *Key) { printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); return true; } int main(int argc, char **argv) { Gtk::Main m(argc, argv); CWindow *ptrWindow = new class CWindow(); m.run(*ptrWindow); delete ptrWindow; ptrWindow = 0; return 0; } From tor.arvid.lund@idi.ntnu.no Thu Jan 29 04:37:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ray.idi.ntnu.no (ray.idi.ntnu.no [129.241.107.68]) by mail.gnome.org (Postfix) with ESMTP id D194A18825 for ; Thu, 29 Jan 2004 04:37:22 -0500 (EST) Received: from idi.ntnu.no (stud355.idi.ntnu.no [129.241.103.55]) by ray.idi.ntnu.no (8.12.10/8.12.10) with ESMTP id i0T9bJDw013905 for ; Thu, 29 Jan 2004 10:37:19 +0100 (MET) Message-ID: <4018D44F.70703@idi.ntnu.no> Date: Thu, 29 Jan 2004 10:37:19 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::ScrolledWindow add/remove problem References: <4018BF62.2040307@citb.bull.net> In-Reply-To: <4018BF62.2040307@citb.bull.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=-2.1 required=4 X-Virus-Scanned: by amavisd-new-IDI Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Hello again, > > I am writing an app using a pane window. In the left side, there is a > tree and in the right part a Gtk::ScrolledWindow. > When the tree selection changes, I need to change the widget contained > in the ScrolledWindow. > To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). > It works a couple of times (usually 3), then it crashes (access > violation), in the add mathod. Well, I'm not an expert, but I have had the exact same problem, and worked around it... My guess is that when you create the ScrolledWindow with Gtk::manage(new ...), you make sort of a garbage collection thingy for it. Then when you do m_scroll.remove(), the garbage collection deletes it from memory. This means that when you switch once, and then switch back, the program crashes because you try to insert a deleted object. Whether I'm right or wrong here, I worked around it by simply removing the Gtk::manage() around the creation of the ScrolledWindow instances. -Tor Arvid- From bevis@anvil.com Thu Jan 29 04:47:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 9F886184F6 for ; Thu, 29 Jan 2004 04:47:18 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id E93E12D6; Thu, 29 Jan 2004 09:46:46 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 8F3972D1; Thu, 29 Jan 2004 09:46:45 +0000 (GMT) Message-ID: <4018D68A.1040707@anvil.co.uk> Date: Thu, 29 Jan 2004 09:46:50 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ramachandra Putti Cc: gtkmm-list@gnome.org, Manjit D Subject: Re: [gtkmm] Key press events not captured for some keys References: <002f01c3e622$4eec6e60$5f0210ac@enigma> In-Reply-To: <002f01c3e622$4eec6e60$5f0210ac@enigma> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've come across this bug. I got round it by using the release event, but I'll try that connect_notify() and see what happens. bevis > > > I am using "on_key_press(GdkEvent *key)" method to get the values of key > pressed, what i found was that for keys like "Enter", "Space Bar" and > all > arrow keys, no event key_press is generated. > > I wrote on_key_release_event(GdkEvent *key), the same keys "Enter", > "Space bar" and all arrow keys. It generates the release event only. > i.e. no key > press event is generated, but the release event is fired. > > I also noticed that for system reserved keys in KDE, like ALT-F1 for > Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the > system executes them for its use before I can capture it. > > So my query is, > 1. What is the code for capturing key press events ? > 2. How to catch the system reserved keys before their execution by the > system ? > > Below is Code snippet for you to try out what I have stated above, > Any help would be great appreciated, > Regards, > Ramachandra > > > > #include > #include > #include > #include > #include > class CWindow: public Gtk::Window > { > > public: > CWindow(); > ~CWindow(); > > bool on_window1_key_press_event(GdkEventKey *Key); > bool on_window1_key_release_event(GdkEventKey *Key); > }; > > CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) > { > Gtk::Window *window1 = this; > window1->set_title("window1"); > window1->set_modal(false); > window1->set_position(Gtk::WIN_POS_NONE); > window1->show(); > > window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_window1_key_press_event)); > > window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::on_window1_key_release_event)); > } > CWindow::~CWindow() > { > } > bool CWindow::on_window1_key_press_event(GdkEventKey *Key) > { > printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); > return true; > } > > bool CWindow::on_window1_key_release_event(GdkEventKey *Key) > { > printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); > return true; > } > > > int main(int argc, char **argv) > { > > Gtk::Main m(argc, argv); > CWindow *ptrWindow = new class CWindow(); > m.run(*ptrWindow); > delete ptrWindow; > ptrWindow = 0; > return 0; > } > > > > > > > > From Murray.Cumming@Comneon.com Thu Jan 29 04:49:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D70DD183C1 for ; Thu, 29 Jan 2004 04:49:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9iiDb015727; Thu, 29 Jan 2004 10:44:44 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:49:27 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EE4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Erik@mail.echohome.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Notebook tab scrolling Date: Thu, 29 Jan 2004 10:49:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Speaking of arrows to scroll through notebook pages, is there > a way to make the arrows larger than what they are by default? This might be a theme issue. > I'm building a touch screen application and those arrows are > too small for fingers. I'm sure that it is possible, because this is an issue for people with limited mobility also. You might try asking on gnome-accessibility-list@gnome.org list if you don't find an answer elsewhere. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 29 04:50:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 5F98818312 for ; Thu, 29 Jan 2004 04:50:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9kRDb016567; Thu, 29 Jan 2004 10:46:27 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:51:10 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EE5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: tor.arvid.lund@idi.ntnu.no, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::ScrolledWindow add/remove problem Date: Thu, 29 Jan 2004 10:50:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Whether I'm right or wrong here, I worked around it by simply > removing > the Gtk::manage() around the creation of the ScrolledWindow instances. That makes sense. When you use manage(), you should expect it to be deleted when removed. I suppose we could say that an explicit remove() should stop the memory from being managed, but that's another question and might make things more confusing. Murray Cumming www.murrayc.com murrayc@usa.net From B.Touron@citb.bull.net Thu Jan 29 05:19:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 6235A18B62 for ; Thu, 29 Jan 2004 05:19:01 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0TAJ0413635 for ; Thu, 29 Jan 2004 11:19:00 +0100 Message-ID: <4018DE2D.2030802@citb.bull.net> Date: Thu, 29 Jan 2004 11:19:25 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::ScrolledWindow add/remove problem References: <4018BF62.2040307@citb.bull.net> <4018D44F.70703@idi.ntnu.no> In-Reply-To: <4018D44F.70703@idi.ntnu.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks for your answer. I finaly used a Gtk::notebook, and it works well. By the way I noticed that there is a Gtk::Widget::reparent method, allowing to move a widget from a container to another, avoiding the deletion of the widget. Maybe this is the solution. Thanks Ben > Benoît Touron wrote: > > > Hello again, > > > > I am writing an app using a pane window. In the left side, there is a > > tree and in the right part a Gtk::ScrolledWindow. > > When the tree selection changes, I need to change the widget > contained > in the ScrolledWindow. > > To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). > > It works a couple of times (usually 3), then it crashes (access > > violation), in the add mathod. > > > Well, I'm not an expert, but I have had the exact same problem, and > worked around it... My guess is that when you create the ScrolledWindow > with Gtk::manage(new ...), you make sort of a garbage collection thingy > for it. Then when you do m_scroll.remove(), the garbage collection > deletes it from memory. This means that when you switch once, and then > switch back, the program crashes because you try to insert a deleted > object. > > Whether I'm right or wrong here, I worked around it by simply removing > the Gtk::manage() around the creation of the ScrolledWindow instances. > > -Tor Arvid- > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From pjmlp@progtools.org Thu Jan 29 09:03:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id D8BD819003 for ; Thu, 29 Jan 2004 09:03:06 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0TE34Eh024742 for ; Thu, 29 Jan 2004 15:03:04 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <40191297.8070101@progtools.org> Date: Thu, 29 Jan 2004 15:03:03 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Porting problems Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Now I have a working version of gtkmm/gnomemm. :) And I am in the process of porting an application from 1.x to 2.x. The problem is that is been a while since I have done anything in gtkmm so I am a bit lost trying to figure out about the several changes. For example, does anyone know what happened to the following methods? Gnome::Dialog::close_hides() Gnome::Dialog::editable_enters() I wasn't able to find anything similar in Gtk::Dialog. Cheers, Paulo Pinto From Murray.Cumming@Comneon.com Thu Jan 29 11:33:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 118081841C for ; Thu, 29 Jan 2004 11:33:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0TGTMDb024582; Thu, 29 Jan 2004 17:29:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 17:34:06 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pjmlp@progtools.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Porting problems Date: Thu, 29 Jan 2004 17:33:39 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Gnome::Dialog::close_hides() That prevented auto-destruction of the Dialog's instance. That was silly, so you don't need to call this anymore. Also be careful that you are not catching any destroy signals or catching delete_event signals unnecessarily. Look at gtkmm 2 examples if in doubt - it's all simpler now. > Gnome::Dialog::editable_enters() This said that pressing enter would press a button instead of just putting the cursor into any editable widgeet. Maybe they fixed it so that you don't need this little hack. Murray Cumming www.murrayc.com murrayc@usa.net From pjmlp@progtools.org Thu Jan 29 11:44:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id EE42318121 for ; Thu, 29 Jan 2004 11:44:55 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0TGirEh016351; Thu, 29 Jan 2004 17:44:54 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <40193885.3010505@progtools.org> Date: Thu, 29 Jan 2004 17:44:53 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Porting problems References: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks Murray.Cumming@Comneon.com wrote: >>Gnome::Dialog::close_hides() >> >> > >That prevented auto-destruction of the Dialog's instance. That was silly, so >you don't need to call this anymore. Also be careful that you are not >catching any destroy signals or catching delete_event signals unnecessarily. >Look at gtkmm 2 examples if in doubt - it's all simpler now. > > > >>Gnome::Dialog::editable_enters() >> >> > >This said that pressing enter would press a button instead of just putting >the cursor into any editable widgeet. Maybe they fixed it so that you don't >need this little hack. > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > > From ian.michell@hanzi.co.uk Thu Jan 29 16:30:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id 854AE18585 for ; Thu, 29 Jan 2004 16:30:26 -0500 (EST) Received: (qmail 18835 invoked from network); 29 Jan 2004 21:30:24 -0000 Received: from unknown (HELO host217-137-30-32.no-dns-yet.ntli.net) (217.137.30.32) by memmoch.webdevworld.com with SMTP; 29 Jan 2004 21:30:24 -0000 From: Ian Michell To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1075411863.5716.3.camel@linux.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 29 Jan 2004 21:31:03 +0000 Content-Transfer-Encoding: 7bit Subject: [gtkmm] GTKMM classes handling local variables Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, Maybe someone can help me with this, I have only been developing with GTKMM for a little while so I am a little bit of a newbie. Right here is a piece of example code: class MyClass : public Gtk::Window { public: MyClass(); virtual ~MyClass(); private: VBox m_box; }; MyClass::MyClass() { Label _label("Hello World"); m_box.pack_start(_label, PACK_SHRINK); show_all_children); } MyClass::~MyClass() { } Right what I cannot understand is why this program will compile but my label will not be displayed? For some reason it will only work if I declare my Label in the class definition... I don't see why it is not working... :( Ian From matthew@alledora.co.uk Thu Jan 29 17:48:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mail.gnome.org (Postfix) with ESMTP id B2B891885E for ; Thu, 29 Jan 2004 17:48:08 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040129224807.CWFL17928.mta07-svc.ntlworld.com@alledora.co.uk> for ; Thu, 29 Jan 2004 22:48:07 +0000 Message-ID: <40198DF3.5060104@alledora.co.uk> Date: Thu, 29 Jan 2004 22:49:23 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::FileChooser API Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is it my imagination, or does Gtk::FileChooser::get_uris() return an SList* instead of a Glib::SArrayHandle (or whatever it is that get_filenames() gives back, or something similar)? Looks like something not completely wrapped. That's according to the 2.4 docs currently online. Should I have put this in Bugzilla instead of mentioning it here? btw, got Towel running with gtkmm 2.4 (today's CVS), FileChooser::get_filenames() is only giving me one file at a time at the moment, but at this stage that could easily be a GTK+ bug. I shall investigate further soon. From paul@linuxaudiosystems.com Thu Jan 29 18:03:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out002.verizon.net (out002pub.verizon.net [206.46.170.141]) by mail.gnome.org (Postfix) with ESMTP id 72F171901F for ; Thu, 29 Jan 2004 18:03:53 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([151.197.127.182]) by out002.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040129230350.ECVN23576.out002.verizon.net@dhin.linuxaudiosystems.com>; Thu, 29 Jan 2004 17:03:50 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0TN3nNq020299; Thu, 29 Jan 2004 18:03:49 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i0TN3nYw020295; Thu, 29 Jan 2004 18:03:49 -0500 Message-Id: <200401292303.i0TN3nYw020295@dhin.linuxaudiosystems.com> To: Ian Michell Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables In-reply-to: Your message of "Thu, 29 Jan 2004 21:31:03 GMT." <1075411863.5716.3.camel@linux.local> Date: Thu, 29 Jan 2004 18:03:48 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.197.127.182] at Thu, 29 Jan 2004 17:03:50 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >MyClass::MyClass() >{ ----> create a Label > Label _label("Hello World"); > m_box.pack_start(_label, PACK_SHRINK); > show_all_children); ------> delete Label as it goes out of scope clear? From B.Touron@citb.bull.net Fri Jan 30 02:34:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 2274918F69 for ; Fri, 30 Jan 2004 02:34:51 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0U7Yo417073 for ; Fri, 30 Jan 2004 08:34:50 +0100 Message-ID: <401A092A.4090908@citb.bull.net> Date: Fri, 30 Jan 2004 08:35:06 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <1075411863.5716.3.camel@linux.local> In-Reply-To: <1075411863.5716.3.camel@linux.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ian, Your _label gets destroyed when you leave the constructor (MyClass::MyClass), because it's local. That's probably why it is not desplayed. You could either declare it in the class, or allocate it with new and use Gtk::Manage on the pointer: This code should work: MyClass::MyClass() { Label *_label = Gtk::Manage( new Label("Hello World")); m_box.pack_start(*_label, PACK_SHRINK); show_all_children(); } Ben > Hi all, > > Maybe someone can help me with this, I have only been developing with > GTKMM for a little while so I am a little bit of a newbie. > > Right here is a piece of example code: > > class MyClass : public Gtk::Window > { > public: > MyClass(); > virtual ~MyClass(); > private: > VBox m_box; > }; > > MyClass::MyClass() > { > Label _label("Hello World"); > m_box.pack_start(_label, PACK_SHRINK); > show_all_children); > } > > MyClass::~MyClass() > { > } > > Right what I cannot understand is why this program will compile but my > label will not be displayed? For some reason it will only work if I > declare my Label in the class definition... I don't see why it is not > working... :( > > Ian > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Fri Jan 30 03:09:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 108F618FBC for ; Fri, 30 Jan 2004 03:09:09 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0U84mDb022009; Fri, 30 Jan 2004 09:04:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 30 Jan 2004 09:09:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F6F@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: matthew@alledora.co.uk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::FileChooser API Date: Fri, 30 Jan 2004 09:09:04 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Is it my imagination, or does Gtk::FileChooser::get_uris() return an > SList* instead of a Glib::SArrayHandle (or whatever it is that > get_filenames() gives back, or something similar)? Looks like > something > not completely wrapped. That's according to the 2.4 docs > currently online. > > Should I have put this in Bugzilla instead of mentioning it here? Hopefully there is a TODO in the .hg file, but it never hurts to mention something in bugzilla. Even better, submit a patch. > btw, got Towel running with gtkmm 2.4 (today's CVS), > FileChooser::get_filenames() is only giving me one file at a > time at the > moment, but at this stage that could easily be a GTK+ bug. I shall > investigate further soon. That would be great. Thanks. Murray Cumming www.murrayc.com murrayc@usa.net From ian.michell@hanzi.co.uk Fri Jan 30 04:04:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id 0C728182B3 for ; Fri, 30 Jan 2004 04:04:29 -0500 (EST) Received: (qmail 1583 invoked from network); 30 Jan 2004 09:04:22 -0000 Received: from unknown (HELO hanzi.co.uk) (195.147.94.186) by memmoch.webdevworld.com with SMTP; 30 Jan 2004 09:04:22 -0000 Message-ID: <401A1E13.9090408@hanzi.co.uk> Date: Fri, 30 Jan 2004 09:04:19 +0000 From: Ian Michell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <1075411863.5716.3.camel@linux.local> <401A092A.4090908@citb.bull.net> In-Reply-To: <401A092A.4090908@citb.bull.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Ian, > > Your _label gets destroyed when you leave the constructor > (MyClass::MyClass), because it's local. > That's probably why it is not desplayed. > > You could either declare it in the class, or allocate it with new and > use Gtk::Manage on the pointer: > > This code should work: > > MyClass::MyClass() > { > Label *_label = Gtk::Manage( new Label("Hello World")); > m_box.pack_start(*_label, PACK_SHRINK); > show_all_children(); > } > > > Ben > >> Hi all, >> Maybe someone can help me with this, I have only been developing with >> GTKMM for a little while so I am a little bit of a newbie. >> >> Right here is a piece of example code: >> >> class MyClass : public Gtk::Window >> { >> public: >> MyClass(); >> virtual ~MyClass(); >> private: >> VBox m_box; >> }; >> >> MyClass::MyClass() >> { >> Label _label("Hello World"); >> m_box.pack_start(_label, PACK_SHRINK); >> show_all_children); >> } >> >> MyClass::~MyClass() >> { >> } >> >> Right what I cannot understand is why this program will compile but my >> label will not be displayed? For some reason it will only work if I >> declare my Label in the class definition... I don't see why it is not >> working... :( >> >> Ian >> >> _______________________________________________ >> gtkmm-list mailing list >> gtkmm-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/gtkmm-list >> > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > Thanks for the advice, I think I will give GTK::Manage a try, I think it will take a little getting used to, usually 90% of my c++ code is based around pointers, even my old GTK stuff (I used to wrap GTK into C++ before I discovered GTKMM). I would have thought the GTKMM team would have catered for the use of local varibles in some way, hence my obvious mistake of just trying to use them, I do however love the way GTKMM does a lot of things better than QT, oh well, right thanks again for the advice, I should now be able to continue my projects (Gnome Easy CD -- website and source tree coming soonish, Groupmage - native linux client for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- GnomeEasyInstall and GnomeAutoCD) hmm :-D From Murray.Cumming@Comneon.com Fri Jan 30 05:06:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 1205818D1A for ; Fri, 30 Jan 2004 05:06:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0UA2BDb009404; Fri, 30 Jan 2004 11:02:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 30 Jan 2004 11:06:56 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ian.michell@hanzi.co.uk, B.Touron@citb.bull.net Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] GTKMM classes handling local variables Date: Fri, 30 Jan 2004 11:06:30 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Thanks > for the advice, I think I will give > GTK::Manage a try, I think it > will take a little getting used to, usually 90% of my c++ > code is based > around pointers, even my old GTK stuff (I used to wrap GTK into C++ > before I discovered GTKMM). I would have thought the GTKMM team would > have catered for the use of local varibles in some way, This is basic C++ - you might read about "scope" in a C++ book. You might be used to using pointers instead, but you can use pointers here as well, as people have pointed out. As with Qt, when you use pointers you need to use new() or some create() function to get the pointer value. And you need to either a) use delete some time later, or b) use some memory-management system such as manage() or Qt's implicit manage(). So there is nothing unusual or wrong about this. I think you are mis-remembering your previous experience. Maybe you think that the gtkmm method should copy your local Label instance, by value, just as it would copy a std::string local instance. But Gtk::Widgets can not be copied, and it probably would not make sense to do so. See the archive for more theory about that, but you would probably not find that interesting. You might find this useful: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch18.html > hence > my obvious > mistake of just trying to use them, I do however love the way > GTKMM does > a lot of things better than QT, oh well, right thanks again for the > advice, I should now be able to continue my projects (Gnome > Easy CD -- > website and source tree coming soonish, Groupmage - native > linux client > for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- > GnomeEasyInstall and GnomeAutoCD) hmm :-D Murray Cumming www.murrayc.com murrayc@usa.net From ian.michell@hanzi.co.uk Fri Jan 30 05:23:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id BBF4818D1A for ; Fri, 30 Jan 2004 05:23:19 -0500 (EST) Received: (qmail 11738 invoked from network); 30 Jan 2004 10:23:13 -0000 Received: from unknown (HELO hanzi.co.uk) (195.147.94.186) by memmoch.webdevworld.com with SMTP; 30 Jan 2004 10:23:13 -0000 Message-ID: <401A3090.2050304@hanzi.co.uk> Date: Fri, 30 Jan 2004 10:23:12 +0000 From: Ian Michell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: B.Touron@citb.bull.net, gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >>Thanks >>for the advice, I think I will give >>GTK::Manage a try, I think it >>will take a little getting used to, usually 90% of my c++ >>code is based >>around pointers, even my old GTK stuff (I used to wrap GTK into C++ >>before I discovered GTKMM). I would have thought the GTKMM team would >>have catered for the use of local varibles in some way, >> >> > >This is basic C++ - you might read about "scope" in a C++ book. > >You might be used to using pointers instead, but you can use pointers here >as well, as people have pointed out. As with Qt, when you use pointers you >need to use new() or some create() function to get the pointer value. And >you need to either a) use delete some time later, or b) use some >memory-management system such as manage() or Qt's implicit manage(). So >there is nothing unusual or wrong about this. I think you are >mis-remembering your previous experience. > >Maybe you think that the gtkmm method should copy your local Label instance, >by value, just as it would copy a std::string local instance. But >Gtk::Widgets can not be copied, and it probably would not make sense to do >so. See the archive for more theory about that, but you would probably not >find that interesting. > >You might find this useful: >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch18.html > > > >>hence >>my obvious >>mistake of just trying to use them, I do however love the way >>GTKMM does >>a lot of things better than QT, oh well, right thanks again for the >>advice, I should now be able to continue my projects (Gnome >>Easy CD -- >>website and source tree coming soonish, Groupmage - native >>linux client >>for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- >>GnomeEasyInstall and GnomeAutoCD) hmm :-D >> >> > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > > > True, that it is basic c++, how silly of me, I think being forced to write software with .Net and C# has clouded my brain lol, this is the first C++ code I have written in about 4 or 5 months so it will be a couple more days until I am back in the loop again ;) ---- The only problem with being a proffesional developer (completely self taught!) is that I need to program in more languages than anyone else to stay at the top of my game and beat the boys with degrees in Computer Science, Math and Software Eng. From abt@gmx.de Fri Jan 30 05:51:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id CE847187E2 for ; Fri, 30 Jan 2004 05:51:01 -0500 (EST) Received: (qmail 25487 invoked by uid 65534); 30 Jan 2004 10:50:54 -0000 Received: from pD902B4C0.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.192) by mail.gmx.net (mp002) with SMTP; 30 Jan 2004 11:50:54 +0100 X-Authenticated: #109577 Message-ID: <401A36F3.5030702@gmx.de> Date: Fri, 30 Jan 2004 11:50:27 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] any hints how to realise this window? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I´d like to have a window like this. Is it right that I have to realise it with two list views? +------------------------------------------------------+ | | | available this C. | | +------------+ +------------+ | | | Group1 | | Group2 | | | | Group2 | add ------> | | | | | Group3 | | | | | | Group4 | <------ remove | | | | | Group5 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +------------+ +------------+ | | | | +-------+ | | | Apply | | | +-------+ | +------------------------------------------------------+ TIA, Andi From opl@opltech.net Fri Jan 30 16:44:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mwinf0302.wanadoo.fr (smtp3.wanadoo.fr [193.252.22.28]) by mail.gnome.org (Postfix) with ESMTP id 59C9018E82 for ; Fri, 30 Jan 2004 16:44:29 -0500 (EST) Received: from alakazam (Mix-Toulouse-112-3-18.w80-9.abo.wanadoo.fr [80.9.159.18]) by mwinf0302.wanadoo.fr (SMTP Server) with ESMTP id 4865FC000277 for ; Fri, 30 Jan 2004 22:44:27 +0100 (CET) Date: Fri, 30 Jan 2004 22:43:19 CET From: Francis Bacque To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: OplMail v0.75 Linux 2.4.20-gentoo-r5 Message-Id: <20040130214427.4865FC000277@mwinf0302.wanadoo.fr> Subject: [gtkmm] Invalid UTF8 string passed to pango_layout_set_text() Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, when I try to display text (with accent) in a treeview, I can't display these characters and got repeated messages in the console: WARNING **: Invalid UTF8 string passed to pango_layout_set_text() I had tried to convert them with: Glib::locale_to_utf8 ( const std::string& opsys_string ) But it didn't succeeded :-( What' s wrong? Thanks Francis From olau@hardworking.dk Fri Jan 30 18:58:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp040.tiscali.dk (smtp040.tiscali.dk [212.54.64.106]) by mail.gnome.org (Postfix) with ESMTP id 9F48D1844A for ; Fri, 30 Jan 2004 18:58:01 -0500 (EST) Received: from bach.composers (87.ppp1-1.abc.worldonline.dk [213.237.21.87]) by smtp040.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0UNvLRD017986 for ; Sat, 31 Jan 2004 00:57:22 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1Amfbm-0000GC-W8 for gtkmm-list@gnome.org; Fri, 30 Jan 2004 21:51:23 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Draw lines into a Gdk::Pixbuf References: From: Ole Laursen Date: Fri, 30 Jan 2004 21:51:22 +0100 In-Reply-To: (Find All's message of "Thu, 29 Jan 2004 09:18:30 +0000") Message-ID: <878yjpi2id.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Find All" writes: > Is there a way to draw lines,rectangles... directly to a Gdk::Pixbuf > in the same way as the functions draw_line,draw_rectangle... of > Gdk::Drawable? No, not as far as I know. But it's quite easy to do yourself if you make a proper frontend for the pixbuf interface. I've got one suggestion here: http://www.cs.auc.dk/~olau/misc/pixbuf-drawing.hpp I wrote a message about it on this list about a year ago or so with usage instructions: http://mail.gnome.org/archives/gtkmm-list/2003-January/msg00198.html Perhaps I should think about making a patch. -- Ole Laursen http://www.cs.auc.dk/~olau/ From n_gouda123@yahoo.com Sat Jan 31 09:25:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60504.mail.yahoo.com (web60504.mail.yahoo.com [216.109.116.125]) by mail.gnome.org (Postfix) with SMTP id 2788918800 for ; Sat, 31 Jan 2004 09:25:08 -0500 (EST) Message-ID: <20040131142503.87149.qmail@web60504.mail.yahoo.com> Received: from [164.164.89.226] by web60504.mail.yahoo.com via HTTP; Sat, 31 Jan 2004 06:25:03 PST Date: Sat, 31 Jan 2004 06:25:03 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] I want to Show multiple trees in mu GUI.... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I want to display multiple trees using my GUI. I tried with adding two trees to the paned objects. But Now i want to display more than 2 trees, Please can u tell me how to do it... Rgds, Naganagouda Meti. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From dss@home.se Sat Jan 31 10:39:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gepetto.dc.luth.se (gepetto.dc.luth.se [130.240.42.40]) by mail.gnome.org (Postfix) with ESMTP id 3349818493 for ; Sat, 31 Jan 2004 10:39:54 -0500 (EST) Received: from sumpan (sumpan.campus.luth.se [130.240.194.33]) by gepetto.dc.luth.se (8.12.5/8.12.5) with SMTP id i0VFdqgC022982; Sat, 31 Jan 2004 16:39:52 +0100 (MET) Date: Sat, 31 Jan 2004 16:39:52 +0100 From: Daniel Sundberg To: Nagan gouda Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I want to Show multiple trees in mu GUI.... Message-Id: <20040131163952.2a79e3ec.dss@home.se> In-Reply-To: <20040131142503.87149.qmail@web60504.mail.yahoo.com> References: <20040131142503.87149.qmail@web60504.mail.yahoo.com> X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sat, 31 Jan 2004 06:25:03 -0800 (PST) Nagan gouda wrote: > Hi, > I want to display multiple trees using my GUI. I > tried with adding two trees to the paned objects. But > Now i want to display more than 2 trees, Please can u > tell me how to do it... > You could put another paned object in one of the two windows of a paned... Daniel Sundberg -- http://sumpan.com sumpan@sumpan.com > > Rgds, > Naganagouda Meti. > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Stefan.Andressen@t-online.de Wed Dec 31 19:40:06 2003 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mail.gnome.org (Postfix) with ESMTP id F3C761833A for ; Wed, 31 Dec 2003 19:40:05 -0500 (EST) Received: from fwd01.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1Abqsf-0000ly-00; Thu, 01 Jan 2004 01:40:05 +0100 Received: from stefanxp1800 (XLy6AOZJ8eG7snzghJniZ9ZlvbMwlhv7VG62F9IhovZMExPi5WVLoI@[193.158.182.83]) by fwd01.sul.t-online.com with smtp id 1AbqsV-1Nb9ua0; Thu, 1 Jan 2004 01:39:55 +0100 Message-ID: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 1 Jan 2004 01:39:52 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C3D008.26B22230" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: XLy6AOZJ8eG7snzghJniZ9ZlvbMwlhv7VG62F9IhovZMExPi5WVLoI Subject: [gtkmm] Which dlls to distribute Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0016_01C3D008.26B22230 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I am new to gtkmm and i have no idea which dlls (windows here) i have to = ship with my application. Only the gtkmm dlls? Or the gtk+ dlls, too? Thanks in advance! CU, Stefan ------=_NextPart_000_0016_01C3D008.26B22230 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I am new to gtkmm and i have no idea = which dlls=20 (windows here) i have to ship with my application.
Only the gtkmm dlls? Or the gtk+ dlls,=20 too?
 
Thanks in advance!
 
CU,
Stefan
------=_NextPart_000_0016_01C3D008.26B22230-- From Stefan.Andressen@t-online.de Thu Jan 1 11:08:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mail.gnome.org (Postfix) with ESMTP id 6B97118129 for ; Thu, 1 Jan 2004 11:08:10 -0500 (EST) Received: from fwd10.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1Ac5Mk-0005KU-00; Thu, 01 Jan 2004 17:08:06 +0100 Received: from stefanxp1800 (ZGyfqeZZgefX46ZDDxG4xvNpdVE3l3rqkNt3RLN44M1GKnwCMuFD8D@[62.224.223.126]) by fwd10.sul.t-online.com with smtp id 1Ac5MJ-1fs5PU0; Thu, 1 Jan 2004 17:07:39 +0100 Message-ID: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 1 Jan 2004 17:07:36 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C3D089.C0E2ECA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: ZGyfqeZZgefX46ZDDxG4xvNpdVE3l3rqkNt3RLN44M1GKnwCMuFD8D Subject: [gtkmm] radiobutton under winxp Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C3D089.C0E2ECA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I compiled the radiobutton example from the gtkmm-book, and when a = radiobutton is selected, it simply doesn't fill the circle (for winxp = with a green dot). Is there a workaround? I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. Thanks! Happy new year, Stefan ------=_NextPart_000_0005_01C3D089.C0E2ECA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I compiled the radiobutton example from = the=20 gtkmm-book, and when a radiobutton is selected, it simply doesn't fill = the=20 circle (for winxp with a green dot).
Is there a workaround?
I am using gtkmm 2.2.8.1 with g++ 3.2 = and=20 Dev-Cpp.
 
Thanks!
Happy new year,
Stefan
------=_NextPart_000_0005_01C3D089.C0E2ECA0-- From abt@gmx.de Thu Jan 1 11:34:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id E1C201815F for ; Thu, 1 Jan 2004 11:34:38 -0500 (EST) Received: (qmail 22091 invoked by uid 65534); 1 Jan 2004 16:34:37 -0000 Received: from dialin-145-254-065-221.arcor-ip.net (EHLO gmx.de) (145.254.65.221) by mail.gmx.net (mp005) with SMTP; 01 Jan 2004 17:34:37 +0100 X-Authenticated: #109577 Message-ID: <3FF44C18.7060404@gmx.de> Date: Thu, 01 Jan 2004 17:34:32 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi and a happy new year to everyone! I´d like to have a window like the detailed list view in KDE Konquerer (is it QT?) and I wonder if there is any way to create a lookalike with GTKmm. You can see the screenshots here: http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite Click on the image to view the window I´d like to create.... With "Next" you can view my GTKmm try... TIA, Andi From abt@gmx.de Thu Jan 1 11:39:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id F1E981815F for ; Thu, 1 Jan 2004 11:38:59 -0500 (EST) Received: (qmail 22194 invoked by uid 65534); 1 Jan 2004 16:38:55 -0000 Received: from dialin-145-254-065-221.arcor-ip.net (EHLO gmx.de) (145.254.65.221) by mail.gmx.net (mp026) with SMTP; 01 Jan 2004 17:38:55 +0100 X-Authenticated: #109577 Message-ID: <3FF44D1B.4070705@gmx.de> Date: Thu, 01 Jan 2004 17:38:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org References: <3FF44C18.7060404@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) -> login Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > You can see the screenshots here: > http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite login: abthun rosebud From matthew@alledora.co.uk Thu Jan 1 16:02:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by mail.gnome.org (Postfix) with ESMTP id 26FF01817B for ; Thu, 1 Jan 2004 16:02:43 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040101210227.UNVT29762.mta02-svc.ntlworld.com@alledora.co.uk>; Thu, 1 Jan 2004 21:02:27 +0000 Message-ID: <3FF48B1E.9080300@alledora.co.uk> Date: Thu, 01 Jan 2004 21:03:26 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> In-Reply-To: <3FF44C18.7060404@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas B. Thun wrote: | Hi and a happy new year to everyone! | | I´d like to have a window like the detailed | list view in KDE Konquerer (is it QT?) | and I wonder if there is any way to create | a lookalike with GTKmm. | | You can see the screenshots here: | http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite | | Click on the image to view the window I´d like to create.... | With "Next" you can view my GTKmm try... It's entirely possible. The TreeView widget is the one you'll be wanting to look at to start with. Most of the columns could be CellRendererText columns for pure text rendering, but the first one would need both a CellRendererPixbuf and a CellRendererText in it to get the icons. You may find that the stock TreeView code doesn't do everything you'd need to entirely replicate Konqueror's functionality - Nautilus, I believe, uses some kind of TreeView-based widget with lots of extra bits to enable it to do everything it does, but TreeView will provide you with the basics at least. I know it doesn't sound like the right widget, but believe me, it is. Read the Programming with Gtkmm chapters on it to get yourself started, and look at the examples in the Gtkmm source distribution for more info. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/9Isb0UvYjCBpIlARAiUCAJwIcNyUOtzyH9mwwivzdVd38d8uTQCfek9w Tulu3UPoJ2C93dPprA7waiY= =mPKM -----END PGP SIGNATURE----- From christof@petig-baender.de Fri Jan 2 04:18:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 1EE54182F1 for ; Fri, 2 Jan 2004 04:18:07 -0500 (EST) Received: (qmail 25205 invoked by uid 4225); 2 Jan 2004 09:18:05 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 02 Jan 2004 09:18:05 -0000 Received: from [192.168.235.2] (helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AcLRT-0002Ld-00; Fri, 02 Jan 2004 10:18:04 +0100 Message-ID: <3FF48ADE.4090606@petig-baender.de> Date: Thu, 01 Jan 2004 22:02:22 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Roger Leigh Cc: "Andreas B. Thun" , gtkmm-list@gnome.org Subject: Re: [gtkmm] =?ISO-8859-1?Q?beginner=B4s_question?= References: <3FEDAACF.1000304@gmx.de> <87ekupj3qm.fsf@wrynose.whinlatter.uklinux.net> <3FEEBB79.5060102@gmx.de> <877k0fi830.fsf@wrynose.whinlatter.uklinux.net> <3FF13CD4.5000400@gmx.de> <87pte6br92.fsf@wrynose.whinlatter.uklinux.net> In-Reply-To: <87pte6br92.fsf@wrynose.whinlatter.uklinux.net> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Roger Leigh schrieb: >>To glade: I checked it but it generates C code! It uses glademm to generate C++ code (once you activate C++) > Using the C/C++ code generation is deprecated, that is simply a matter of taste (and your requirements). I don't consider generating a _single_standalone_ binary deprecated - no matter how many gnome developers think differently. And C++ is a totally different beast, the generated C++ code is much more maintainable than the C code. I dare to say that glade's code is a nightmare compared to glademm's. Christof (glademm maintainer) From abt@gmx.de Fri Jan 2 06:31:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A4772180D7 for ; Fri, 2 Jan 2004 06:31:54 -0500 (EST) Received: (qmail 11146 invoked by uid 65534); 2 Jan 2004 11:31:50 -0000 Received: from port-213-61-210-114.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.114) by mail.gmx.net (mp003) with SMTP; 02 Jan 2004 12:31:50 +0100 X-Authenticated: #109577 Message-ID: <3FF556A1.2080501@gmx.de> Date: Fri, 02 Jan 2004 12:31:45 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Matthew Walton , gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: THX, I´ve checked the TreeView example in "Programming with GTKmm2" and found that I have to provide a ModelColumns class member for every column data (see below my col_1/2). class ModelColumns : public Gtk::TreeModelColumnRecord { public: Gtk::TreeModelColumn col_1; Gtk::TreeModelColumn col_2; ModelColumns() { add (col_1); add (col_2); } }; The problem I am facing now is that my column data is dynamic. (It does not change while the program is running, though). I get the data I want to display from a file so I get the information about how many columns I have to display only at runtime. I am not a C++ expert, maybe soemone can explain how to build the class ModelColumns dynamically? Matthew Walton schrieb: > It's entirely possible. The TreeView widget is the one you'll be wanting > to look at to start with. Most of the columns could be CellRendererText > columns for pure text rendering, but the first one would need both a > CellRendererPixbuf and a CellRendererText in it to get the icons. From olau@hardworking.dk Fri Jan 2 07:25:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 0EF9118132 for ; Fri, 2 Jan 2004 07:25:04 -0500 (EST) Received: from bach.composers (26.ppp1-1.abc.worldonline.dk [213.237.21.26]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i02CPE7x014686 for ; Fri, 2 Jan 2004 13:25:15 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AcOMU-00038i-OX for gtkmm-list@gnome.org; Fri, 02 Jan 2004 13:25:06 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> <3FF556A1.2080501@gmx.de> From: Ole Laursen Date: Fri, 02 Jan 2004 13:25:06 +0100 In-Reply-To: <3FF556A1.2080501@gmx.de> (Andreas B. Thun's message of "Fri, 02 Jan 2004 12:31:45 +0100") Message-ID: <87wu8a4jx9.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > class ModelColumns : public Gtk::TreeModelColumnRecord > { > public: > Gtk::TreeModelColumn col_1; > Gtk::TreeModelColumn col_2; > > ModelColumns() > { > add (col_1); > add (col_2); > } > }; > > The problem I am facing now is that my column data is dynamic. > (It does not change while the program is running, though). I've never tried this, but can't you just use an array? For example: public: std::vector > cols; ModelColumns(int no) { for (int i = 0; i < no; ++i) { cols.push_back(Gtk::TreeModelColumn()); add(cols.back()); } } I'm not sure whether it works, though. The interface for the treeview classes is very confusing. -- Ole Laursen http://www.cs.auc.dk/~olau/ From kickvb@touva.be Fri Jan 2 10:27:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moses.all2all.org (sys2.all2all.org [62.58.108.3]) by mail.gnome.org (Postfix) with ESMTP id 6B2C8180F4 for ; Fri, 2 Jan 2004 10:27:17 -0500 (EST) Received: from buddha.all2all.org ([62.58.108.9] helo=all2all.org) by moses.all2all.org with smtp (ALL2ALL.ORG The Independent Network) id 1AcRCj-0007Ue-00; Fri, 02 Jan 2004 16:27:13 +0100 Date: Fri, 2 Jan 2004 15:27:13 -0000 To: "Stefan Andreßen" , Subject: Re: [gtkmm] Which dlls to distribute From: X-Mailer: TWIG 2.7.7 Message-ID: In-Reply-To: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> X-Client-IP: 212.239.221.31 Reply-To: kickvb@touva.be Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am new to gtkmm and i have no idea which dlls (windows here) i have to ship with my application. > Only the gtkmm dlls? Or the gtk+ dlls, too? GTKmm doesn't reimplement what is done in GTK+ but gives you a C++ interface to the GTK+ libraries. So you need to ship the gtk+ dlls too. You can find at http://cvs.sourceforge.net/viewcvs.py/heavymole/heavymole/heavymole-libraries.iss?rev=1.17&view=auto an installer (written with the Inno Setup script) which installs a gtkmm application and all needed dlls. You can install and look at the files of the package http://prdownloads.sourceforge.net/heavymole/HeavyMole-0.7.0-Libraries-Installer.exe to see what are the files that are installed. Note that it is not the best way to install the libraries, as the GTK+ and GTKmm dlls are installed in the directory of your application and are therefore not usable by other applications. I'd like to write a script that checks if GTK+/GTKmm are already on your system and installs them exactly like it was made with the Runtime Environment packages from http://www.dropline.net/gtk/download.php and http://www.pcpm.ucl.ac.be/~gustin/win32_ports/. I think I'll need the scripts used to write these packages. Cedric Gustin could you send me (or put on your web site) the script used to do your package? Regards, Christian Van Brussel From abt@gmx.de Fri Jan 2 13:46:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3880018206 for ; Fri, 2 Jan 2004 13:46:52 -0500 (EST) Received: (qmail 14847 invoked by uid 65534); 2 Jan 2004 18:46:50 -0000 Received: from port-213-61-210-245.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.245) by mail.gmx.net (mp009) with SMTP; 02 Jan 2004 19:46:50 +0100 X-Authenticated: #109577 Message-ID: <3FF5BC97.1000905@gmx.de> Date: Fri, 02 Jan 2004 19:46:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Two beginners questions to signal handling Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, it´s me again :-) The callback function of form B should trigger the values displayed in form A to update. form A: build by constructor of class A form B: build by constructor of class B 1. Is there a way to connect the signal handler B::something_in_B_selected() to A::update_values_in_A()? class A : public Gtk::VBox class B : public Gtk::VBox 2. If I want to update the values in a already displayed form A is it ok to just re-set the values and invoke show_all()? TIA, Andi From abt@gmx.de Fri Jan 2 13:51:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id E148C1845C for ; Fri, 2 Jan 2004 13:51:17 -0500 (EST) Received: (qmail 16755 invoked by uid 65534); 2 Jan 2004 18:51:16 -0000 Received: from port-213-61-210-245.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.245) by mail.gmx.net (mp027) with SMTP; 02 Jan 2004 19:51:16 +0100 X-Authenticated: #109577 Message-ID: <3FF5BDA1.8090802@gmx.de> Date: Fri, 02 Jan 2004 19:51:13 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Matthew Walton Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > It's entirely possible. The TreeView widget is the one you'll be wanting > to look at to start with. Most of the columns could be CellRendererText > columns for pure text rendering, but the first one would need both a > CellRendererPixbuf and a CellRendererText in it to get the icons. Ok, I see. The list view looks promising. Although it seems that the header items cannot trigger any action?! (In Konquerer you can click on Size, Name, Date etc. and the list will be sorted.) From olau@hardworking.dk Fri Jan 2 17:21:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp040.tiscali.dk (smtp040.tiscali.dk [212.54.64.106]) by mail.gnome.org (Postfix) with ESMTP id CAD9618149 for ; Fri, 2 Jan 2004 17:21:53 -0500 (EST) Received: from bach.composers (35.ppp1-1.abc.worldonline.dk [213.237.21.35]) by smtp040.tiscali.dk (8.12.10/8.12.10) with ESMTP id i02MLnRD000160 for ; Fri, 2 Jan 2004 23:21:50 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AcXMB-0000AM-MI for gtkmm-list@gnome.org; Fri, 02 Jan 2004 23:01:23 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Two beginners questions to signal handling References: <3FF5BC97.1000905@gmx.de> From: Ole Laursen Date: Fri, 02 Jan 2004 23:01:23 +0100 In-Reply-To: <3FF5BC97.1000905@gmx.de> (Andreas B. Thun's message of "Fri, 02 Jan 2004 19:46:47 +0100") Message-ID: <87isju103w.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > The callback function of form B should trigger > the values displayed in form A to update. > form A: build by constructor of class A > form B: build by constructor of class B > > 1. Is there a way to connect the signal handler > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox You can define your own signals if that is what you are asking. You can also connect to "someone clicked here" events in a widget if that is what you are asking. You just need to find the appropriate signal_something() to connect to, then say something along the lines of signal_something().connect(SigC::slot(my_a_object, &A::update_values)); inside B. When you are looking for a signal_something(), remember that base classes define signals too. Sometimes it is easiest to find one via the signal mechanism in Glade. (If you are not using Glade, you really should unless _all_ of your window contents are dynamically generated.) > 2. If I want to update the values in a already > displayed form A is it ok to just re-set the values > and invoke show_all()? You don't need to invoke show_all again. If you update the value in a widget, it will automatically refresh itself. -- Ole Laursen http://www.cs.auc.dk/~olau/ From pgasper@designadvantage.com Fri Jan 2 21:31:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id A4E3C18139 for ; Fri, 2 Jan 2004 21:31:54 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AcbZs-0004SP-70 for gtkmm-list@gnome.org; Fri, 02 Jan 2004 21:31:48 -0500 From: Peter Gasper To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Message-Id: <1073097107.6545.46.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 02 Jan 2004 19:31:51 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Subject: [gtkmm] widget activation Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For widgets that are activatable, such as a RadioButton, is there a way to query what keyboard key caused the activation? Or better yet, is there a way to prevent the return key from causing activation (or return & kp_enter), but let the keypad enter key cause activation? The reason for this is I am connecting a slot to the widget's signal_activate. I want to do something different depending on if the return or kp_enter key is pressed, but signal_activate() doesn't tell me the key. I would also rather catch the return key in the on_keyboard_release_event() function of a parent container of this widget. But since the widget is activatable, the return key event never gets that far and connecting to the widget's signal_key_release_event doesn't seem to work either. Thanks, Pete G -- Peter Gasper From gtkmm-forge-admin@lists.sourceforge.net Fri Jan 2 23:05:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 7848418147 for ; Fri, 2 Jan 2004 23:05:28 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Acd2U-0006fR-8X for gtkmm-list@gnome.org; Fri, 02 Jan 2004 20:05:26 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1Acd2U-0005kj-3n for gtkmm-list@gnome.org; Fri, 02 Jan 2004 20:05:26 -0800 Date: Fri, 02 Jan 2004 20:03:27 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #590 - 8 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 130351] New - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) 2. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 3. [Bug 130351] Changed - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) 4. [Bug 122450] Changed - stylesheet to generate devhelp documentation from doxygen xml (bugzilla-daemon@widget.gnome.org) 5. [Bug 125061] Changed - glibmm should use libsigc++2 (bugzilla-daemon@widget.gnome.org) 6. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 7. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 8. [Bug 130351] Changed - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Thu, 1 Jan 2004 10:56:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] New - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by stefan.andressen@t-online.de. --- shadow/130351 Thu Jan 1 10:56:26 2004 +++ shadow/130351.tmp.10364 Thu Jan 1 10:56:26 2004 @@ -0,0 +1,20 @@ +Bug#: 130351 +Product: gtkmm +Version: 2.2 +OS: Windows +OS Details: WinXP Professional +Status: NEW +Resolution: +Severity: minor +Priority: Normal +Component: general +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: stefan.andressen@t-online.de +TargetMilestone: --- +URL: +Summary: Radiobutton not correctly drawn + +I compiled the radiobutton example from the gtkmm-book, and when a +radiobutton is selected, it doesn't draw the green point in the circle. + +P.S.: I do not understand what the "GNOME VERSION" meen... --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Fri, 2 Jan 2004 05:22:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Mon Dec 22 11:44:12 2003 +++ shadow/129846.tmp.26874 Fri Jan 2 05:22:17 2004 @@ -35,6 +35,12 @@ ------- Additional Comments From roger@whinlatter.uklinux.net 2003-12-22 11:44 ------- Created an attachment (id=22645) testcase -- glade interface + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:22 ------- +I tried this with the menus example, in libglademm/examples, and I +don't see any accelerators, and that doesn't even use the reparent +method. I can't even get it to work in C with libglade. Do you have an +example that does work, without reparenting, for comparison? --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, stefan.andressen@t-online.de Cc: Date: Fri, 2 Jan 2004 05:24:14 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by murrayc@usa.net. --- shadow/130351 Thu Jan 1 10:56:26 2004 +++ shadow/130351.tmp.28109 Fri Jan 2 05:24:14 2004 @@ -15,6 +15,10 @@ Summary: Radiobutton not correctly drawn I compiled the radiobutton example from the gtkmm-book, and when a radiobutton is selected, it doesn't draw the green point in the circle. P.S.: I do not understand what the "GNOME VERSION" meen... + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:24 ------- +Do you know if this works in the C GTK+ examples or demos on Windows? +It may be a theme problem. --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roel@stack.be Cc: Date: Fri, 2 Jan 2004 05:26:15 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 122450] Changed - stylesheet to generate devhelp documentation from doxygen xml Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=122450 Changed by murrayc@usa.net. --- shadow/122450 Fri Dec 26 14:23:52 2003 +++ shadow/122450.tmp.29136 Fri Jan 2 05:26:15 2004 @@ -1,13 +1,13 @@ Bug#: 122450 Product: gtkmm Version: 2.2 OS: All OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: enhancement Priority: Normal Component: reference documentation AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roel@stack.be QAContact: gtkmm-forge@lists.sourceforge.net @@ -196,6 +196,17 @@ I can't check rýght now, but I sent the devhelp file to you, as requested. And can't you just build the cvs version? ------- Additional Comments From roel@stack.be 2003-12-26 14:23 ------- Ok, I've build the cvs version, and it works as I described above; so function searching in the cvs version works for me. + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:26 ------- +Hmm, yes, it seems to be working now, though I had to correct the +devhelp file name and location (done in cvs). + +I notice that the anchor links don't work (it doesn't go straight to +the method instead of the top of the page), but that's probably a +gtkhtml problem. + +Thank you. I have done this for libglademm already and will do it for +the others, so check the changes if you have thoughts. Thanks again. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 05:28:19 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 125061] Changed - glibmm should use libsigc++2 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=125061 Changed by murrayc@usa.net. --- shadow/125061 Wed Oct 22 04:43:40 2003 +++ shadow/125061.tmp.30371 Fri Jan 2 05:28:19 2004 @@ -50,6 +50,9 @@ ------- Additional Comments From murrayc@usa.net 2003-10-22 04:43 ------- > Would you prefer to use the compatibility module in > glibmm/gtkmm itself No, we would port to the latest non-deprecated libsigc++ API. + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:28 ------- +We need to ask on the list whether people can live without gcc 2.9*. --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 08:42:40 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by roger@whinlatter.uklinux.net. --- shadow/129846 Fri Jan 2 05:22:17 2004 +++ shadow/129846.tmp.13867 Fri Jan 2 08:42:40 2004 @@ -41,6 +41,11 @@ ------- Additional Comments From murrayc@usa.net 2004-01-02 05:22 ------- I tried this with the menus example, in libglademm/examples, and I don't see any accelerators, and that doesn't even use the reparent method. I can't even get it to work in C with libglade. Do you have an example that does work, without reparenting, for comparison? + +------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:42 ------- +Created an attachment (id=22839) +Glade file: add C+Q accelerator to gnomemm/libglademm/examples/menus/example.glade + --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 08:46:06 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by roger@whinlatter.uklinux.net. --- shadow/129846 Fri Jan 2 08:42:40 2004 +++ shadow/129846.tmp.15329 Fri Jan 2 08:46:05 2004 @@ -46,6 +46,18 @@ example that does work, without reparenting, for comparison? ------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:42 ------- Created an attachment (id=22839) Glade file: add C+Q accelerator to gnomemm/libglademm/examples/menus/example.glade + +------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:45 ------- +I've attached a new Glade file, which adds a C+Q accelerator to the +menu_file_quit MenuItem. This does work as expected, in that now +C+Q now causes the program to terminate. + +This works with the normal gnomemm/libglademm/examples/menus/example +program. + + +Regards, +Roger --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 11:51:03 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by stefan.andressen@t-online.de. --- shadow/130351 Fri Jan 2 05:24:14 2004 +++ shadow/130351.tmp.14524 Fri Jan 2 11:51:02 2004 @@ -19,6 +19,19 @@ P.S.: I do not understand what the "GNOME VERSION" meen... ------- Additional Comments From murrayc@usa.net 2004-01-02 05:24 ------- Do you know if this works in the C GTK+ examples or demos on Windows? It may be a theme problem. + +------- Additional Comments From stefan.andressen@t-online.de 2004-01-02 11:51 ------- +http://www.gotpenguin.com/gnome/gtk1/tutorial/sec-radiobuttons.html +Here I found the corresponding c-code. +The green dot isn't drawn here also, so c and c++ (gtk+ and gtkmm) +have the same behaviour, as expected. +If this is a theme problem lies beyond my knowledge, i just know +that it is a problem. +Whether this is a theme problem or not lies beyond my knowledge, I +just know that it is a problem. + +Bye. + --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From cedric.gustin@swing.be Sun Jan 4 14:55:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 9FE91183AD for ; Sun, 4 Jan 2004 14:55:24 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04JnSPt027766; Sun, 4 Jan 2004 20:49:29 +0100 (MET) Message-Id: <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 20:55:13 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] radiobutton under winxp In-Reply-To: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:07 PM 1/1/2004, Stefan Andre=DFen wrote: >Hi! > >I compiled the radiobutton example from the gtkmm-book, and when a=20 >radiobutton is selected, it simply doesn't fill the circle (for winxp with= =20 >a green dot). >Is there a workaround? >I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. This problem already came up a few weeks ago, either on the mailing list or= =20 in a private mail, I don't remember. I think the problem was related to=20 dev-cpp. Try to upgrade to the latest version using the nice dev-cpp=20 updater included in the distribution. Then recompile.You might also want to= =20 upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline (see=20 http://gtk-wimp.sourceforge.net). Please post the solution on the mailinglist as an archive. Cedric From cedric.gustin@swing.be Sun Jan 4 15:02:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id BDA7A18512 for ; Sun, 4 Jan 2004 15:02:32 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04JufPt027964; Sun, 4 Jan 2004 20:56:41 +0100 (MET) Message-Id: <6.0.1.1.2.20040104210041.01be1510@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 21:02:29 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] radiobutton under winxp In-Reply-To: <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 08:55 PM 1/4/2004, Cedric Gustin wrote: >At 05:07 PM 1/1/2004, Stefan Andre=DFen wrote: >>I compiled the radiobutton example from the gtkmm-book, and when a=20 >>radiobutton is selected, it simply doesn't fill the circle (for winxp=20 >>with a green dot). >>Is there a workaround? >>I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. > >This problem already came up a few weeks ago, either on the mailing list=20 >or in a private mail, I don't remember. I think the problem was related to= =20 >dev-cpp. Try to upgrade to the latest version using the nice dev-cpp=20 >updater included in the distribution. Then recompile.You might also want=20 >to upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline=20 >(see http://gtk-wimp.sourceforge.net). Actually, it was on the pygtk mailing list. See this thread= http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Cedric=20 From cedric.gustin@swing.be Sun Jan 4 15:30:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id D7819182AE for ; Sun, 4 Jan 2004 15:30:28 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04KOPPt028648; Sun, 4 Jan 2004 21:24:25 +0100 (MET) Message-Id: <6.0.1.1.2.20040104212315.01bfe280@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 21:30:08 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] Which dlls to distribute In-Reply-To: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> References: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 01:39 AM 1/1/2004, Stefan Andre=DFen wrote: >I am new to gtkmm and i have no idea which dlls (windows here) i have to=20 >ship with my application. >Only the gtkmm dlls? Or the gtk+ dlls, too? Your gtkmm application will require both the gtkmm and GTK+ runtimes. For=20 gtkmm, this is basically the glibmm, pangomm, atkmm, gdkmm and gtkmm DLLs.= =20 For gtk+, this is more complicated as you also have to include a bunch of=20 other files (mostly pango related). Therefore, I recommend to either ask=20 your users to install the gtk+ runtime from dropline and the gtkmm runtime= =20 from my site (available as a separate installer), or to hack your own=20 installer based on the gtk+ one (the innosetup script is available from=20 http://www.dropline.net/gtk/download.php) and adds the gtkmm DLLs manually= =20 to this installer. Cedric From Stefan.Andressen@t-online.de Sun Jan 4 19:00:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mail.gnome.org (Postfix) with ESMTP id 8172618645 for ; Sun, 4 Jan 2004 19:00:07 -0500 (EST) Received: from fwd07.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1AdIA5-0008R8-00; Mon, 05 Jan 2004 01:00:01 +0100 Received: from stefanxp1800 (Vaf+KoZc8ekhfmAJhVbR3j+cwToV2elgmwFxMtayKvWnLVs0Prk542@[193.159.21.57]) by fwd07.sul.t-online.com with smtp id 1AdI9v-23jla40; Mon, 5 Jan 2004 00:59:51 +0100 Message-ID: <006501c3d31e$d74c0930$39159fc1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> <6.0.1.1.2.20040104210041.01be1510@pop.swing.be> Subject: Re: [gtkmm] radiobutton under winxp Date: Mon, 5 Jan 2004 00:59:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: Vaf+KoZc8ekhfmAJhVbR3j+cwToV2elgmwFxMtayKvWnLVs0Prk542 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Many thanks, Cederic! The problem was indeed the gtk+ runtime environment! Getting the GTK-Wimp 0.5.2 solved the problem. For me the installation was: Copying the gtkrc in...\GTK\2.0\share\themes\Default\gtk-2.0-key (maybe renaming the old one) and coping the new libwimp.dll in ...\GTK\2.0\lib\gtk-2.0\2.2.0\engines (again maybe renaming the old one). Sorry, i do not know how to post this as an archive! Bye, Stefan ----- Original Message ----- From: "Cedric Gustin" To: "Stefan Andreßen " ; Sent: Sunday, January 04, 2004 9:02 PM Subject: Re: [gtkmm] radiobutton under winxp At 08:55 PM 1/4/2004, Cedric Gustin wrote: >At 05:07 PM 1/1/2004, Stefan Andreßen wrote: >>I compiled the radiobutton example from the gtkmm-book, and when a >>radiobutton is selected, it simply doesn't fill the circle (for winxp >>with a green dot). >>Is there a workaround? >>I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. > >This problem already came up a few weeks ago, either on the mailing list >or in a private mail, I don't remember. I think the problem was related to >dev-cpp. Try to upgrade to the latest version using the nice dev-cpp >updater included in the distribution. Then recompile.You might also want >to upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline >(see http://gtk-wimp.sourceforge.net). Actually, it was on the pygtk mailing list. See this thread http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Cedric From Stefan.Andressen@t-online.de Sun Jan 4 19:18:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mail.gnome.org (Postfix) with ESMTP id 2C9A218395 for ; Sun, 4 Jan 2004 19:18:17 -0500 (EST) Received: from fwd07.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1AdIRj-0007SI-01; Mon, 05 Jan 2004 01:18:15 +0100 Received: from stefanxp1800 (G53fwuZCreJuy3Ip3QFSYUY4jOuZWJPEnZl7nPbb7xTzFTKoK0CRZg@[193.159.21.57]) by fwd07.sul.t-online.com with smtp id 1AdIRe-1lDzRQ0; Mon, 5 Jan 2004 01:18:10 +0100 Message-ID: <001001c3d321$664252f0$39159fc1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Mon, 5 Jan 2004 01:18:09 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C3D329.C796BB10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: G53fwuZCreJuy3Ip3QFSYUY4jOuZWJPEnZl7nPbb7xTzFTKoK0CRZg Subject: [gtkmm] memory footprint of gtk+ and gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C3D329.C796BB10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I just looked at the dlls, which comes with gtk+ and gtkmm runtime = environment. It is amazing how big they are all togther, must be over 20 mb. Now, does that not mean that (simple) gtkmm applications are very memory = consuming? Looking at the radiobutton example it is over 5 mb, which is quite = massiv for such a simple programm. Any thoughts or suggestions? Bye, Stefan ------=_NextPart_000_000D_01C3D329.C796BB10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I just looked at the dlls, which = comes with=20 gtk+ and gtkmm runtime environment.
It is amazing how big they are all = togther, must be=20 over 20 mb.
Now, does that not mean that (simple) = gtkmm=20 applications are very memory consuming?
Looking at the radiobutton example it = is over 5 mb,=20 which is quite massiv for such a simple programm.
Any thoughts or = suggestions?
 
Bye,
Stefan
 
------=_NextPart_000_000D_01C3D329.C796BB10-- From cedric.gustin@swing.be Mon Jan 5 01:59:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id C50A518102 for ; Mon, 5 Jan 2004 01:59:39 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i056rdPt016831; Mon, 5 Jan 2004 07:53:39 +0100 (MET) Message-Id: <6.0.1.1.2.20040105075505.01be3cf8@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 05 Jan 2004 07:59:26 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] memory footprint of gtk+ and gtkmm In-Reply-To: <001001c3d321$664252f0$39159fc1@stefanxp1800> References: <001001c3d321$664252f0$39159fc1@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 01:18 AM 1/5/2004, Stefan Andre=DFen wrote: >Hi! > >I just looked at the dlls, which comes with gtk+ and gtkmm runtime=20 >environment. >It is amazing how big they are all togther, must be over 20 mb. >Now, does that not mean that (simple) gtkmm applications are very memory=20 >consuming? No, the DLLs simply include debugging symbols. >Looking at the radiobutton example it is over 5 mb, which is quite massiv= =20 >for such a simple programm. >Any thoughts or suggestions? You can try to strip your executable and/or the gtkmm DLLs. My 'gtkmm=20 runtime for final users' installer has also stripped versions of the gtkmm= =20 DLLs. Cedric=20 From Murray.Cumming@Comneon.com Mon Jan 5 05:36:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 44984184BA for ; Mon, 5 Jan 2004 05:36:30 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AWX7k021875; Mon, 5 Jan 2004 11:32:34 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:36:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B3@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: eli_hadad@sheernetworks.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Beginner question Date: Mon, 5 Jan 2004 11:36:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Eli Hadad wrote: > I am new to gtkmm, and have a question. > I wish to show / add widget at runtime (for example after > catching button clicked event) into a container such as > Gtk::Frame. When I do it I get segmentation fault. I wander > if this is suppose to work and if yes what can be my problem. I suggest that you just use show() and hide() to show or hide a widget. You can add both widgets to the same container (such as a Gtk::Vbox) and just hide one when you show the other. You should also be able to add() and remove() child widgets, of course. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:45:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7C33718408 for ; Mon, 5 Jan 2004 05:45:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05Afc7k024643; Mon, 5 Jan 2004 11:41:38 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:45:50 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] radiobutton under winxp Date: Mon, 5 Jan 2004 11:45:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So that we can solve this again in future, I'd like to know if this is A) A problem when installing the latest (2.2.4.1) dropline.net GTK+ runtime from http://www.dropline.net/gtk/ B) A problem when installing A) and then installing something else? C) A problem when installing A) after installing something else or D) A problem with a different GTK+ Windows installer? I tried the latest (2.2.4.1) dropline.net GTK+ runtime on Windows 2000 and don't see this problem, but I don't have Windows XP. Stefan wrote: > The problem was indeed the gtk+ runtime environment! > Getting the GTK-Wimp 0.5.2 solved the problem. > For me the installation was: > Copying the gtkrc in...\GTK\2.0\share\themes\Default\gtk-2.0-key > (maybe renaming the old one) > and > coping the new libwimp.dll in ...\GTK\2.0\lib\gtk-2.0\2.2.0\engines > (again maybe renaming the old one). > Sorry, i do not know how to post this as an archive! [snip] Cedric wrote: > Actually, it was on the pygtk mailing list. > > See this thread > http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:47:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A8A5818408 for ; Mon, 5 Jan 2004 05:47:26 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AhU7k025060; Mon, 5 Jan 2004 11:43:30 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:47:42 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: cedric.gustin@swing.be, Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] memory footprint of gtk+ and gtkmm Date: Mon, 5 Jan 2004 11:47:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: People might also find these numbers interesting: http://mail.gnome.org/archives/gtkmm-list/2003-November/msg00232.html Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org=20 > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: Montag, 5. Januar 2004 07:59 > To: Stefan.Andressen@t-online.de; gtkmm-list@gnome.org > Subject: Re: [gtkmm] memory footprint of gtk+ and gtkmm >=20 >=20 > At 01:18 AM 1/5/2004, Stefan Andre=DFen wrote: > >Hi! > > > >I just looked at the dlls, which comes with gtk+ and gtkmm runtime > >environment. > >It is amazing how big they are all togther, must be over 20 mb. > >Now, does that not mean that (simple) gtkmm applications are=20 > very memory=20 > >consuming? >=20 > No, the DLLs simply include debugging symbols. >=20 > >Looking at the radiobutton example it is over 5 mb, which is quite=20 > >massiv > >for such a simple programm. > >Any thoughts or suggestions? >=20 > You can try to strip your executable and/or the gtkmm DLLs. My 'gtkmm = > runtime for final users' installer has also stripped versions=20 > of the gtkmm=20 > DLLs. >=20 > Cedric=20 >=20 > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org = http://mail.gnome.org/mailman/listinfo/gtkmm-list >=20 From Murray.Cumming@Comneon.com Mon Jan 5 05:52:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id B2581185A7 for ; Mon, 5 Jan 2004 05:52:13 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AmH7k026427; Mon, 5 Jan 2004 11:48:17 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:52:29 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: olau@hardworking.dk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Date: Mon, 5 Jan 2004 11:52:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > The problem I am facing now is that my column data is dynamic. (It > > does not change while the program is running, though). > > I've never tried this, but can't you just use an array? For example: > > public: > std::vector > cols; > > ModelColumns(int no) > { > for (int i = 0; i < no; ++i) { > cols.push_back(Gtk::TreeModelColumn()); > add(cols.back()); > } > } > > I'm not sure whether it works, though. Yes, that works. I do that in glom, for instance. > The interface for the > treeview classes is very confusing. I'll be checking in lots of TreeView reference documentation today. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:55:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DDBDE1873A for ; Mon, 5 Jan 2004 05:55:15 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05ApI7k027448; Mon, 5 Jan 2004 11:51:18 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:55:30 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abt@gmx.de, matthew@alledora.co.uk Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Date: Mon, 5 Jan 2004 11:55:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Ok, I see. The list view looks promising. Although it seems > that the header items cannot trigger any action?! This should definitely be possible. For instance, nautilus sorts its rows when you click on the column header. Try TreeViewColumn::signal_clicked() and tells us if it does/doesn't work: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeViewColumn.h tml#a61 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:58:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0F6BD180F0 for ; Mon, 5 Jan 2004 05:58:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AsD7k028077; Mon, 5 Jan 2004 11:54:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:58:25 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B9@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: seguso.forever@tin.it, gtkmm-list@gnome.org Subject: RE: [gtkmm] hiding/disabling/setting toolbar buttons? Date: Mon, 5 Jan 2004 11:58:06 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > for the file manager http://segusoland.sourceforge.net , > I have a toolbar and I am adding togglebuttons with > > aToolbar.tools().push_back(Gtk::Toolbar_Helpers::ToggleElem( > aText, > *lImage, > SigC::slot(*this, > &SegToolbarToggleButton::onElementToggled), > aTooltipText)); > > I couldn't figure out > 1) how to set the pressed state of the toggle element via code. > 2) how to show/hide the toggle element. > 3) how to disable/enable it. > > Maybe I have to add the item via toolbar::append_item, and > act on the returned > Widget*? But how do I create a toggle button via append_item? > > Thanks for your help, I know it's horrible, but you need to call back() to get the last widget. For instance: http://mail.gnome.org/archives/gtkmm-list/2003-January/msg00136.html Murray Cumming www.murrayc.com murrayc@usa.net From cedric.gustin@swing.be Mon Jan 5 06:01:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id CB6FC18544 for ; Mon, 5 Jan 2004 06:01:34 -0500 (EST) Received: from [130.104.231.127] (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i05AtbPs028841; Mon, 5 Jan 2004 11:55:37 +0100 (MET) Subject: RE: [gtkmm] radiobutton under winxp From: Cedric Gustin To: Murray.Cumming@Comneon.com Cc: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-TPSfTnd3l08LOjUkIj/S" Message-Id: <1073300487.3863.19.camel@gandalf> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 05 Jan 2004 12:01:27 +0100 X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-TPSfTnd3l08LOjUkIj/S Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Murray, On Mon, 2004-01-05 at 11:45, Murray.Cumming@Comneon.com wrote: > So that we can solve this again in future, I'd like to know if this is > A) A problem when installing the latest (2.2.4.1) dropline.net GTK+ runti= me > from > http://www.dropline.net/gtk/ > B) A problem when installing A) and then installing something else? > C) A problem when installing A) after installing something else > or > D) A problem with a different GTK+ Windows installer? This is definitely A. The gtk-wimp theme is now the default in the latest GTK+ runtime from dropline. Unfortunately gtk-wimp shipped with version 2.2.4.1 of GTK+ has a display bug when used with the default luna theme under WinXP. With Windows 2000 or with Windows XP + classic theme, everything works fine though.=20 gtk-wimp is now at version 0.5.2 on sourceforge but unfortunately Todd Kulesza has not updated its gtk+ installer yet. I emailed him a few weeks ago to point out this problem.=20 I guess it is better if I put a warning on my site in the meantime. > I tried the latest (2.2.4.1) dropline.net GTK+ runtime on Windows 2000 an= d > don't see this problem, but I don't have Windows XP. Right, as I said earlier, no problem with win2k or winxp + classic theme. Cedric --=-TPSfTnd3l08LOjUkIj/S Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/+UQG/YpnSYlWnoQRAnQcAJ9O1JC+N4FLPR5W0bID3zku1biE+QCgl3OH sZIrefWXBQwXepqD71arSSU= =er7h -----END PGP SIGNATURE----- --=-TPSfTnd3l08LOjUkIj/S-- From Murray.Cumming@Comneon.com Mon Jan 5 06:07:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0C26418325; Mon, 5 Jan 2004 06:07:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05B3k7k000742; Mon, 5 Jan 2004 12:03:46 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 12:07:57 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: epenharbel@yahoo.com.br, gtkmm-list@gnome.org Cc: gtk-devel-list@gnome.org Subject: RE: [gtkmm] problems drawing images ... Date: Mon, 5 Jan 2004 12:07:39 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Behalf Of =C9der Augusto=20 > i need draw images created by a guchar buffer and i need set=20 > the byte order ( LSB_FISRT or MSB_FIRST ), in gdk there are a=20 > gdkimage struct where we can set this, but in gdkmm how can i=20 > set this??? anybody have a example? GdkImage::byte_order field appears to be a private field: http://developer.gnome.org/doc/API/2.0/gdk/gdk-Images.html (I think that struct fields of Gobject classes are private unless the documentation says otherwise). If you can show me any documentation that says that people should set = or get this field directly, or if a GTK+ developer says that you should, then = I will add accessors in gtkmm 2.4. In the meantime, you can always use gobj() with gtkmm to get the = underlying C instance. Murray Cumming www.murrayc.com murrayc@usa.net From ramachandrap@dpsl.net Mon Jan 5 07:25:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id C404418336 for ; Mon, 5 Jan 2004 07:25:00 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 18:06:24 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZVTLF; Mon, 5 Jan 2004 18:06:19 +0530 Received: FROM comp448 BY khyber.enigma ; Mon Jan 05 18:06:18 2004 +0500 From: Ramachandra Putti Reply-To: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <01b901c3d387$9c1bf730$5f0210ac@enigma> Date: Mon, 5 Jan 2004 17:59:48 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01B6_01C3D3B5.B5CB0B70" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Canvas Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_01B6_01C3D3B5.B5CB0B70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am working on gtkmm canvas class and I am not able to understand how=20 it should be used . In this regard I need some guidence about the class = usage . I am a newbie to gtkmm . On the gtkmm.org site I have found some=20 information about the class but it is not sufficient . Kindly suggest a link which can be of any help Thanks Ramachandra =20 ------=_NextPart_000_01B6_01C3D3B5.B5CB0B70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am working on=20 gtkmm canvas class and I am not able to understand how
it should be = used .=20 In this regard I need some guidence about the class
usage .
I am = a newbie=20 to gtkmm . On the gtkmm.org site I have found some
information = about the=20 class but it is not sufficient .
Kindly suggest a link which can be = of any=20 help
Thanks

Ramachandra
 
------=_NextPart_000_01B6_01C3D3B5.B5CB0B70-- From Murray.Cumming@Comneon.com Mon Jan 5 07:38:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0A67A181F8 for ; Mon, 5 Jan 2004 07:38:38 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05CYY7k009362; Mon, 5 Jan 2004 13:34:34 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 13:38:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224C6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] Canvas Date: Mon, 5 Jan 2004 13:38:28 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Have you seen the examples in the libgnomecanvasmm tarball? Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Ramachandra Putti Sent: Montag, 5. Januar 2004 13:30 To: gtkmm-list@gnome.org Subject: [gtkmm] Canvas I am working on gtkmm canvas class and I am not able to understand how it should be used . In this regard I need some guidence about the class usage . I am a newbie to gtkmm . On the gtkmm.org site I have found some information about the class but it is not sufficient . Kindly suggest a link which can be of any help Thanks Ramachandra From otaylor@redhat.com Mon Jan 5 10:23:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by mail.gnome.org (Postfix) with ESMTP id 7C29118246; Mon, 5 Jan 2004 10:23:48 -0500 (EST) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNjA19520; Mon, 5 Jan 2004 10:23:45 -0500 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNjE11122; Mon, 5 Jan 2004 10:23:45 -0500 Received: from [127.0.0.1] (poincare.devel.redhat.com [172.16.58.30]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNi315505; Mon, 5 Jan 2004 10:23:44 -0500 Subject: RE: [gtkmm] problems drawing images ... From: Owen Taylor To: Murray.Cumming@Comneon.com Cc: epenharbel@yahoo.com.br, gtkmm-list@gnome.org, gtk-devel-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=UTF-8 Message-Id: <1073316123.12688.73.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 05 Jan 2004 10:22:04 -0500 Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-05 at 06:07, Murray.Cumming@Comneon.com wrote: > On Behalf Of Éder Augusto > > i need draw images created by a guchar buffer and i need set > > the byte order ( LSB_FISRT or MSB_FIRST ), in gdk there are a > > gdkimage struct where we can set this, but in gdkmm how can i > > set this??? anybody have a example? > > GdkImage::byte_order field appears to be a private field: > http://developer.gnome.org/doc/API/2.0/gdk/gdk-Images.html > (I think that struct fields of Gobject classes are private unless the > documentation says otherwise). > > If you can show me any documentation that says that people should set or get > this field directly, or if a GTK+ developer says that you should, then I > will add accessors in gtkmm 2.4. > > In the meantime, you can always use gobj() with gtkmm to get the underlying > C instance. The fields of GdkImage should be public and are needed to use GdkImage effectively. - it wasn't a GObject in GTK+-1.2, and the /*< public >*/ wasn't added when it was converted - Other than parent_instance - *Read-only*, however. The chunk of memory pointed to by 'mem' can be written to, but nothing else canbechanged. A bug, or simply adding the /*< public >*/ after parent_instance would be appreciated. I'm not sure that GdkImage is what the original poster is looking for, creating a GdkPixbuf and using gdk_draw_pixbuf() is a whole lot easier; GdkImage always must match the format of the target visual. Regards, Owen From Murray.Cumming@Comneon.com Mon Jan 5 10:34:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 058A518246; Mon, 5 Jan 2004 10:34:09 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05FUC7k004771; Mon, 5 Jan 2004 16:30:13 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 16:34:24 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Mon, 5 Jan 2004 16:34:06 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.4, gtkmm will also not be able to use gcc 2.96. Who needs gcc 2.96 and why? Murray Cumming www.murrayc.com murrayc@usa.net From abhatnag@mda.ca Mon Jan 5 19:17:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 4C5F91844D for ; Mon, 5 Jan 2004 19:17:28 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i060HNM02889 for ; Mon, 5 Jan 2004 16:17:24 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 5 Jan 2004 16:17:23 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Mon, 5 Jan 2004 16:17:21 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Compilation errors.. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I created a simple app with Glade and had it output the C++ source, but the autogen.sh script fails and I am not sure why. Below is the output and a dump of config.log and any help would be great. (and yes, I know, I shouldn't be using the C++ code that is generated and use libglademm instead. I will be doing this, but I'm taking small steps to get there :) ------------------------- output of autogen.sh: ------------------------- ./autogen.sh Found GNU Make at /export/home/abhatnag/bin/make ... good. This script runs configure and make... You did remember necessary arguments for configure, right? ./autogen.sh: libtoolize: not found autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: 5 stan:/export/home/abhatnag/Projects/gtempCpp% ./autogen.sh Found GNU Make at /export/home/abhatnag/bin/make ... good. This script runs configure and make... You did remember necessary arguments for configure, right? ./autogen.sh: libtoolize: not found autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. autoheader: error: AC_CONFIG_HEADERS not found in configure.in /usr/local/share/aclocal/xml-i18n-tools.m4:24: warning: underquoted definition of XML_I18N_TOOLS_NEWER_THAN_0_9 run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/local/share/aclocal/xml-i18n-tools.m4:28: warning: underquoted definition of AC_PROG_XML_I18N_TOOLS /usr/local/share/aclocal/xml-i18n-tools.m4:30: warning: underquoted definition of X18T_PFORG1 /usr/local/share/aclocal/xml-i18n-tools.m4:32: warning: underquoted definition of X18T_XML_KIND /usr/local/share/aclocal/xml-i18n-tools.m4:34: warning: underquoted definition of X18T_KEYS_KIND /usr/local/share/aclocal/xml-i18n-tools.m4:135: warning: underquoted definition of AM_PROG_XML_I18N_TOOLS /usr/local/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/local/share/aclocal/libxslt.m4:14: warning: underquoted definition of AM_PATH_XSLT /usr/local/share/aclocal/intltool.m4:27: warning: underquoted definition of AC_PROG_INTLTOOL /usr/local/share/aclocal/gtk-2.0.m4:8: warning: underquoted definition of AM_PATH_GTK_2_0 /usr/local/share/aclocal/glib-gettext.m4:378: warning: underquoted definition of AM_GLIB_GNU_GETTEXT /usr/local/share/aclocal/glib-gettext.m4:379: warning: underquoted definition of AM_GLIB_DEFINE_LOCALEDIR /usr/local/share/aclocal/glib-2.0.m4:8: warning: underquoted definition of AM_PATH_GLIB_2_0 /usr/local/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2 aclocal: configure.in: 15: macro `AM_PROG_LIBTOOL' not found in library configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal). /usr/local/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/local/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL ./configure: line 1262: syntax error near unexpected token `AM_INIT_AUTOMAKE(gtempcpp,' ./configure: line 1262: `AM_INIT_AUTOMAKE(gtempcpp, 0.0)' ------------------------- output of config.log: ------------------------- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.58. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = stan uname -m = sun4u uname -r = 5.8 uname -s = SunOS uname -v = Generic_108528-21 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = stan Release = 5.8 KernelID = Generic_108528-21 Machine = sun4u BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 2 /bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown hostinfo = System Name: stan Host Id: 80e56895 Host Type: SUNW,Ultra-60 OS Version: SunOS 5.8 Processor: sparc Kernel arch: sun4u System Memory: 1024 Mb Virtual Memory: 2702 Mb Number of CPUs: 2 Clock Rate: MHz /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: . PATH: /export/home/abhatnag/bin PATH: /export/home/abhatnag/gpf/config PATH: /export/home/abhatnag/gpf/etc PATH: /usr/ccs/bin PATH: /export/home/MCOS5.8.0/mercury/bin PATH: /export/home/MCOS5.8.0/mercury/bin/solaris-2_5-sparc_elf PATH: /export/home/MCOS5.8.0/mercury/greenhills/solaris-2_5-sparc_elf PATH: /export/home/tornado/Tornado2.2/host/sun4-solaris2/bin PATH: /usr/openwin/bin PATH: /bin PATH: /usr/ucb PATH: /usr/vcs.1/etc PATH: /export/home/saustin/blackbox/src PATH: /bin PATH: /usr/bin PATH: /usr/local/bin PATH: /usr/ucb PATH: /usr/sbin PATH: /usr/ccs/bin PATH: /etc PATH: /java PATH: /usr/local/gtk/bin PATH: /export/home/razor/Razor/bin PATH: /export/home/drdcgpf/razor/RAZOR_UNIVERSE/Scripts PATH: /export/home/razor/Razor/scripts ## ----------- ## ## Core tests. ## ## ----------- ## ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='' CFLAGS='' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GTKMM_CFLAGS='' GTKMM_LIBS='' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SHELL='/bin/bash' ac_ct_CC='' ac_ct_CXX='' bindir='${exec_prefix}/bin' build_alias='' datadir='${prefix}/share' exec_prefix='NONE' host_alias='' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 258 From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 5 23:05:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 54D9518333 for ; Mon, 5 Jan 2004 23:05:24 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AdiT3-0002lh-Tm for gtkmm-list@gnome.org; Mon, 05 Jan 2004 20:05:21 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AdiT3-0003Fx-Jc for gtkmm-list@gnome.org; Mon, 05 Jan 2004 20:05:21 -0800 Date: Mon, 05 Jan 2004 20:01:59 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #591 - 11 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 130351] Changed - Radiobutton not correctly drawn on Windows XP (bugzilla-daemon@widget.gnome.org) 2. [Bug 129848] Changed - libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard (bugzilla-daemon@widget.gnome.org) 3. [Bug 129844] Changed - 'make install' fails for gtkmm (bugzilla-daemon@widget.gnome.org) 4. [Bug 117964] Changed - TreeStore has undocumented methods (bugzilla-daemon@widget.gnome.org) 5. [Bug 129934] Changed - Problem compiling libgnomeprintuimm 2.5.0 (bugzilla-daemon@widget.gnome.org) 6. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 7. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 8. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 9. [Bug 129813] Changed - fix for spec file to include devhelp file (bugzilla-daemon@widget.gnome.org) 10. [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc (bugzilla-daemon@widget.gnome.org) 11. [Bug 129844] Changed - 'make install' fails for gtkmm (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, stefan.andressen@t-online.de Cc: Date: Mon, 5 Jan 2004 06:23:12 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn on Windows XP Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by murrayc@usa.net. --- shadow/130351 Fri Jan 2 11:51:02 2004 +++ shadow/130351.tmp.25334 Mon Jan 5 06:23:12 2004 @@ -1,21 +1,21 @@ Bug#: 130351 Product: gtkmm Version: 2.2 OS: Windows OS Details: WinXP Professional -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: minor Priority: Normal Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: stefan.andressen@t-online.de TargetMilestone: --- URL: -Summary: Radiobutton not correctly drawn +Summary: Radiobutton not correctly drawn on Windows XP I compiled the radiobutton example from the gtkmm-book, and when a radiobutton is selected, it doesn't draw the green point in the circle. P.S.: I do not understand what the "GNOME VERSION" meen... @@ -32,6 +32,12 @@ that it is a problem. Whether this is a theme problem or not lies beyond my knowledge, I just know that it is a problem. Bye. + +------- Additional Comments From murrayc@usa.net 2004-01-05 06:23 ------- +On the mailing list, we discovered that this is a known problem with +the latest GTK+ for Windows dropline.net installer, which is expected +to be fixed in the next release from dropline.net. Thanks for bringing +it to our attention. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Mon, 5 Jan 2004 08:52:36 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129848] Changed - libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129848 Changed by murrayc@usa.net. --- shadow/129848 Mon Dec 22 11:58:47 2003 +++ shadow/129848.tmp.16572 Mon Jan 5 08:52:36 2004 @@ -1,21 +1,22 @@ Bug#: 129848 -Product: gtkmm -Version: 2.2 +Product: gnomemm +Version: 2.0 OS: Linux OS Details: Linux version 2.4.23 (roger@wrynose) (gcc version 3.3.2 (Debian)) #1 Sat Nov 29 13:46:36 GMT 2003 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libglademm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roger@whinlatter.uklinux.net TargetMilestone: --- URL: Summary: libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard +BugsThisDependsOn: 130570 Interfaces containing menus with HSeparators (Gtk::SeparatorMenuItem): the separator is selectable with the keyboard when using keyboard navigation. The same interface constructed "by hand", or even during editing with Glade-2 does not exhibit this undesirable behaviour. @@ -23,6 +24,12 @@ This may be seen with the standard libglade menu test (gnomemm/libglademm/examples/menus). Regards, Roger + +------- Additional Comments From murrayc@usa.net 2004-01-05 08:52 ------- +This seems to be caused by glade bug #130570 which I just submitted. + +Changing class="GtkMenuItem" to class="GtkSeparatorMenuItem" in the +.glade file seems to fix it. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 5 Jan 2004 10:09:08 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129844] Changed - 'make install' fails for gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129844 Changed by murrayc@usa.net. --- shadow/129844 Fri Dec 26 04:15:08 2003 +++ shadow/129844.tmp.3578 Mon Jan 5 10:09:08 2004 @@ -1,13 +1,13 @@ Bug#: 129844 Product: gtkmm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: bugsqueesher@yahoo.com TargetMilestone: --- @@ -26,6 +26,10 @@ ^ plus lots of other similar errors. ------- Additional Comments From murrayc@usa.net 2003-12-26 04:14 ------- Thanks. What versýon of Doxygen do you have? Maybe a newer version of Doxygen would properly escape the < character. + +------- Additional Comments From murrayc@usa.net 2004-01-05 10:09 ------- +I'm confident that this is due to an old version of Doxygen. Please +reopen if I am wrong. --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 5 Jan 2004 10:10:44 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 117964] Changed - TreeStore has undocumented methods Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=117964 Changed by murrayc@usa.net. --- shadow/117964 Mon Jul 21 08:02:08 2003 +++ shadow/117964.tmp.5031 Mon Jan 5 10:10:43 2004 @@ -1,18 +1,22 @@ Bug#: 117964 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: reference documentation AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: murrayc@usa.net QAContact: gtkmm-forge@lists.sourceforge.net TargetMilestone: --- URL: Summary: TreeStore has undocumented methods Methods such as insert(), append() and prepend() are undocumented. + +------- Additional Comments From murrayc@usa.net 2004-01-05 10:10 ------- +Fixed, though I want to find the Standard C++ container documentation +and make it like that. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pierre42d@9online.fr Cc: Date: Mon, 5 Jan 2004 10:14:54 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129934] Changed - Problem compiling libgnomeprintuimm 2.5.0 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129934 Changed by murrayc@usa.net. --- shadow/129934 Fri Dec 26 04:07:55 2003 +++ shadow/129934.tmp.7733 Mon Jan 5 10:14:54 2004 @@ -1,16 +1,16 @@ Bug#: 129934 -Product: gtkmm +Product: gnomemm Version: unspecified OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pierre42d@9online.fr TargetMilestone: --- URL: Summary: Problem compiling libgnomeprintuimm 2.5.0 --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Mon, 5 Jan 2004 10:22:31 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Fri Jan 2 08:46:05 2004 +++ shadow/129846.tmp.14063 Mon Jan 5 10:22:31 2004 @@ -1,16 +1,16 @@ Bug#: 129846 -Product: gtkmm -Version: 2.2 +Product: gnomemm +Version: 2.0 OS: Linux OS Details: Linux version 2.4.23 (roger@wrynose) (gcc version 3.3.2 (Debian)) #1 Sat Nov 29 13:46:36 GMT 2003 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libglademm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roger@whinlatter.uklinux.net TargetMilestone: --- URL: Summary: libglademm: Gtk::MenuItem accelerators lost during reparenting --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 10:24:30 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Dec 22 12:39:48 2003 +++ shadow/129719.tmp.15030 Mon Jan 5 10:24:30 2004 @@ -1,8 +1,8 @@ Bug#: 129719 -Product: gtkmm +Product: gnomemm Version: unspecified OS: Linux OS Details: Status: NEW Resolution: Severity: normal --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 10:24:56 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Jan 5 10:24:30 2004 +++ shadow/129719.tmp.15186 Mon Jan 5 10:24:56 2004 @@ -4,13 +4,13 @@ OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal -Component: build +Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- URL: Summary: libgnomeprintmm-2.5.0 fails to build with older gcc --__--__-- Message: 9 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, ericb@computer.org Cc: Date: Mon, 5 Jan 2004 13:02:07 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129813] Changed - fix for spec file to include devhelp file Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129813 Changed by murrayc@usa.net. --- shadow/129813 Mon Dec 22 00:56:37 2003 +++ shadow/129813.tmp.24013 Mon Jan 5 13:02:06 2004 @@ -1,13 +1,13 @@ Bug#: 129813 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: ericb@computer.org TargetMilestone: --- @@ -17,6 +17,10 @@ fix for spec file to include devhelp file ------- Additional Comments From ericb@computer.org 2003-12-22 00:56 ------- Created an attachment (id=22629) patch for spec file against gtkmm2 cvs + +------- Additional Comments From murrayc@usa.net 2004-01-05 13:02 ------- +Applied, with changes because I changed the .devhelp install location. +Thanks. --__--__-- Message: 10 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 13:06:16 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129396 Changed by murrayc@usa.net. --- shadow/129396 Fri Dec 19 10:24:30 2003 +++ shadow/129396.tmp.14285 Mon Jan 5 13:06:16 2004 @@ -1,8 +1,8 @@ Bug#: 129396 -Product: gtkmm +Product: gnomemm Version: 2.4 OS: Linux OS Details: Status: NEW Resolution: Severity: normal --__--__-- Message: 11 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 5 Jan 2004 20:02:14 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129844] Changed - 'make install' fails for gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129844 Changed by bugsqueesher@yahoo.com. --- shadow/129844 Mon Jan 5 10:09:08 2004 +++ shadow/129844.tmp.28628 Mon Jan 5 20:02:14 2004 @@ -30,6 +30,11 @@ Thanks. What versýon of Doxygen do you have? Maybe a newer version of Doxygen would properly escape the < character. ------- Additional Comments From murrayc@usa.net 2004-01-05 10:09 ------- I'm confident that this is due to an old version of Doxygen. Please reopen if I am wrong. + +------- Additional Comments From bugsqueesher@yahoo.com 2004-01-05 20:02 ------- +Urgh... Sorry, I got busy and forgot to respond. I bet you are right +about the doxygen version and plan to try it out later this week; I'll +let you know if I find any surprises. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From n_gouda123@yahoo.com Mon Jan 5 23:58:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60505.mail.yahoo.com (web60505.mail.yahoo.com [216.109.116.126]) by mail.gnome.org (Postfix) with SMTP id 8011B182B8 for ; Mon, 5 Jan 2004 23:58:26 -0500 (EST) Message-ID: <20040106045826.23271.qmail@web60505.mail.yahoo.com> Received: from [164.164.89.226] by web60505.mail.yahoo.com via HTTP; Mon, 05 Jan 2004 20:58:26 PST Date: Mon, 5 Jan 2004 20:58:26 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] I want to select only the contigous rows Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, In multiple row selection tree, i want to provide only the contigous selction of rows...i.e i dont want the effect of CONTROL key..for the selection, only the SHIFT key... So Please let me know the solution asap... Thanx in Advance.... Naganagouda Meti. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From christof@petig-baender.de Tue Jan 6 07:00:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 8F695184F7 for ; Tue, 6 Jan 2004 07:00:28 -0500 (EST) Received: (qmail 15634 invoked by uid 4225); 6 Jan 2004 12:00:27 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 06 Jan 2004 12:00:27 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Adpsn-00070y-00; Tue, 06 Jan 2004 13:00:25 +0100 Message-ID: <3FFAA340.4010509@petig-baender.de> Date: Tue, 06 Jan 2004 13:00:00 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org, glademm-list Subject: Re: [gtkmm] Compilation errors.. References: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR schrieb: > Hi all. Hi Amit, wrong mailing list ;-) > I created a simple app with Glade and had it output the C++ source, but > the autogen.sh script fails and I am not sure why. Below is the output > and a dump of config.log and any help would be great. > > (and yes, I know, I shouldn't be using the C++ code that is generated > and use libglademm instead. I will be doing this, but I'm taking small > steps to get there :) Can you try the CVS version of glademm? : cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login cvs -z3 -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co glade-- I fixed some autoconf errors but did not yet publish the new release. Christof From gene@erachampion.com Tue Jan 6 12:01:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id D296718989 for ; Tue, 6 Jan 2004 12:01:38 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i06HBIp32604 for gtkmm-list@gnome.org; Tue, 6 Jan 2004 09:11:18 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Tue, 6 Jan 2004 09:11:17 -0800 Message-ID: <1073409077.3ffaec355a561@realtyroad.com> Date: Tue, 6 Jan 2004 09:11:17 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >1. Is there a way to connect the signal handler > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox Here's an example (someone can step in and tell me if this is the preferred way of doing things): Assume two classes.. A Main Window for your application, and a Main Menu (menubar) to be displayed on the Main Window. When you select File->Quit from the menubar, you want the application to quit by calling the on_quit() signal handler in the MainWindow object. 1) [mainmenu.h] class MainMenu : public Gtk::MenuBar { public: MainMenu(MainWindow &object); }; 2) [mainwindow.h] class MainWindow : public Gtk::Window { friend class MainMenu; public: MainWindow(); virtual ~MainWindow(); protected: // signal handlers virtual void on_quit(); }; 3) [mainmenu.cpp] #include "mainmenu.h" MainMenu::MainMenu(MainWindow &object) { // fill menus // File|New sub menu: { Gtk::Menu::MenuList& menulist = m_menu_file_new.items(); } // File menu: { Gtk::Menu::MenuList& menulist = m_menu_file.items(); menulist.push_back( Gtk::Menu_Helpers::MenuElem("_New", m_menu_file_new) ); //Add sub menu. menulist.push_back( Gtk::Menu_Helpers::MenuElem("_Quit", Gtk::Menu::AccelKey("q"), SigC::slot(object, &MainWindow::on_quit) ) ); } //Add the menus to the MenuBar: items().push_back( Gtk::Menu_Helpers::MenuElem("_File", m_menu_file) ); Gtk::MenuItem* pMenuItem = &items().back(); pMenuItem->set_right_justified(); show_all_children(); } The key is to pass a MainWindow pointer to the MainMenu constructor. You can then use this pointer to MainWindow to connect your signals to any signal handler in MainWindow. I've declared MainMenu to be a friend of MainWindow in order to allow access to the protected signal handlers. If anyone has a better way of doing this, please speak up. =) -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From epenharbel@yahoo.com.br Tue Jan 6 15:17:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by mail.gnome.org (Postfix) with SMTP id 285FB18239 for ; Tue, 6 Jan 2004 15:17:35 -0500 (EST) Received: from unknown (HELO 200-171-128-203.dsl.telesp.net.br) (epenharbel@200.171.128.203 with plain) by smtp011.mail.yahoo.com with SMTP; 6 Jan 2004 20:17:33 -0000 From: =?ISO-8859-1?Q?=C9der?= Augusto Penharbel To: gtkmm-list Content-Type: text/plain Message-Id: <1073420346.736.8.camel@lobo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 06 Jan 2004 18:19:06 -0200 Content-Transfer-Encoding: 7bit Subject: [gtkmm] is it possible? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: hello, i'm begginer in the gtkmm and gtk i need to draw a image from a pointer to a char in memory... it's possibly with: GCTmp = get_style()->get_fg_gc(Gtk::STATE_NORMAL); get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); but the buffer is in inverse byte_order and i need to draw it without invert in my code... is it possible? i try use the gdk_draw_image but the result is a segmentation fault GdkImage *image = gdk_image_new( GDK_IMAGE_NORMAL, get_window()->get_visual()->gobj(), width, height ); image->parent_instance = *( ( GObject * ) gobj() ); image->byte_order = GDK_LSB_FIRST; image->width = width; image->height = height; image->depth = 24; image->bpp = 3; image->bpl = width * 3; image->bits_per_pixel = 24; image->mem = ( gpointer ) imageBuffer; gdk_draw_image( ( get_window() )->gobj(), GCTmp->gobj(), image, 0, 0, 0, 0, width, height ); there are other way to do this without invert the bytes in my code? thanks.... :-) From abt@gmx.de Wed Jan 7 06:01:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A6E1C1821C for ; Wed, 7 Jan 2004 06:01:48 -0500 (EST) Received: (qmail 21675 invoked by uid 65534); 7 Jan 2004 11:01:47 -0000 Received: from pD9E9478D.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.71.141) by mail.gmx.net (mp012) with SMTP; 07 Jan 2004 12:01:47 +0100 X-Authenticated: #109577 Message-ID: <3FFBE71B.60802@gmx.de> Date: Wed, 07 Jan 2004 12:01:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] How to clear a tree view? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I´ve added some rows with data to a list store tree view using m_list_store_ref->append(). Later in my application I want to clear the rows to display completely new values. How can I clear all rows from the displayed treeView? TIA, Andi From matthew@alledora.co.uk Wed Jan 7 06:40:57 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mail.gnome.org (Postfix) with ESMTP id 4DFEE181D2 for ; Wed, 7 Jan 2004 06:40:57 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040107114052.YAAF2588.mta07-svc.ntlworld.com@alledora.co.uk>; Wed, 7 Jan 2004 11:40:52 +0000 Message-ID: <3FFBF079.6020307@alledora.co.uk> Date: Wed, 07 Jan 2004 11:41:45 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to clear a tree view? References: <3FFBE71B.60802@gmx.de> In-Reply-To: <3FFBE71B.60802@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: PLEASE read the API documentation at http://www.gtkmm.org/gtkmm2/docs/ - the answer to this is fairly easy to find there. Try calling clear() on your ListStore/TreeStore. Andreas B. Thun wrote: > Hi! > > I´ve added some rows with data to a list store tree view > using m_list_store_ref->append(). > > Later in my application I want to clear the > rows to display completely new values. How can I clear > all rows from the displayed treeView? From Murray.Cumming@Comneon.com Wed Jan 7 06:46:21 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id BFD3F18329 for ; Wed, 7 Jan 2004 06:46:20 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07BgJ7k028460; Wed, 7 Jan 2004 12:42:19 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 12:46:33 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: matthew@alledora.co.uk, abt@gmx.de Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] How to clear a tree view? Date: Wed, 7 Jan 2004 12:46:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Try calling clear() on your ListStore/TreeStore. And be careful to call refModel->clear() rather than refModel.clear(), so you call TreeModel::clear() instead of RefPtr::clear() (only a problem in gtkmm 2.0/2.2). Murray Cumming www.murrayc.com murrayc@usa.net From n_gouda123@yahoo.com Wed Jan 7 06:52:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60509.mail.yahoo.com (web60509.mail.yahoo.com [216.109.116.130]) by mail.gnome.org (Postfix) with SMTP id 50655187E4 for ; Wed, 7 Jan 2004 06:52:01 -0500 (EST) Message-ID: <20040107115157.31537.qmail@web60509.mail.yahoo.com> Received: from [164.164.89.226] by web60509.mail.yahoo.com via HTTP; Wed, 07 Jan 2004 03:51:57 PST Date: Wed, 7 Jan 2004 03:51:57 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Iam not able to fetch the row elements from a multiple row selected tree. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, Iam trying to fetch the rows selected using Gtk::TreeSelection::get_selected_rows(Glib::RefPtr& model).. But i dont know how to do it using gtkmm-2.2.0. So please oto do so... Thanx in advance... __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From Murray.Cumming@Comneon.com Wed Jan 7 06:58:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D1175182BB for ; Wed, 7 Jan 2004 06:58:47 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07Bso7k002524; Wed, 7 Jan 2004 12:54:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 12:59:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22545@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: n_gouda123@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Iam not able to fetch the row elements from a multipl e row selected tree. Date: Wed, 7 Jan 2004 12:58:45 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Hi, > Iam trying to fetch the rows selected using > Gtk::TreeSelection::get_selected_rows(Glib::RefPtr& > model).. > But i dont know how to do it using gtkmm-2.2.0. What have you tried? Std::list listPaths = get_selected_rows() should work. You could use TreeModel::get_iter(path) to get an iter, and then a row for each one: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeModel.html#a 3 Maybe we should have Gtk::TreeSelection::get_selected_rows_as_iters() as well. By the way, I have added _lots_ of TreeView reference docs in gtkmm 2.4, but they are not uploaded yet. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Wed Jan 7 06:59:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 079E2187E4 for ; Wed, 7 Jan 2004 06:59:30 -0500 (EST) Received: (qmail 31627 invoked by uid 65534); 7 Jan 2004 11:59:28 -0000 Received: from pD9E9467C.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.70.124) by mail.gmx.net (mp012) with SMTP; 07 Jan 2004 12:59:28 +0100 X-Authenticated: #109577 Message-ID: <3FFBF4A1.7020603@gmx.de> Date: Wed, 07 Jan 2004 12:59:29 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: matthew@alledora.co.uk, gtkmm-list@gnome.org Subject: Re: [gtkmm] How to clear a tree view? References: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > And be careful to call refModel->clear() rather than refModel.clear(), so > you call TreeModel::clear() instead of RefPtr::clear() (only a problem in > gtkmm 2.0/2.2). THX very much! From bevis@anvil.com Wed Jan 7 07:54:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 8F9C31832B for ; Wed, 7 Jan 2004 07:54:43 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2EC782C0; Wed, 7 Jan 2004 12:51:03 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 287F22BC for ; Wed, 7 Jan 2004 12:51:01 +0000 (GMT) Message-ID: <3FFC018E.5080606@anvil.co.uk> Date: Wed, 07 Jan 2004 12:54:38 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] iterating through the contents of a tree Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've searched the archives and the web and the gktmm class lists, but can't find out how to do this. I have a Gtk::TreeView with a Gtk::TreeStore, basically following the tree view example from the gtkmm pages. My Gtk::TreeModel::ColumnRecord contains two strings (one hidden). I can multi select entries on the tree. Now I want to iterate through all the entries selected in my tree when a button is pressed, ie something like: for (Gtk::TreeIter it=m_refTreeModel.begin(); it Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 946A81832B for ; Wed, 7 Jan 2004 07:58:24 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07CsL7k023442; Wed, 7 Jan 2004 13:54:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 13:58:36 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: bevis@anvil.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] iterating through the contents of a tree Date: Wed, 7 Jan 2004 13:58:15 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Bevis Peters > Sent: Mittwoch, 7. Januar 2004 13:55 > To: gtkmm-list@gnome.org > Subject: [gtkmm] iterating through the contents of a tree > > > I've searched the archives and the web and the gktmm class lists, but > can't find out how to do this. > > I have a Gtk::TreeView with a Gtk::TreeStore, basically following the > tree view example from the gtkmm pages. My > Gtk::TreeModel::ColumnRecord > contains two strings (one hidden). I can multi select > entries on the tree. > > Now I want to iterate through all the entries selected in my > tree when a > button is pressed, ie something like: > > for (Gtk::TreeIter it=m_refTreeModel.begin(); > it ++it) { > string str = m_Colmuns[it].m_string_name; > } > > Can this be done? surely it can, though I can't work out how. How to iterate over rows: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html Get column values from cells: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08.html#id2878009 Setting column values in cells: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08.html#id2877986 Should help. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 7 08:07:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A7B6C1832B; Wed, 7 Jan 2004 08:07:51 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07D3r7k027028; Wed, 7 Jan 2004 14:03:54 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 14:08:08 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Wed, 7 Jan 2004 14:07:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in > gtkmm 2.4, > gtkmm will also not be able to use gcc 2.96. > > Who needs gcc 2.96 and why? So, nobody needs gcc 2.96? Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Wed Jan 7 08:38:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 838F6182F9 for ; Wed, 7 Jan 2004 08:38:37 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2069D2D6; Wed, 7 Jan 2004 13:34:56 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 7DD212CC for ; Wed, 7 Jan 2004 13:34:55 +0000 (GMT) Message-ID: <3FFC0BD8.6020608@anvil.co.uk> Date: Wed, 07 Jan 2004 13:38:32 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >How to iterate over rows: >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html > > this is marvellous, but i only want to iterate over the selected rows, or iterate over all the rows and ignore the unselected ones somehow. i could create a 'selected' bool in my Gtk::TreeModel::ColumnRecord which gets set/unset as the rows are selected and then filter on that as i iterate over the rows. this would feel slightly redundant though, since the TreeModel must know which rows have been selected. bevis From Murray.Cumming@Comneon.com Wed Jan 7 08:45:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D0484186EB for ; Wed, 7 Jan 2004 08:45:06 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07Df87k025001; Wed, 7 Jan 2004 14:41:08 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 14:45:22 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: bevis@anvil.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] iterating through the contents of a tree Date: Wed, 7 Jan 2004 14:45:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > >How to iterate over rows: > >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html > > > > > this is marvellous, but i only want to iterate over the > selected rows OK, so use Gtk::TreeView::get_selection() and then Gtk::TreeSelection::get_selected_rows() as I described in a similar thread today. Murray Cumming www.murrayc.com murrayc@usa.net From ajr@ecs.soton.ac.uk Wed Jan 7 09:10:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from raven.ecs.soton.ac.uk (raven.ecs.soton.ac.uk [152.78.70.1]) by mail.gnome.org (Postfix) with ESMTP id 3974B18132; Wed, 7 Jan 2004 09:10:48 -0500 (EST) Received: from pigeon.ecs.soton.ac.uk (ns1 [152.78.68.1]) by raven.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id OAA26807; Wed, 7 Jan 2004 14:10:44 GMT Received: from login.ecs.soton.ac.uk (IDENT:root@login [152.78.68.162]) by pigeon.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id OAA13202; Wed, 7 Jan 2004 14:10:42 GMT Received: (from ajr@localhost) by login.ecs.soton.ac.uk (8.11.6/8.11.6) id i07EAgm25418; Wed, 7 Jan 2004 14:10:42 GMT Date: Wed, 7 Jan 2004 14:10:42 +0000 From: Alistair Riddoch To: gtkmm-list@gnome.org, libsigc-list@gnome.org Message-ID: <20040107141042.GC19081@login.ecs.soton.ac.uk> References: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zCKi3GIZzVBPywwA" Content-Disposition: inline In-Reply-To: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> User-Agent: Mutt/1.4i X-MailScanner-Information: Please contact helpdesk@ecs.soton.ac.uk for more information X-ECS-MailScanner: Found to be clean Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --zCKi3GIZzVBPywwA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 07, 2004 at 02:07:42PM +0100, Murray.Cumming@Comneon.com wrote: > > Libsigc++ 2 does not build with gcc 2.96. So if we use it in=20 > > gtkmm 2.4, > > gtkmm will also not be able to use gcc 2.96. > >=20 > > Who needs gcc 2.96 and why? >=20 > So, nobody needs gcc 2.96? >=20 Speaking as a developer who uses both gtkmm, and libsigc++ independantly, I see no burning need to support gcc 2.96 in libsigc++ 2 or later. Al --=20 Alistair Riddoch alriddoch@zepler.org http://www.zepler.org/~alriddoch/ --zCKi3GIZzVBPywwA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE//BNimpFnJxPk53QRAphiAJ49o48lxI/QgTOCFMmPoJoIWWeiGgCdEyfl WfGBzstTFFvxCdkXcZerD48= =wJvP -----END PGP SIGNATURE----- --zCKi3GIZzVBPywwA-- From eckhardt@satorlaser.com Wed Jan 7 10:27:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by mail.gnome.org (Postfix) with ESMTP id 19BC318A78; Wed, 7 Jan 2004 10:27:00 -0500 (EST) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AeFaF-0004mx-00; Wed, 07 Jan 2004 16:26:59 +0100 Received: from [62.109.77.97] (helo=b077097.adsl.hansenet.de) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1AeFaF-00041R-00; Wed, 07 Jan 2004 16:26:59 +0100 From: Ulrich Eckhardt To: libsigc-list@gnome.org Date: Wed, 7 Jan 2004 16:26:54 +0100 User-Agent: KMail/1.5.4 References: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> Organization: Sator Laser GmbH Cc: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401071626.54714.eckhardt@satorlaser.com> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:e35cee35a663f5c944b9750a965814ae Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.4, > gtkmm will also not be able to use gcc 2.96. > > Who needs gcc 2.96 and why? http://gcc.gnu.org/gcc-2.96.html Else, I saw those atrocities on Redhat and also recently on a Suse Alpha. I think both have the option to upgrade to a real GCC. One question, what about gcc 2.95? Is it anywhere near usability? just my EUR 0.02 Uli From find_all@hotmail.com Wed Jan 7 10:29:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f3.sea2.hotmail.com [207.68.165.3]) by mail.gnome.org (Postfix) with ESMTP id A55CF18AB0 for ; Wed, 7 Jan 2004 10:29:14 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 7 Jan 2004 07:29:10 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Wed, 07 Jan 2004 15:29:10 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Wed, 07 Jan 2004 15:29:10 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 07 Jan 2004 15:29:10.0465 (UTC) FILETIME=[FF4A5B10:01C3D532] Subject: [gtkmm] Glib::signal_io Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm having some problems with the Glib::signal_io().connect() function to do the reading from a serial port. The code: /* *********** serie.hh *********** */ #ifndef _SERIE_HH #define _SERIE_HH #include "config.h" #include #include #include #include #include #include class serie { public: serie(); bool callback_funcion(Glib::IOCondition); int fd; protected: private: SigC::Connection conexion; }; #endif /* *********** serie.cc ********** */ serie::serie() { // We put de descriptor of the serial port into fd // Make the polling of the port with the callback_funcion this->conexion = Glib::signal_io().connect(SigC::slot(*this,&serie::callback_funcion), this->fd, Glib::IO_IN); } bool serie::callback_funcion(Glib::IOCondition con) { // It doesn't work so does nothing :-( } When I try to compile I get this error message : g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -DORBIT2=1 -pthread -I/usr/include/libgnomeuimm-2.0 -I/usr/lib/libgnomeuimm-2.0/include -I/usr/include/libgnomemm-2.0 -I/usr/lib/libgnomemm-2.0/include -I/usr/include/libgnomecanvasmm-2.0 -I/usr/lib/libgnomecanvasmm-2.0/include -I/usr/include/gconfmm-2.0 -I/usr/lib/gconfmm-2.0/include -I/usr/include/libglademm-2.0 -I/usr/lib/libglademm-2.0/include -I/usr/include/libbonobouimm-2.0 -I/usr/lib/libbonobouimm-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libbonobomm-2.0 -I/usr/lib/libbonobomm-2.0/include -I/usr/include/libbonoboui-2.0 -I/usr/include/orbitcpp-2.0 -I/usr/local/include/mysql -c -o serie.o `test -f 'serie.cc' || echo './'`serie.cc In the file included of /usr/include/sigc++-1.2/sigc++/object_slot.h:98: /usr/include/sigc++-1.2/sigc++/object_slot.h: In the constructor `SigC::ObjectSlotNode::ObjectSlotNode(void (*)(void*), T*, void*, T2) [with T = serie, T2 = bool (serie::*)(Glib::IOCondition)]': /usr/include/sigc++-1.2/sigc++/slot.h:255: instanced from `SigC::Slot1::Slot1(SigC::SlotNode*) [with R = bool, P1 = Glib::IOCondition]' /usr/include/sigc++-1.2/sigc++/object_slot.h:98: instanced from `SigC::Slot1 SigC::slot(O1&, R (O2::*)(P1)) [with R = bool, P1 = Glib::IOCondition, O1 = serie, O2 = serie]' serie.cc:102: instanced from /usr/include/sigc++-1.2/sigc++/object_slot.h:35: no se encuentra una función coincidente para la llamada a `SigC::ObjectSlotNode::init(serie*&, void*&, void (SigC::Object::*&)())' /usr/include/sigc++-1.2/sigc++/object_slot.h:36: candidates are: void SigC::ObjectSlotNode::init(SigC::Object*, void*, void (SigC::Object::*)()) make: *** [serie.o] Error 1 _________________________________________________________________ Reserva y planifica tu viaje online. http://www.msn.es/Viajes/ From Murray.Cumming@Comneon.com Wed Jan 7 10:39:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E7D1718302; Wed, 7 Jan 2004 10:39:17 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07FZJ7k022520; Wed, 7 Jan 2004 16:35:20 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 16:39:34 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: eckhardt@satorlaser.com, libsigc-list@gnome.org Cc: gtkmm-list@gnome.org Date: Wed, 7 Jan 2004 16:39:07 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry, I mean gcc 2.9*. Actually, I mean gcc <3.2, but I think 3.0/3.1 was short-lived. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: libsigc-list-admin@gnome.org > [mailto:libsigc-list-admin@gnome.org] On Behalf Of Ulrich Eckhardt > Sent: Mittwoch, 7. Januar 2004 16:27 > To: libsigc-list@gnome.org > Cc: gtkmm-list@gnome.org > Subject: Re: [sigc] Abandoning gcc 2.96? > > > On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm > > Libsigc++ 2.4, > > gtkmm will also not be able to use gcc 2.96. > > > > Who needs gcc 2.96 and why? > http://gcc.gnu.org/gcc-2.96.html Else, I saw those atrocities on Redhat and also recently on a Suse Alpha. I think both have the option to upgrade to a real GCC. One question, what about gcc 2.95? Is it anywhere near usability? just my EUR 0.02 Uli _______________________________________________ libsigc-list mailing list libsigc-list@gnome.org http://mail.gnome.org/mailman/listinfo/libsigc-list From trollking@shaw.ca Wed Jan 7 11:01:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 535AA18AF0 for ; Wed, 7 Jan 2004 11:01:43 -0500 (EST) Received: from pd2mr1so.prod.shaw.ca (pd2mr1so-ser.prod.shaw.ca [10.0.141.110]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400G7TN05HW@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400M6QN05GU@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400C1GN05MV@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Date: Wed, 07 Jan 2004 08:57:41 -0700 From: Dean Kutryk To: gtkmm-list@gnome.org Message-id: <1073491061.6856.2.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT Subject: [gtkmm] A Gtkmm Forum Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I don't know how to use a mailing list. Do you think that one day Gtkmm programmers might have a forum? From Murray.Cumming@Comneon.com Wed Jan 7 11:09:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 15016180DB for ; Wed, 7 Jan 2004 11:09:54 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07G5u7k003236; Wed, 7 Jan 2004 17:05:56 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 17:10:10 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2258D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: trollking@shaw.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] A Gtkmm Forum Date: Wed, 7 Jan 2004 17:09:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I don't know how to use a mailing list. Clearly you do. Just remember to use Reply To All after this and you've understood everything. > Do you think that one > day Gtkmm programmers might have a forum? Feel free to use this, but there are 550 people here, and not many there: http://gnomesupport.org/forums/ Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Wed Jan 7 12:39:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id B49D218175 for ; Wed, 7 Jan 2004 12:38:59 -0500 (EST) Received: (qmail 15654 invoked by uid 65534); 7 Jan 2004 17:38:58 -0000 Received: from pD9E9467C.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.70.124) by mail.gmx.net (mp014) with SMTP; 07 Jan 2004 18:38:58 +0100 X-Authenticated: #109577 Message-ID: <3FFC4432.5010209@gmx.de> Date: Wed, 07 Jan 2004 18:38:58 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] TreeView: Any chance to get the parent when child is selected? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I am facing the following problem: child is selected but I also need the parents´ value. Is there any way...? btw: parent has not been selected before, just expanded with the little triangle to see the children... My list view: o parent ---+ | + child + child + child << this is selected From Murray.Cumming@Comneon.com Wed Jan 7 12:45:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E87AE1819C for ; Wed, 7 Jan 2004 12:45:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07HfM7k018431; Wed, 7 Jan 2004 18:41:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 18:45:36 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22599@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abt@gmx.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] TreeView: Any chance to get the parent when child is selected? Date: Wed, 7 Jan 2004 18:45:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am facing the following problem: > child is selected but I also need > the parents=B4 value. Is there any way...? >=20 > btw: > parent has not been selected before, > just expanded with the little triangle > to see the children... >=20 > My list view: >=20 > o parent ---+ > | > + child > + child > + child << this is selected You need TreeModel::Row::parent(), I think: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeRow.html= #a6 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 7 13:28:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A7EEB181E5; Wed, 7 Jan 2004 13:28:40 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07IOg7k028753; Wed, 7 Jan 2004 19:24:42 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 19:28:57 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Wed, 7 Jan 2004 19:28:35 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Abandoning gcc 2.9*? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'll ask this again, using the correct version number: Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Who needs gcc 2.9* and why? Murray Cumming www.murrayc.com murrayc@usa.net From jrzagar@cactus.org Wed Jan 7 13:24:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ns2.arlut.utexas.edu (ns2.arlut.utexas.edu [146.6.211.1]) by mail.gnome.org (Postfix) with ESMTP id 4D68118366; Wed, 7 Jan 2004 13:24:30 -0500 (EST) Received: from ns5.arlut.utexas.edu (ns5.arlut.utexas.edu [10.4.1.6]) by ns2.arlut.utexas.edu (8.12.10/8.12.9) with ESMTP id i07IOTuO099796; Wed, 7 Jan 2004 12:24:29 -0600 (CST) Received: from bofh.arlut.utexas.edu (bofh.arlut.utexas.edu [10.8.16.106]) by ns5.arlut.utexas.edu (8.12.10/8.12.9) with ESMTP id i07IOTpf022183; Wed, 7 Jan 2004 12:24:29 -0600 (CST) From: Randy Zagar To: libsigc-list@gnome.org Cc: gtkmm-list@gnome.org In-Reply-To: <200401071626.54714.eckhardt@satorlaser.com> References: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> <200401071626.54714.eckhardt@satorlaser.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ojQu7Er7G5GnknSmhsyP" X-Mailer: Ximian Evolution 1.0.8 (1.0.8-9.7x.1) Date: 07 Jan 2004 12:24:29 -0600 Message-Id: <1073499869.2713.4.camel@bofh> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-ojQu7Er7G5GnknSmhsyP Content-Type: multipart/alternative; boundary="=-tWWRsrJT5pESVVfE3FA5" --=-tWWRsrJT5pESVVfE3FA5 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Since RedHat no longer supports any systems that were built with gcc-2.96, it's probably time to think about dropping it... On Wed, 2004-01-07 at 09:26, Ulrich Eckhardt wrote: On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.= 4, > gtkmm will also not be able to use gcc 2.96. >=20 > Who needs gcc 2.96 and why? =20 http://gcc.gnu.org/gcc-2.96.html =20 Else, I saw those atrocities on Redhat and also recently on a Suse Alph= a. I=20 think both have the option to upgrade to a real GCC. =20 One question, what about gcc 2.95? Is it anywhere near usability? =20 just my EUR 0.02 =20 Uli =20 _______________________________________________ libsigc-list mailing list libsigc-list@gnome.org http://mail.gnome.org/mailman/listinfo/libsigc-list =20 --=-tWWRsrJT5pESVVfE3FA5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Since RedHat no longer supports any systems that were built with gcc-2.96, = it's probably time to think about dropping it...

On Wed, 2004-01-07 at 09:26, Ulrich Eckhardt wrote:
On Monday 05 January 2004 =
16:34, Murray.Cumming@Comneon.com wrote:
> Libsigc++ 2 does not build=
 with gcc 2.96. So if we use it in gtkmm 2.4,
> gtkmm will also not be abl=
e to use gcc 2.96.
> 
> Who needs gcc 2.96 and why=
?

http://gcc.gnu.org/gcc-2.96.htm=
l

Else, I saw those atrocities on=
 Redhat and also recently on a Suse Alpha. I 
think both have the option to u=
pgrade to a real GCC.

One question, what about gcc 2.=
95? Is it anywhere near usability?

just my EUR 0.02<=
/I>

Uli

_______________________________=
________________
libsigc-list mailing list
libsigc-list@gnome.org
http://mail.gnome.org/mailman/listinfo/libsigc-list

    
--=-tWWRsrJT5pESVVfE3FA5-- --=-ojQu7Er7G5GnknSmhsyP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA//E7drJr8p/YoerERAqzuAJ0UzhWfP+x6nyp0ybrL7s+fLaQ1kgCfVNob NFZM7EyjYGBBxCTF9tc13jU= =Vbck -----END PGP SIGNATURE----- --=-ojQu7Er7G5GnknSmhsyP-- From paul@linuxaudiosystems.com Wed Jan 7 13:33:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out005.verizon.net (out005pub.verizon.net [206.46.170.143]) by mail.gnome.org (Postfix) with ESMTP id 601C3183CF for ; Wed, 7 Jan 2004 13:33:51 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([151.197.35.110]) by out005.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040107183348.ELCH3381.out005.verizon.net@dhin.linuxaudiosystems.com>; Wed, 7 Jan 2004 12:33:48 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i07IXlWE002009; Wed, 7 Jan 2004 13:33:47 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i07IXlvT002005; Wed, 7 Jan 2004 13:33:47 -0500 Message-Id: <200401071833.i07IXlvT002005@dhin.linuxaudiosystems.com> To: "Find All" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Glib::signal_io In-reply-to: Your message of "Wed, 07 Jan 2004 15:29:10 GMT." Date: Wed, 07 Jan 2004 13:33:47 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.197.35.110] at Wed, 7 Jan 2004 12:33:48 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'm having some problems with the Glib::signal_io().connect() function to do >the reading from a serial port. >class serie #include class serie : public SigC::Object From ghenriks@rogers.com Wed Jan 7 13:55:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep04-mail.bloor.is.net.cable.rogers.com (fep04-mail.bloor.is.net.cable.rogers.com [66.185.86.74]) by mail.gnome.org (Postfix) with ESMTP id 6A00A18132; Wed, 7 Jan 2004 13:55:47 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep04-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040107185308.NJZC430912.fep04-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Wed, 7 Jan 2004 13:53:08 -0500 From: Gerald Henriksen To: Murray.Cumming@Comneon.com Cc: libsigc-list@gnome.org, gtkmm-list@gnome.org Subject: Re: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Date: Wed, 07 Jan 2004 13:55:41 -0500 Message-ID: References: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep04-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Wed, 7 Jan 2004 13:53:08 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 7 Jan 2004 16:39:07 +0100, you wrote: >Sorry, I mean gcc 2.9*. Actually, I mean gcc <3.2, but I think 3.0/3.1 = was >short-lived. gcc 3.0 and 3.1 were not widely used, mainstream adoption started with gcc 3.2 The only problem I can see is that I believe some of the *bsd releases are still using gcc 2.9* (ie FreeBSD 4.9 is using gcc 2.95.4). Having said that I think the benefits of moving to gcc 3.2 or better are significant enough from a C++ standpoint that it should be done anyway. From masterofgoon@yahoo.com Wed Jan 7 15:27:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web14802.mail.yahoo.com (web14802.mail.yahoo.com [216.136.224.218]) by mail.gnome.org (Postfix) with SMTP id 8C2AD181DD for ; Wed, 7 Jan 2004 15:27:26 -0500 (EST) Message-ID: <20040107202721.58835.qmail@web14802.mail.yahoo.com> Received: from [67.160.136.100] by web14802.mail.yahoo.com via HTTP; Wed, 07 Jan 2004 12:27:21 PST Date: Wed, 7 Jan 2004 12:27:21 -0800 (PST) From: Kevin Blah To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Link error Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For some reason i am getting the following error: /tmp/cc7BpFlS.o(.text+0x3f): In function `main': /home/kevin/Projects/PortageUI/src/portageui.cc:12: undefined reference to `MainWindow::MainWindow[in-charge]()' /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: undefined reference to `MainWindow::~MainWindow [in-charge]()' /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: undefined reference to `MainWindow::~MainWindow [in-charge]()' collect2: ld returned 1 exit status the constructor and destroctor are both defined and implemented. all the code compiles fine except for the main function which consists of the following: int main(int argc, char **argv) { /* Let GTK strip any args it needs */ Gtk::Main kit(&argc, &argv); /* run run run */ MainWindow mainwindow; Gtk::Main::run(mainwindow); return 0; } help appreciated, kevin __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From gene@erachampion.com Wed Jan 7 15:51:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 463BE18160 for ; Wed, 7 Jan 2004 15:51:54 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i07L1dN29589 for gtkmm-list@gnome.org; Wed, 7 Jan 2004 13:01:39 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Wed, 7 Jan 2004 13:01:38 -0800 Message-ID: <1073509298.3ffc73b2a125e@realtyroad.com> Date: Wed, 7 Jan 2004 13:01:38 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'll ask this again, using the correct version number: > >Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it >in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > >Who needs gcc 2.9* and why? > >Murray Cumming >www.murrayc.com >murrayc@usa.net I dont see a pressing need to support gcc 2.9* on the Linux or Win32 platforms where we have gcc 3.2 availiable. In my opinion, the benefits of Libsigc++ 2 should outweigh the negatives of dropping support for gcc 2.9*. Someone mentioned earlier that BSD may still require gcc 2.9* support. Is this still the case? I'd be happy to see Libsigc++ 2 used in gtkmm2.4. -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From e97_far@e.kth.se Wed Jan 7 16:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from amsfep16-int.chello.nl (amsfep16-int.chello.nl [213.46.243.26]) by mail.gnome.org (Postfix) with ESMTP id B49DF18160 for ; Wed, 7 Jan 2004 16:04:58 -0500 (EST) Received: from arrak ([213.89.195.49]) by amsfep16-int.chello.nl (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with ESMTP id <20040107210455.CLUG13071.amsfep16-int.chello.nl@arrak>; Wed, 7 Jan 2004 22:04:55 +0100 To: Gene Ruebsamen Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? X-Face: )i'EH9W6aRwKbLPj&v.hI$Lk:lK%VtSa&&.u%8q'7Gr515^/4s\@4h8Tx5yqBd8"b4pj. bO}eSbU]\0OaA|Do*]kv@NuqJ3 From: Fredrik Arnerup Date: Wed, 07 Jan 2004 22:07:04 +0100 In-Reply-To: <1073509298.3ffc73b2a125e@realtyroad.com> (Gene Ruebsamen's message of "Wed, 7 Jan 2004 13:01:38 -0800") Message-ID: <874qv779jb.fsf@e.kth.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Gene Ruebsamen writes: > Someone mentioned earlier that BSD may still require gcc 2.9* > support. Is this still the case? I believe OpenBSD uses 2.95 for all non-64-bit platforms. But OpenBSD is mostly used on servers anyway. -- Fredrik Arnerup From palm@nogui.se Wed Jan 7 17:42:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id 695EF181B6; Wed, 7 Jan 2004 17:42:25 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i07MdbT5027645; Wed, 7 Jan 2004 23:39:37 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <3FFC9977.5040100@nogui.se> Date: Thu, 08 Jan 2004 00:42:47 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What about non-gcc compilers? Murray.Cumming@Comneon.com wrote: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > From abhatnag@mda.ca Wed Jan 7 18:14:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 3068218384 for ; Wed, 7 Jan 2004 18:14:44 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i07NEfM26122 for ; Wed, 7 Jan 2004 15:14:42 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 15:14:41 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845D@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Wed, 7 Jan 2004 15:14:41 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Possible to use libglademm -without- a GNOME installation?? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello. I'm trying to load up my .glade file in my application, however I get compilation errors saying that "Gnome" is undeclared when trying to declare my Glib::RefPtr refXml;. I don't have Gnome installed, but I do have gtk-2.2.4, gtkmm-2.2.8 and libglademm-2.0.1 installed. I am using a solaris 8 machine. Is there anyway around this? amit. From pgasper@designadvantage.com Wed Jan 7 18:51:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 01CA21890C; Wed, 7 Jan 2004 18:51:42 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AeNSa-0003h2-4q; Wed, 07 Jan 2004 18:51:36 -0500 Subject: Re: [gtkmm] Abandoning gcc 2.9*? From: Peter Gasper To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> Content-Type: text/plain Organization: Message-Id: <1073519494.2196.3.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 07 Jan 2004 16:51:38 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What is the gtk+ road map on this issue? I assume that if they dropped support then gtkmm would by necessity do also. Do they have any good reasons for continued support of 2.9*? PG On Wed, 2004-01-07 at 11:28, Murray.Cumming@Comneon.com wrote: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list -- Peter Gasper From olau@hardworking.dk Wed Jan 7 18:53:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp010.tiscali.dk (smtp010.tiscali.dk [212.54.64.103]) by mail.gnome.org (Postfix) with ESMTP id 1E13618A2E for ; Wed, 7 Jan 2004 18:53:47 -0500 (EST) Received: from bach.composers (116.ppp1-1.abc.worldonline.dk [213.237.21.116]) by smtp010.tiscali.dk (8.12.10/8.12.10) with ESMTP id i07NugKp013735 for ; Thu, 8 Jan 2004 00:56:51 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AeNTa-0004OK-4u for gtkmm-list@gnome.org; Thu, 08 Jan 2004 00:52:38 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link error References: <20040107202721.58835.qmail@web14802.mail.yahoo.com> From: Ole Laursen Date: Thu, 08 Jan 2004 00:52:38 +0100 In-Reply-To: <20040107202721.58835.qmail@web14802.mail.yahoo.com> (Kevin Blah's message of "Wed, 7 Jan 2004 12:27:21 -0800 (PST)") Message-ID: <87ekub71vd.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Kevin Blah writes: > For some reason i am getting the following error: > > /tmp/cc7BpFlS.o(.text+0x3f): In function `main': > /home/kevin/Projects/PortageUI/src/portageui.cc:12: > undefined reference to > `MainWindow::MainWindow[in-charge]()' > /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > collect2: ld returned 1 exit status > > the constructor and destroctor are both defined and > implemented. Hm, but the linker is telling you that it can't find them. Are you sure you are linking them with the code for the main function properly? If you are using Automake, one possibility is that you have forgotten to add the .cpp (or .cc or whatever) file for the main window class to the _SOURCES list. -- Ole Laursen http://www.cs.auc.dk/~olau/ From matthew@alledora.co.uk Wed Jan 7 19:03:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mail.gnome.org (Postfix) with ESMTP id A5ED7189CB; Wed, 7 Jan 2004 19:03:51 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040108000352.HKPB1005.mta06-svc.ntlworld.com@alledora.co.uk>; Thu, 8 Jan 2004 00:03:52 +0000 Message-ID: <3FFC9E9E.9070402@alledora.co.uk> Date: Thu, 08 Jan 2004 00:04:46 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Gasper Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> <1073519494.2196.3.camel@PETE> In-Reply-To: <1073519494.2196.3.camel@PETE> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: They're written in pure C, so I very much doubt it's actually much of a problem for them unless they're using C99 which they probably aren't. It's only really C++ that this matters for, as far as I can see, because gcc 2.9* had good C support but woeful C++, which as we all know is much improved in 3.2. So I doubt it's something that they've even thought about. Peter Gasper wrote: > What is the gtk+ road map on this issue? I assume that if they dropped > support then gtkmm would by necessity do also. Do they have any good > reasons for continued support of 2.9*? > > PG > > > On Wed, 2004-01-07 at 11:28, Murray.Cumming@Comneon.com wrote: > >>I'll ask this again, using the correct version number: >> >>Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it >>in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. >> >>Who needs gcc 2.9* and why? >> >>Murray Cumming >>www.murrayc.com >>murrayc@usa.net >> >>_______________________________________________ >>gtkmm-list mailing list >>gtkmm-list@gnome.org >>http://mail.gnome.org/mailman/listinfo/gtkmm-list From billyoc@gnuyork.org Wed Jan 7 19:28:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 3493318124 for ; Wed, 7 Jan 2004 19:28:24 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AeO03-0006W4-DB; Wed, 07 Jan 2004 19:26:11 -0500 To: Kevin Blah Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link error References: <20040107202721.58835.qmail@web14802.mail.yahoo.com> From: Billy O'Connor Date: Wed, 07 Jan 2004 19:26:11 -0500 In-Reply-To: <20040107202721.58835.qmail@web14802.mail.yahoo.com> (Kevin Blah's message of "Wed, 7 Jan 2004 12:27:21 -0800 (PST)") Message-ID: <87brpfi8v0.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Kevin Blah writes: > For some reason i am getting the following error: > > /tmp/cc7BpFlS.o(.text+0x3f): In function `main': > /home/kevin/Projects/PortageUI/src/portageui.cc:12: > undefined reference to > `MainWindow::MainWindow[in-charge]()' > /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > collect2: ld returned 1 exit status Can you post a minimal example that fails? I've seen this exact error, but I need a memory jogger. From abhatnag@mda.ca Wed Jan 7 19:31:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id B456418124 for ; Wed, 7 Jan 2004 19:31:38 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i080VaM10083 for ; Wed, 7 Jan 2004 16:31:37 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 16:31:36 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> From: Amit BHATNAGAR To: Amit BHATNAGAR , gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Wed, 7 Jan 2004 16:31:36 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For what its worth, the following is what I am using to compile my application, (via makefile) g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc `pkg-config --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` `pkg-config libglademm-2.0 --cflags --libs` any ideas would be appreicated. > -----Original Message----- > From: Amit BHATNAGAR [mailto:abhatnag@mda.ca] > Sent: January 7, 2004 3:15 PM > To: gtkmm-list@gnome.org > Subject: [gtkmm] Possible to use libglademm -without- a GNOME > installation?? > > > Hello. > > I'm trying to load up my .glade file in my application, however > I get compilation errors saying that "Gnome" is undeclared when > trying to declare my Glib::RefPtr refXml;. > > I don't have Gnome installed, but I do have gtk-2.2.4, gtkmm-2.2.8 and > libglademm-2.0.1 installed. > > I am using a solaris 8 machine. > > Is there anyway around this? > > amit. > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From billyoc@gnuyork.org Wed Jan 7 19:46:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 8506E1812A for ; Wed, 7 Jan 2004 19:46:46 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AeOHs-0001KF-4K; Wed, 07 Jan 2004 19:44:36 -0500 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? References: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> From: Billy O'Connor Date: Wed, 07 Jan 2004 19:44:35 -0500 In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> (Amit BHATNAGAR's message of "Wed, 7 Jan 2004 16:31:36 -0800") Message-ID: <874qv7i80c.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR writes: > For what its worth, the following is what I am using to compile my > application, (via > makefile) > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc `pkg-config > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` `pkg-config libglademm-2.0 > --cflags --libs` > > any ideas would be appreicated. > Will this smal example compile for you? #include int main (int argc, char **argv) { Glib::RefPtr refXml; return 0; } From abhatnag@mda.ca Wed Jan 7 19:55:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id F2CA118464 for ; Wed, 7 Jan 2004 19:55:43 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i080teM14066; Wed, 7 Jan 2004 16:55:41 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 16:55:40 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845F@msxyvr5.mda.ca> From: Amit BHATNAGAR To: "'Billy O'Connor'" Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Wed, 7 Jan 2004 16:55:40 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes this does compile. Simply including in my test app solved the problem. I thought this was a much tougher problem when I realized that I didn't have gnome installed. My appologies! amit. > -----Original Message----- > From: Billy O'Connor [mailto:billyoc@gnuyork.org] > Sent: January 7, 2004 4:45 PM > To: Amit BHATNAGAR > Cc: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME > installa tion?? > > > Amit BHATNAGAR writes: > > > For what its worth, the following is what I am using to compile my > > application, (via > > makefile) > > > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc > `pkg-config > > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` > `pkg-config libglademm-2.0 > > --cflags --libs` > > > > any ideas would be appreicated. > > > > Will this smal example compile for you? > > #include > > int main (int argc, char **argv) > { > Glib::RefPtr refXml; > > return 0; > } > > From tkoskine@students.cc.tut.fi Wed Jan 7 20:28:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from paperi.ton.tut.fi (paperi.ton.tut.fi [193.166.234.15]) by mail.gnome.org (Postfix) with ESMTP id 829091831D for ; Wed, 7 Jan 2004 20:28:56 -0500 (EST) Received: from f125b.lanhovi.ton.tut.fi (gurb.ton.tut.fi) [193.166.80.51] by paperi.ton.tut.fi with esmtp (Exim 3.33 #3 (Debian)) id 1AeOyi-0004vl-00; Thu, 08 Jan 2004 03:28:52 +0200 Received: from gurb.ton.tut.fi (localhost.localnet [IPv6:::1]) by gurb.ton.tut.fi (8.12.10/8.12.10) with SMTP id i081SL8k026801 for ; Thu, 8 Jan 2004 03:28:21 +0200 (EET) Date: Thu, 8 Jan 2004 03:28:21 +0200 From: Tero Koskinen To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? Message-Id: <20040108032821.5c9f4b24.tkoskine@students.cc.tut.fi> In-Reply-To: <874qv779jb.fsf@e.kth.se> References: <1073509298.3ffc73b2a125e@realtyroad.com> <874qv779jb.fsf@e.kth.se> Reply-To: tkoskine@students.cc.tut.fi X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-unknown-openbsd3.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 07 Jan 2004 22:07:04 +0100 Fredrik Arnerup wrote: > Gene Ruebsamen writes: > > > Someone mentioned earlier that BSD may still require gcc 2.9* > > support. Is this still the case? > > I believe OpenBSD uses 2.95 for all non-64-bit platforms. Also NetBSD 1.6.1 (stable) and FreeBSD 4.9 (stable) use GCC 2.95 by their default compiler. All three BSDs provide GCC 3.3.x/3.2.x via ports/packages/pkg_src collection. GCC 3.3.x is the default compiler on NetBSD-current and FreeBSD-current. OpenBSD-current uses GCC 2.95 (on non-64-bit platforms). If the GCC 2.9x support is dropped from gtkmm, then one cannot compile gtkmm on stable release of any BSD without installing another compiler(GCC 3.[23].x) first. Having two GCCs on same system is a little bit chaotic since you need two different versions of C++ libraries, but usually there aren't too many of them and the amount of management stays reasonable. > But OpenBSD is mostly used on servers anyway. Personally I use OpenBSD-current as my primary desktop OS and like to play with gtkmm as a hobby. I have nothing against dropping the GCC 2.9x support since on my system gtkmm is compiled using GCC 3.2.3 because my own C++ code doesn't build with GCC 2.95. -- Tero Koskinen - tkoskine@students.cc.tut.fi From gtkmm-forge-admin@lists.sourceforge.net Wed Jan 7 23:04:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 6D1C618491 for ; Wed, 7 Jan 2004 23:04:24 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AeRPD-0008Lw-5U for gtkmm-list@gnome.org; Wed, 07 Jan 2004 20:04:23 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AeRPD-0008Ky-1j for gtkmm-list@gnome.org; Wed, 07 Jan 2004 20:04:23 -0800 Date: Wed, 07 Jan 2004 20:01:11 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #592 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm (bugzilla-daemon@widget.gnome.org) 2. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) 3. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Wed, 7 Jan 2004 03:16:47 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=86865 Changed by murrayc@usa.net. --- shadow/86865 Tue Jan 6 13:02:25 2004 +++ shadow/86865.tmp.14758 Wed Jan 7 03:16:47 2004 @@ -10,13 +10,13 @@ Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: murrayc@usa.net TargetMilestone: --- URL: Summary: Collection of minor GTK+ bugs that affect gtkmm -BugsThisDependsOn: 52877, 63768, 64601, 72426[FIXED] +BugsThisDependsOn: 52877[FIXED], 63768, 64601, 72426[FIXED] This umbrella bug helps us to know what GTK+ bugs are relevant to gtkmm. We have probably hacked around these bugs, but we'd still like them to be fixed properly. ------- Additional Comments From murrayc@usa.net 2003-07-18 09:55 ------- --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Wed, 7 Jan 2004 08:03:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Wed Dec 17 11:43:31 2003 +++ shadow/129210.tmp.6186 Wed Jan 7 08:03:27 2004 @@ -135,6 +135,11 @@ Hell, it certainly wasn't obvious to me that any of those files were generated when I do something like ``vi +100 gtkmm-2.3.1/gtk/gtkmm/radioaction.h'' ------- Additional Comments From murrayc@usa.net 2003-12-17 11:43 ------- I am happy to apply a patch for this. + +------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- +There is a chance that we will not support gcc 2.96 in future, because +we might use a newer libsigc++ that can not support it. On the mailing +list I am asking who needs 2.96 and why? Maybe you could reply to that. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Wed, 7 Jan 2004 14:45:39 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by dalgoda@ix.netcom.com. --- shadow/129210 Wed Jan 7 08:03:27 2004 +++ shadow/129210.tmp.25974 Wed Jan 7 14:45:38 2004 @@ -140,6 +140,81 @@ I am happy to apply a patch for this. ------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- There is a chance that we will not support gcc 2.96 in future, because we might use a newer libsigc++ that can not support it. On the mailing list I am asking who needs 2.96 and why? Maybe you could reply to that. + +------- Additional Comments From dalgoda@ix.netcom.com 2004-01-07 14:45 ------- +Hi. + +I'm on way too many email lists now as it is (if there was an NNTP +interface available, I'd use it). So I'll just comment here. I did +read the threads in the archives however. + +First, let me explain that I have been maintaining my own home-grown +Linux system since 1994. It's Linux from scratch before +linuxfromscratch existed. I usually keep bleeding edge on most +things, but lately (last couple of years or so) I have slacked off a +bit and not followed the 2.5 kernels. Since the Linux kernel, for a +long time, did not like to build with any gcc-3 [note: I just checked +2.6.1-rc2, and at least the docs there still recommend 2.95.x, x>=3], +I stuck with gcc-2. This also forced me to stay with glibc-2.2.5. +Now, I know that I can run two different versions of gcc, however +since the same `gcc' cannot handle -V for 2.x and 3.x (-V only works +withing the same major). I didn't feel there was anything to really be +gained by upgrading; it wasn't worth the effort of trying to keep gcc2 +and gcc3 executables. + +A few other things pushed this as well. + +For instance, gpc only works with gcc2. And I've always wanted to +play with gpc (in my ohhhh so ample spare time :-). + +It turns out that since gcc2 doesn't support C99 by default, I've +discovered a lot of code that would not build against non-C99 +compilers being put out by people (stuff in Gnome, stuff on CPAN, +etc). To paraphrase a well known saying, "All the world is not gcc." + With the fact that a lot of compilers are not C99 capable yet, my +bleeding edge updates have helped me submit a LOT of patches to +various projects. I imagine I could probably configure gcc3 to not do + C99 by default, but since I've not looked into upgrading, I've not +bothered doing that research. + +I don't do any C++ programming, so the personal need for the better +C++ support simply isn't there. + +Now, those are the reasons why *I* still use 2.95.*. Basically it +comes down to I'm lazy and it's useful for finding issues in the `C' +world. But I admit that for C++, it sucks. + +Some points to consider though: + +Ignore RedHat completely. 2.96 does not exist. Consider 2.95.3 (or +2.95.4 which is really cvs-tip from the 2_95 branch). Just because RH +doesn't support the older compiler doesn't mean other people don't. +You can buy support for older RH from Progeny. Heck, Sun continues to +build Java against RH6.2 or something like that. A better solution +would be to look at what Debian supports in their unstable branch (or +wherever the comparable gtkmm stuff would live). + +All the world is not Linux, either. Someone pointed out that one of +the BSD's is using gcc-2.95.*. What do other current OS's support in +their C++ environments as far as compatibilty goes? I think that's a +far better guage. + +If going to require the newer libsigc++, then yeah, definitely go +ahead an use modern C++ features and don't worry about backwards +compatibility. + +However, I would strongly advise against specifically checking against + version numbers of compilers. That is just too fragile (regressions, +branching, etc) and only works for g++. Instead, do feature checks +against whatever C++ compiler is being used. As bug, like this one, +appear, then add it as a feature check and say "Your compiler does not +support feature XYZ." + +Well, that's a lot of babbling. :-> + +I guess it could all be summarized with this: Go ahead and require +modern C++ features, but try to catch support for them up front with +autoconf. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From minutsil@cse.msu.edu Wed Jan 7 23:31:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from red.cse.msu.edu (red.cse.msu.edu [35.9.20.11]) by mail.gnome.org (Postfix) with ESMTP id 74EAB184D0 for ; Wed, 7 Jan 2004 23:31:34 -0500 (EST) Received: from arctic.cse.msu.edu (arctic.cse.msu.edu [35.9.20.20]) by red.cse.msu.edu (8.12.10/8.12.10) with ESMTP id i084VUnN006760; Wed, 7 Jan 2004 23:31:30 -0500 (EST) Date: Wed, 7 Jan 2004 23:31:30 -0500 (EST) From: Silviu D Minut To: Cc: Subject: RE: [gtkmm] A Gtkmm Forum In-Reply-To: <258B0164D480D5118D900800062B385801C2258D@vihsx09a.vih.infineon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Could we have a newsgroup? Could we move everybody on this list to the newsgroup? I find it much more convenient than the mailing list. On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > I don't know how to use a mailing list. > > Clearly you do. Just remember to use Reply To All after this and you've > understood everything. > > > Do you think that one > > day Gtkmm programmers might have a forum? > > Feel free to use this, but there are 550 people here, and not many there: > http://gnomesupport.org/forums/ > > Murray Cumming > www.murrayc.com > murrayc@usa.net > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From trollking@shaw.ca Wed Jan 7 23:50:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 505D0183D1 for ; Wed, 7 Jan 2004 23:50:26 -0500 (EST) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-ser.prod.shaw.ca [10.0.141.179]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR500J5ZMNQU7@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Received: from pn2ml7so.prod.shaw.ca (pn2ml7so-qfe0.prod.shaw.ca [10.0.121.151]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR5009QYMNQSN@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR50072IMNQ2B@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Date: Wed, 07 Jan 2004 21:47:50 -0700 From: Dean Kutryk In-reply-to: <20040107170020.15419.74567.Mailman@moniker.gnome.org> To: gtkmm-list@gnome.org Message-id: <1073537270.7353.0.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <20040107170020.15419.74567.Mailman@moniker.gnome.org> Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #809 - 2 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Can't we come out of the closet and get an operational forums. I'll kick in a few dollars even. On Wed, 2004-01-07 at 10:00, gtkmm-list-request@gnome.org wrote: > Send gtkmm-list mailing list submissions to > gtkmm-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.gnome.org/mailman/listinfo/gtkmm-list > or, via email, send a message with subject or body 'help' to > gtkmm-list-request@gnome.org > > You can reach the person managing the list at > gtkmm-list-admin@gnome.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gtkmm-list digest..." > > > Today's Topics: > > 1. A Gtkmm Forum (Dean Kutryk) > 2. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > > --__--__-- > > Message: 1 > Date: Wed, 07 Jan 2004 08:57:41 -0700 > From: Dean Kutryk > To: gtkmm-list@gnome.org > Subject: [gtkmm] A Gtkmm Forum > > I don't know how to use a mailing list. Do you think that one day Gtkmm > programmers might have a forum? > > > > --__--__-- > > Message: 2 > From: Murray.Cumming@Comneon.com > To: trollking@shaw.ca, gtkmm-list@gnome.org > Subject: RE: [gtkmm] A Gtkmm Forum > Date: Wed, 7 Jan 2004 17:09:47 +0100 > > > I don't know how to use a mailing list. > > Clearly you do. Just remember to use Reply To All after this and you've > understood everything. > > > Do you think that one > > day Gtkmm programmers might have a forum? > > Feel free to use this, but there are 550 people here, and not many there: > http://gnomesupport.org/forums/ > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > > --__--__-- > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > End of gtkmm-list Digest From cjnygard@fast.net Thu Jan 8 00:23:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from newmx1.fast.net (newmx1.fast.net [209.92.1.31]) by mail.gnome.org (Postfix) with SMTP id 2C2C31815D for ; Thu, 8 Jan 2004 00:23:22 -0500 (EST) Received: (qmail 8186 invoked from network); 8 Jan 2004 05:23:21 -0000 Received: from unknown (HELO ?192.168.1.19?) ([209.92.227.114]) (envelope-sender ) by newmx1.fast.net (qmail-ldap-1.03) with SMTP for ; 8 Jan 2004 05:23:21 -0000 Subject: RE: [gtkmm] A Gtkmm Forum From: Carl Nygard To: Silviu D Minut Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org In-Reply-To: References: Content-Type: text/plain Message-Id: <1073510602.25100.21.camel@traveler> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 07 Jan 2004 16:23:23 -0500 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-07 at 23:31, Silviu D Minut wrote: > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. > How about a conference call instead? I really enjoy those, especially hearing all the silly accents;) I propose every monday at 4pm (y'all pick the timezone)... oh wait, that's Oprah. Where's that XML-TV when you need it... > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list From gtkmm-list@mlists.thewrittenword.com Thu Jan 8 00:33:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from spuckler.il.thewrittenword.com (mail2.thewrittenword.com [67.95.107.111]) by mail.gnome.org (Postfix) with ESMTP id 4F4121815D for ; Thu, 8 Jan 2004 00:33:45 -0500 (EST) Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com [127.0.0.1]) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) with ESMTP id i085Xgne085918 for ; Wed, 7 Jan 2004 23:33:42 -0600 (CST) Received: (from china@localhost) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) id i085Xgc1085917 for gtkmm-list@gnome.org; Wed, 7 Jan 2004 23:33:42 -0600 (CST) Date: Wed, 7 Jan 2004 23:33:42 -0600 From: Albert Chin To: gtkmm-list@gnome.org Message-ID: <20040108053342.GA85860@spuckler.il.thewrittenword.com> Reply-To: gtkmm-list@gnome.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] Building gtkmm-2.2.8 with HP C++ compiler Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Do the following errors make sense to anyone? I'm trying to build gtkmm-2.2.8 with the HP C++ compiler on HP-UX 11.00 and 11i. aCC -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include -I/opt/TWWfsw/libsigc++12/lib/include -I/opt/TWWfsw/libsigc++12/include -D_REENTRANT -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include +O2 -AA -z +Onofltacc +ESlit +DAportable +Oentrysched +Odataprefetch +Onolimit -c convert.cc +Z -DPIC -o .libs/convert.o Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 221: "../../glib/glibmm/ustring.h", line 705 # Member 'SequenceToString' not declared in struct SequenceToString<#1,char> ["../../glib/glibmm/ustring.h", line 547]. ustring::SequenceToString::SequenceToString(In pbegin, In pend) ^^^^^^^^^^^^^^^^ Warning (anachronism) 600: "../../glib/glibmm/ustring.h", line 705 # Type specifier is omitted; "int" is no longer assumed. ustring::SequenceToString::SequenceToString(In pbegin, In pend) ^^^^^^^^^^^^^^^^ Error 188: "../../glib/glibmm/ustring.h", line 707 # Member and base class initializers may only be used in constructors. std::string(pbegin, pend) ^^^^^^^^^^^^ Error 221: "../../glib/glibmm/ustring.h", line 711 # Member 'SequenceToString' not declared in struct SequenceToString<#1,unsigned int> ["../../glib/glibmm/ustring.h", line 553]. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ Error 174: "../../glib/glibmm/ustring.h", line 711 # Function redefinition; previously defined as "int Glib::SequenceToString(#1,#1)" at ["../../glib/glibmm/ustring.h", line 705]. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ Error 445: "../../glib/glibmm/ustring.h", line 711 # Cannot recover from earlier errors. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ gmake[5]: *** [convert.lo] Error 1 gmake[5]: Leaving directory `/opt/build/gtkmm-2.2.8/glib/glibmm' -- albert chin (china@thewrittenword.com) From Murray.Cumming@Comneon.com Thu Jan 8 03:28:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 60B731812C; Thu, 8 Jan 2004 03:28:13 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088OE7k028094; Thu, 8 Jan 2004 09:24:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:28:29 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225D7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: palm@nogui.se Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? Date: Thu, 8 Jan 2004 09:28:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > What about non-gcc compilers? They are a differerent story. I would expect us to support at least SUN's Forte C++ compiler, and the Microsoft Visual C++ .Net 2003 compiler. But I don't think anybody has tried libsigc++ 2 with them yet. A couple of people did offer me some help with a SUN login, and hopefully I'll have a chance to try that soon. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 8 03:28:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ACB1618156 for ; Thu, 8 Jan 2004 03:28:53 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088Os7k028524; Thu, 8 Jan 2004 09:24:54 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:29:09 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225D8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abhatnag@mda.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Thu, 8 Jan 2004 09:28:51 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm trying to load up my .glade file in my application, however > I get compilation errors saying that "Gnome" is undeclared when > trying to declare my Glib::RefPtr refXml;. > > I don't have Gnome installed, but I do have gtk-2.2.4, > gtkmm-2.2.8 and libglademm-2.0.1 installed. > > I am using a solaris 8 machine. > > Is there anyway around this? I think you are just forgetting an #include. Please look at the libglademm examples. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 8 03:32:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D07C91812C for ; Thu, 8 Jan 2004 03:32:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088SH7k029781; Thu, 8 Jan 2004 09:28:17 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:32:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225DC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: minutsil@cse.msu.edu, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] A Gtkmm Forum Date: Thu, 8 Jan 2004 09:32:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I think that the MARC archive people have a newsgroup gateweay thingy. Tell us how it works if you investigate: http://marc.theaimsgroup.com/?l=gtkmm&r=1&w=2#gtkmm Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Silviu D Minut [mailto:minutsil@cse.msu.edu] > Sent: Donnerstag, 8. Januar 2004 05:32 > To: Murray.Cumming@Comneon.com > Cc: gtkmm-list@gnome.org > Subject: RE: [gtkmm] A Gtkmm Forum > > > Could we have a newsgroup? Could we move everybody on this > list to the newsgroup? I find it much more convenient than > the mailing list. > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and > > you've understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many > > there: http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > From find_all@hotmail.com Thu Jan 8 04:10:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f26.sea2.hotmail.com [207.68.165.26]) by mail.gnome.org (Postfix) with ESMTP id 96E3418149 for ; Thu, 8 Jan 2004 04:10:00 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 8 Jan 2004 01:09:59 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Thu, 08 Jan 2004 09:09:59 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: paul@linuxaudiosystems.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Glib::signal_io Date: Thu, 08 Jan 2004 09:09:59 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 08 Jan 2004 09:09:59.0727 (UTC) FILETIME=[3134FBF0:01C3D5C7] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >From: Paul Davis >To: "Find All" >CC: gtkmm-list@gnome.org >Subject: Re: [gtkmm] Glib::signal_io Date: Wed, 07 Jan 2004 13:33:47 -0500 > > >I'm having some problems with the Glib::signal_io().connect() function to >do > >the reading from a serial port. > > >class serie > >#include > >class serie : public SigC::Object I make a "locate sigc++/signal_system.h" an nothing :-( I've use sigc++/signal.h (I've sigc++1.2 not the 2 version) and it compiles, does this signal.h work as signal_system.h of the sigc++2? I'm having some problems with the serial port configuration (I want to use it at 115200 baud), so I can't verify if its executes well. Is there a example of using a serial port in gtkmm on the web that it really works (I have found the example of the monitoring I/O but it faults, it uses 'very' deprecated functions)? _________________________________________________________________ Una mejor experiencia en Internet. Prueba gratis dos meses MSN 8. http://join.msn.com/?pgmarket=es-es&XAPID=1577&DI=1055 From trollking@shaw.ca Thu Jan 8 05:18:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 681EE183E2 for ; Thu, 8 Jan 2004 05:18:30 -0500 (EST) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-ser.prod.shaw.ca [10.0.141.177]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600JEH1YTIV@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Received: from pn2ml4so.prod.shaw.ca (pn2ml4so-qfe0.prod.shaw.ca [10.0.121.148]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600E8U1YTQN@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600A0T1YTRF@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Date: Thu, 08 Jan 2004 03:18:29 -0700 From: Dean Kutryk To: gtkmm-list@gnome.org Message-id: <1073557109.7912.4.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT Subject: [gtkmm] A burning question about X Windows Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I realize that Gtkmm is a wrapper of the software library GTK+, however is it wrong for a C++ programmer to perhaps want to design some custom widgets or enhancements that he uses along with the the Gtkmm library. I was wondering why there are so few tutorials on XFree86. How on earth can people ignore all information and knowledge about such a core infrastructure, and yet the Linux kernel gets so much attention. From trollking@shaw.ca Thu Jan 8 05:19:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 00CCC18217 for ; Thu, 8 Jan 2004 05:19:42 -0500 (EST) Received: from pd4mr3so.prod.shaw.ca (pd4mr3so-qfe3.prod.shaw.ca [10.0.141.214]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600HNP1PL5K@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR6006TC1PL85@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600IEE1PLOA@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Date: Thu, 08 Jan 2004 03:12:57 -0700 From: Dean Kutryk In-reply-to: <20040108091104.10624.55859.Mailman@moniker.gnome.org> To: gtkmm-list@gnome.org Message-id: <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <20040108091104.10624.55859.Mailman@moniker.gnome.org> Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #811 - 13 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This 'newsgroup thing' looks like a massive batch of ideas all piled on top of each other. Talk about a barrier to technology, I see that technology only complicates old practices. I think it would be better to literally get out a pencil and a piece of paper and do this whole thing using the postal service. On Thu, 2004-01-08 at 02:11, gtkmm-list-request@gnome.org wrote: > Send gtkmm-list mailing list submissions to > gtkmm-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.gnome.org/mailman/listinfo/gtkmm-list > or, via email, send a message with subject or body 'help' to > gtkmm-list-request@gnome.org > > You can reach the person managing the list at > gtkmm-list-admin@gnome.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gtkmm-list digest..." > > > Today's Topics: > > 1. RE: Possible to use libglademm -without- a GNOME installa > tion?? (Amit BHATNAGAR) > 2. Re: Abandoning gcc 2.9*? (Tero Koskinen) > 3. Gtkmm-forge digest, Vol 1 #592 - 3 msgs (gtkmm-forge-request@lists.sourceforge.net) > 4. RE: A Gtkmm Forum (Silviu D Minut) > 5. Re: gtkmm-list digest, Vol 1 #809 - 2 msgs (Dean Kutryk) > 6. RE: A Gtkmm Forum (Carl Nygard) > 7. Building gtkmm-2.2.8 with HP C++ compiler (Albert Chin) > 8. RE: Abandoning gcc 2.9*? (Murray.Cumming@Comneon.com) > 9. RE: Possible to use libglademm -without- a GNOME installa > tion?? (Murray.Cumming@Comneon.com) > 10. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > 11. Re: Glib::signal_io (Find All) > > --__--__-- > > Message: 1 > From: Amit BHATNAGAR > To: "'Billy O'Connor'" > Cc: gtkmm-list@gnome.org > Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa > tion?? > Date: Wed, 7 Jan 2004 16:55:40 -0800 > > Yes this does compile. Simply including in my test > app solved the problem. > > I thought this was a much tougher problem when I realized that I didn't > have gnome installed. > > My appologies! > > amit. > > > -----Original Message----- > > From: Billy O'Connor [mailto:billyoc@gnuyork.org] > > Sent: January 7, 2004 4:45 PM > > To: Amit BHATNAGAR > > Cc: gtkmm-list@gnome.org > > Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME > > installa tion?? > > > > > > Amit BHATNAGAR writes: > > > > > For what its worth, the following is what I am using to compile my > > > application, (via > > > makefile) > > > > > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc > > `pkg-config > > > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` > > `pkg-config libglademm-2.0 > > > --cflags --libs` > > > > > > any ideas would be appreicated. > > > > > > > Will this smal example compile for you? > > > > #include > > > > int main (int argc, char **argv) > > { > > Glib::RefPtr refXml; > > > > return 0; > > } > > > > > > --__--__-- > > Message: 2 > Date: Thu, 8 Jan 2004 03:28:21 +0200 > From: Tero Koskinen > To: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Abandoning gcc 2.9*? > Reply-To: tkoskine@students.cc.tut.fi > > On Wed, 07 Jan 2004 22:07:04 +0100 > Fredrik Arnerup wrote: > > Gene Ruebsamen writes: > > > > > Someone mentioned earlier that BSD may still require gcc 2.9* > > > support. Is this still the case? > > > > I believe OpenBSD uses 2.95 for all non-64-bit platforms. > > Also NetBSD 1.6.1 (stable) and FreeBSD 4.9 (stable) use GCC 2.95 by their > default compiler. All three BSDs provide GCC 3.3.x/3.2.x via > ports/packages/pkg_src collection. > > GCC 3.3.x is the default compiler on NetBSD-current and FreeBSD-current. > OpenBSD-current uses GCC 2.95 (on non-64-bit platforms). > > If the GCC 2.9x support is dropped from gtkmm, then one cannot > compile gtkmm on stable release of any BSD without installing > another compiler(GCC 3.[23].x) first. > > Having two GCCs on same system is a little bit chaotic since you > need two different versions of C++ libraries, but usually there aren't > too many of them and the amount of management stays reasonable. > > > But OpenBSD is mostly used on servers anyway. > > Personally I use OpenBSD-current as my primary desktop OS and like > to play with gtkmm as a hobby. I have nothing against dropping the GCC 2.9x > support since on my system gtkmm is compiled using GCC 3.2.3 because my own > C++ code doesn't build with GCC 2.95. > > -- > Tero Koskinen - tkoskine@students.cc.tut.fi > > --__--__-- > > Message: 3 > Date: Wed, 07 Jan 2004 20:01:11 -0800 > From: gtkmm-forge-request@lists.sourceforge.net > Reply-To: gtkmm-forge@lists.sourceforge.net > To: gtkmm-forge@lists.sourceforge.net > Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #592 - 3 msgs > > Send Gtkmm-forge mailing list submissions to > gtkmm-forge@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gtkmm-forge > or, via email, send a message with subject or body 'help' to > gtkmm-forge-request@lists.sourceforge.net > > You can reach the person managing the list at > gtkmm-forge-admin@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gtkmm-forge digest..." > > > gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. > > > Today's Topics: > > 1. [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm (bugzilla-daemon@widget.gnome.org) > 2. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) > 3. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) > > -- __--__-- > > Message: 1 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net > Cc: > Date: Wed, 7 Jan 2004 03:16:47 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=86865 > > Changed by murrayc@usa.net. > > --- shadow/86865 Tue Jan 6 13:02:25 2004 > +++ shadow/86865.tmp.14758 Wed Jan 7 03:16:47 2004 > @@ -10,13 +10,13 @@ > Component: general > AssignedTo: gtkmm-forge@lists.sourceforge.net > ReportedBy: murrayc@usa.net > TargetMilestone: --- > URL: > Summary: Collection of minor GTK+ bugs that affect gtkmm > -BugsThisDependsOn: 52877, 63768, 64601, 72426[FIXED] > +BugsThisDependsOn: 52877[FIXED], 63768, 64601, 72426[FIXED] > > This umbrella bug helps us to know what GTK+ bugs are relevant to gtkmm. > We have probably hacked around these bugs, but we'd still like them to be > fixed properly. > > ------- Additional Comments From murrayc@usa.net 2003-07-18 09:55 ------- > > > -- __--__-- > > Message: 2 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com > Cc: > Date: Wed, 7 Jan 2004 08:03:27 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=129210 > > Changed by murrayc@usa.net. > > --- shadow/129210 Wed Dec 17 11:43:31 2003 > +++ shadow/129210.tmp.6186 Wed Jan 7 08:03:27 2004 > @@ -135,6 +135,11 @@ > Hell, it certainly wasn't obvious to me that any of those files were > generated when I do something like ``vi +100 > gtkmm-2.3.1/gtk/gtkmm/radioaction.h'' > > ------- Additional Comments From murrayc@usa.net 2003-12-17 11:43 ------- > I am happy to apply a patch for this. > + > +------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- > +There is a chance that we will not support gcc 2.96 in future, because > +we might use a newer libsigc++ that can not support it. On the mailing > +list I am asking who needs 2.96 and why? Maybe you could reply to that. > > > -- __--__-- > > Message: 3 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com > Cc: > Date: Wed, 7 Jan 2004 14:45:39 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=129210 > > Changed by dalgoda@ix.netcom.com. > > --- shadow/129210 Wed Jan 7 08:03:27 2004 > +++ shadow/129210.tmp.25974 Wed Jan 7 14:45:38 2004 > @@ -140,6 +140,81 @@ > I am happy to apply a patch for this. > > ------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- > There is a chance that we will not support gcc 2.96 in future, because > we might use a newer libsigc++ that can not support it. On the mailing > list I am asking who needs 2.96 and why? Maybe you could reply to that. > + > +------- Additional Comments From dalgoda@ix.netcom.com 2004-01-07 14:45 ------- > +Hi. > + > +I'm on way too many email lists now as it is (if there was an NNTP > +interface available, I'd use it). So I'll just comment here. I did > +read the threads in the archives however. > + > +First, let me explain that I have been maintaining my own home-grown > +Linux system since 1994. It's Linux from scratch before > +linuxfromscratch existed. I usually keep bleeding edge on most > +things, but lately (last couple of years or so) I have slacked off a > +bit and not followed the 2.5 kernels. Since the Linux kernel, for a > +long time, did not like to build with any gcc-3 [note: I just checked > +2.6.1-rc2, and at least the docs there still recommend 2.95.x, x>=3], > +I stuck with gcc-2. This also forced me to stay with glibc-2.2.5. > +Now, I know that I can run two different versions of gcc, however > +since the same `gcc' cannot handle -V for 2.x and 3.x (-V only works > +withing the same major). I didn't feel there was anything to really be > +gained by upgrading; it wasn't worth the effort of trying to keep gcc2 > +and gcc3 executables. > + > +A few other things pushed this as well. > + > +For instance, gpc only works with gcc2. And I've always wanted to > +play with gpc (in my ohhhh so ample spare time :-). > + > +It turns out that since gcc2 doesn't support C99 by default, I've > +discovered a lot of code that would not build against non-C99 > +compilers being put out by people (stuff in Gnome, stuff on CPAN, > +etc). To paraphrase a well known saying, "All the world is not gcc." > + With the fact that a lot of compilers are not C99 capable yet, my > +bleeding edge updates have helped me submit a LOT of patches to > +various projects. I imagine I could probably configure gcc3 to not do > + C99 by default, but since I've not looked into upgrading, I've not > +bothered doing that research. > + > +I don't do any C++ programming, so the personal need for the better > +C++ support simply isn't there. > + > +Now, those are the reasons why *I* still use 2.95.*. Basically it > +comes down to I'm lazy and it's useful for finding issues in the `C' > +world. But I admit that for C++, it sucks. > + > +Some points to consider though: > + > +Ignore RedHat completely. 2.96 does not exist. Consider 2.95.3 (or > +2.95.4 which is really cvs-tip from the 2_95 branch). Just because RH > +doesn't support the older compiler doesn't mean other people don't. > +You can buy support for older RH from Progeny. Heck, Sun continues to > +build Java against RH6.2 or something like that. A better solution > +would be to look at what Debian supports in their unstable branch (or > +wherever the comparable gtkmm stuff would live). > + > +All the world is not Linux, either. Someone pointed out that one of > +the BSD's is using gcc-2.95.*. What do other current OS's support in > +their C++ environments as far as compatibilty goes? I think that's a > +far better guage. > + > +If going to require the newer libsigc++, then yeah, definitely go > +ahead an use modern C++ features and don't worry about backwards > +compatibility. > + > +However, I would strongly advise against specifically checking against > + version numbers of compilers. That is just too fragile (regressions, > +branching, etc) and only works for g++. Instead, do feature checks > +against whatever C++ compiler is being used. As bug, like this one, > +appear, then add it as a feature check and say "Your compiler does not > +support feature XYZ." > + > +Well, that's a lot of babbling. :-> > + > +I guess it could all be summarized with this: Go ahead and require > +modern C++ features, but try to catch support for them up front with > +autoconf. > > > > -- __--__-- > > _______________________________________________ > Gtkmm-forge mailing list > Gtkmm-forge@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtkmm-forge > > > End of Gtkmm-forge Digest > > --__--__-- > > Message: 4 > Date: Wed, 7 Jan 2004 23:31:30 -0500 (EST) > From: Silviu D Minut > To: > Cc: > Subject: RE: [gtkmm] A Gtkmm Forum > > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > --__--__-- > > Message: 5 > Date: Wed, 07 Jan 2004 21:47:50 -0700 > From: Dean Kutryk > To: gtkmm-list@gnome.org > Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #809 - 2 msgs > > Can't we come out of the closet and get an operational forums. I'll kick > in a few dollars even. > > On Wed, 2004-01-07 at 10:00, gtkmm-list-request@gnome.org wrote: > > Send gtkmm-list mailing list submissions to > > gtkmm-list@gnome.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > or, via email, send a message with subject or body 'help' to > > gtkmm-list-request@gnome.org > > > > You can reach the person managing the list at > > gtkmm-list-admin@gnome.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of gtkmm-list digest..." > > > > > > Today's Topics: > > > > 1. A Gtkmm Forum (Dean Kutryk) > > 2. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > > > > -- __--__-- > > > > Message: 1 > > Date: Wed, 07 Jan 2004 08:57:41 -0700 > > From: Dean Kutryk > > To: gtkmm-list@gnome.org > > Subject: [gtkmm] A Gtkmm Forum > > > > I don't know how to use a mailing list. Do you think that one day Gtkmm > > programmers might have a forum? > > > > > > > > -- __--__-- > > > > Message: 2 > > From: Murray.Cumming@Comneon.com > > To: trollking@shaw.ca, gtkmm-list@gnome.org > > Subject: RE: [gtkmm] A Gtkmm Forum > > Date: Wed, 7 Jan 2004 17:09:47 +0100 > > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > > > > > -- __--__-- > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > > End of gtkmm-list Digest > > > --__--__-- > > Message: 6 > Subject: RE: [gtkmm] A Gtkmm Forum > From: Carl Nygard > To: Silviu D Minut > Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org > Date: Wed, 07 Jan 2004 16:23:23 -0500 > > On Wed, 2004-01-07 at 23:31, Silviu D Minut wrote: > > Could we have a newsgroup? Could we move everybody on this list to the > > newsgroup? I find it much more convenient than the mailing list. > > > > How about a conference call instead? I really enjoy those, especially > hearing all the silly accents;) > > I propose every monday at 4pm (y'all pick the timezone)... oh wait, > that's Oprah. Where's that XML-TV when you need it... > > > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > > > I don't know how to use a mailing list. > > > > > > Clearly you do. Just remember to use Reply To All after this and you've > > > understood everything. > > > > > > > Do you think that one > > > > day Gtkmm programmers might have a forum? > > > > > > Feel free to use this, but there are 550 people here, and not many there: > > > http://gnomesupport.org/forums/ > > > > > > Murray Cumming > > > www.murrayc.com > > > murrayc@usa.net > > > _______________________________________________ > > > gtkmm-list mailing list > > > gtkmm-list@gnome.org > > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > --__--__-- > > Message: 7 > Date: Wed, 7 Jan 2004 23:33:42 -0600 > From: Albert Chin > To: gtkmm-list@gnome.org > Reply-To: gtkmm-list@gnome.org > Subject: [gtkmm] Building gtkmm-2.2.8 with HP C++ compiler > > Do the following errors make sense to anyone? I'm trying to build > gtkmm-2.2.8 with the HP C++ compiler on HP-UX 11.00 and 11i. > > aCC -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include -I/opt/TWWfsw/libsigc++12/lib/include -I/opt/TWWfsw/libsigc++12/include -D_REENTRANT -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include +O2 -AA -z +Onofltacc +ESlit +DAportable +Oentrysched +Odataprefetch +Onolimit -c convert.cc +Z -DPIC -o .libs/convert.o > Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 221: "../../glib/glibmm/ustring.h", line 705 # Member 'SequenceToString' > not declared in struct SequenceToString<#1,char> > ["../../glib/glibmm/ustring.h", line 547]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend) > ^^^^^^^^^^^^^^^^ > Warning (anachronism) 600: "../../glib/glibmm/ustring.h", line 705 # Type > specifier is omitted; "int" is no longer assumed. > ustring::SequenceToString::SequenceToString(In pbegin, In pend) > ^^^^^^^^^^^^^^^^ > Error 188: "../../glib/glibmm/ustring.h", line 707 # Member and base class > initializers may only be used in constructors. > std::string(pbegin, pend) > ^^^^^^^^^^^^ > Error 221: "../../glib/glibmm/ustring.h", line 711 # Member 'SequenceToString' > not declared in struct SequenceToString<#1,unsigned int> > ["../../glib/glibmm/ustring.h", line 553]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > Error 174: "../../glib/glibmm/ustring.h", line 711 # Function redefinition; > previously defined as "int Glib::SequenceToString(#1,#1)" at > ["../../glib/glibmm/ustring.h", line 705]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > Error 445: "../../glib/glibmm/ustring.h", line 711 # Cannot recover from > earlier errors. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > gmake[5]: *** [convert.lo] Error 1 > gmake[5]: Leaving directory `/opt/build/gtkmm-2.2.8/glib/glibmm' From lx.develop@ntlworld.com Thu Jan 8 07:05:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by mail.gnome.org (Postfix) with ESMTP id 5345A18150 for ; Thu, 8 Jan 2004 07:05:24 -0500 (EST) Received: from ntlworld.com ([81.97.90.183]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040108120512.FTRL9852.mta03-svc.ntlworld.com@ntlworld.com> for ; Thu, 8 Jan 2004 12:05:12 +0000 Message-ID: <3FFD4879.93C43CDB@ntlworld.com> Date: Thu, 08 Jan 2004 12:09:29 +0000 From: "Darren W." X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.19-16mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [gtkmm] walking trees Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I writing an app that needs to search a tree, so decided to walk a tree using foreach method. Since TreeView inherits from TreeModel i assumed I wouldn't have to cast my TreeView object to a TreeModel object. Gtk::TreeModel* foo; foo = (Gtk::TreeModel*) this; foo->foreach(SigC::slot(&myfunc)); however if I don't, it uses the foreach method which is inherited from Container. Firstly am I right trying to search the tree this way, and secondary, am I would have thought it didn't make sense to override the foreach method this way? thanks, From Murray.Cumming@Comneon.com Thu Jan 8 07:10:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 66D8B18150 for ; Thu, 8 Jan 2004 07:10:50 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i08C6pDb021887; Thu, 8 Jan 2004 13:06:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 13:11:06 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22620@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lx.develop@ntlworld.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] walking trees Date: Thu, 8 Jan 2004 13:10:41 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I writing an app that needs to search a tree, so decided to > walk a tree using foreach method. Since TreeView inherits > from TreeModel No, it does not. Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Thu Jan 8 07:14:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 0C18618150 for ; Thu, 8 Jan 2004 07:14:53 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 08A5D278; Thu, 8 Jan 2004 12:11:11 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 371C6274 for ; Thu, 8 Jan 2004 12:11:10 +0000 (GMT) Message-ID: <3FFD49B6.1030307@anvil.co.uk> Date: Thu, 08 Jan 2004 12:14:46 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: > >OK, so use Gtk::TreeView::get_selection() and then >Gtk::TreeSelection::get_selected_rows() as I described in a similar thread >today. > > marvellous. i've got something that works, though i strongly suspect it's not the cleanest way to do it: Glib::RefPtr sel = mw_tree_view.get_selection(); list listPaths = sel->get_selected_rows(); list::iterator it; for (it=listPaths.begin(); it != listPaths.end(); ++it) { Gtk::TreeModel::Path path = *it; Gtk::TreeModel::iterator qwe = m_refTreeModel->get_iter(path); Gtk::TreeModel::Row row = *qwe; string dir = row[mc_columns.m_path_name]; } bevis From Murray.Cumming@Comneon.com Thu Jan 8 07:27:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8D00F18910 for ; Thu, 8 Jan 2004 07:27:05 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i08CN5Db027552; Thu, 8 Jan 2004 13:23:05 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 13:27:21 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: trollking@shaw.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] A burning question about X Windows Date: Thu, 8 Jan 2004 13:26:59 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I realize that Gtkmm is a wrapper of the software library > GTK+, however is it wrong for a C++ programmer to perhaps > want to design some custom widgets or enhancements that he > uses along with the the Gtkmm library. You can of course create custom widgets with gtkmm, without using an X calls. If you need to do any special drawing or even handling then you can use gdkmm (GDK), though it is rare that you need to. GDK wraps X in a cross-platform way, so if you use gtkmm and gdkmm instead of X calls, then your widget will work on Windows and the linux framebuffer as well as X. > I was wondering why > there are so few tutorials on XFree86. How on earth can > people ignore all information and knowledge about such a core > infrastructure, and yet the Linux kernel gets so much attention. Because almost nobody needs to know about X, because we have GTK+ and gtkmm and Qt? Murray Cumming www.murrayc.com murrayc@usa.net From matthew@alledora.co.uk Thu Jan 8 07:39:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 3162B1810F for ; Thu, 8 Jan 2004 07:39:10 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AeZPH-000394-9r for gtkmm-list@gnome.org; Thu, 08 Jan 2004 12:36:59 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AeZPG-00038q-92; Thu, 08 Jan 2004 12:36:58 +0000 Message-ID: <3FFD4FA2.60508@alledora.co.uk> Date: Thu, 08 Jan 2004 12:40:02 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Silviu D Minut Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] A Gtkmm Forum References: In-Reply-To: X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Silviu D Minut wrote: > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. What about the people who like mailing lists and don't like newsgroups? (that's me, by the way) I suppose a mail-news gateway of some sort is a technical possibility. From trollking@shaw.ca Thu Jan 8 09:03:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id EA1901811A for ; Thu, 8 Jan 2004 09:03:14 -0500 (EST) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-ser.prod.shaw.ca [10.0.141.177]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600F1KCDE2B@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca (pn2ml3so-qfe0.prod.shaw.ca [10.0.121.147]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600LXFCDEO2@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600KHTCDE8H@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Date: Thu, 08 Jan 2004 07:03:13 -0700 From: Dean Kutryk Subject: RE: [gtkmm] A burning question about X Windows In-reply-to: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Message-id: <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: All this stuff is very nice. I am using Linux. I had to set a couple environment variables in $HOME/.bashrc to get Gtkmm running: PKG_CONFIG_PATH=/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig LD_LIBRARY_PATH=/usr/lib/:/usr/local/lib/ I think this information should be somewhere on the website. I'm disappointed that all the books on XFree86 are out of print and a decade old, but at least there are libraries like GDK (long live the guys who maintain them). I suppose that a Forum costs money and most people are flat broke losers. Well if someone independently started a Linux programming forum that concentrated on Standard C++ and Gtkmm, as well as pumping out a few books on the subject, maybe there wouldn't be a massive revolt here, over something like that. On Thu, 2004-01-08 at 05:26, Murray.Cumming@Comneon.com wrote: > > I realize that Gtkmm is a wrapper of the software library > > GTK+, however is it wrong for a C++ programmer to perhaps > > want to design some custom widgets or enhancements that he > > uses along with the the Gtkmm library. > > You can of course create custom widgets with gtkmm, without using an X > calls. If you need to do any special drawing or even handling then you can > use gdkmm (GDK), though it is rare that you need to. GDK wraps X in a > cross-platform way, so if you use gtkmm and gdkmm instead of X calls, then > your widget will work on Windows and the linux framebuffer as well as X. > > > I was wondering why > > there are so few tutorials on XFree86. How on earth can > > people ignore all information and knowledge about such a core > > infrastructure, and yet the Linux kernel gets so much attention. > > Because almost nobody needs to know about X, because we have GTK+ and gtkmm > and Qt? > > Murray Cumming > www.murrayc.com > murrayc@usa.net From abt@gmx.de Thu Jan 8 09:31:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 0897818A15 for ; Thu, 8 Jan 2004 09:31:37 -0500 (EST) Received: (qmail 19841 invoked by uid 65534); 8 Jan 2004 14:31:33 -0000 Received: from pD9E94CA9.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.169) by mail.gmx.net (mp026) with SMTP; 08 Jan 2004 15:31:33 +0100 X-Authenticated: #109577 Message-ID: <3FFD69C6.6060802@gmx.de> Date: Thu, 08 Jan 2004 15:31:34 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Bevis Peters Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <3FFC018E.5080606@anvil.co.uk> In-Reply-To: <3FFC018E.5080606@anvil.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Same here. I can´t figure out how to iterate trough a tree like this starting at the selected row (including parents!) to select the following line. child12->child13->parent2->child21->child22 o parent1 ---+ | + child11 + child12 << this is selected + child13 | o parent2 ---+ | + child21 + child22 > I have a Gtk::TreeView with a Gtk::TreeStore, basically following the > tree view example from the gtkmm pages. My Gtk::TreeModel::ColumnRecord > contains two strings (one hidden). I can multi select entries on the tree. > > Now I want to iterate through all the entries selected in my tree when a > button is pressed, ie something like: From bee@pickle.me.uk Thu Jan 8 09:51:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mail.gnome.org (Postfix) with ESMTP id 93227188FB for ; Thu, 8 Jan 2004 09:51:01 -0500 (EST) X-Sasl-enc: pOHMsA+VjJfjVM3icKvU1g 1073573460 Received: from purple (cpc5-cmbg2-3-0-cust234.cmbg.cable.ntl.com [81.105.236.234]) by mail.messagingengine.com (Postfix) with ESMTP id C687F49F9C9 for ; Thu, 8 Jan 2004 09:50:59 -0500 (EST) Received: from barnaby by purple with local (Exim 3.36 #1 (Debian)) id 1AebUf-00028i-00 for ; Thu, 08 Jan 2004 14:50:41 +0000 Date: Thu, 8 Jan 2004 14:50:41 +0000 From: Barnaby Gray To: gtkmm-list@gnome.org Subject: Re: [gtkmm] A burning question about X Windows Message-ID: <20040108145041.GA4260@purple> Mail-Followup-To: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> User-Agent: Mutt/1.5.4i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Thu, Jan 08, 2004 at 07:03:13AM -0700, Dean Kutryk wrote: > I suppose that a Forum costs money and most people are flat broke > losers. I think everybody that obsesses about forums is a flat broke loser. But that's just my matter of opinion. ;-) Barnaby From abt@gmx.de Thu Jan 8 10:07:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7271018A86 for ; Thu, 8 Jan 2004 10:07:48 -0500 (EST) Received: (qmail 6773 invoked by uid 65534); 8 Jan 2004 15:07:46 -0000 Received: from pD9E94CA9.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.169) by mail.gmx.net (mp027) with SMTP; 08 Jan 2004 16:07:46 +0100 X-Authenticated: #109577 Message-ID: <3FFD7243.3010206@gmx.de> Date: Thu, 08 Jan 2004 16:07:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: Bevis Peters , gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> In-Reply-To: <3FFD69C6.6060802@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: To be more precise: The problem is, I cannot see the selection. The row is not highlighted: Does a list view has children? void ConstraintTable::onNextClicked() { cout << "START ConstraintTable::onNextClicked()" << endl; typedef Gtk::TreeModel::Children type_children; type_children children = m_list_store_ref->children(); for(type_children::iterator iter = children.begin(); iter != children.end(); ++iter) { // is this my next row? Gtk::TreeModel::Row row = *iter; if(row) m_tree_sel_ref->select(row); } cout << "END ConstraintTable::onNextClicked()" << endl; } > Same here. I can´t figure out how to iterate trough a tree like this > starting > at the selected row (including parents!) to select the following line. From arvind@acarlab.com Thu Jan 8 10:34:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.97.9]) by mail.gnome.org (Postfix) with SMTP id D9D0D1860C for ; Thu, 8 Jan 2004 10:34:46 -0500 (EST) Received: (qmail 760 invoked by uid 1000); 8 Jan 2004 04:01:17 -0000 Date: Thu, 8 Jan 2004 09:31:16 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling Message-ID: <20040108040116.GA737@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, On Tue, 6 Jan 2004, Gene Ruebsamen wrote: > >is there a way to connect the signal handler > > B::something_in_B_selected() to A::update_values_in_A()? > > class A : public Gtk::VBox > > class B : public Gtk::VBox > Here's an example (someone can step in and tell me if this is the > preferred way of doing things): > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox > // Example given here > The key is to pass a MainWindow pointer to the MainMenu constructor. > You can then use this pointer to MainWindow to connect your signals > to any signal handler in MainWindow. I've declared MainMenu to be > a friend of MainWindow in order to allow access to the protected > signal handlers. > If anyone has a better way of doing this, please speak up. =) I CAN'T MAKE THE LETTERS ANY BIGGER; but ... If the goal is just to get your program working, this is as good a way as any - but it defeats the whole purpose of classes. One way would be - Provide class A with a register() interface function so that if an event in B occurs, it is left to A to decide upon the necessary action - maybe postpone it! The main thing is to act through interfaces so that instances don't become classes! e.g. class A { typedef enum { E1, E2, E3 } ACTION; class_B b; void register( ACTION now ) { if( can_do_it( now ) ) do_it(); } } Another way would be - Since in the example given it appears that the MainWindow and the MainMenu are essentially in existence together or not at all; one could derive MainGate e.g. class MainGate : public Gtk::Window, public Gtk::Menu { // class definition }; and do the signal connection in MainGate c'tor or func. where the data of both parent classes are accessible. Hope this is useful. - arvind r. From paul@linuxaudiosystems.com Thu Jan 8 11:42:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out011.verizon.net (out011pub.verizon.net [206.46.170.135]) by mail.gnome.org (Postfix) with ESMTP id 9FE7718256 for ; Thu, 8 Jan 2004 11:42:19 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out011.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040108164219.GTDP26708.out011.verizon.net@dhin.linuxaudiosystems.com>; Thu, 8 Jan 2004 10:42:19 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i08GgHZ8003984; Thu, 8 Jan 2004 11:42:18 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i08GgHeB003980; Thu, 8 Jan 2004 11:42:17 -0500 Message-Id: <200401081642.i08GgHeB003980@dhin.linuxaudiosystems.com> To: Dean Kutryk Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org Subject: Re: [gtkmm] A burning question about X Windows In-reply-to: Your message of "Thu, 08 Jan 2004 07:03:13 MST." <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> Date: Thu, 08 Jan 2004 11:42:16 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out011.verizon.net from [141.151.15.227] at Thu, 8 Jan 2004 10:42:18 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'm disappointed that all the books on XFree86 are out of print and a >decade old, but at least there are libraries like GDK (long live the you can still get them quite easily second hand. and to be honest, they *are* useful if you want to understand what is going on under the hood. but with pango (i.e. client side rendering) for text and cairo on the horizon, pretty soon most Xlib stuff is going to become fairly irrelevant even when running GTK on X. >I suppose that a Forum costs money and most people are flat broke >losers. Well if someone independently started a Linux programming forum channels on irc.freenode.net are free. they work well. however, i suspect that few of us have time to hang on in such a place. mailing lists work well for toolkits and libraries, because they are asynchronous. From palm@nogui.se Thu Jan 8 12:55:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id B802218560 for ; Thu, 8 Jan 2004 12:55:49 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i08Hr0T5093424; Thu, 8 Jan 2004 18:53:00 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <3FFDA7CE.6050406@nogui.se> Date: Thu, 08 Jan 2004 19:56:14 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dean Kutryk Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Re: gtkmm-list digest, Vol 1 #811 - 13 msgs References: <20040108091104.10624.55859.Mailman@moniker.gnome.org> <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> In-Reply-To: <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi Dean! That is just because you selected to receive the messages as a daily digest when you subscribed to the mailing list. Uncheck that in the list administration webpage and you will receive each message as an individual mail. I would then suggest that you configure your mail client to organize the mails in a threaded fashion in a separate mailbox. Btw, this is a "mailing list", not a newsgroup. Dean Kutryk wrote: > This 'newsgroup thing' looks like a massive batch of ideas all piled on > top of each other. Talk about a barrier to technology, I see that > technology only complicates old practices. I think it would be better to > literally get out a pencil and a piece of paper and do this whole thing > using the postal service. > From abt@gmx.de Fri Jan 9 03:38:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id CD273185C4 for ; Fri, 9 Jan 2004 03:38:53 -0500 (EST) Received: (qmail 13221 invoked by uid 65534); 9 Jan 2004 08:38:50 -0000 Received: from pD9E9434D.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.67.77) by mail.gmx.net (mp004) with SMTP; 09 Jan 2004 09:38:50 +0100 X-Authenticated: #109577 Message-ID: <3FFE689B.3020805@gmx.de> Date: Fri, 09 Jan 2004 09:38:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: gtkmm-list@gnome.org References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> In-Reply-To: <3FFD7243.3010206@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] How to make a selected row in a tree view highlighted Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I select a row with: m_tree_sel_ref->select(row); Can somebody throw light on this? The row is selected ( I can get the value ) but the selected row is not highlighted in the GUI. TIA, Andi From Murray.Cumming@Comneon.com Fri Jan 9 08:29:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C4F9F184F9 for ; Fri, 9 Jan 2004 08:29:31 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DPWDb020703 for ; Fri, 9 Jan 2004 14:25:32 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:29:49 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Fri, 9 Jan 2004 14:29:29 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] API documentation: aiming for 100% Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I added quite a lot of API documentation to the TreeView and TextView classes and associated classes, in gtkmm 2.4. For instance: http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/group__TreeView.html I think that 100% API documentation should be possible, and it's an easy way to help. Undocumented class methods are probably undocumented because - They are hand-coded because they use a different parameter order compared to the underlying C function. In this case you should look at the C docs and modify it accordingly. Look at the generated html of the C docs because not everything is in the .c files: http://www.gtk.org/api/ - They are _MEMBER_GET() or _MEMBER_SET() accessors for struct fields. These needs little "Get the something" descriptions if there is nothing else to say. All classes should also have documentation for the class itself. Again, you can usually rephrase the C documentation for these. If you run "make doxygen-warnings" in gtkmm/docs/reference/, it will generate a text file with warnings about undocumented methods and classes. I'm not sure how complete that will be, but it's a start. I think we can reach 100%. That would be good. Murray Cumming www.murrayc.com murrayc@usa.net From gcgg-gtkmm-list@m.gmane.org Fri Jan 9 08:30:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 34EF0185BB for ; Fri, 9 Jan 2004 08:30:32 -0500 (EST) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AewiY-0000Yu-00 for ; Fri, 09 Jan 2004 14:30:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AewX2-0000Oz-00 for ; Fri, 09 Jan 2004 14:18:32 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AewX2-00025F-00 for ; Fri, 09 Jan 2004 14:18:32 +0100 From: Mike Hearn Date: Fri, 09 Jan 2004 13:21:45 +0000 Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] PropertyProxies vs get/set? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I have a feeling this might be an FAQ, but hey, it's not actually in the FAQ so it must be OK to ask, right? :) I'd like to know why GTKmm apparently relegates PropertyProxies to a minor implementation detail, and favours accessor methods instead. Coming from a Delphi background, it seems natural to me to write code like this: tree.reorderable = true; rather than tree.set_reorderable(true); I wouldn't really mind get/setters if the propertyproxies were actually named after the properties and documented, but it seems that instead all the documentation is attached to the accessors instead and propertyproxies need a slightly ugly property_ prefix. I'm curious as to the reasoning behind this. I can understand having accessors for those who prefer them - matter of taste - but it seems these are the official GTKmm way and the ability to treat properties syntax-wise as variables isn't used. Why not? thanks -mike From christof@petig-baender.de Fri Jan 9 08:43:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id B9039181A4 for ; Fri, 9 Jan 2004 08:43:18 -0500 (EST) Received: (qmail 27828 invoked by uid 4225); 9 Jan 2004 13:43:17 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 09 Jan 2004 13:43:17 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aewux-0003UJ-00; Fri, 09 Jan 2004 14:43:15 +0100 Message-ID: <3FFEAFEB.1040703@petig-baender.de> Date: Fri, 09 Jan 2004 14:43:07 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list , gtk-devel-list@gnome.org References: <258B0164D480D5118D900800062B385801C226C4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C4@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: signals versus vfuncs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I see that Christof understands gtkmm internals very well. I'll be sending > relevant patch requests to him in future. I had to learn it the hard way to implement (and debug) a custom tree model :-/ . [An easy example with 3.5G virtual rows is at http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/manuproc/Komponenten/examples/owntreemodel.cc?rev=HEAD&content-type=text/plain ] Christof ----- more of interest to gtkmm-list ------- Do you still feel that a custom tree model is unnecessary? My feeling is that for _massive_ amounts of lines the C++ wrapper imposes too much overhead (vfunc indirection, iterator conversion etc. sum up once the [] operator on a Gtk::Tree::Row is used many times to access the columns). My std::map based model easily handles sorted insertion/reorganization of 100k rows into a tree without significant slowdown. PS: It seems that because of the Gtk::TreeModel::add_interface(get_type()); call during type creation I cannot use the Glib provided custom type infrastructure. [Try to leave it out ...] Perhaps it's worth fixing the need for it (IMHO deriving from Gtk::TreeModel should do the trick as well). But to judge or fix that I understand too few of the gtkmm type internals (still learning) and their proposed API. From Murray.Cumming@Comneon.com Fri Jan 9 08:46:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8CA73185E5 for ; Fri, 9 Jan 2004 08:46:44 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DgiDb016092; Fri, 9 Jan 2004 14:42:44 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:47:01 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: mike@theoretic.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] PropertyProxies vs get/set? Date: Fri, 9 Jan 2004 14:46:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm curious as to the reasoning behind this. I can understand > having accessors for those who prefer them - matter of taste > - but it seems these are the official GTKmm way and the > ability to treat properties syntax-wise as variables isn't > used. Why not? I would remove the property proxies, but they have one extra feature - they have a signal so you can monitor changes. Maybe sometime in the future we will think of a simpler type-safe way to offer this notification signal. The get and set methods can be thought of as convenience syntax (as they are in GTK+), but I do think that it is convenient, because the average C++ developer is very familiar with them. button.property_something() == 2; is strange and unusual to a lot of people, even if it's obvious to us. Feel free to document them - our tools/extra_defs_gen programs should be able to extract the properties documentation for reuse by gmmproc. That should not be difficult to implement. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Fri Jan 9 08:54:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ABD8B1818B; Fri, 9 Jan 2004 08:54:27 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DoRDb020358; Fri, 9 Jan 2004 14:50:27 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:54:44 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: christof@petig-baender.de Cc: gtkmm-list@gnome.org, gtk-devel-list@gnome.org Date: Fri, 9 Jan 2004 14:54:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Christof wrote: > Do you still feel that a custom tree model is unnecessary? My feeling is > that for _massive_ amounts of lines the C++ wrapper imposes too much > overhead (vfunc indirection, iterator conversion etc. sum up once the [] > operator on a Gtk::Tree::Row is used many times to access the columns). > > My std::map based model easily handles sorted insertion/reorganization > of 100k rows into a tree without significant slowdown. I would like to see some proof that it's faster in GTK+ when using normal TreeStores or ListStores. Such proof should be in bugzilla as a gtkmm performance bug. > PS: It seems that because of the > Gtk::TreeModel::add_interface(get_type()); call during type creation I > cannot use the Glib provided custom type infrastructure. I'm not sure what you want to do instead, or can't do. What "Glib provided custom type infrastructure" do you mean? API docs URLS are nicest. > [Try to leave > it out ...] Perhaps it's worth fixing the need for it (IMHO deriving > from Gtk::TreeModel should do the trick as well). But to judge or fix > that I understand too few of the gtkmm type internals (still learning) > and their proposed API. The problem, I think, is that the Gtype must come from the derived type, but you want that type to be registered in the base C++ class, whose constructor runs before the derived part of the class exists. I don't think the add_interface() call is too bad for something that is very rarely done. Murray Cumming www.murrayc.com murrayc@usa.net From christof@petig-baender.de Fri Jan 9 08:56:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id AF61C1872B for ; Fri, 9 Jan 2004 08:56:45 -0500 (EST) Received: (qmail 23017 invoked by uid 4225); 9 Jan 2004 13:56:44 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 13:56:44 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aex7y-0003WH-00; Fri, 09 Jan 2004 14:56:42 +0100 Message-ID: <3FFEB313.1010601@petig-baender.de> Date: Fri, 09 Jan 2004 14:56:35 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Go for it, even the 'official' _woody_backport_ of gtkmm2 already uses gcc 3.0. [Woody is what I would call a dinosaur system for gtk2] And 2.9x was never an option for me ever since I encountered the dynamic_cast bug (see SIGSEGV with glademm, gtk2 and gcc 2.95) about one year ago. Christof From mike@theoretic.com Fri Jan 9 09:04:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mail.gnome.org (Postfix) with ESMTP id 633AA18469 for ; Fri, 9 Jan 2004 09:04:02 -0500 (EST) Received: from [192.168.0.4] ([81.97.76.53]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040109140402.ROMH1005.mta06-svc.ntlworld.com@[192.168.0.4]>; Fri, 9 Jan 2004 14:04:02 +0000 Subject: RE: [gtkmm] PropertyProxies vs get/set? From: Mike Hearn To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1073657235.3120.5.camel@linux.littlegreen> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 09 Jan 2004 14:07:15 +0000 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 2004-01-09 at 13:46, Murray.Cumming@Comneon.com wrote: > button.property_something() == 2; > is strange and unusual to a lot of people, even if it's obvious to us. Really? It seems the most intuitive syntax to me, I hadn't realise some people found it wierd. I also hadn't realised these were functions. Why not simply have them as member variables that hold the proxies, so you can do "button.something = 2"? > Feel free to document them - our tools/extra_defs_gen programs should be > able to extract the properties documentation for reuse by gmmproc. That > should not be difficult to implement. Heh, well I noticed that often the GTKmm docs for properties in the get/set methods are often better than the plain GTK+ ones.... thanks -mike From Nick.Huxley@barclayscapital.com Fri Jan 9 09:14:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id 598C8187AC; Fri, 9 Jan 2004 09:14:41 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i09ECuof003751; Fri, 9 Jan 2004 09:12:56 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i09ECn67003690; Fri, 9 Jan 2004 09:12:49 -0500 (EST) Received: from NYKPSMEH001.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Fri, 9 Jan 2004 09:14:32 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by NYKPSMEH001.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Fri, 9 Jan 2004 09:14:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Date: Fri, 9 Jan 2004 09:14:31 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Thread-Index: AcPWuTQ4Z1Av0BT6RXSsty3Z3Ac7gwAARp5Q From: "Huxley, Nick: IT (NYK)" To: "Christof Petig" , Cc: , X-OriginalArrivalTime: 09 Jan 2004 14:14:32.0175 (UTC) FILETIME=[E6D907F0:01C3D6BA] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: http://gcc.gnu.org/releases.html Says it all really. 2.9 is 5 years old and sucks for C++. It's not that hard to install two gcc's on one machine for all those *BSD users who want to build gtkmm. At the end of the day gtkmm uses templates and you need a compiler that supports them properly. gcc 3.2 is over 18 months old and it's free. If people are developing they should know enough to install a compiler and all modern Linuces come with at leat gcc 3.2. Do we now the oldest version of gcc 3.x that will compile libsigc++? Nick -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Christof Petig Sent: Friday, January 09, 2004 8:57 AM To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org; libsigc-list@gnome.org Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Murray.Cumming@Comneon.com schrieb: > I'll ask this again, using the correct version number: >=20 > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we=20 > Libsigc++ use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Go for it, even the 'official' _woody_backport_ of gtkmm2 already uses=20 gcc 3.0. [Woody is what I would call a dinosaur system for gtk2] And=20 2.9x was never an option for me ever since I encountered the=20 dynamic_cast bug (see SIGSEGV with glademm, gtk2 and gcc 2.95) about one year ago. Christof _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ From christof@petig-baender.de Fri Jan 9 09:41:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 501A9185D8 for ; Fri, 9 Jan 2004 09:41:47 -0500 (EST) Received: (qmail 21264 invoked by uid 4225); 9 Jan 2004 14:41:45 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 14:41:45 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AexpX-0003c7-00; Fri, 09 Jan 2004 15:41:43 +0100 Message-ID: <3FFEBDA0.4020305@petig-baender.de> Date: Fri, 09 Jan 2004 15:41:36 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > Christof wrote: > >>Do you still feel that a custom tree model is unnecessary? My feeling is >>that for _massive_ amounts of lines the C++ wrapper imposes too much >>overhead (vfunc indirection, iterator conversion etc. sum up once the [] >>operator on a Gtk::Tree::Row is used many times to access the columns). >> >>My std::map based model easily handles sorted insertion/reorganization >>of 100k rows into a tree without significant slowdown. > > > I would like to see some proof that it's faster in GTK+ when using normal > TreeStores or ListStores. Such proof should be in bugzilla as a gtkmm > performance bug. I really have no intention to port a three additional library involving, heavily STL using _example_ program to C (custom smart pointers, custom GValue like with user defined sort order etc.). And to be honest, I really gave up to further research this issue once you told me so, back then. The implementation was using STL's lower_bound on Gtk::TreeStore and performed poorly, now with minimal changes and std::map it flies. Perhaps I might code an trivial example in C++ with Gtk::TreeModel vs. GtkTreeModel. If you _really_ want to analyze this. And if I ever find the time for it. Feel free to ask/confirm. >>PS: It seems that because of the >>Gtk::TreeModel::add_interface(get_type()); call during type creation I >>cannot use the Glib provided custom type infrastructure. > > > I'm not sure what you want to do instead, or can't do. What "Glib provided > custom type infrastructure" do you mean? API docs URLS are nicest. I did not find any API docs when I researched implementing Gtk::Interfaces. While I really like the easy Glib::ObjectBase(typeid(...)) way of getting a GType (e.g. custom cellrenderer), I have to use Glib::ObjectBase("MyTreeModel"), Glib::Object(Glib::ConstructParams(myclass.init(), (char*) 0)), create a custom Class struct: class MyTreeModel_Class : public Glib::Class {public: const Glib::Class& init(); static void class_init_function(void* g_class, void* class_data); }; a custom GTypeInfo and call g_type_register_static and Gtk::TreeModel::add_interface. IMHO it should be possible to just derive from some class (e.g. Gtk::CustomTreeModelBase) and override the vfuncs. Perhaps the key to this overhead is the fact that a TreeModel is not a GObject and there's no way to specify additional things to be done at GType registration "TreeModel::add_interface" (is there?). > The problem, I think, is that the Gtype must come from the derived type, but > you want that type to be registered in the base C++ class, whose constructor > runs before the derived part of the class exists. I don't think the > add_interface() call is too bad for something that is very rarely done. add_interface is ok with me. It's the bulk of lines needed to get a minimal custom TreeModel that bothers me. Christof From christof@petig-baender.de Fri Jan 9 09:48:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id 068A018567 for ; Fri, 9 Jan 2004 09:48:08 -0500 (EST) Received: (qmail 9107 invoked by uid 4225); 9 Jan 2004 14:48:06 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 09 Jan 2004 14:48:06 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aexvg-0003cy-00; Fri, 09 Jan 2004 15:48:04 +0100 Message-ID: <3FFEBF1D.5020403@petig-baender.de> Date: Fri, 09 Jan 2004 15:47:57 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: "Huxley, Nick: IT (NYK)" Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? References: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> In-Reply-To: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Huxley, Nick: IT (NYK) schrieb: > http://gcc.gnu.org/releases.html > > Says it all really. 2.9 is 5 years old and sucks for C++. It's not that > hard to install two gcc's on one machine for all those *BSD users who > want to build gtkmm. At the end of the day gtkmm uses templates and you > need a compiler that supports them properly. > > gcc 3.2 is over 18 months old and it's free. If people are developing > they should know enough to install a compiler and all modern Linuces > come with at leat gcc 3.2. Using binary incompatible compilers on one machine is a major pain. You have to make sure that each and every C++ library you want to use is compiled with the same compiler. So abandoning the compiler used to compile nearly any other library present on the system is not an easy choice. I simply wanted to say that nowadays g++-3.x-only systems are commonplace. Drop support for 2.9x, but don't tell people that switching to a binary incompatible compiler is a piece of cake. Christof From Murray.Cumming@Comneon.com Fri Jan 9 10:48:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 3BC4B18AFE for ; Fri, 9 Jan 2004 10:48:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09FiKDb016099; Fri, 9 Jan 2004 16:44:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 16:48:37 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: christof@petig-baender.de Cc: gtkmm-list@gnome.org Date: Fri, 9 Jan 2004 16:48:18 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > >>Do you still feel that a custom tree model is unnecessary? > My feeling > >>is > >>that for _massive_ amounts of lines the C++ wrapper imposes > too much > >>overhead (vfunc indirection, iterator conversion etc. sum > up once the [] > >>operator on a Gtk::Tree::Row is used many times to access > the columns). > >> > >>My std::map based model easily handles sorted > insertion/reorganization > >>of 100k rows into a tree without significant slowdown. > > > > > > I would like to see some proof that it's faster in GTK+ when using > > normal TreeStores or ListStores. Such proof should be in > bugzilla as a > > gtkmm performance bug. > > I really have no intention to port a three additional library > involving, > heavily STL using _example_ program to C (custom smart > pointers, custom > GValue like with user defined sort order etc.). I don't think a simple test case should be too difficult. But even if you don't put a test case in bugzilla, please report your suspicion to bugzilla and maybe someone else will test the theory with test cases. > And to be honest, I really gave up to further research this > issue once > you told me so, back then. The implementation was using STL's > lower_bound on Gtk::TreeStore and performed poorly, now with minimal > changes and std::map it flies. > > Perhaps I might code an trivial example in C++ with > Gtk::TreeModel vs. > GtkTreeModel. If you _really_ want to analyze this. I do. gtkmm should not require you to write a custom tree model to get better performance, unless GTK+ also requires it. And I won't try to solve such a problem until I know that such a problem exists. > And if I > ever find > the time for it. Feel free to ask/confirm. > > >>PS: It seems that because of the > >>Gtk::TreeModel::add_interface(get_type()); call during type > creation I > >>cannot use the Glib provided custom type infrastructure. > > > > > > I'm not sure what you want to do instead, or can't do. What "Glib > > provided custom type infrastructure" do you mean? API docs URLS are > > nicest. > > I did not find any API docs when I researched implementing > Gtk::Interfaces. > > While I really like the easy Glib::ObjectBase(typeid(...)) way of > getting a GType (e.g. custom cellrenderer), I have to use > Glib::ObjectBase("MyTreeModel"), > Glib::Object(Glib::ConstructParams(myclass.init(), (char*) > 0)), create a > custom Class struct: > > class MyTreeModel_Class : public Glib::Class > {public: > const Glib::Class& init(); > static void class_init_function(void* g_class, void* > class_data); }; > > a custom GTypeInfo > and call g_type_register_static and > Gtk::TreeModel::add_interface. IMHO > it should be possible to just derive from some class (e.g. > Gtk::CustomTreeModelBase) and override the vfuncs. OK, that's horrible. You should never have to create the GCLass yourself, or write those C callbacks. And I don't think we do that in our custom cellrenderer example. Please add your example code here: http://bugzilla.gnome.org/show_bug.cgi?id=124297 and I will try to get around to it later. > Perhaps the key to this overhead is the fact that a TreeModel > is not a > GObject and there's no way to specify additional things to be done at > GType registration "TreeModel::add_interface" (is there?). Yes, that might be relevant - Gtk::CellRenderer is a Gtk::Object already, but Gtk::TreeModel is just a Glib::Interface. > > The problem, I think, is that the Gtype must come from the derived > > type, but you want that type to be registered in the base > C++ class, > > whose constructor runs before the derived part of the class > exists. I > > don't think the > > add_interface() call is too bad for something that is very > rarely done. > > add_interface is ok with me. It's the bulk of lines needed to get a > minimal custom TreeModel that bothers me. Yes, that's surprising and horrible. I'll try to investigate before our 2.4 API freeze. However, as I said above, I don't think this should be necessary for performance. Murray Cumming www.murrayc.com murrayc@usa.net From christof@petig-baender.de Fri Jan 9 11:51:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 8913B18770 for ; Fri, 9 Jan 2004 11:51:10 -0500 (EST) Received: (qmail 14505 invoked by uid 4225); 9 Jan 2004 16:51:08 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 16:51:08 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aezqk-0003sW-00; Fri, 09 Jan 2004 17:51:06 +0100 Message-ID: <3FFEDBF2.9010704@petig-baender.de> Date: Fri, 09 Jan 2004 17:50:58 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I don't think a simple test case should be too difficult. But even if > you don't put a test case in bugzilla, please report your suspicion > to bugzilla and maybe someone else will test the theory with test > cases. http://bugzilla.gnome.org/show_bug.cgi?id=131019 >> Perhaps I might code an trivial example in C++ with Gtk::TreeModel >> vs. GtkTreeModel. If you _really_ want to analyze this. > > I do. gtkmm should not require you to write a custom tree model to > get better performance, unless GTK+ also requires it. And I won't try > to solve such a problem until I know that such a problem exists. > I'll give it a go. > OK, that's horrible. You should never have to create the GCLass > yourself, or write those C callbacks. And I don't think we do that in > our custom cellrenderer example. Please add your example code here: > http://bugzilla.gnome.org/show_bug.cgi?id=124297 and I will try to > get around to it later. done Christof From ghenriks@rogers.com Fri Jan 9 11:58:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by mail.gnome.org (Postfix) with ESMTP id 919581875D; Fri, 9 Jan 2004 11:58:48 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep01-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040109165633.UCPU23685.fep01-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Fri, 9 Jan 2004 11:56:33 -0500 From: Gerald Henriksen To: Cc: Subject: Re: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Date: Fri, 09 Jan 2004 11:58:51 -0500 Message-ID: References: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> In-Reply-To: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Fri, 9 Jan 2004 11:56:33 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 9 Jan 2004 09:14:31 -0500, you wrote: >Do we now the oldest version of gcc 3.x that will compile libsigc++? gcc 3.2 or better should be sufficient as there was a binary incompatibility introduced with the move from gcc 3.1 to gcc 3.2 From gene@erachampion.com Fri Jan 9 12:31:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 0455B1874B for ; Fri, 9 Jan 2004 12:31:24 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i09HfFG13436 for gtkmm-list@gnome.org; Fri, 9 Jan 2004 09:41:15 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Fri, 9 Jan 2004 09:41:14 -0800 Message-ID: <1073670074.3ffee7bab23a2@realtyroad.com> Date: Fri, 9 Jan 2004 09:41:14 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, > > >is there a way to connect the signal handler > > > B::something_in_B_selected() to A::update_values_in_A()? > > > class A : public Gtk::VBox > > > class B : public Gtk::VBox > > Here's an example (someone can step in and tell me if this is the > > preferred way of doing things): > > B::something_in_B_selected() to A::update_values_in_A()? > > class A : public Gtk::VBox > > class B : public Gtk::VBox > > // Example given here > > The key is to pass a MainWindow pointer to the MainMenu constructor. > > You can then use this pointer to MainWindow to connect your signals > > to any signal handler in MainWindow. I've declared MainMenu to be > > a friend of MainWindow in order to allow access to the protected > > signal handlers. > > If anyone has a better way of doing this, please speak up. =) > I CAN'T MAKE THE LETTERS ANY BIGGER; but ... > If the goal is just to get your program working, this is as good > a way as any - but it defeats the whole purpose of classes. > One way would be - > Provide class A with a register() interface function so > that if an event in B occurs, it is left to A to decide upon > the necessary action - maybe postpone it! The main thing is > to act through interfaces so that instances don't become classes! > e.g. > class A > { > typedef enum { E1, E2, E3 } ACTION; > class_B b; > void register( ACTION now ) { if( can_do_it( now ) ) do_it(); } > } Can you elaborate (or point me to some online resources) on how this register() interface function works. In the example above, is the register() function in class A acting as a signal handler for a signal emitted in class B, thus resulting in a connection as follows? b.some_signal().connect( SigC::slot(*this, &A::register) ); If this is the case, what about when class A and class B are two separate classes (ie. class_A does not encapsulate class_B). Can you still use the register method above, or at that point, is the most logical approach to use multiple inheritance to make class_C which inherits from both class_A and class_B? I always thought that passing pointers (as in the original example) was not the best way of doing things. > Hope this is useful. Yes, it is very useful. Thank You for your help! Sorry for all the questions. I'm fairly new to gtkmm and GUI programming in C++ in general. -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From Sarah.Leitner@ngc.com Fri Jan 9 13:10:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from xcgtx812.ngxcgtxr1.com (xcgtx812.northgrum.com [208.20.220.60]) by mail.gnome.org (Postfix) with ESMTP id CF1CC185EA for ; Fri, 9 Jan 2004 13:10:26 -0500 (EST) Received: by xcgtx812.northgrum.com with Internet Mail Service (5.5.2656.59) id ; Fri, 9 Jan 2004 10:10:16 -0800 Message-ID: <727B82C682D8E8409BD807B361874F410147EB6E@xcgmd050.northgrum.com> From: "Leitner, Sarah" To: "'gtkmm-list@gnome.org'" Date: Fri, 9 Jan 2004 10:10:01 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain Subject: [gtkmm] losing signals Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've got a GUI that I will be using several places in the code, so I decided to make it into a class and called it daemonGUI. So the code that is using it (I called in the stub) inherits from it. So, all the GUI code is in daemonGUI, and all the file opening, closing, etc, is in the stub. So far, it all works, EXCEPT that I am losing all the signals. They aren't working automatically. Anyone have any ideas? Thanks! Sarah From cjnygard@fast.net Fri Jan 9 14:50:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from newmx3.fast.net (newmx3.fast.net [209.92.1.33]) by mail.gnome.org (Postfix) with SMTP id C4E651817F for ; Fri, 9 Jan 2004 14:50:28 -0500 (EST) Received: (qmail 624 invoked from network); 9 Jan 2004 19:50:27 -0000 Received: from unknown (HELO ?192.168.1.19?) ([209.92.60.87]) (envelope-sender ) by newmx3.fast.net (qmail-ldap-1.03) with SMTP for ; 9 Jan 2004 19:50:27 -0000 From: Carl Nygard To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1073649030.25100.47.camel@traveler> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 09 Jan 2004 06:50:30 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Probably a stupid Gtk+ question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Like I said, this is probably stupid. I've had this question rattling around in my skull for a while, and instead of actually researching it, I'm taking the easy way out and just asking: If Gtk+ is built on an object model, why did those folks go to such (rumored to be) herculean lengths to build one in C, instead of just using C++? I can think perhaps language bindings had something to do, but the only problem that jumps out there would be scheme/lisp binding. Perl/python/ruby are already OO themselves. I'm sure theres a good reason, just curious... and not looking to start a language war. From ssalter@sympatico.ca Fri Jan 9 15:14:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tomts13-srv.bellnexxia.net (tomts13-srv.bellnexxia.net [209.226.175.34]) by mail.gnome.org (Postfix) with ESMTP id 9AB8618BC2 for ; Fri, 9 Jan 2004 15:14:03 -0500 (EST) Received: from [192.168.1.103] ([65.93.92.119]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040109201402.DBEE23150.tomts13-srv.bellnexxia.net@[192.168.1.103]> for ; Fri, 9 Jan 2004 15:14:02 -0500 From: Steven Salter Reply-To: ssalter@sympatico.ca To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Salter Programming Services Message-Id: <1073678905.28724.551.camel@zeus.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 09 Jan 2004 15:08:25 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Compilation problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I get the following error when trying to compile gtkmm 2.2.8: g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -MT convert.lo -MD -MP -MF .deps/convert.Tpo -c convert.cc -fPIC -DPIC -o .libs/convert.o In file included from ../../glib/glibmm/exception.h:25, from ../../glib/glibmm/error.h:28, from ../../glib/glibmm/convert.h:29, from convert.cc:3: ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:548: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:554: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:560: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:566: error: within this context make[5]: *** [convert.lo] Error 1 The compiler: gcc -v Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc version 3.3 20030226 (prerelease) (SuSE Linux) Any suggestions or requests for further information gratefully received. Steve From paul@linuxaudiosystems.com Fri Jan 9 16:41:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mail.gnome.org (Postfix) with ESMTP id CE368189AF for ; Fri, 9 Jan 2004 16:41:05 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040109214102.YEBX18505.out010.verizon.net@dhin.linuxaudiosystems.com>; Fri, 9 Jan 2004 15:41:02 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i09Lf2gG002453; Fri, 9 Jan 2004 16:41:02 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i09Lf2Qb002449; Fri, 9 Jan 2004 16:41:02 -0500 Message-Id: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> To: Carl Nygard Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question In-reply-to: Your message of "Fri, 09 Jan 2004 06:50:30 EST." <1073649030.25100.47.camel@traveler> Date: Fri, 09 Jan 2004 16:41:02 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [141.151.15.227] at Fri, 9 Jan 2004 15:41:02 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >If Gtk+ is built on an object model, why did those folks go to such >(rumored to be) herculean lengths to build one in C, instead of just >using C++? I can think perhaps language bindings had something to do, a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is to all effects and purposes so hard as to be impractical. when you add in the instability of the C++ ABI, even if you loved C++, its a pretty clear choice. --p From julian@jabber.org Fri Jan 9 16:48:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 7B7F818675 for ; Fri, 9 Jan 2004 16:48:31 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id E546F6C2F1; Fri, 9 Jan 2004 15:48:30 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02019-04; Fri, 9 Jan 2004 15:48:30 -0600 (CST) Received: from [192.168.0.194] (pcp05178369pcs.swedsb01.nj.comcast.net [68.46.15.3]) by mail.aspect.net (Postfix) with ESMTP id 3E1996B9A4; Fri, 9 Jan 2004 15:48:27 -0600 (CST) In-Reply-To: <1073649030.25100.47.camel@traveler> References: <1073649030.25100.47.camel@traveler> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8CB79196-42ED-11D8-B13E-000393B4C928@jabber.org> Content-Transfer-Encoding: 7bit Cc: gtkmm-list@gnome.org From: Julian Missig Subject: Re: [gtkmm] Probably a stupid Gtk+ question Date: Fri, 9 Jan 2004 16:48:24 -0500 To: Carl Nygard X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 9 Jan, 2004, at 6:50, Carl Nygard wrote: > > > Like I said, this is probably stupid. I've had this question rattling > around in my skull for a while, and instead of actually researching it, > I'm taking the easy way out and just asking: > > If Gtk+ is built on an object model, why did those folks go to such > (rumored to be) herculean lengths to build one in C, instead of just > using C++? I can think perhaps language bindings had something to do, > but the only problem that jumps out there would be scheme/lisp binding. > Perl/python/ruby are already OO themselves. > > I'm sure theres a good reason, just curious... and not looking to start > a language war. C++ has a history of particularly poor support on Linux. C has been the favored language for development on Linux for a long time. g++ had poor support for STL and has always been rather slow to compile C++. Not to mention the fact that ABI compatibility was broken with every g++ release and that different architectures supported different parts of STL! So basically, when Gtk+ started, C++ was a rather poor choice if you wanted to build a well-supported cross-architecture library. And yes, language bindings are another part of the argument. Supposedly it's much easier to make language bindings to various other languages if the core library is in C than if it were in C++. Also, a lot of the Gtk+ and/or Gnome developers feel that C++ is a crummy language and it makes more sense to build the OO features they need into C. Or something like that. Julian From gtkmm-forge-admin@lists.sourceforge.net Fri Jan 9 23:04:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 38E67183D4 for ; Fri, 9 Jan 2004 23:04:22 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AfAMH-0004yV-7p for gtkmm-list@gnome.org; Fri, 09 Jan 2004 20:04:21 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AfAMH-0007fw-2H for gtkmm-list@gnome.org; Fri, 09 Jan 2004 20:04:21 -0800 Date: Fri, 09 Jan 2004 20:01:57 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #593 - 5 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 2. [Bug 131019] New - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 3. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 4. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 5. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Fri, 9 Jan 2004 11:06:46 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by christof@petig-baender.de. --- shadow/124297 Fri Oct 10 11:07:25 2003 +++ shadow/124297.tmp.22337 Fri Jan 9 11:06:46 2004 @@ -14,6 +14,11 @@ URL: Summary: Need a custom TreeModel example Some people have managed to implement custom Gtk::TreeModels, but they seem to be using strange hacky techniques. It needs to register a GType, but that should be similar to the custom cell renderer. + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:06 ------- +Created an attachment (id=23167) +Feel free to simplify the GObject related stuff + --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:15:16 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] New - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:15:16 2004 +++ shadow/131019.tmp.28018 Fri Jan 9 11:15:16 2004 @@ -0,0 +1,24 @@ +Bug#: 131019 +Product: gtkmm +Version: 2.2 +OS: Linux +OS Details: +Status: NEW +Resolution: +Severity: enhancement +Priority: Normal +Component: TreeView +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: christof@petig-baender.de +TargetMilestone: --- +URL: +Summary: TreeStore has no decent performance on massive inserts + +As reported by several people on the net there seems to be a performance +problem with Gtk::TreeStore insertions. + +I personally have seen more than 30seconds for inserting 10k lines when +generating a tree out of a linear multi-columned list. My std::map based +custom model manages 100k in less than 2 seconds (300MHz G3 powerpc). + +I'm going to simplify my example down to one file. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:37:02 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:15:16 2004 +++ shadow/131019.tmp.9200 Fri Jan 9 11:37:02 2004 @@ -19,6 +19,11 @@ I personally have seen more than 30seconds for inserting 10k lines when generating a tree out of a linear multi-columned list. My std::map based custom model manages 100k in less than 2 seconds (300MHz G3 powerpc). I'm going to simplify my example down to one file. + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:37 ------- +Created an attachment (id=23168) +reported at http://mail.gnome.org/archives/gtk-list/2003-March/msg00361.html + --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:48:12 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:37:02 2004 +++ shadow/131019.tmp.17553 Fri Jan 9 11:48:12 2004 @@ -24,6 +24,14 @@ I'm going to simplify my example down to one file. ------- Additional Comments From christof@petig-baender.de 2004-01-09 11:37 ------- Created an attachment (id=23168) reported at http://mail.gnome.org/archives/gtk-list/2003-March/msg00361.html + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:48 ------- +See also the mailing list thread at +http://mail.gnome.org/archives/gtkmm-list/2003-October/msg00090.html + +[I admit that I do no longer remember the exect timings but it was +simply too much and more O(N^2+) than O(N logN).] + --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Fri, 9 Jan 2004 12:23:25 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Wed Jan 7 14:45:38 2004 +++ shadow/129210.tmp.5563 Fri Jan 9 12:23:25 2004 @@ -215,6 +215,22 @@ Well, that's a lot of babbling. :-> I guess it could all be summarized with this: Go ahead and require modern C++ features, but try to catch support for them up front with autoconf. + +------- Additional Comments From murrayc@usa.net 2004-01-09 12:23 ------- +> if there was NNTP interface available, I'd use it + +Apparently these people have a newsgroup gateway: +http://marc.theaimsgroup.com/?l=gtkmm&r=1&w=2#gtkmm + +Thanks. So, you seem to need gcc 2.9* becuase your need it to build +your kernel. Other mainstream distros don't have this problem - I +guess that they either use 2 compilers or they can compile the kernel +and user space apps with the same compiler. So I believe that it is +not a real problem. Of course, I also believe that linuxfromscratch +people actually enjoy having these problems. + +So, I guess we'll drop the gcc 2.9* support. But thanks for showing us +that we needed to think about it. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From ghenriks@rogers.com Fri Jan 9 23:48:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep04-mail.bloor.is.net.cable.rogers.com (fep04-mail.bloor.is.net.cable.rogers.com [66.185.86.74]) by mail.gnome.org (Postfix) with ESMTP id B19D218BD8 for ; Fri, 9 Jan 2004 23:48:14 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep04-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040110044542.UWXZ430912.fep04-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com> for ; Fri, 9 Jan 2004 23:45:42 -0500 From: Gerald Henriksen To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question Date: Fri, 09 Jan 2004 23:48:23 -0500 Message-ID: References: <1073649030.25100.47.camel@traveler> In-Reply-To: <1073649030.25100.47.camel@traveler> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep04-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Fri, 9 Jan 2004 23:45:42 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 09 Jan 2004 06:50:30 -0500, you wrote: >If Gtk+ is built on an object model, why did those folks go to such >(rumored to be) herculean lengths to build one in C, instead of just >using C++? I can think perhaps language bindings had something to do, Gtk+ is quite old and C++ compiler support back then was a nightmare as each compiler vendor implemented different parts of the standard at any given time. Thus any cross-platform code in C++ quickly either became a mess of compiler specific code or you had to code to a very poor lowest common denominator version of C++. C++ compilers also had a reputation for producing bloated, slow code compared to C. It is only recently that all the major compilers have finally come close to fully implementing the C++ standard, and the peformance issues have disappeared. The other major reason is that many open source programmers first pick up C and never move beyond it. It is typically much easier to pick up procedural programming, and easier to site down and start coding without doing any planning. From billyoc@gnuyork.org Sat Jan 10 00:18:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 0E57518444 for ; Sat, 10 Jan 2004 00:18:03 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AfBTM-0007nV-KV; Sat, 10 Jan 2004 00:15:44 -0500 To: Gerald Henriksen Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <1073649030.25100.47.camel@traveler> From: Billy O'Connor Date: Sat, 10 Jan 2004 00:15:44 -0500 In-Reply-To: (Gerald Henriksen's message of "Fri, 09 Jan 2004 23:48:23 -0500") Message-ID: <87d69s4c5b.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Gerald Henriksen writes: > On Fri, 09 Jan 2004 06:50:30 -0500, you wrote: > >>If Gtk+ is built on an object model, why did those folks go to such >>(rumored to be) herculean lengths to build one in C, instead of just >>using C++? I can think perhaps language bindings had something to do, > > Gtk+ is quite old and C++ compiler support back then was a nightmare > as each compiler vendor implemented different parts of the standard at > any given time. Thus any cross-platform code in C++ quickly either > became a mess of compiler specific code or you had to code to a very > poor lowest common denominator version of C++. C++ compilers also had > a reputation for producing bloated, slow code compared to C. > > It is only recently that all the major compilers have finally come > close to fully implementing the C++ standard, and the peformance > issues have disappeared. > > The other major reason is that many open source programmers first pick > up C and never move beyond it. It is typically much easier to pick up > procedural programming, and easier to site down and start coding > without doing any planning. And the number 1 reason Gtk+ is written in C(drumroll)... It's UNIX, for God's sake! :) From Murray.Cumming@Comneon.com Sat Jan 10 02:36:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6F75718200 for ; Sat, 10 Jan 2004 02:36:51 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0A7WoDb022399; Sat, 10 Jan 2004 08:32:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Sat, 10 Jan 2004 08:37:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22705@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Compilation problem Date: Sat, 10 Jan 2004 08:36:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: SUSE shipped an unofficial version of gcc, and it's broken. Apparently they have an update. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Steven Salter > Sent: Freitag, 9. Januar 2004 21:08 > To: gtkmm-list@gnome.org > Subject: [gtkmm] Compilation problem > > > I get the following error when trying to compile gtkmm 2.2.8: > > g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION > -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED > -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED > -I../../glib -I../../glib -I../../pango -I../../pango > -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk > -I../../gtk -I/usr/local/lib/sigc++-1.2/include > -I/usr/local/include/sigc++-1.2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -g -O2 -Wall -MT convert.lo -MD > -MP -MF .deps/convert.Tpo -c convert.cc > -fPIC -DPIC -o .libs/convert.o > In file included from ../../glib/glibmm/exception.h:25, > from ../../glib/glibmm/error.h:28, > from ../../glib/glibmm/convert.h:29, > from convert.cc:3: > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:548: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:554: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:560: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:566: error: within this context > make[5]: *** [convert.lo] Error 1 > > The compiler: > > gcc -v > Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs > Configured with: ../configure --enable-threads=posix > --prefix=/usr --with-local-prefix=/usr/local > --infodir=/usr/share/info --mandir=/usr/share/man > --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada > --disable-checking --enable-libgcj > --with-gxx-include-dir=/usr/include/g++ > --with-slibdir=/lib --with-system-zlib --enable-shared > --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc > version 3.3 20030226 (prerelease) (SuSE Linux) > > Any suggestions or requests for further information > gratefully received. > > Steve > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From abt@gmx.de Sat Jan 10 04:21:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7895A18CB1 for ; Sat, 10 Jan 2004 04:21:17 -0500 (EST) Received: (qmail 4487 invoked by uid 65534); 10 Jan 2004 09:21:13 -0000 Received: from dialin-212-144-078-225.arcor-ip.net (EHLO gmx.de) (212.144.78.225) by mail.gmx.net (mp021) with SMTP; 10 Jan 2004 10:21:13 +0100 X-Authenticated: #109577 Message-ID: <3FFFC3FE.10206@gmx.de> Date: Sat, 10 Jan 2004 10:21:02 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: Re: [gtkmm] Compilation problem References: <258B0164D480D5118D900800062B385801C22705@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > SUSE shipped an unofficial version of gcc, and it's broken. Apparently they > have an update. Go for SuSE Linux 9.0 or download the new rmp package gcc from www.suse.de Andi From njh@hawthorn.csse.monash.edu.au Fri Jan 9 19:36:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail015.syd.optusnet.com.au (mail015.syd.optusnet.com.au [211.29.132.161]) by mail.gnome.org (Postfix) with ESMTP id D287818758 for ; Fri, 9 Jan 2004 19:36:27 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail015.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0A0aHO05157; Sat, 10 Jan 2004 11:36:18 +1100 Message-ID: <3FFF4900.5010200@hawthorn.csse.monash.edu.au> Date: Sat, 10 Jan 2004 11:36:16 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Paul Davis Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> In-Reply-To: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Paul Davis wrote: >>If Gtk+ is built on an object model, why did those folks go to such >>(rumored to be) herculean lengths to build one in C, instead of just >>using C++? I can think perhaps language bindings had something to do, >> >> > >a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >to all effects and purposes so hard as to be impractical. when you add >in the instability of the C++ ABI, even if you loved C++, its a pretty >clear choice. > This is not particularly true. I've written python interfaces to pure C++ libraries without trauma. I don't think even FuzzyBaseClass isn't the problem that people claim it is. njh From m.barinskis@apollo.lv Sat Jan 10 09:16:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.apollo.lv (smtp1.apollo.lv [80.232.168.211]) by mail.gnome.org (Postfix) with ESMTP id E0094181A2 for ; Sat, 10 Jan 2004 09:16:49 -0500 (EST) Received: from [81.198.145.45] (HELO apollo.lv) by smtp1.apollo.lv (CommuniGate Pro SMTP 4.1) with ESMTP id 4960642 for gtkmm-list@gnome.org; Sat, 10 Jan 2004 16:09:48 +0200 Message-ID: <4000097B.5000608@apollo.lv> Date: Sat, 10 Jan 2004 16:17:31 +0200 From: Martins Barinskis User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040105 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] 'GLIBMM_CHECK_PERL(5.6.0)' configure error Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've already successfully installed the glibmm and libsigc++ but now, compiling a fresh cvs copy of gtkmm after invoking ./autogen.sh, the configure script fails with error: ./configure: line 8021: syntax error near unexpected token `5.6.0' ./configure: line 8021: `GLIBMM_CHECK_PERL(5.6.0)' According to error text, there's something to do with perl: perl -v This is perl, v5.8.0 built for i486-linux Yes, i've got Perl 5.8.0 (I'm using Slackware 9.1, btw). Does gtkmm need _exactly_ perl 5.6.0, not _at least_ perl 5.6.0? Or maybe i've glibmm compiled incorrectly (./autogen.sh --prefix=/usr/devgnome2 , all paths and ld.so.conf are updateded accordingly) ? Thanks in advance, Martins. From paul@linuxaudiosystems.com Sat Jan 10 11:44:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mail.gnome.org (Postfix) with ESMTP id 18F431875A for ; Sat, 10 Jan 2004 11:44:41 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040110164438.XJY38.out012.verizon.net@dhin.linuxaudiosystems.com>; Sat, 10 Jan 2004 10:44:38 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0AGibgG003808; Sat, 10 Jan 2004 11:44:37 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i0AGibcW003804; Sat, 10 Jan 2004 11:44:37 -0500 Message-Id: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> To: Nathan Hurst Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question In-reply-to: Your message of "Sat, 10 Jan 2004 11:36:16 +1100." <3FFF4900.5010200@hawthorn.csse.monash.edu.au> Date: Sat, 10 Jan 2004 11:44:37 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [141.151.15.227] at Sat, 10 Jan 2004 10:44:38 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >>a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >>to all effects and purposes so hard as to be impractical. when you add >>in the instability of the C++ ABI, even if you loved C++, its a pretty >>clear choice. >> >This is not particularly true. I've written python interfaces to pure >C++ libraries without trauma. I don't think even FuzzyBaseClass isn't >the problem that people claim it is. you either to have export "extern C" static functions, or you have to know how names are mangled. you can't call a C++ function unless one of those two things has been done. either one of them is pretty problematic. --p From js8582003@yahoo.com Sat Jan 10 13:41:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60910.mail.yahoo.com (web60910.mail.yahoo.com [216.155.196.86]) by mail.gnome.org (Postfix) with SMTP id 58A251876F for ; Sat, 10 Jan 2004 13:41:45 -0500 (EST) Message-ID: <20040110184141.67996.qmail@web60910.mail.yahoo.com> Received: from [65.33.238.55] by web60910.mail.yahoo.com via HTTP; Sat, 10 Jan 2004 10:41:41 PST Date: Sat, 10 Jan 2004 10:41:41 -0800 (PST) From: Jerry Stahl To: Gtkmm list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] IPC between Gtkmm objects Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, As part of a larger application, I currently have a Gtkmm 2.2 "main" display dialog that uses my .bashrc file to launch it after the GNOME desktop is loaded. I intend to use this main display to show time from an external source, the currently logged in user and group the user belongs to. I would like to use a separately launched dialog to be able to change the user at any time for the purposes of controlling allowed operations. Initially, it seems that the best approach is to have the main display, login dialog and time source all running their own process ID. I need to have execution of the main display to be non-blocking since I would like to have no interruption of the time display when the user name updates. I'm not an IPC expert but have thought about using signals for this application. Does anyone know if the Gtkmm libraries have any IPC APIs or if there is any other better way to handle the needed IPC calls between PIDs. Any help on this would be appreciated. Thanks in advance, Jerry Stahl __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From billyoc@gnuyork.org Sat Jan 10 14:05:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 22A8A1849B for ; Sat, 10 Jan 2004 14:05:30 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AfOO5-0007K2-Co; Sat, 10 Jan 2004 14:03:09 -0500 To: Jerry Stahl Cc: Gtkmm list Subject: Re: [gtkmm] IPC between Gtkmm objects References: <20040110184141.67996.qmail@web60910.mail.yahoo.com> From: Billy O'Connor Date: Sat, 10 Jan 2004 14:03:09 -0500 In-Reply-To: <20040110184141.67996.qmail@web60910.mail.yahoo.com> (Jerry Stahl's message of "Sat, 10 Jan 2004 10:41:41 -0800 (PST)") Message-ID: <877jzzk4nm.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Jerry Stahl writes: > updates. I'm not an IPC expert but have thought about > using signals for this application. Does anyone know > if the Gtkmm libraries have any IPC APIs or if there > is > any other better way to handle the needed IPC calls > between PIDs. Any help on this would be appreciated. Check out dbus. From chris@cvine.freeserve.co.uk Sat Jan 10 17:13:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailm5.svr.pol.co.uk (cmailm5.svr.pol.co.uk [195.92.193.21]) by mail.gnome.org (Postfix) with ESMTP id 31B63183F9 for ; Sat, 10 Jan 2004 17:13:37 -0500 (EST) Received: from modem-1925.jaguar.dialup.pol.co.uk ([81.76.183.133] helo=boulder.localdomain) by cmailm5.svr.pol.co.uk with esmtp (Exim 4.14) id 1AfRM2-00071o-0V; Sat, 10 Jan 2004 22:13:14 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0AMDZot011725; Sat, 10 Jan 2004 22:13:35 GMT From: Chris Vine To: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: Re: [gtkmm] Compilation problem Date: Sat, 10 Jan 2004 22:13:34 +0000 User-Agent: KMail/1.5.4 References: <1073678905.28724.551.camel@zeus.local> In-Reply-To: <1073678905.28724.551.camel@zeus.local> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200401102213.34958.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Friday 09 January 2004 8:08 pm, Steven Salter wrote: > I get the following error when trying to compile gtkmm 2.2.8: [snip] You are using a pre-release of gcc 3.3. Try getting a stable release of either gcc-3.2 or gcc-3.3 (I think I recall seeing similar reports from others using the Suse pre-release you are using). Chris. From ssalter@sympatico.ca Sat Jan 10 20:32:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tomts36-srv.bellnexxia.net (tomts36-srv.bellnexxia.net [209.226.175.93]) by mail.gnome.org (Postfix) with ESMTP id AF21218566 for ; Sat, 10 Jan 2004 20:32:30 -0500 (EST) Received: from [192.168.1.103] ([65.93.71.21]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040111013226.RRHP11804.tomts36-srv.bellnexxia.net@[192.168.1.103]> for ; Sat, 10 Jan 2004 20:32:26 -0500 Subject: Re: [gtkmm] Compilation problem From: Steven Salter Reply-To: ssalter@sympatico.ca To: gtkmm-list@gnome.org In-Reply-To: <200401102213.34958.chris@cvine.freeserve.co.uk> References: <1073678905.28724.551.camel@zeus.local> <200401102213.34958.chris@cvine.freeserve.co.uk> Content-Type: text/plain Organization: Salter Programming Services Message-Id: <1073784399.2169.558.camel@zeus.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 10 Jan 2004 20:26:48 -0500 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sat, 2004-01-10 at 17:13, Chris Vine wrote: > On Friday 09 January 2004 8:08 pm, Steven Salter wrote: > > I get the following error when trying to compile gtkmm 2.2.8: > > [snip] > > You are using a pre-release of gcc 3.3. Try getting a stable release of > either gcc-3.2 or gcc-3.3 (I think I recall seeing similar reports from > others using the Suse pre-release you are using). Yes, that solved the problem. Thanks to Murray, Andi and Chris. Steve From gcgg-gtkmm-list@m.gmane.org Sun Jan 11 07:56:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 54A6D18154 for ; Sun, 11 Jan 2004 07:56:52 -0500 (EST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aff99-0007SQ-00 for ; Sun, 11 Jan 2004 13:56:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aff98-0007SI-00 for ; Sun, 11 Jan 2004 13:56:50 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aff97-0000Zi-00 for ; Sun, 11 Jan 2004 13:56:49 +0100 From: Mike Hearn Date: Sun, 11 Jan 2004 13:00:08 +0000 Lines: 13 Message-ID: References: <727B82C682D8E8409BD807B361874F410147EB6E@xcgmd050.northgrum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] Re: losing signals Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 09 Jan 2004 10:10:01 -0800, Leitner, Sarah wrote: > I've got a GUI that I will be using several places in the code, so I decided > to make it into a class and called it daemonGUI. So the code that is using > it (I called in the stub) inherits from it. So, all the GUI code is in > daemonGUI, and all the file opening, closing, etc, is in the stub. So far, > it all works, EXCEPT that I am losing all the signals. They aren't working > automatically. Anyone have any ideas? Thanks! I think you'd have to explain what exactly is going wrong a bit better. I'm having a hard time understanding the problem. When you say you are "losing" the signals, does that mean you are connecting them without error but the signal handlers are never invoked? From abt@gmx.de Sun Jan 11 11:00:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id B3889184F7 for ; Sun, 11 Jan 2004 11:00:41 -0500 (EST) Received: (qmail 29999 invoked by uid 65534); 11 Jan 2004 16:00:38 -0000 Received: from pD9E95095.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.80.149) by mail.gmx.net (mp009) with SMTP; 11 Jan 2004 17:00:38 +0100 X-Authenticated: #109577 Message-ID: <40017327.4080505@gmx.de> Date: Sun, 11 Jan 2004 17:00:39 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a selected row in a tree view highlighted References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> <3FFE689B.3020805@gmx.de> In-Reply-To: <3FFE689B.3020805@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I have not found the solution yet. No idea, someone? TIA, Andi > I select a row with: > m_tree_sel_ref->select(row); > > Can somebody throw light on this? The row > is selected ( I can get the value ) but > the selected row is not highlighted in the GUI. From njh@hawthorn.csse.monash.edu.au Sat Jan 10 17:46:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail007.syd.optusnet.com.au (mail007.syd.optusnet.com.au [211.29.132.55]) by mail.gnome.org (Postfix) with ESMTP id 11DA8181B9 for ; Sat, 10 Jan 2004 17:46:00 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail007.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0AMjlH26504; Sun, 11 Jan 2004 09:45:47 +1100 Message-ID: <4000809A.5090700@hawthorn.csse.monash.edu.au> Date: Sun, 11 Jan 2004 09:45:46 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Paul Davis Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> In-Reply-To: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Paul Davis wrote: >>>a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >>>to all effects and purposes so hard as to be impractical. when you add >>>in the instability of the C++ ABI, even if you loved C++, its a pretty >>>clear choice. >>> >>> >>> >>This is not particularly true. I've written python interfaces to pure >>C++ libraries without trauma. I don't think even FuzzyBaseClass isn't >>the problem that people claim it is. >> >> > >you either to have export "extern C" static functions, or you have to >know how names are mangled. you can't call a C++ function unless >one of those two things has been done. either one of them is pretty >problematic. > Sure, but that's no worse than having to call functions things like gtk_window_new() Your main implementation can still be done in a clear and simple manner. The interface could even be automatically generated. njh From arvind@acarlab.com Sun Jan 11 18:02:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.96.162]) by mail.gnome.org (Postfix) with SMTP id 9A6FE189A3 for ; Sun, 11 Jan 2004 18:02:01 -0500 (EST) Received: (qmail 8657 invoked by uid 1000); 11 Jan 2004 23:01:10 -0000 Date: Mon, 12 Jan 2004 04:31:09 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Cc: js8582003@yahoo.com Subject: [gtkmm] IPC between Gtkmm objects Message-ID: <20040111230109.GA8645@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, On Sat, 10 Jan 2004 Jerry Stahl wrote : > As part of a larger application, I currently have a > Gtkmm 2.2 "main" display dialog that uses my .bashrc > > Does anyone know if the Gtkmm libraries have any IPC > APIs or if there is any other better way to handle > the needed IPC calls between PIDs. Being in land of limited bit-rates and scarce CD-images I'm not sure if bleeding-edge Gtkmm has preserved its links with the out-of-date gtkmm-1.2.8; but gtkmm-1.2 has the Gtk::Plug and Gtk::Socket, which together with the standard IPC socket ( a STREAMS pipe would have been generally easier, but linux doesn't seem to favour it too much ) is probably what you are looking for. You will find such an implementation in the 'qtstu' app. from http://www.acarlab.com in which a device specific extensions ( for the philips web-cam ) are packaged into a seperate process gtkmm- window but realized in the main app window. - arvind From gtkmm-forge-admin@lists.sourceforge.net Sun Jan 11 23:04:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 7130E182D9 for ; Sun, 11 Jan 2004 23:04:08 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AftJ8-00049w-Nd for gtkmm-list@gnome.org; Sun, 11 Jan 2004 20:04:06 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AftJ8-0004tF-KH for gtkmm-list@gnome.org; Sun, 11 Jan 2004 20:04:06 -0800 Date: Sun, 11 Jan 2004 20:01:55 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #594 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 2. [Bug 131172] New - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) 3. [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Sun, 11 Jan 2004 13:41:34 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Mon Jan 5 10:22:31 2004 +++ shadow/129846.tmp.9726 Sun Jan 11 13:41:34 2004 @@ -58,6 +58,10 @@ This works with the normal gnomemm/libglademm/examples/menus/example program. Regards, Roger + +------- Additional Comments From murrayc@usa.net 2004-01-11 13:41 ------- +So, the problem seems to be only with _stock_ accelerators. I still +have not found any example of this in C, however. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Sun, 11 Jan 2004 14:52:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] New - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by takekawa@users.sourceforge.jp. --- shadow/131172 Sun Jan 11 14:52:17 2004 +++ shadow/131172.tmp.24196 Sun Jan 11 14:52:17 2004 @@ -0,0 +1,49 @@ +Bug#: 131172 +Product: gtkmm +Version: 2.2 +OS: Linux +OS Details: +Status: NEW +Resolution: +Severity: normal +Priority: Normal +Component: build +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: takekawa@users.sourceforge.jp +TargetMilestone: --- +URL: +Summary: duplicate namespace in atkmm/text.h and gtkmm/enums.h + +Intel compiler (both version 7 and 8) can not compile atk/atkmm/text.cc and +gtk/gtkmm/enums.cc because of the duplicate namespace definitions such as +`namespace Glib { class Glib::XXX; }`. + +../../atk/atkmm/text.h(181): error: qualified name is not allowed in +namespace member declaration + class Glib::Value : public +Glib::Value_Enum + ^ + +../../atk/atkmm/text.h(181): error: class "Glib::" is not an entity +that can be explicitly specialized + class Glib::Value : public +Glib::Value_Enum + ^ + +text.cc(33): error: incomplete type is not allowed + GType Glib::Value::value_type() + ^ + +../../gtk/gtkmm/enums.h(1321): error: qualified name is not allowed in +namespace member declaration + class Glib::Value : public Glib::Value_Enum + ^ + +../../gtk/gtkmm/enums.h(1321): error: class "Glib::" is not an +entity that can be explicitly specialized + class Glib::Value : public Glib::Value_Enum + ^ + +enums.cc(32): error: incomplete type is not allowed + GType Glib::Value::value_type() + ^ --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Sun, 11 Jan 2004 14:55:55 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by takekawa@users.sourceforge.jp. --- shadow/131172 Sun Jan 11 14:52:17 2004 +++ shadow/131172.tmp.26142 Sun Jan 11 14:55:55 2004 @@ -44,6 +44,11 @@ class Glib::Value : public Glib::Value_Enum ^ enums.cc(32): error: incomplete type is not allowed GType Glib::Value::value_type() ^ + +------- Additional Comments From takekawa@users.sourceforge.jp 2004-01-11 14:55 ------- +Created an attachment (id=23239) +patch to fix duplicate namespace + --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From Murray.Cumming@Comneon.com Mon Jan 12 03:26:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id EFA3618144 for ; Mon, 12 Jan 2004 03:26:52 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0C8MlDb003611; Mon, 12 Jan 2004 09:22:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 09:27:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22766@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: m.barinskis@apollo.lv, gtkmm-list@gnome.org Subject: RE: [gtkmm] 'GLIBMM_CHECK_PERL(5.6.0)' configure error Date: Mon, 12 Jan 2004 09:26:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've already successfully installed the glibmm and libsigc++ but now, > compiling a fresh cvs copy of gtkmm after invoking ./autogen.sh, the > configure script fails with error: > > > ./configure: line 8021: syntax error near unexpected token `5.6.0' > ./configure: line 8021: `GLIBMM_CHECK_PERL(5.6.0)' > Did you install glibmm from cvs as well? This is a new .m4 macro that I added recently. It should be installed from glibmm/scripts to /share/aclocal/glibmm_check_perl.m4. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Mon Jan 12 04:08:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id DDFD0181E2 for ; Mon, 12 Jan 2004 04:08:49 -0500 (EST) Received: (qmail 22752 invoked by uid 65534); 12 Jan 2004 09:08:46 -0000 Received: from pD9E9459B.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.69.155) by mail.gmx.net (mp010) with SMTP; 12 Jan 2004 10:08:46 +0100 X-Authenticated: #109577 Message-ID: <4002641B.1090107@gmx.de> Date: Mon, 12 Jan 2004 10:08:43 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: "Darren W." , gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a selected row in a tree view highlighted References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> <3FFE689B.3020805@gmx.de> <40017327.4080505@gmx.de> <40018292.BC784CE6@ntlworld.com> In-Reply-To: <40018292.BC784CE6@ntlworld.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Same thing. The selection is not visible in the tree view. I guess something is not right with my code?! void ConstraintTable::onNextClicked() { Gtk::TreeModel::iterator curr_iter = m_tree_sel_ref->get_selected(); Gtk::TreeModel::Row curr_row = *curr_iter; // selected row typedef Gtk::TreeModel::Children type_children; type_children children = m_list_store_ref->children(); for(type_children::iterator iter = children.begin(); iter != children.end(); ++iter) { Gtk::TreeModel::Row row = *iter; if(row) { m_tree_sel_ref->select(row); // selection is ok but invisible selection_made_cb(); // my callback for a selected row } } } ... m_tree_sel_ref = m_tree_view.get_selection(); m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); m_tree_sel_ref->signal_changed ().connect ( SigC::slot (*this, &ConstraintTable::selection_made_cb)); > What happens if for testing you try > > m_tree_sel_ref->set_mode(Gtk::SELECTION_MULTIPLE); > m_tree_sel_ref->select_all(); > > > I'm afraid I'm fairly new to Gtk, so am not an expert. From Murray.Cumming@Comneon.com Mon Jan 12 07:15:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C253F18106; Mon, 12 Jan 2004 07:15:15 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CCBDDb017513; Mon, 12 Jan 2004 13:11:13 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 13:15:33 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227BF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? Date: Mon, 12 Jan 2004 13:15:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So, we will abandon gcc 2.9* support in libsigc++ 2 and gtkmm 2.4. Of course we will apply any reasonable patches [1] that people provide to support any compilers, but nobody should expect core developers to waste time on gcc 2.9*. [1] So far, there are only unfinished gcc 2.9* patches in gtkmm's bugzilla. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cumming > Murray (CN L External) > Sent: Mittwoch, 7. Januar 2004 19:29 > To: gtkmm-list@gnome.org; libsigc-list@gnome.org > Subject: [gtkmm] Abandoning gcc 2.9*? > > > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we > Libsigc++ use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Mon Jan 12 08:53:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 96F7D1852F for ; Mon, 12 Jan 2004 08:53:49 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CDnlDb028355; Mon, 12 Jan 2004 14:49:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 14:54:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: palm@nogui.se Cc: gtkmm-list@gnome.org Subject: RE: [[gtkmm] Alternate libglademm interface] Date: Mon, 12 Jan 2004 14:53:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: We must freeze the libglademm 2.4 API on February 16th http://www.gnome.org/start/2.5/bindings/#ApiFreeze Are you likely to have a patch for me to look at soon? Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Christer Palm [mailto:palm@nogui.se] > Sent: Dienstag, 7. Oktober 2003 20:54 > To: Murray Cumming > Cc: gtkmm-list@gnome.org > Subject: Re: [[gtkmm] Alternate libglademm interface] > > > Hi! > > Murray Cumming wrote: > >> > >> - Allow arbitrary constructor arguments for derived > widget classes. > > > > > > This could be nice. Obviously it would be impractical to typedef an > > Adapter for every possible class, so I think that the example code > > should use the Adapter template without a typedef. > > > > The typedef's are just there for convenience, of course. > The Adapter should stay visible to enable it to be used directly for > other classes. And yes, the example could be much better. > > > > >> - Straightforward creation of derived widgets, no Xml::create(), > >>get_derived_widget(), etc. > > > > > > By putting the glade filename in the constructor, yes. But > would this > > allow us to have 2 derived child-widgets that have been > layed out in > > the same container widget in a .glade file. I think the existing > > get_widget_derived() method allows us to reuse an existing > > Gnome::Glade::Xml instance, but this one creates a new one for each > > class. > > > > This could quite easily be fixed by adding additional XmlWidget::Base > constructors for building the widget from an existing > Gnome::Glade::Xml > instance. > > The other way around, the internal Xml instance should > probably also be > made accessable in some way. > > A version intended for general use should probably also have > constructors for building from a memory buffer, specifying the root, > etc., just as with Gnome::Glade::Xml. > > I didn't put it in there because I didn't need it personally... > > > > >> - Hides more (most) glade stuff from the user. > > > > > > See above. This might be a problem if the top-most class is > not one of > > your derived classes. Maybe that is not a common case. > > > > It appears that it is not. Most gtkmm code I've seen so far > only derives > top-level widgets such as windows and dialogs. > > > > >> - Makes it easy to catch runtime errors when, for > example, making a > >>bunch of get_widget() calls by using exceptions. > > > > > > I don't see a need to create a new exception class. > > Gnome::Glade::Xml::Error should be enough. Also, I don't > think we use > > throw() declarations in our *mm stuff. > > > > Well, I wasn't planning on throwing the actual > XmlWidget::Exception, but > more detailed exceptions derived from it, but I got a little > lazy on the > way and just put in throw(Exception):s for now. > > The idea is to give the user a flexible choice of what level > he (she?) > wants to provide error handling. If you just want to know if > _anything_ > went wrong, catch Glib::Exception. If you want to know if > something went > wrong with XmlWidget, catch XmlWidget::Exception. If you specifically > want to know when a widget is missing from the glade file, catch > XmlWidget::MissingWidgetException. You get the idea... > > throw specifiers are actually used in Glib, so they shouldn't > cause any > porting issues that are not already there. Personally I love > them - they > definitely help to improve your code quality. > > Both mechanisms are practically free from a runtime resource > perspective. Just too bad that they aren't very frequently used, in > gtkmm or elsewhere. > > All this of course subject matter to each and everyones > personal taste > and level on conservativism :-) > > > > >>Please keep in mind that this is a quick proof-of-concept hack. I'd > >>like > >>to hear your comments, as I suspect that the approach I'm > using may not > >>be 100% flawless. > > > > > > I don't see where you are instantiating the gtkmm GTypes. This code > > just seems to instantiate the GTK+ Gtype: > > > > :-) > > The instantiation is well hidden inside libglademm thanks to the fact > that I pass xml->gobj() to glade_xml_get_widget(), and xml is a > Gnome::Glade::Xml instance (providing the virtual function > for looking > up the proper GType). > > > > > In general, I would prefer patches (although new files > generally need > > to be tarballed up separately) in bugzilla. You can put the URL in > > emails. > > > > Yes, of course. As I wrote, this wasn't meant to be an "official" > submission to libglademm in any way (at least not at this stage), but > merely a simple way to demonstrate the concept and gain some > comments on it. > > > This is interesting. I particularly don't like that the > classes used > > with the current get_widget_derived() are forced to all > have the same > > constructor parameters. > > > > Yes. That's actually the main reason to why I cooked this up. > It was a > showstopper in my case. > > -- > Christer Palm > > From Murray.Cumming@Comneon.com Mon Jan 12 08:55:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 63FC718320 for ; Mon, 12 Jan 2004 08:55:49 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CDplDb029042 for ; Mon, 12 Jan 2004 14:51:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 14:56:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Mon, 12 Jan 2004 14:55:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So, are there no volunteers for this? It's starting to bother me that we have had almost no patches for gtkmm 2.4 so far. Don't expect me do everything myself. Murray Cumming www.murrayc.com murrayc@usa.net > I added quite a lot of API documentation to the TreeView and > TextView classes and associated classes, in gtkmm 2.4. For > instance: > http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/group__TreeView.html > > I think that 100% API documentation should be possible, and it's an easy way to help. > > Undocumented class methods are probably undocumented because > - They are hand-coded because they use a different parameter order compared to the underlying C function. In this case you should look > at the C docs and modify it accordingly. Look at the generated html of the C docs because not everything is in the .c files: > http://www.gtk.org/api/ > - They are _MEMBER_GET() or _MEMBER_SET() accessors for struct fields. These needs little "Get the something" descriptions if there is > nothing else to say. > > All classes should also have documentation for the class itself. Again, you can usually rephrase the C documentation for these. > > If you run "make doxygen-warnings" in gtkmm/docs/reference/, it will generate a text file with warnings about undocumented methods and > classes. I'm not sure how complete that will be, but it's a start. > > I think we can reach 100%. That would be good. From abt@gmx.de Mon Jan 12 09:27:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3B7E818526 for ; Mon, 12 Jan 2004 09:27:33 -0500 (EST) Received: (qmail 776 invoked by uid 65534); 12 Jan 2004 14:27:31 -0000 Received: from pD9E940BA.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.64.186) by mail.gmx.net (mp001) with SMTP; 12 Jan 2004 15:27:31 +0100 X-Authenticated: #109577 Message-ID: <4002AED1.2060808@gmx.de> Date: Mon, 12 Jan 2004 15:27:29 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] CheckMenuItem editable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, how do I make the Item editable? I´ve created a CheckMenuItem but I cannot change the value with my mouse and I found no "make_editable()" or something like it. Gtk::CheckMenuItem m_checkItem; TIA, Andi From js8582003@yahoo.com Mon Jan 12 10:56:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60902.mail.yahoo.com (web60902.mail.yahoo.com [216.155.196.78]) by mail.gnome.org (Postfix) with SMTP id 32D3318294 for ; Mon, 12 Jan 2004 10:56:33 -0500 (EST) Message-ID: <20040112155627.79118.qmail@web60902.mail.yahoo.com> Received: from [128.217.80.107] by web60902.mail.yahoo.com via HTTP; Mon, 12 Jan 2004 07:56:27 PST Date: Mon, 12 Jan 2004 07:56:27 -0800 (PST) From: Jerry Stahl Subject: Re: [gtkmm] IPC between Gtkmm objects To: "Arvind R." Cc: Gtkmm list In-Reply-To: <20040111230109.GA8645@mail.acarlab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Arvind, Thanks for the response. I'll take a look at the example you mentioned. Jerry --- "Arvind R." wrote: > Hi, > On Sat, 10 Jan 2004 Jerry Stahl wrote : > > > As part of a larger application, I currently have > a > > Gtkmm 2.2 "main" display dialog that uses my > .bashrc > > > > Does anyone know if the Gtkmm libraries have any > IPC > > APIs or if there is any other better way to > handle > > the needed IPC calls between PIDs. > > Being in land of limited bit-rates and scarce > CD-images > I'm not sure if bleeding-edge Gtkmm has preserved > its > links with the out-of-date gtkmm-1.2.8; but > gtkmm-1.2 > has the Gtk::Plug and Gtk::Socket, which together > with > the standard IPC socket ( a STREAMS pipe would have > been generally easier, but linux doesn't seem to > favour > it too much ) is probably what you are looking for. > > You will find such an implementation in the 'qtstu' > app. > from http://www.acarlab.com in which a device > specific > extensions ( for the philips web-cam ) are packaged > into > a seperate process gtkmm- window but realized in the > main app window. > > - arvind > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From matthew@alledora.co.uk Mon Jan 12 11:03:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 6E5E41865D for ; Mon, 12 Jan 2004 11:03:31 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Ag4Ut-0007fp-Fb for gtkmm-list@gnome.org; Mon, 12 Jan 2004 16:00:59 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Ag4Us-0007fb-D8; Mon, 12 Jan 2004 16:00:58 +0000 Message-ID: <4002C58B.1070501@alledora.co.uk> Date: Mon, 12 Jan 2004 16:04:27 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: > So, are there no volunteers for this? It's starting to bother me that we > have had almost no patches for gtkmm 2.4 so far. Don't expect me do > everything myself. I don't think I got this e-mail originally, or if I did I didn't see it. I'll see if I can find the time to do anything along these lines. From billyoc@gnuyork.org Mon Jan 12 11:16:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 2931018152 for ; Mon, 12 Jan 2004 11:16:06 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Ag4h8-0007l8-2G; Mon, 12 Jan 2004 11:13:38 -0500 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Mon, 12 Jan 2004 11:13:37 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Mon, 12 Jan 2004 14:55:47 +0100") Message-ID: <873cal16xa.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > So, are there no volunteers for this? It's starting to bother me that we > have had almost no patches for gtkmm 2.4 so far. Don't expect me do > everything myself. I'm working on this, I'll have some patches in this week. Billy From Murray.Cumming@Comneon.com Mon Jan 12 11:17:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 58A1018521 for ; Mon, 12 Jan 2004 11:17:56 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CGDrDb018427; Mon, 12 Jan 2004 17:13:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 17:18:14 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: billyoc@gnuyork.org Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Mon, 12 Jan 2004 17:17:49 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > So, are there no volunteers for this? It's starting to > bother me that > > we have had almost no patches for gtkmm 2.4 so far. Don't > expect me do > > everything myself. > > I'm working on this, I'll have some patches in this week. Excellent. To avoid duplication of effort, it might help people to know what parts you expect to work on. (There is plenty for everybody). Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 12 13:39:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DD25B18415 for ; Mon, 12 Jan 2004 13:38:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CIYvDb017285; Mon, 12 Jan 2004 19:34:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 19:39:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Mon, 12 Jan 2004 19:38:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > Well, anyway, I'll be leaving campus soon and no longer have this > > bandwidth. > > > > The packages are at > > http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > > I have downloaded them for safety. I am a bit reluctant to > put binary packages on gtkmm.org until > - I am sure that they will be maintained in future. Isn't > there some central repository for things like this? > - The build process is documented. I would like a > README.MacOSX, like our current README.win32 and README.SUN > - I see that you have at least tried to get libtool fixed > instead of patching it locally. > > I do appreciate your efforts, but I don't want them to be wasted. If anybody wants this file, I can provide it on request, but 27Mb is a bit too much for me to host. And I won't put it on sourceforge until it's documented and there is a maintainer and we know that we can't put it somewhere more central. Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Mon Jan 12 13:41:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 18BF3187B0 for ; Mon, 12 Jan 2004 13:41:54 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Ag6yE-0001wy-2s for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:39:26 -0500 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Mon, 12 Jan 2004 13:39:26 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Mon, 12 Jan 2004 17:17:49 +0100") Message-ID: <877jzxypsx.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: >> I'm working on this, I'll have some patches in this week. > > Excellent. To avoid duplication of effort, it might help people to know what > parts you expect to work on. (There is plenty for everybody). I'm working on Gtk:TextBuffer and Gtk::Tree* Billy From julian@jabber.org Mon Jan 12 13:54:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 0992F18366 for ; Mon, 12 Jan 2004 13:54:58 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id 5670B43597; Mon, 12 Jan 2004 12:54:57 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16490-05; Mon, 12 Jan 2004 12:54:56 -0600 (CST) Received: from [128.2.74.52] (SKADI.WV.CC.cmu.edu [128.2.74.52]) by mail.aspect.net (Postfix) with ESMTP id 3E35B404A6; Mon, 12 Jan 2004 12:54:55 -0600 (CST) In-Reply-To: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: gtkmm-list@gnome.org, Thomas Muldowney From: Julian Missig Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Mon, 12 Jan 2004 13:54:53 -0500 To: Murray.Cumming@Comneon.com X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: >>> Well, anyway, I'll be leaving campus soon and no longer have this >>> bandwidth. >>> >>> The packages are at >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg >> >> I have downloaded them for safety. I am a bit reluctant to >> put binary packages on gtkmm.org until >> - I am sure that they will be maintained in future. Isn't >> there some central repository for things like this? DarwinPorts does not host binary packages. Fink hosts binary versions of their packages... eventually... but these were generated using DarwinPorts, which uses a different path prefix from Fink. Fink also does not use these double-clickable installers like DarwinPorts can produce. osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but I'm not sure whether they'd host something generated by DarwinPorts. >> - The build process is documented. I would like a >> README.MacOSX, like our current README.win32 and README.SUN >> - I see that you have at least tried to get libtool fixed >> instead of patching it locally. What more do you want me to do? I've contacted all the people I can and no one seems to know why it works like that or give a shit. >> >> I do appreciate your efforts, but I don't want them to be wasted. Whatever. I made these so that my users could get gtkmm installed. I've battled with this stuff for so long with so many unhelpful people I honestly don't care whether they're "officially" distributed anywhere. I have something which works, so that's good enough to get Gabber2 on OS X. I'm done as far as I'm concerned. Julian From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 12 16:22:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 1A0E218380 for ; Mon, 12 Jan 2004 16:22:03 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Ag9Va-0005Bp-0o for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:22:02 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1Ag9VZ-0007VK-Sw for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:22:01 -0800 Date: Mon, 12 Jan 2004 13:21:03 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #595 - 17 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 131200] New - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 2. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 3. [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) 4. [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc (bugzilla-daemon@widget.gnome.org) 5. [Bug 128932] Changed - gnome-vfsmm-1.3.4 won't build with gcc-2.95.x (bugzilla-daemon@widget.gnome.org) 6. [Bug 121646] Changed - won't build with older gcc (bugzilla-daemon@widget.gnome.org) 7. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 8. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) 9. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 10. [Bug 97036] Changed - Gdk::Drawable::draw_glyphs() uses a C type. (bugzilla-daemon@widget.gnome.org) 11. [Bug 125969] Changed - Scale button_pressed_event needs connect_notify() (bugzilla-daemon@widget.gnome.org) 12. [Bug 89780] Changed - Treeview: signal_button_press_event needs connect_notify() (bugzilla-daemon@widget.gnome.org) 13. [Bug 123082] Changed - directfb build (bugzilla-daemon@widget.gnome.org) 14. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 15. [Bug 126324] Changed - gtkmm 2.2 doesn't build with GTK+ 2.3 (bugzilla-daemon@widget.gnome.org) 16. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 17. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 00:07:13 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] New - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by billyoc@gnuyork.org. --- shadow/131200 Mon Jan 12 00:07:13 2004 +++ shadow/131200.tmp.4773 Mon Jan 12 00:07:13 2004 @@ -0,0 +1,17 @@ +Bug#: 131200 +Product: gtkmm +Version: 2.4 +OS: Linux +OS Details: Debian Sid +Status: NEW +Resolution: +Severity: normal +Priority: Normal +Component: build +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: billyoc@gnuyork.org +TargetMilestone: --- +URL: +Summary: gtkmm/demo syntax error, breaks build. + +Syntax error in HEAD, just a stray comma. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 00:07:52 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by billyoc@gnuyork.org. --- shadow/131200 Mon Jan 12 00:07:13 2004 +++ shadow/131200.tmp.4978 Mon Jan 12 00:07:52 2004 @@ -12,6 +12,11 @@ ReportedBy: billyoc@gnuyork.org TargetMilestone: --- URL: Summary: gtkmm/demo syntax error, breaks build. Syntax error in HEAD, just a stray comma. + +------- Additional Comments From billyoc@gnuyork.org 2004-01-12 00:07 ------- +Created an attachment (id=23249) +removes stray comma + --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, takekawa@users.sourceforge.jp Cc: Date: Mon, 12 Jan 2004 03:15:00 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by murrayc@usa.net. --- shadow/131172 Sun Jan 11 14:55:55 2004 +++ shadow/131172.tmp.26313 Mon Jan 12 03:15:00 2004 @@ -49,6 +49,15 @@ ^ ------- Additional Comments From takekawa@users.sourceforge.jp 2004-01-11 14:55 ------- Created an attachment (id=23239) patch to fix duplicate namespace + +------- Additional Comments From murrayc@usa.net 2004-01-12 03:14 ------- +Thanks. I will investigate. + +Please see +http://www.gtkmm.org/bugs.shtml +about creating patches. This patch patches generated files, and has no +ChangeLog entry. + --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:22:51 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129396 Changed by murrayc@usa.net. --- shadow/129396 Mon Jan 5 13:06:16 2004 +++ shadow/129396.tmp.22913 Mon Jan 12 07:22:51 2004 @@ -1,13 +1,13 @@ Bug#: 129396 Product: gnomemm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -43,6 +43,11 @@ Fortunately, this seems restricted to the examples directory. ------- Additional Comments From murrayc@usa.net 2003-12-19 10:24 ------- Not many people are using this compiler anymore, but patches are welcome. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:22 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:24:46 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 128932] Changed - gnome-vfsmm-1.3.4 won't build with gcc-2.95.x Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=128932 Changed by murrayc@usa.net. --- shadow/128932 Fri Dec 12 11:46:41 2003 +++ shadow/128932.tmp.23792 Mon Jan 12 07:24:46 2004 @@ -1,13 +1,13 @@ Bug#: 128932 Product: gnomemm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: gnome-vfsmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -469,6 +469,15 @@ } ------- Additional Comments From murrayc@usa.net 2003-12-12 11:46 ------- Thanks, but please _attach_ your patch and patch the ChangeLog. In general, please see: http://www.gtkmm.org/bugs.shtml + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:24 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. + +This bug has a patch, but there isn't much point in applying it until +gtkmm 2.4 builds with gcc 2.9*. That will be even less likely when +gtkmm 2.4 uses libsigc++ 2, as it soon will. --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: p@kapcoweb.com Date: Mon, 12 Jan 2004 07:25:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 121646] Changed - won't build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=121646 Changed by murrayc@usa.net. --- shadow/121646 Sun Oct 12 06:05:50 2003 +++ shadow/121646.tmp.24203 Mon Jan 12 07:25:27 2004 @@ -1,13 +1,13 @@ Bug#: 121646 Product: gnomemm Version: 2.0 OS: other OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: libgnomeuimm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -98,6 +98,11 @@ ------- Additional Comments From murrayc@usa.net 2003-10-12 06:05 ------- You have patched generated files, so this is not actually a patch. Please see http://www.gtkmm.org/bugs.shtml about making patches. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:25 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:26:20 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Jan 5 10:24:56 2004 +++ shadow/129719.tmp.24718 Mon Jan 12 07:26:20 2004 @@ -1,13 +1,13 @@ Bug#: 129719 Product: gnomemm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -114,6 +114,12 @@ project. There is definite precedence for it and I think it would fall under "least surprise" to have the ability to regen them by default. ------- Additional Comments From murrayc@usa.net 2003-12-22 12:39 ------- Of course generated files should be regenerated if the source file has changed. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:26 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. + --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:27:51 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Fri Jan 9 12:23:25 2004 +++ shadow/129210.tmp.25666 Mon Jan 12 07:27:51 2004 @@ -1,13 +1,13 @@ Bug#: 129210 Product: gtkmm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -231,6 +231,11 @@ and user space apps with the same compiler. So I believe that it is not a real problem. Of course, I also believe that linuxfromscratch people actually enjoy having these problems. So, I guess we'll drop the gcc 2.9* support. But thanks for showing us that we needed to think about it. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:27 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 9 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, billyoc@gnuyork.org Cc: Date: Mon, 12 Jan 2004 07:29:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by murrayc@usa.net. --- shadow/131200 Mon Jan 12 00:07:52 2004 +++ shadow/131200.tmp.26856 Mon Jan 12 07:29:17 2004 @@ -17,6 +17,9 @@ Syntax error in HEAD, just a stray comma. ------- Additional Comments From billyoc@gnuyork.org 2004-01-12 00:07 ------- Created an attachment (id=23249) removes stray comma + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:29 ------- +Thanks. Someone please commit this. --__--__-- Message: 10 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, morus.walter@xipolis.net Cc: Date: Mon, 12 Jan 2004 07:30:45 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 97036] Changed - Gdk::Drawable::draw_glyphs() uses a C type. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=97036 Changed by murrayc@usa.net. --- shadow/97036 Thu May 22 06:22:48 2003 +++ shadow/97036.tmp.28600 Mon Jan 12 07:30:45 2004 @@ -92,6 +92,9 @@ --Daniel ------- Additional Comments From murrayc@usa.net 2002-10-31 06:58 ------- OK, thanks for the explanation. Awaiting a patch for a future API-break maybe 2.2. or 2.4. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:30 ------- +Now would be a good time to submit a patch. We must freeze the API soon. --__--__-- Message: 11 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, chalil@boun.edu.tr Cc: Date: Mon, 12 Jan 2004 08:02:59 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 125969] Changed - Scale button_pressed_event needs connect_notify() Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=125969 Changed by murrayc@usa.net. --- shadow/125969 Wed Nov 5 07:10:46 2003 +++ shadow/125969.tmp.15003 Mon Jan 12 08:02:59 2004 @@ -1,9 +1,9 @@ Bug#: 125969 Product: gtkmm -Version: 2.2 +Version: 2.4 OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal --__--__-- Message: 12 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, steve@przepiora.org Cc: Date: Mon, 12 Jan 2004 08:03:30 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 89780] Changed - Treeview: signal_button_press_event needs connect_notify() Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=89780 Changed by murrayc@usa.net. --- shadow/89780 Wed Nov 5 07:09:47 2003 +++ shadow/89780.tmp.15315 Mon Jan 12 08:03:29 2004 @@ -1,9 +1,9 @@ Bug#: 89780 Product: gtkmm -Version: 2.0 +Version: 2.4 OS: Linux OS Details: Status: REOPENED Resolution: Severity: minor Priority: Normal --__--__-- Message: 13 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pgasper@designadvantage.com Cc: Date: Mon, 12 Jan 2004 08:04:32 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 123082] Changed - directfb build Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=123082 Changed by murrayc@usa.net. --- shadow/123082 Tue Nov 25 11:44:11 2003 +++ shadow/123082.tmp.15782 Mon Jan 12 08:04:32 2004 @@ -4,13 +4,13 @@ OS: Linux OS Details: Mandrake 9.1 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pgasper@designadvantage.com TargetMilestone: --- URL: Summary: directfb build --__--__-- Message: 14 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, christof@petig-baender.de Cc: Date: Mon, 12 Jan 2004 08:05:34 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by murrayc@usa.net. --- shadow/131019 Fri Jan 9 11:48:12 2004 +++ shadow/131019.tmp.16360 Mon Jan 12 08:05:34 2004 @@ -2,13 +2,13 @@ Product: gtkmm Version: 2.2 OS: Linux OS Details: Status: NEW Resolution: -Severity: enhancement +Severity: normal Priority: Normal Component: TreeView AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: christof@petig-baender.de TargetMilestone: --- URL: --__--__-- Message: 15 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pierre42d@9online.fr Cc: Date: Mon, 12 Jan 2004 08:13:05 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 126324] Changed - gtkmm 2.2 doesn't build with GTK+ 2.3 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=126324 Changed by murrayc@usa.net. --- shadow/126324 Tue Dec 23 03:19:34 2003 +++ shadow/126324.tmp.19618 Mon Jan 12 08:13:05 2004 @@ -1,13 +1,13 @@ Bug#: 126324 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pierre42d@9online.fr TargetMilestone: --- @@ -102,6 +102,11 @@ ------- Additional Comments From murrayc@usa.net 2003-11-12 10:34 ------- I would like you to check whether gtkmm 2.2 from cvs builds without error. ------- Additional Comments From pierre42d@9online.fr 2003-12-23 03:19 ------- could you put a cvs snapshot somewhere? would be easier for me. + +------- Additional Comments From murrayc@usa.net 2004-01-12 08:12 ------- +Hmm, this build error had nothing to do with the API change - it was +just because we disabled deprecations before. Closing. I'll release a +new gtkmm 2.2.x version soon. --__--__-- Message: 16 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, billyoc@gnuyork.org Cc: Date: Mon, 12 Jan 2004 15:13:49 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by murrayc@usa.net. --- shadow/131200 Mon Jan 12 07:29:17 2004 +++ shadow/131200.tmp.19023 Mon Jan 12 15:13:49 2004 @@ -1,13 +1,13 @@ Bug#: 131200 Product: gtkmm Version: 2.4 OS: Linux OS Details: Debian Sid -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: billyoc@gnuyork.org TargetMilestone: --- --__--__-- Message: 17 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 16:20:36 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Fri Jan 9 11:06:46 2004 +++ shadow/124297.tmp.24398 Mon Jan 12 16:20:36 2004 @@ -19,6 +19,17 @@ that should be similar to the custom cell renderer. ------- Additional Comments From christof@petig-baender.de 2004-01-09 11:06 ------- Created an attachment (id=23167) Feel free to simplify the GObject related stuff + +------- Additional Comments From murrayc@usa.net 2004-01-12 16:20 ------- +So, the question is, why do need the awful C GClass stuff. Here +(gtkmm_custom_treemodel2.cc) is a version that is more like what we +would expect. Ignore the first warning. But it gives this bizarre warning: + +(a.out:24508): GLib-GObject-WARNING **: cannot add interface type +`GtkTreeModel' to type `GObject', since type `GtkListStore' already +conforms to interface + +But we don't mention ListStore anywhere in the example. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From palm@nogui.se Mon Jan 12 17:29:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id 7B52318413 for ; Mon, 12 Jan 2004 17:29:46 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i0CMTd07005775; Mon, 12 Jan 2004 23:29:40 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <40032E07.4090101@nogui.se> Date: Tue, 13 Jan 2004 00:30:15 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [[gtkmm] Alternate libglademm interface] References: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes. As a matter of fact I finished up all the suggested changes a couple of weeks ago - still need to do some more testing and wrap it up as a patch, but I should be able to do that in the upcoming weekend. Murray.Cumming@Comneon.com wrote: > We must freeze the libglademm 2.4 API on February 16th > http://www.gnome.org/start/2.5/bindings/#ApiFreeze > > Are you likely to have a patch for me to look at soon? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > >>-----Original Message----- >>From: Christer Palm [mailto:palm@nogui.se] >>Sent: Dienstag, 7. Oktober 2003 20:54 >>To: Murray Cumming >>Cc: gtkmm-list@gnome.org >>Subject: Re: [[gtkmm] Alternate libglademm interface] >> >> >>Hi! >> >>Murray Cumming wrote: >> >>>> - Allow arbitrary constructor arguments for derived >> >>widget classes. >> >>> >>>This could be nice. Obviously it would be impractical to typedef an >>>Adapter for every possible class, so I think that the example code >>>should use the Adapter template without a typedef. >>> >> >>The typedef's are just there for convenience, of course. >>The Adapter should stay visible to enable it to be used directly for >>other classes. And yes, the example could be much better. >> >> >>>> - Straightforward creation of derived widgets, no Xml::create(), >>>>get_derived_widget(), etc. >>> >>> >>>By putting the glade filename in the constructor, yes. But >> >>would this >> >>>allow us to have 2 derived child-widgets that have been >> >>layed out in >> >>>the same container widget in a .glade file. I think the existing >>>get_widget_derived() method allows us to reuse an existing >>>Gnome::Glade::Xml instance, but this one creates a new one for each >>>class. >>> >> >>This could quite easily be fixed by adding additional XmlWidget::Base >>constructors for building the widget from an existing >>Gnome::Glade::Xml >>instance. >> >>The other way around, the internal Xml instance should >>probably also be >>made accessable in some way. >> >>A version intended for general use should probably also have >>constructors for building from a memory buffer, specifying the root, >>etc., just as with Gnome::Glade::Xml. >> >>I didn't put it in there because I didn't need it personally... >> >> >>>> - Hides more (most) glade stuff from the user. >>> >>> >>>See above. This might be a problem if the top-most class is >> >>not one of >> >>>your derived classes. Maybe that is not a common case. >>> >> >>It appears that it is not. Most gtkmm code I've seen so far >>only derives >>top-level widgets such as windows and dialogs. >> >> >>>> - Makes it easy to catch runtime errors when, for >> >>example, making a >> >>>>bunch of get_widget() calls by using exceptions. >>> >>> >>>I don't see a need to create a new exception class. >>>Gnome::Glade::Xml::Error should be enough. Also, I don't >> >>think we use >> >>>throw() declarations in our *mm stuff. >>> >> >>Well, I wasn't planning on throwing the actual >>XmlWidget::Exception, but >>more detailed exceptions derived from it, but I got a little >>lazy on the >>way and just put in throw(Exception):s for now. >> >>The idea is to give the user a flexible choice of what level >>he (she?) >>wants to provide error handling. If you just want to know if >>_anything_ >>went wrong, catch Glib::Exception. If you want to know if >>something went >>wrong with XmlWidget, catch XmlWidget::Exception. If you specifically >>want to know when a widget is missing from the glade file, catch >>XmlWidget::MissingWidgetException. You get the idea... >> >>throw specifiers are actually used in Glib, so they shouldn't >>cause any >>porting issues that are not already there. Personally I love >>them - they >>definitely help to improve your code quality. >> >>Both mechanisms are practically free from a runtime resource >>perspective. Just too bad that they aren't very frequently used, in >>gtkmm or elsewhere. >> >>All this of course subject matter to each and everyones >>personal taste >>and level on conservativism :-) >> >> >>>>Please keep in mind that this is a quick proof-of-concept hack. I'd >>>>like >>>>to hear your comments, as I suspect that the approach I'm >> >>using may not >> >>>>be 100% flawless. >>> >>> >>>I don't see where you are instantiating the gtkmm GTypes. This code >>>just seems to instantiate the GTK+ Gtype: >>> >> >>:-) >> >>The instantiation is well hidden inside libglademm thanks to the fact >>that I pass xml->gobj() to glade_xml_get_widget(), and xml is a >>Gnome::Glade::Xml instance (providing the virtual function >>for looking >>up the proper GType). >> >> >>>In general, I would prefer patches (although new files >> >>generally need >> >>>to be tarballed up separately) in bugzilla. You can put the URL in >>>emails. >>> >> >>Yes, of course. As I wrote, this wasn't meant to be an "official" >>submission to libglademm in any way (at least not at this stage), but >>merely a simple way to demonstrate the concept and gain some >>comments on it. >> >> >>>This is interesting. I particularly don't like that the >> >>classes used >> >>>with the current get_widget_derived() are forced to all >> >>have the same >> >>>constructor parameters. >>> >> >>Yes. That's actually the main reason to why I cooked this up. >>It was a >>showstopper in my case. >> >>-- >>Christer Palm >> >> > > From tor.arvid.lund@idi.ntnu.no Mon Jan 12 17:50:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from totto.homelinux.net (119.80-202-31.nextgentel.com [80.202.31.119]) by mail.gnome.org (Postfix) with ESMTP id E027918323 for ; Mon, 12 Jan 2004 17:50:26 -0500 (EST) Received: from totto.homelinux.net ([127.0.0.1] helo=idi.ntnu.no) by totto.homelinux.net with esmtp (Exim 3.36 #1 (Debian)) id 1AgAu4-0005tC-00 for ; Mon, 12 Jan 2004 23:51:24 +0100 Message-ID: <400324EC.2050006@idi.ntnu.no> Date: Mon, 12 Jan 2004 23:51:24 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] How to make a column in a TreeView a ProgressBar? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. I am new to gtkmm (and this list), and have been going through the tutorials on gtkmm.org. I am trying to make a TreeView with one column showing a ProgessBar (think DC++ in Windows). I gather from the Documentation that I need to make my own CellRenderer, but that part of the Documentation seemed somewhat unfinished. Can I find information regarding this somewhere else (maybe some of you on this list has experience...?) Any pointers would be helpful. Thanks. - -- Tor Arvid Lund -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAAyTs8CJw6vM17R4RAicFAJ9FeUPdJsbNZmu8qFtWwNRVbzQebgCeI/EX GEDU7YOUKPe/IbGkgPQdqvw= =Xr+s -----END PGP SIGNATURE----- From abhatnag@mda.ca Mon Jan 12 19:50:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 93DD01865D for ; Mon, 12 Jan 2004 19:50:51 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0D0onW08771 for ; Mon, 12 Jan 2004 16:50:49 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 12 Jan 2004 16:50:48 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Mon, 12 Jan 2004 16:50:44 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Examples of libglademm in action? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I'm looking for example source of applications using libglademm. I don't find the "basic" example that comes with the libglademm tarball that usefull. Does anyone know where I can find such examples? thanks. From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 12 23:05:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 4C2BC182E3 for ; Mon, 12 Jan 2004 23:05:42 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AgFoD-0002JF-21 for gtkmm-list@gnome.org; Mon, 12 Jan 2004 20:05:41 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AgFoC-00025B-Q9 for gtkmm-list@gnome.org; Mon, 12 Jan 2004 20:05:40 -0800 Date: Mon, 12 Jan 2004 20:02:37 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #596 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 2. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 3. [Bug 108971] Changed - Deriving from Glib::Object produces debug spew (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 16:21:18 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Mon Jan 12 16:20:36 2004 +++ shadow/124297.tmp.25018 Mon Jan 12 16:21:18 2004 @@ -30,6 +30,11 @@ (a.out:24508): GLib-GObject-WARNING **: cannot add interface type `GtkTreeModel' to type `GObject', since type `GtkListStore' already conforms to interface But we don't mention ListStore anywhere in the example. + +------- Additional Comments From murrayc@usa.net 2004-01-12 16:21 ------- +Created an attachment (id=23281) +gtkmm_custom_treemodel2.cc + --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 17:10:50 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Mon Jan 12 16:21:18 2004 +++ shadow/124297.tmp.26846 Mon Jan 12 17:10:50 2004 @@ -35,6 +35,17 @@ But we don't mention ListStore anywhere in the example. ------- Additional Comments From murrayc@usa.net 2004-01-12 16:21 ------- Created an attachment (id=23281) gtkmm_custom_treemodel2.cc + +------- Additional Comments From murrayc@usa.net 2004-01-12 17:10 ------- +I just checked in a fix to both branches that makes +gtkmm_custom_treemodel2.cc work. It properly implements the +Glib::Object default constructor so that it generates a custom +on-the-fly derived GType (derived from GObject) when you have already +called teh ObjectBase(typeid(MyCustomClass)) constructor. + +So, now the nasty GType stuff is gone, and we just need to tidy this +example up (Separate files for each class. No method implementation in +a .h file.) and add some comments. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 17:15:41 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 108971] Changed - Deriving from Glib::Object produces debug spew Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=108971 Changed by murrayc@usa.net. --- shadow/108971 Wed Jul 16 11:29:57 2003 +++ shadow/108971.tmp.30420 Mon Jan 12 17:15:41 2004 @@ -1,13 +1,13 @@ Bug#: 108971 Product: gtkmm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: trivial Priority: Low Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: seth@gnome.org TargetMilestone: --- @@ -46,6 +46,11 @@ opinion about this. ------- Additional Comments From murrayc@usa.net 2003-07-16 11:29 ------- At the least we should put a bit more information in that warning, such as "You probably have no reason to derive directly from Glib::Object." + +------- Additional Comments From murrayc@usa.net 2004-01-12 17:15 ------- +This has been fixed as part of bug #124297. The Glib::Object default +constructor is now known to be useful for implementing custom +TreeModels, because they need a GType. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From Murray.Cumming@Comneon.com Tue Jan 13 04:38:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 14FBA1843F for ; Tue, 13 Jan 2004 04:38:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0D9YgDc012481 for ; Tue, 13 Jan 2004 10:34:43 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 10:39:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22866@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtkmm-forge@lists.sourceforge.net mailing list remind er Date: Tue, 13 Jan 2004 10:38:36 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry about this. I don't know why it started sending this password reminder to the list. Please ignore it (and don't use the password to change anythign). This is the gtkmm-list digest subscription for gtkmm-forge, not your own subscription to gtkmm-forge. Gtkmm-forge receives bugzilla notifications and then sends a digest of them to the list. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of > gtkmm-forge-request@lists.sourceforge.net > Sent: Montag, 12. Januar 2004 22:39 > To: gtkmm-list@gnome.org > Subject: [gtkmm] Gtkmm-forge@lists.sourceforge.net mailing > list reminder > > > This is a reminder of how to unsubscribe or change your > configuration for the address "gtkmm-list@gnome.org" on the > mailing list Gtkmm-forge. You need to have your password for > these things. YOUR Gtkmm-forge PASSWORD IS: > > panuar > > To make changes to your subscription, use the password on > your options World Wide Web page: > https://lists.sourceforge.net/lists/options/gtkmm-forge/gtkmm-list%40gnome.o rg You can also make such changes via email - send a message to: gtkmm-forge-request@lists.sourceforge.net with the text "help" in the subject or body, and you will be emailed instructions. Questions or comments? Please send them to gtkmm-forge-admin@lists.sourceforge.net. _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list From Murray.Cumming@Comneon.com Tue Jan 13 05:43:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A9B83183D2 for ; Tue, 13 Jan 2004 05:43:19 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DAcmDb001460; Tue, 13 Jan 2004 11:38:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 11:43:09 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22880@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org, temas@box5.net Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 13 Jan 2004 11:42:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I think that this is very recent, but it looks good. Could you try it please?: http://fink.sourceforge.net/pdb/package.php/gtkmm2 Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Julian Missig [mailto:julian@jabber.org] > Sent: Montag, 12. Januar 2004 19:55 > To: Cumming Murray (CN L External) > Cc: gtkmm-list@gnome.org; Thomas Muldowney > Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer > for Mac OS X > > > On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > > >>> Well, anyway, I'll be leaving campus soon and no longer have this > >>> bandwidth. > >>> > >>> The packages are at > >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >> > >> I have downloaded them for safety. I am a bit reluctant to > put binary > >> packages on gtkmm.org until > >> - I am sure that they will be maintained in future. Isn't > there some > >> central repository for things like this? > > DarwinPorts does not host binary packages. Fink hosts binary versions > of their packages... eventually... but these were generated using > DarwinPorts, which uses a different path prefix from Fink. Fink also > does not use these double-clickable installers like DarwinPorts can > produce. osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but > I'm not sure whether they'd host something generated by DarwinPorts. > > >> - The build process is documented. I would like a > README.MacOSX, like > >> our current README.win32 and README.SUN > >> - I see that you have at least tried to get libtool fixed > instead of > >> patching it locally. > > What more do you want me to do? I've contacted all the people > I can and > no one seems to know why it works like that or give a shit. > > >> > >> I do appreciate your efforts, but I don't want them to be wasted. > > Whatever. I made these so that my users could get gtkmm > installed. I've > battled with this stuff for so long with so many unhelpful people I > honestly don't care whether they're "officially" distributed > anywhere. > I have something which works, so that's good enough to get Gabber2 on > OS X. I'm done as far as I'm concerned. > > Julian > From roger@whinlatter.uklinux.net Tue Jan 13 07:45:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by mail.gnome.org (Postfix) with ESMTP id 9EE9018960 for ; Tue, 13 Jan 2004 07:45:29 -0500 (EST) Received: from wrynose.whinlatter.uklinux.net (unknown [213.162.108.80]) by mail.metronet.co.uk (MetroNet Mail) with ESMTP id 8120A407290 for ; Tue, 13 Jan 2004 12:45:19 +0000 (GMT) Received: from roger by wrynose.whinlatter.uklinux.net with local (Exim 3.36 #1 (Debian)) id 1AgL93-0001ma-00; Tue, 13 Jan 2004 09:47:33 +0000 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Examples of libglademm in action? References: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> From: Roger Leigh Date: Tue, 13 Jan 2004 09:47:33 +0000 In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> (Amit BHATNAGAR's message of "Mon, 12 Jan 2004 16:50:44 -0800") Message-ID: <87k73wrxhm.fsf@wrynose.whinlatter.uklinux.net> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR writes: > I'm looking for example source of applications using libglademm. > I don't find the "basic" example that comes with the libglademm > tarball that usefull. Does anyone know where I can find such examples? http://people.debian.org/~rleigh/gtk/ogcalc/ HTH, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. From roger@whinlatter.uklinux.net Tue Jan 13 07:45:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by mail.gnome.org (Postfix) with ESMTP id A0B721897C for ; Tue, 13 Jan 2004 07:45:29 -0500 (EST) Received: from wrynose.whinlatter.uklinux.net (unknown [213.162.108.80]) by mail.metronet.co.uk (MetroNet Mail) with ESMTP id A1013408E5E; Tue, 13 Jan 2004 12:45:18 +0000 (GMT) Received: from roger by wrynose.whinlatter.uklinux.net with local (Exim 3.36 #1 (Debian)) id 1Ag84P-00009x-00; Mon, 12 Jan 2004 19:49:53 +0000 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> From: Roger Leigh Date: Mon, 12 Jan 2004 19:49:53 +0000 In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Fri, 9 Jan 2004 14:29:29 +0100") Message-ID: <87vfnht09q.fsf@wrynose.whinlatter.uklinux.net> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > I think that 100% API documentation should be possible, and it's an easy way > to help. I'm familiar with Doxygen, but not with the way Gtkmm preprocesses its source--where should the documentation be placed? Would it be OK for non-developers to contribute patches? I've checked out Gtkmm from CVS. Is the mainline the right place to be working from? I don't have a huge amount of free time, so this would probably be on an "as I find something undocumented that I need" basis. Regards, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. From Murray.Cumming@Comneon.com Tue Jan 13 07:50:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id AC99B1899C for ; Tue, 13 Jan 2004 07:50:31 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DCkSDb028591; Tue, 13 Jan 2004 13:46:28 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 13:50:49 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22893@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: roger@whinlatter.uklinux.net, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Tue, 13 Jan 2004 13:50:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > I think that 100% API documentation should be possible, and it's an > > easy way to help. > > I'm familiar with Doxygen, but not with the way Gtkmm > preprocesses its source--where should the documentation be > placed? Most .h and .cc files are generated from .hg and .ccg files. Doxygen documentation should be placed above the method declarations in the .hg files. Methods that are generated by _WRAP_METHOD() will almost always have generated documentation automatically, so you don't need to worry about them. You can read more about gmmproc in glibmm/docs/internals/ > Would it be OK for non-developers to contribute patches? It's always OK for anyone to submit patches: http://www.gtkmm.org/bugs.shtml > I've checked out Gtkmm from CVS. Is the mainline the right > place to be working from? Yes: http://www.gtkmm.org/cvs.shtml > I don't have a huge amount of free time, so this would > probably be on an "as I find something undocumented that I > need" basis. OK, but this should not take much time. It's just a case of - looking at part of the C++ docs - finding undocmented methods or classes - looking at the C docs. - Writing C++ docs based on those C docs. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 13 07:51:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7B338189AA for ; Tue, 13 Jan 2004 07:51:14 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DClBDb028807; Tue, 13 Jan 2004 13:47:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 13:51:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22894@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abhatnag@mda.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Examples of libglademm in action? Date: Tue, 13 Jan 2004 13:51:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm looking for example source of applications using > libglademm. I don't find the "basic" example that comes with > the libglademm tarball that usefull. Does anyone know where I > can find such examples? If there is anything particular that you would like the libglademm examples to show, then please do tell us. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 13 12:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 52F0B18A44 for ; Tue, 13 Jan 2004 12:04:58 -0500 (EST) Received: (qmail 3734 invoked by uid 65534); 13 Jan 2004 17:04:54 -0000 Received: from pD9E948EC.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.72.236) by mail.gmx.net (mp021) with SMTP; 13 Jan 2004 18:04:54 +0100 X-Authenticated: #109577 Message-ID: <4004253B.40805@gmx.de> Date: Tue, 13 Jan 2004 18:04:59 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] example for TextView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! Can somebody please provide a small example how to fill the widget with text? TIA, Andi From billyoc@gnuyork.org Tue Jan 13 13:49:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id B762D18516 for ; Tue, 13 Jan 2004 13:49:16 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AgTYq-000288-M0; Tue, 13 Jan 2004 13:46:44 -0500 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] example for TextView References: <4004253B.40805@gmx.de> From: Billy O'Connor Date: Tue, 13 Jan 2004 13:46:44 -0500 In-Reply-To: <4004253B.40805@gmx.de> (Andreas B. Thun's message of "Tue, 13 Jan 2004 18:04:59 +0100") Message-ID: <87u12zit4b.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > Hi! > > Can somebody please provide a small example how to fill > the widget with text? > The code in gtkmm/examples/book/textview should show everything you need. From ramachandrap@dpsl.net Wed Jan 14 01:26:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id DDE2118368 for ; Wed, 14 Jan 2004 01:26:36 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 12:08:42 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZXZK0; Wed, 14 Jan 2004 12:08:32 +0530 Received: FROM comp448 BY khyber.enigma ; Wed Jan 14 12:08:30 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <008b01c3da68$0fafa890$5f0210ac@enigma> References: <20040112214048.28318.55929.Mailman@moniker.gnome.org> Date: Wed, 14 Jan 2004 12:01:37 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Re: API documentation: aiming for 100% Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi In response to your call for documentation of GTKmm classes, below are the classes for which we can do the API documentaion. NAMESPACE - GDK CLASSES- GC Pixbuf Pixmap NAMESPACE - GLIB CLASSES- Thread Thread::Exit Thread::Error Mutex Mutex::Lock NAMESPACE - GTK CLASSES - Window Widget FileSelection NAMESPACE- Gnome::Canvas CLASSES- Canvas CanvasAA Pixbuf and the format we can use for the documentation is- API NAME INPUT PARAMETERS DESCRIPTION OUTPUT Please guide me. Regards, Ramachandra From alberto@paro.homeunix.org Wed Jan 14 03:13:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep03-svc.flexmail.it (fep03.tuttopmi.it [212.131.248.106]) by mail.gnome.org (Postfix) with ESMTP id 9DA0B18441 for ; Wed, 14 Jan 2004 03:13:14 -0500 (EST) Received: from paro.homeunix.org ([82.88.53.142]) by fep03-svc.flexmail.it with ESMTP id <20040114081329.PZQW12265.fep03-svc.flexmail.it@paro.homeunix.org> for ; Wed, 14 Jan 2004 09:13:29 +0100 Message-ID: <4004FA68.3040201@paro.homeunix.org> Date: Wed, 14 Jan 2004 09:14:32 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >I think that 100% API documentation should be possible, and it's an easy way >to help. > > > I'm checking doc for glibmm, but last cvs was unable to merge the doc. I've genered the docs XML file with docgen of pygtk. Something was changed in gtkmmproc and it does not recognize the --mergedocs options. Some ideas? Thanks, Alberto From Murray.Cumming@Comneon.com Wed Jan 14 05:56:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0FA061827D for ; Wed, 14 Jan 2004 05:56:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EAqqDb020919; Wed, 14 Jan 2004 11:52:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 11:57:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228E2@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: alberto@paro.homeunix.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Wed, 14 Jan 2004 11:56:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm checking doc for glibmm, but last cvs was unable to merge > the doc. I've genered the docs XML file with docgen of pygtk. Yes, there is currently no glibmm_docs.xml in glibmm. Please do add it if would be useful. > Something was changed in gtkmmproc It's now "gmmproc" > and it does not recognize the > --mergedocs options. > Some ideas? Yes, I removed the option in glibmm in cvs. It now _always_ merges the docs. Please report any actual build errors with the code in cvs. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 14 05:59:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D8EC31857E for ; Wed, 14 Jan 2004 05:59:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EAtADb021769; Wed, 14 Jan 2004 11:55:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 11:59:34 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228E3@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] Re: API documentation: aiming for 100% Date: Wed, 14 Jan 2004 11:59:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Hi > In response to your call for documentation of GTKmm classes, > below are the classes for which we can do the API documentaion. > > NAMESPACE - GDK > CLASSES- > GC > Pixbuf > Pixmap > > NAMESPACE - GLIB > CLASSES- > Thread > Thread::Exit > Thread::Error > Mutex > Mutex::Lock > > NAMESPACE - GTK > CLASSES - > Window > Widget > FileSelection > > NAMESPACE- Gnome::Canvas > CLASSES- > Canvas > CanvasAA > Pixbuf Great. > and the format we can use for the documentation is- > API NAME > INPUT PARAMETERS > DESCRIPTION > OUTPUT > > Please guide me. I am not quite sure what specific help you need. Are you familiar with the doxygen/javadoc format that we use? Are you not familiar with the way that gmmproc merges the C docs to generate some doxygen comments automatically? Murray Cumming www.murrayc.com murrayc@usa.net From jvilarroig@terra.es Wed Jan 14 06:33:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tsmtp6.mail.isp (smtp.terra.es [213.4.129.129]) by mail.gnome.org (Postfix) with ESMTP id 42AC5183C8 for ; Wed, 14 Jan 2004 06:33:55 -0500 (EST) Received: from 62-151-131-24.tp24.ya.com ([62.151.131.24]) by tsmtp6.mail.isp (terra.es) with ESMTP id HRH9G502.4FS for ; Wed, 14 Jan 2004 12:33:41 +0100 From: Javier Vilarroig To: Gtkmm e-list Content-Type: text/plain Message-Id: <1074078978.4605.16.camel@javor.vilarroig.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 14 Jan 2004 12:16:18 +0100 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Newbie libglademm question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi. Excuse me if this is not the right place for this question. I'm starting to write my first serious app with gtkmm/libglademm, and I'm having a strange problem, at least to me :). I'm creating a separate .glade file for every dialog on the app, and I load it on the class constructor in order to be able to open multiple instances of them. I do that because , to my understanding, when the .glade file is opened only one instance for every dialog is created and I need to be able to open multiple instances. Also I understand that whe the .glade file is loaded, all and every dialog are created, so it seems a memory waste to have only one .glade file. Correct me if I missunderstood that. I open the main app window without problem, but when I create the first independent dialog I got a lot of errors on stderr, there is a sample at mail end. The dialog opens correctly and it seems it's working correctly, but I'm affraid I have misunderstood something on the libglademm "filosofy" and that it can lead to unespected failures later. Any help would be apreciated. Thanks in advance Javor PS. Pls, excuse my bad english. It's not my native tonge. Error listing: -------------------------------- (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GConf-CRITICAL **: file gconf-client.c: line 546 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 869 (gnome_program_locate_file): assertion `program != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 869 (gnome_program_locate_file): assertion `program != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed -------------- From Murray.Cumming@Comneon.com Wed Jan 14 09:15:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6C286188FB for ; Wed, 14 Jan 2004 09:15:06 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EEArDb002025; Wed, 14 Jan 2004 15:10:55 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 15:15:18 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Re: API documentation: aiming for 100% Date: Wed, 14 Jan 2004 15:14:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I would like to clarify whether documentation should commence > on all the below mentioned classes in order to avoid > duplication of the work if someone is already o the same job. Yes, please go ahead. I am not aware of anybody who is working on the documentation of the same classes. Everybody is announcing their work on the list, so it should be easy to avoid conflicts. > Further, is the format as mentioned below is acceptable to > you? You have not really described a format precisely here: > > > and the format we can use for the documentation is- > > > API NAME > > > INPUT PARAMETERS > > > DESCRIPTION > > > OUTPUT but I am confident that you can look at the existing doxygen comments and do the same for new documentation. > Do you need us to give more headers in .h file? I don't understand that sentence, but again, I don't see any way to be confused about the task. > We are fully conversant with Doxygen. Great. Murray Cumming www.murrayc.com murrayc@usa.net > > > In response to your call for documentation of GTKmm > classes, below > > > are the classes for which we can do the API documentaion. > > > > > > NAMESPACE - GDK > > > CLASSES- > > > GC > > > Pixbuf > > > Pixmap > > > > > > NAMESPACE - GLIB > > > CLASSES- > > > Thread > > > Thread::Exit > > > Thread::Error > > > Mutex > > > Mutex::Lock > > > > > > NAMESPACE - GTK > > > CLASSES - > > > Window > > > Widget > > > FileSelection > > > > > > NAMESPACE- Gnome::Canvas > > > CLASSES- > > > Canvas > > > CanvasAA > > > Pixbuf > > > > Great. > > > > > and the format we can use for the documentation is- > > > API NAME > > > INPUT PARAMETERS > > > DESCRIPTION > > > OUTPUT > > > > > > Please guide me. > > > > I am not quite sure what specific help you need. Are you > familiar with > > the doxygen/javadoc format that we use? Are you not > familiar with the > > way that gmmproc merges the C docs to generate some doxygen > comments > > automatically? > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > From abhatnag@mda.ca Wed Jan 14 15:50:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id B07E818A8B for ; Wed, 14 Jan 2004 15:50:30 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0EKoOW10104; Wed, 14 Jan 2004 12:50:25 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 14 Jan 2004 12:50:24 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942848B@msxyvr5.mda.ca> From: Amit BHATNAGAR To: "'Roger Leigh'" Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Examples of libglademm in action? Date: Wed, 14 Jan 2004 12:50:24 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thank you! This is exactly what I needed, an excellent tutorial on GTK+, C++ and glade! amit. > -----Original Message----- > From: Roger Leigh [mailto:roger@whinlatter.uklinux.net] > Sent: January 13, 2004 1:48 AM > To: Amit BHATNAGAR > Cc: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Examples of libglademm in action? > > > Amit BHATNAGAR writes: > > > I'm looking for example source of applications using libglademm. > > I don't find the "basic" example that comes with the libglademm > > tarball that usefull. Does anyone know where I can find > such examples? > > http://people.debian.org/~rleigh/gtk/ogcalc/ > > > HTH, > Roger > > -- > Roger Leigh > > Printing on GNU/Linux? > http://gimp-print.sourceforge.net/ > GPG Public Key: 0x25BFB848. Please sign and > encrypt your mail. > > From gene@erachampion.com Wed Jan 14 18:03:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 0A886182C9 for ; Wed, 14 Jan 2004 18:03:07 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i0ENDHF10205; Wed, 14 Jan 2004 15:13:17 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Wed, 14 Jan 2004 15:13:16 -0800 Message-ID: <1074121996.4005cd0c72c01@realtyroad.com> Date: Wed, 14 Jan 2004 15:13:16 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Cc: roger.whinlatter@uklinux.net Subject: [gtkmm] Gtkmm Tutorials (was: Re: Examples of libglademm in action?) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Roger Leigh writes: > > I'm looking for example source of applications using libglademm. > > I don't find the "basic" example that comes with the libglademm > > tarball that usefull. Does anyone know where I can find such examples? > http://people.debian.org/~rleigh/gtk/ogcalc/ This is exactly what gtkmm needs (ie. more documentation/tutorials). This is an excellent tutorial on gtk+/gtkmm & glade. I think a 'Tutorials' link should be created on the main gtkmm webpage with links to all gtkmm tutorials. Anyone aware of any other gtkmm tutorials out there? -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From Stefan.Andressen@t-online.de Thu Jan 15 00:35:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mail.gnome.org (Postfix) with ESMTP id A436118696 for ; Thu, 15 Jan 2004 00:35:16 -0500 (EST) Received: from fwd08.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1Ah09z-0003eQ-00; Thu, 15 Jan 2004 06:35:15 +0100 Received: from stefanxp1800 (E2KvA+Za8eHYyz20QAvuB3CuNv2Jfa397P4iFNpnjO1S5ESOkTr04s@[62.224.224.223]) by fwd08.sul.t-online.com with smtp id 1Ah09j-05QquW0; Thu, 15 Jan 2004 06:34:59 +0100 Message-ID: <002201c3db29$5000fd10$dfe0e03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 15 Jan 2004 06:34:56 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01C3DB31.B13D7060" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: E2KvA+Za8eHYyz20QAvuB3CuNv2Jfa397P4iFNpnjO1S5ESOkTr04s Subject: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C3DB31.B13D7060 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! Can i compile and run gtkmm applications with gcc 3.3/gcc 3.4, or are = there known problems? I would like to use this newer versions, because they are faster and = more ansi.=20 I did it with gcc 3.3 and it worked fine, at least for me. What about = gcc 3.4 (would be a great advantages, because of the precompiled = headers)? Bye, Stedan ------=_NextPart_000_001F_01C3DB31.B13D7060 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I would like to use this newer = versions,=20 because they are faster and more ansi.
I did it with gcc 3.3 and it worked = fine, at least=20 for me. What about gcc 3.4 (would be a great advantages, because of the=20 precompiled headers)?
 
Bye,
Stedan
------=_NextPart_000_001F_01C3DB31.B13D7060-- From Nathan.Hurst@infotech.monash.edu.au Wed Jan 14 22:47:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ALPHA9.ITS.MONASH.EDU.AU (alpha9.its.monash.edu.au [130.194.1.9]) by mail.gnome.org (Postfix) with ESMTP id 8483618394 for ; Wed, 14 Jan 2004 22:47:11 -0500 (EST) Received: from localhost ([130.194.13.84]) by vaxh.its.monash.edu.au (PMDF V5.2-31 #39306) with ESMTP id <01L5FIFBTYBS9004FK@vaxh.its.monash.edu.au> for gtkmm-list@gnome.org; Thu, 15 Jan 2004 14:10:00 +1100 Received: from blammo.its.monash.edu.au (localhost.its.monash.edu.au [127.0.0.1]) by localhost (Postfix) with ESMTP id 3F74839C004; Thu, 15 Jan 2004 14:10:00 +1100 (EST) Received: from nexus.csse.monash.edu.au (nexus.csse.monash.edu.au [130.194.64.4]) by blammo.its.monash.edu.au (Postfix) with ESMTP id 258BE2DC010; Thu, 15 Jan 2004 14:10:00 +1100 (EST) Received: from mail.csse.monash.edu.au (nudibranch.csse.monash.edu.au [130.194.67.14]) by nexus.csse.monash.edu.au (8.12.8+Sun/8.12.8) with ESMTP id i0F39vsQ024040; Thu, 15 Jan 2004 14:09:59 +1100 (EST) Date: Thu, 15 Jan 2004 14:06:49 +1100 From: Nathan Hurst In-reply-to: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Message-id: <400603C9.5080008@mail.csse.monash.edu.au> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en References: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> Subject: [gtkmm] tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: In the Appendix B of the tutorial there is this example: void on_button_clicked(); class some_class { void on_button_clicked(); }; some_class some_object; main() { Gtk::Button button; button.signal_clicked().connect( SigC::slot(&on_button_clicked) ); button.signal_clicked().connect( SigC::slot(some_object, &some_class::on_button_clicked) ); } After much frustration I finally found out that some_class needs to be derived from SigC::Object. Could something to this effect be added please? njh From abt@gmx.de Thu Jan 15 05:38:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id ACB4818513 for ; Thu, 15 Jan 2004 05:38:51 -0500 (EST) Received: (qmail 4704 invoked by uid 65534); 15 Jan 2004 10:38:47 -0000 Received: from port-213-61-210-205.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.205) by mail.gmx.net (mp003) with SMTP; 15 Jan 2004 11:38:47 +0100 X-Authenticated: #109577 Message-ID: <40066DA9.7080900@gmx.de> Date: Thu, 15 Jan 2004 11:38:33 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] I am stuck with a C++ problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi members, I have a C++ problem I just cannot solve. I am new to C++ so maybe you can help easily: I want to create 10 ParameterLines holding 4 widgets within class ParameterLine. ParameterLine is derived from HBox. class Parameters is calling ParameterLine to create those boxes. Parameters is derived from VBox, holding all objects of ParameterLine. My problem is I cannot see any widget in my table! Something is wrong with creation of my objects. When I create the widgets directly in main.cpp without classes involved it works.... main.h Parameters m_Parameters; main.cpp: myTable->attach(m_Parameters, 0, 6, 1, 2); Parameters.h: ------------- class Parameters : public Gtk::VBox { public: Parameters(); virtual ~Parameters(); }; Parameters.cpp: --------------- // An object of this class represents all ParameterLines in a VBox Parameters::Parameters() { // Generate ParameterLines for (int i=0; i<10; i++) { ParameterLine pLine; pack_start(pLine); } } ParameterLine.h: ---------------- class ParameterLine : public Gtk::HBox { public: ParameterLine(); virtual ~ParameterLine(); protected: Gtk::Label m_paramNameLabel; Gtk::Entry m_paramValEntry; Gtk::Label m_paramTypeLabel; Gtk::Button m_descButton; }; ParameterLine.cpp: ------------------ ParameterLine::ParameterLine() : m_descButton("Help") { // View Name of Parameter as Label m_paramNameLabel.set_alignment(Gtk::ALIGN_LEFT); m_paramNameLabel.set_text("m_name"); // View Value of Parameter in an entry m_paramValEntry.set_text(m_value); m_paramValEntry.set_editable("true"); // View Type of Parameter as Label m_paramTypeLabel.set_text("m_type"); // Pack all widgets into this object pack_start(m_paramNameLabel); pack_start(m_paramValEntry); pack_start(m_paramTypeLabel); pack_start(m_descButton); } TIA, Andi From matthew@alledora.co.uk Thu Jan 15 05:54:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id C6AC518775 for ; Thu, 15 Jan 2004 05:54:55 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Ah56h-0007Wh-S2 for gtkmm-list@gnome.org; Thu, 15 Jan 2004 10:52:11 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Ah56g-0007WS-Qt; Thu, 15 Jan 2004 10:52:10 +0000 Message-ID: <400671BD.60007@alledora.co.uk> Date: Thu, 15 Jan 2004 10:55:57 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> In-Reply-To: <40066DA9.7080900@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Are you calling show_all() on your Parameters object? show_all() causes a widget and all its children to be displayed, and I didn't see any calls to it or to show() in your code. From Murray.Cumming@Comneon.com Thu Jan 15 06:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 1211818C6B for ; Thu, 15 Jan 2004 06:04:58 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FB0pDb022125; Thu, 15 Jan 2004 12:00:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 12:05:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Nathan.Hurst@infotech.monash.edu.au, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Date: Thu, 15 Jan 2004 12:04:55 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes. Thanks for noticing that. Feel free to submit a patch. It should explain it and also explain that Gtk widgets do this automatically. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Nathan Hurst [mailto:Nathan.Hurst@infotech.monash.edu.au] > Sent: Donnerstag, 15. Januar 2004 04:07 > To: Murray.Cumming@Comneon.com > Cc: gtkmm-list@gnome.org > Subject: tutorial appendix B on signals misleading > > > In the Appendix B of the tutorial there is this example: > > void on_button_clicked(); > > class some_class > { > void on_button_clicked(); > }; > > some_class some_object; > > main() > { > Gtk::Button button; > button.signal_clicked().connect( SigC::slot(&on_button_clicked) ); > button.signal_clicked().connect( SigC::slot(some_object, > &some_class::on_button_clicked) ); } > > After much frustration I finally found out that some_class > needs to be > derived from SigC::Object. Could something to this effect be > added please? > > njh > From Murray.Cumming@Comneon.com Thu Jan 15 06:09:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D5A2418185 for ; Thu, 15 Jan 2004 06:09:28 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FB5MDb023808; Thu, 15 Jan 2004 12:05:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 12:09:48 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2293D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 12:09:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Can i compile and run gtkmm applications with gcc 3.3 Yes, as you have discovered. >/gcc 3.4 I am not sure what "gcc 3.4" means. Is there a stable release already?: http://gcc.gnu.org/releases.html >, or are there known problems? No, all known problems are either - in bugzilla: http://www.gtkmm.org/bugs.shtml or - listed as fixed in the ChangeLog in cvs. or - in the FAQ Of course we would like to here about any problems, even with prerelease versions of gcc. > I would like to use this newer versions, because they are faster and more ansi. > I did it with gcc 3.3 and it worked fine, at least for me. What about gcc 3.4 (would be a great advantages, because of the precompiled > headers)? Please do try, and tell us about the results. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Thu Jan 15 06:36:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id EFAC418C82 for ; Thu, 15 Jan 2004 06:36:22 -0500 (EST) Received: (qmail 21787 invoked by uid 65534); 15 Jan 2004 11:36:21 -0000 Received: from pD902B4DF.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.223) by mail.gmx.net (mp012) with SMTP; 15 Jan 2004 12:36:21 +0100 X-Authenticated: #109577 Message-ID: <40067B23.6030804@gmx.de> Date: Thu, 15 Jan 2004 12:36:03 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> <400671BD.60007@alledora.co.uk> In-Reply-To: <400671BD.60007@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes, I do. All other widgets in my table are visible. When I create the widgets in main() it works... :-/ > Are you calling show_all() on your Parameters object? show_all() causes a widget and all its children to be displayed, and I didn't see any calls to it or to show() in your code. From ramachandrap@dpsl.net Thu Jan 15 07:03:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id 0960618C93 for ; Thu, 15 Jan 2004 07:03:01 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 17:45:12 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZX02M; Thu, 15 Jan 2004 17:45:06 +0530 Received: FROM comp448 BY khyber.enigma ; Thu Jan 15 17:45:04 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <014b01c3db60$3cf13550$5f0210ac@enigma> Date: Thu, 15 Jan 2004 17:38:08 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0148_01C3DB8E.569BB5B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Change Mouse cursor Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0148_01C3DB8E.569BB5B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, here i have small code snipet, my main intention is to change the mouse = cursor, but refptr_gdkwindow is NULL, i.e. line if(refptr_gdkwindow) is = never true. any help or suggestions would greatly be appreaciated. i am using gtkmm-2.0.1 Thanx. Regards Ramachandra =20 ------=_NextPart_000_0148_01C3DB8E.569BB5B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,

here i have small code snipet, my main intention is to = change the=20 mouse
cursor, but refptr_gdkwindow is NULL, i.e. line = if(refptr_gdkwindow)=20 is
never true. any help or suggestions would greatly be=20 appreaciated.

i am using=20 gtkmm-2.0.1

Thanx.

Regards


Ramachandra
 
------=_NextPart_000_0148_01C3DB8E.569BB5B0-- From Murray.Cumming@Comneon.com Thu Jan 15 07:48:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E98AE181B3 for ; Thu, 15 Jan 2004 07:48:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FChrDb011211; Thu, 15 Jan 2004 13:43:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 13:48:19 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2294D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: njh@hawthorn.csse.monash.edu.au Cc: Nathan.Hurst@infotech.monash.edu.au, gtkmm-list@gnome.org Date: Thu, 15 Jan 2004 13:47:58 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks, but please see www.gtkmm.org/bugs.shtml about creating patches. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Nathan Hurst [mailto:njh@hawthorn.csse.monash.edu.au] > Sent: Donnerstag, 15. Januar 2004 13:10 > To: Murray.Cumming@Comneon.com > Cc: Nathan.Hurst@infotech.monash.edu.au; gtkmm-list@gnome.org > Subject: Re: tutorial appendix B on signals misleading > > > Murray.Cumming@Comneon.com wrote: > > >Yes. Thanks for noticing that. Feel free to submit a patch. > It should > >explain it and also explain that Gtk widgets do this automatically. > > > >Murray Cumming > >www.murrayc.com > >murrayc@usa.net > > > > > > --- docs/tutorial/gtkmm-tut-with-examples.xml 2004-01-15 > 22:22:35.000000000 +1100 > +++ docs/tutorial/gtkmm-tut-with-examples-njh.xml 2004-01-15 > 23:08:25.000000000 +1100 > @@ -11005,7 +11005,7 @@ > > void on_button_clicked(); > > -class some_class > +class some_class : public SigC::Object > { > void on_button_clicked(); > }; > @@ -11029,7 +11029,7 @@ > second argument is a pointer to one of its methods. This > particular version of slot() creates a > slot which will, when > "called", call > the pointed-to method of the specified object, in this case > -some_object.on_button_clicked(). > +some_object.on_button_clicked(). Note that some_class must > be derived > from SigC::Object - most classes will be > derived from > a Gtk::Widget which includes SigC::Object > as an ancestor. > > > > From bevis@anvil.com Thu Jan 15 08:45:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 765B618887 for ; Thu, 15 Jan 2004 08:45:27 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 62AF4224; Thu, 15 Jan 2004 13:41:35 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 8148221F for ; Thu, 15 Jan 2004 13:41:34 +0000 (GMT) Message-ID: <40069964.5080108@anvil.co.uk> Date: Thu, 15 Jan 2004 13:45:08 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] simple window size question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I want to get the size of a maximised window. I do something like: C_Mywindow mc_mywindow; (inherits Gtk::Window) mc_mywindow.move(0, 0); mc_mywindow.maximize(); int w, h; mc_mywindow.get_size(w, h); (or w=mc_mywindow.get_width(); etc) but the size I get back is not it's maximised size. if i put in a mc_mywindow.set_size_request(400, 400); before the maximize, i actually get back a size of 620x620. what have i missed? bevis From abt@gmx.de Thu Jan 15 08:48:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 699E218887 for ; Thu, 15 Jan 2004 08:48:09 -0500 (EST) Received: (qmail 15021 invoked by uid 65534); 15 Jan 2004 13:48:06 -0000 Received: from pD902B4D4.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.212) by mail.gmx.net (mp012) with SMTP; 15 Jan 2004 14:48:06 +0100 X-Authenticated: #109577 Message-ID: <400699AB.5070309@gmx.de> Date: Thu, 15 Jan 2004 14:46:19 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> In-Reply-To: <40066DA9.7080900@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I solved it! I must allocate objects dynamically: for (int i=0; i<10; i++) { ParameterLine *pLine; Pline = new(ParameterLine); pack_start(pLine); } Andreas B. Thun wrote: > Hi members, > > I have a C++ problem I just cannot solve. > I am new to C++ so maybe you can help easily: > > I want to create 10 ParameterLines holding > 4 widgets within class ParameterLine. > ParameterLine is derived from HBox. > > class Parameters is calling ParameterLine > to create those boxes. Parameters is > derived from VBox, holding all objects > of ParameterLine. > > My problem is I cannot see any widget > in my table! Something is wrong with > creation of my objects. > When I create the widgets directly in > main.cpp without classes involved it works.... > > > main.h > Parameters m_Parameters; > > main.cpp: > myTable->attach(m_Parameters, 0, 6, 1, 2); > > > Parameters.h: > ------------- > class Parameters : public Gtk::VBox { > public: > Parameters(); > virtual ~Parameters(); > }; > > > Parameters.cpp: > --------------- > // An object of this class represents all ParameterLines in a VBox > Parameters::Parameters() > { > // Generate ParameterLines > for (int i=0; i<10; i++) > { > ParameterLine pLine; > pack_start(pLine); > } > } > > > ParameterLine.h: > ---------------- > class ParameterLine : public Gtk::HBox { > public: > ParameterLine(); > virtual ~ParameterLine(); > > protected: > Gtk::Label m_paramNameLabel; > Gtk::Entry m_paramValEntry; > Gtk::Label m_paramTypeLabel; > Gtk::Button m_descButton; > }; > > > ParameterLine.cpp: > ------------------ > ParameterLine::ParameterLine() : m_descButton("Help") > { > // View Name of Parameter as Label > m_paramNameLabel.set_alignment(Gtk::ALIGN_LEFT); > m_paramNameLabel.set_text("m_name"); > > // View Value of Parameter in an entry > m_paramValEntry.set_text(m_value); > m_paramValEntry.set_editable("true"); > > // View Type of Parameter as Label > m_paramTypeLabel.set_text("m_type"); > > // Pack all widgets into this object > pack_start(m_paramNameLabel); > pack_start(m_paramValEntry); > pack_start(m_paramTypeLabel); > pack_start(m_descButton); > } > > > > TIA, > Andi > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From bevis@anvil.com Thu Jan 15 08:53:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id C063D18140 for ; Thu, 15 Jan 2004 08:53:14 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 8D100231; Thu, 15 Jan 2004 13:49:23 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id B9DB522C for ; Thu, 15 Jan 2004 13:49:22 +0000 (GMT) Message-ID: <40069B39.80706@anvil.co.uk> Date: Thu, 15 Jan 2004 13:52:57 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org References: <40069964.5080108@anvil.co.uk> In-Reply-To: <40069964.5080108@anvil.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] simple window size question part 2 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: OK, let me clarify that a bit. This code: mc_image_window.set_size_request(400, 400); mc_image_window.move(0, 0); mc_image_window.maximize(); int w=0, h=0; mc_image_window.get_size(w, h); cout << w<<", "< I want to get the size of a maximised window. I do something like: > > C_Mywindow mc_mywindow; (inherits Gtk::Window) > mc_mywindow.move(0, 0); > mc_mywindow.maximize(); > int w, h; > mc_mywindow.get_size(w, h); > (or w=mc_mywindow.get_width(); etc) > > but the size I get back is not it's maximised size. > > if i put in a > mc_mywindow.set_size_request(400, 400); > before the maximize, i actually get back a size of 620x620. > > what have i missed? > > > > bevis > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From Stefan.Andressen@t-online.de Thu Jan 15 08:54:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mail.gnome.org (Postfix) with ESMTP id 294E7183B4 for ; Thu, 15 Jan 2004 08:54:29 -0500 (EST) Received: from fwd09.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1Ah7x5-0002yB-00; Thu, 15 Jan 2004 14:54:27 +0100 Received: from stefanxp1800 (Z2D9t6ZAreCpPbdFdRUaqdJsHWrAVPe1oPB4jlY393xIZHRqTd+HUE@[62.224.223.57]) by fwd09.sul.t-online.com with smtp id 1Ah7wq-1e0arw0; Thu, 15 Jan 2004 14:54:12 +0100 Message-ID: <001201c3db6f$0d5876a0$39dfe03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: References: <258B0164D480D5118D900800062B385801C2293D@vihsx09a.vih.infineon.com> Subject: Re: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 14:54:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: Z2D9t6ZAreCpPbdFdRUaqdJsHWrAVPe1oPB4jlY393xIZHRqTd+HUE Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: No, gcc 3.4 is still in stage 3 and therefore not a stable release version. But it looks very promising:). Thanks for your answer. Bye, Stefan ----- Original Message ----- From: To: ; Sent: Thursday, January 15, 2004 12:09 PM Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm > > Can i compile and run gtkmm applications with gcc 3.3 > > Yes, as you have discovered. > > >/gcc 3.4 > > I am not sure what "gcc 3.4" means. Is there a stable release already?: > http://gcc.gnu.org/releases.html > > >, or are there known problems? > > No, all known problems are either > - in bugzilla: > http://www.gtkmm.org/bugs.shtml > or > - listed as fixed in the ChangeLog in cvs. > or > - in the FAQ > > Of course we would like to here about any problems, even with prerelease > versions of gcc. > > > I would like to use this newer versions, because they are faster and more > ansi. > > I did it with gcc 3.3 and it worked fine, at least for me. What about gcc > 3.4 (would be a great advantages, because of the precompiled > headers)? > > Please do try, and tell us about the results. > > Murray Cumming > www.murrayc.com > murrayc@usa.net From njh@hawthorn.csse.monash.edu.au Thu Jan 15 07:10:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail019.syd.optusnet.com.au (mail019.syd.optusnet.com.au [211.29.132.73]) by mail.gnome.org (Postfix) with ESMTP id 18B0818C93 for ; Thu, 15 Jan 2004 07:10:03 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail019.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0FC9pB10347; Thu, 15 Jan 2004 23:09:52 +1100 Message-ID: <4006830E.3080509@hawthorn.csse.monash.edu.au> Date: Thu, 15 Jan 2004 23:09:50 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: Nathan.Hurst@infotech.monash.edu.au, gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >Yes. Thanks for noticing that. Feel free to submit a patch. It should >explain it and also explain that Gtk widgets do this automatically. > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > --- docs/tutorial/gtkmm-tut-with-examples.xml 2004-01-15 22:22:35.000000000 +1100 +++ docs/tutorial/gtkmm-tut-with-examples-njh.xml 2004-01-15 23:08:25.000000000 +1100 @@ -11005,7 +11005,7 @@ void on_button_clicked(); -class some_class +class some_class : public SigC::Object { void on_button_clicked(); }; @@ -11029,7 +11029,7 @@ second argument is a pointer to one of its methods. This particular version of slot() creates a slot which will, when "called", call the pointed-to method of the specified object, in this case -some_object.on_button_clicked(). +some_object.on_button_clicked(). Note that some_class must be derived from SigC::Object - most classes will be derived from a Gtk::Widget which includes SigC::Object as an ancestor. From Nick.Huxley@barclayscapital.com Thu Jan 15 08:42:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id 5FAF618C9C for ; Thu, 15 Jan 2004 08:42:02 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0FDe8VQ007976 for ; Thu, 15 Jan 2004 08:40:08 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0FDe5lc007970 for ; Thu, 15 Jan 2004 08:40:06 -0500 (EST) Received: from nykpsmeh003.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Thu, 15 Jan 2004 08:41:58 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by nykpsmeh003.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Thu, 15 Jan 2004 08:41:58 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3DB6D.58A5373C" content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 08:41:58 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF054@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Thread-Index: AcPbKjclchAac/kzQ/u210OF1aUHfgAQvCTQ From: "Huxley, Nick: IT (NYK)" To: , X-OriginalArrivalTime: 15 Jan 2004 13:41:58.0551 (UTC) FILETIME=[58E02A70:01C3DB6D] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C3DB6D.58A5373C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 3.4 is still in a development phase and _not_ stable. I really wouldn't use it unless you want to use gtkmm as a test case for the compiler. They've just improved the template look up code for example but other stuff is mid re-write. =20 Nick -----Original Message----- From: Stefan.Andressen@t-online.de [mailto:Stefan.Andressen@t-online.de]=20 Sent: Thursday, January 15, 2004 12:35 AM To: gtkmm-list@gnome.org Subject: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm =09 =09 Hi! =20 Can i compile and run gtkmm applications with gcc 3.3/gcc 3.4, or are there known problems? I would like to use this newer versions, because they are faster and more ansi.=20 I did it with gcc 3.3 and it worked fine, at least for me. What about gcc 3.4 (would be a great advantages, because of the precompiled headers)? =20 Bye, Stedan ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ ------_=_NextPart_001_01C3DB6D.58A5373C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
3.4 is=20 still in a development phase and _not_ stable. I really wouldn't use it unl= ess=20 you want to use gtkmm as a test case for the compiler.
They've just improved the template look up code for example but ot= her=20 stuff is mid re-write.
 
Nick
-----Original Message-----
From:=20 Stefan.Andressen@t-online.de [mailto:Stefan.Andressen@t-online.de]=20
Sent: Thursday, January 15, 2004 12:35 AM
To:=20 gtkmm-list@gnome.org
Subject: [gtkmm] gcc 3.3/gcc 3.4 with=20 Gtkmm

Hi!
 
Can i compile and run gtkmm applications= with=20 gcc 3.3/gcc 3.4, or are there known problems?
I would like to use this newer vers= ions,=20 because they are faster and more ansi.
I did it with gcc 3.3 and it worked fine= , at=20 least for me. What about gcc 3.4 (would be a great advantages, because of= the=20 precompiled headers)?
 
Bye,
Stedan


------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays
Group does not accept legal responsibility for the contents of this
message. Although the Barclays Group operates anti-virus programmes,
it does not accept responsibility for any damage whatsoever that is
caused by viruses being passed. Any views or opinions presented are
solely those of the author and do not necessarily represent those of the Barclays Group. Replies to this email may be monitored by the Barclays
Group for operational or business reasons.

------------------------------------------------------------------------
=00 ------_=_NextPart_001_01C3DB6D.58A5373C-- From ufk2003@yahoo.com Thu Jan 15 08:56:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx-in-01.simplementehosting.net (mx-in-01.simplementehosting.net [66.216.79.177]) by mail.gnome.org (Postfix) with ESMTP id B119918140 for ; Thu, 15 Jan 2004 08:56:48 -0500 (EST) Received: from tux-in (CBL62-0-171-41.bb.netvision.net.il [62.0.171.41]) by mx-in-01.simplementehosting.net (Postfix) with ESMTP id A2AF4234048 for ; Thu, 15 Jan 2004 07:56:47 -0600 (CST) Received: from tux-in (localhost [127.0.0.1]) by tux-in (Postfix) with ESMTP id 1C3046C09DB for ; Wed, 14 Jan 2004 16:55:13 +0200 (IST) Date: Sat, 27 Sep 2003 18:19:31 +0300 From: Kfir Ozer To: gtkmm-list@gnome.org Message-ID: <20030927151931.GA24606@tux-in> Mime-Version: 1.0 Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: Balsa 2.0.14 Lines: 27 Subject: [gtkmm] (no subject) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: i have a small project that i did a few months ago that used to compile just fine. now when i compile it this is what i get: In file included from /usr/include/gtkmm-2.0/gtkmm.h:85, from common.hh:4, from callback.cc:1: /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const Gtk::Notebook_Helpers::Page& Gtk::Notebook_Helpers::PageIterator::operator*() const': /usr/include/gtkmm-2.0/gtkmm/notebook.h:822: error: ` Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` Gtk::Notebook_Helpers::Page' /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const Gtk::Notebook_Helpers::Page* Gtk::Notebook_Helpers::PageIterator::operator->() const': /usr/include/gtkmm-2.0/gtkmm/notebook.h:828: error: ` Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` Gtk::Notebook_Helpers::Page' make[2]: *** [callback.o] Error 1 make[2]: Leaving directory `/home/ufk/Projects/gebuilder/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ufk/Projects/gebuilder' make: *** [all-recursive-am] Error 2 ufk@tux-in gebuilder $ any ideas? thanks From Murray.Cumming@Comneon.com Thu Jan 15 09:56:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 25806187C6 for ; Thu, 15 Jan 2004 09:56:35 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FEqSDb008482; Thu, 15 Jan 2004 15:52:28 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 15:56:54 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22964@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ufk2003@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] (no subject) Date: Thu, 15 Jan 2004 15:56:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: You are maybe using a new compiler. This might require an update version of gtkmm 2.2, or you might need to update your compiler (SUSE's gcc in SUSE 8.2 was broken, for instance). Details will help us. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Kfir Ozer > Sent: Samstag, 27. September 2003 17:20 > To: gtkmm-list@gnome.org > Subject: [gtkmm] (no subject) > > > i have a small project that i did a few months ago that used > to compile just fine. now when i compile it this is what i get: > > In file included from /usr/include/gtkmm-2.0/gtkmm.h:85, > from common.hh:4, > from callback.cc:1: > /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const > Gtk::Notebook_Helpers::Page& > Gtk::Notebook_Helpers::PageIterator::operator*() const': > /usr/include/gtkmm-2.0/gtkmm/notebook.h:822: error: ` > Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` > Gtk::Notebook_Helpers::Page' > /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const > Gtk::Notebook_Helpers::Page* > Gtk::Notebook_Helpers::PageIterator::operator->() const': > /usr/include/gtkmm-2.0/gtkmm/notebook.h:828: error: ` > Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` > Gtk::Notebook_Helpers::Page' > make[2]: *** [callback.o] Error 1 > make[2]: Leaving directory `/home/ufk/Projects/gebuilder/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/ufk/Projects/gebuilder' > make: *** [all-recursive-am] Error 2 > ufk@tux-in gebuilder $ > > > any ideas? thanks _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From abas@aix.meng.auth.gr Thu Jan 15 10:24:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id 46390180D9 for ; Thu, 15 Jan 2004 10:24:04 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1Ah9LR-00032k-00; Thu, 15 Jan 2004 17:23:41 +0200 Subject: Re: [gtkmm] simple window size question part 2 From: Anastasios Bassoukos To: Bevis Peters Cc: gtkmm-list@gnome.org In-Reply-To: <40069B39.80706@anvil.co.uk> References: <40069964.5080108@anvil.co.uk> <40069B39.80706@anvil.co.uk> Content-Type: multipart/alternative; boundary="=-874lnvL2TPnNexFYg4Eu" Organization: LHTEE, AUTh Message-Id: <1074180221.25593.7.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 15 Jan 2004 17:23:41 +0200 X-Scanner: exiscan *1Ah9LR-00032k-00*BsVFtVGOCR.* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-874lnvL2TPnNexFYg4Eu Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, 2004-01-15 at 15:52, Bevis Peters wrote: > OK, let me clarify that a bit. This code: > > mc_image_window.set_size_request(400, 400); > mc_image_window.move(0, 0); > mc_image_window.maximize(); > int w=0, h=0; > mc_image_window.get_size(w, h); > cout << w<<", "< > gets back 400x400, not the windows true maximised size. > > what have i missed? By the time you get to the get_size(), the resize request has not even been sent to the window manager. You will need to add a slot to the "size-allocate" signal , and only then will your window be maximized. Also read the documentation on that method. Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri --=-874lnvL2TPnNexFYg4Eu Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit On Thu, 2004-01-15 at 15:52, Bevis Peters wrote:
OK, let me clarify that a bit.  This code:

  mc_image_window.set_size_request(400, 400);
  mc_image_window.move(0, 0);
  mc_image_window.maximize();
  int w=0, h=0;
  mc_image_window.get_size(w, h);
  cout << w<<", "<<h<<endl;

gets back 400x400, not the windows true maximised size.

what have i missed?

By the time you get to the get_size(), the resize request has not even been sent to the window manager. You will need to add a slot to the "size-allocate" signal , and only then will your window be maximized. Also read the documentation on that method.

Tassos

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master." 
	-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri
--=-874lnvL2TPnNexFYg4Eu-- From lupv@gmv.es Thu Jan 15 10:54:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 8100E18735 for ; Thu, 15 Jan 2004 10:54:35 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0FFrO78027690 for ; Thu, 15 Jan 2004 16:53:24 +0100 Received: from gmvmailhost.gmv.es (gmvmailhost.gmv.es [172.22.2.4]) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) with ESMTP id i0FFrlZ09255 for ; Thu, 15 Jan 2004 16:53:47 +0100 (MET) Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0FFsXiO000440 for ; Thu, 15 Jan 2004 16:54:33 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Thu, 15 Jan 2004 17:04:14 +0100 Message-ID: <4006B7E0.2030201@gmv.es> Date: Thu, 15 Jan 2004 16:55:12 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] gtkmm resources Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm new using gtkmm and I would like to know how to configure the properties of a customized class, e.g. MyLabel that derives from Gtk::Label, to change its default font, font size, background, etc, from a resource file. I don't know how to apply themes for a simple gtkmm application (not gnome application). I'm first using gtkmm without knowing anything about GTK+ and perhaps this is my problem. I've reviewed the gtkmm documentation and I haven't found any clue. Thank you for your help, Luis From jonnyyu@online.sh.cn Thu Jan 15 11:26:13 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep2.online.sh.cn (unknown [202.96.209.41]) by mail.gnome.org (Postfix) with ESMTP id 0614318DEC for ; Thu, 15 Jan 2004 11:26:13 -0500 (EST) Received: from STARDUSTS ([218.80.108.37]) by fep2.online.sh.cn with ESMTP id <20040115162608.IRWJ5474.fep2.online.sh.cn@STARDUSTS> for ; Fri, 16 Jan 2004 00:26:08 +0800 Reply-To: From: "Jonny Yu" To: Date: Fri, 16 Jan 2004 00:27:42 +0800 Organization: Microsoft Message-ID: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: [gtkmm] Link problem using gtkmm with MSVC 7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I'm trying to build the example code of gtkmm with MSVC 7.1, Although I got several warnings ,such as e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: 'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via dominance e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning C4181: qualifier applied to reference type; ignored the sample did compiled through, the problem is I don't have the lib file (in .lib format). I downloaded the win32 port of http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ however the lib format is in .dll.a format, which could not be recognized by VC linker. Where can I find the .lib format gtkmm lib file? If not, can I build the .lib file from source or convert the .dll.a to .lib format? Any suggestions are grealy appreciated! Best Regards, Ying-Shen Yu From cedric.gustin@swing.be Fri Jan 16 04:17:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id CEBFA187EA for ; Fri, 16 Jan 2004 04:16:59 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0G9Ajte019688; Fri, 16 Jan 2004 10:10:53 +0100 (MET) Message-Id: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Fri, 16 Jan 2004 10:16:26 +0100 To: , From: Cedric Gustin Subject: Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 In-Reply-To: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> References: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:27 PM 1/15/2004, Jonny Yu wrote: >I'm trying to build the example code of gtkmm with MSVC 7.1, >Although I got several warnings ,such as > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: >'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via >dominance > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning >C4181: qualifier applied to reference type; ignored > >the sample did compiled through, the problem is I don't have the lib >file (in .lib format). I downloaded the win32 port of >http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ >however the lib format is in .dll.a format, which could not be >recognized by VC linker. Right, because of the different C++ name mangling schemes used by gcc and MSVC, their import libraries are incompatible. You cannot simply rename the .dll.a files to .lib (unlike their C counterparts, in most cases). >Where can I find the .lib format gtkmm lib file? >If not, can I build the .lib file from source or convert the .dll.a to >.lib format? I only support mingw32-gcc on my page but the projects files for MSVC 7.1 are in the MSVC_NET2003 directory. Don't know if they are up to date and/or if somebody provides binaries. Cedric From fnaumann@cs.uni-magdeburg.de Fri Jan 16 04:28:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10]) by mail.gnome.org (Postfix) with ESMTP id A484C1822D for ; Fri, 16 Jan 2004 04:28:00 -0500 (EST) Received: from wh58-508.st.uni-magdeburg.de ([141.44.198.58]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.30) id 1AhQGf-0004zj-J4; Fri, 16 Jan 2004 10:27:53 +0100 Date: Fri, 16 Jan 2004 10:27:50 +0100 (CET) From: Frank Naumann X-X-Sender: fnaumann@wh58-508.st.uni-magdeburg.de To: jonnyyu@online.sh.cn Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 In-Reply-To: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> Message-ID: References: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: ---- Start SpamAssassin results -4.9 points, 5.0 required; -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] ---- End of SpamAssassin results X-Scan-Signature: a6013c0e33abd25698719c75475606ab Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello! > >Where can I find the .lib format gtkmm lib file? > >If not, can I build the .lib file from source or convert the .dll.a to > >.lib format? There is no binary distribution of gtkmm for MSVC 7.1 yet. You need to compile the library itself (I can also send you the .lib files). > I only support mingw32-gcc on my page but the projects files for MSVC 7.1 > are in the MSVC_NET2003 directory. Don't know if they are up to date and/or > if somebody provides binaries. They are uptodate for gtkmm 2.2. I don't found any time to look at 2.4 yet :-( Regards, Frank Naumann From bevis@anvil.com Fri Jan 16 06:28:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 225611819D for ; Fri, 16 Jan 2004 06:28:55 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 6542D346; Fri, 16 Jan 2004 11:24:59 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id A7DFB342; Fri, 16 Jan 2004 11:24:58 +0000 (GMT) Message-ID: <4007CAE0.9060109@anvil.co.uk> Date: Fri, 16 Jan 2004 11:28:32 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Anastasios Bassoukos Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] simple window size question part 2 References: <40069964.5080108@anvil.co.uk> <40069B39.80706@anvil.co.uk> <1074180221.25593.7.camel@lhtee912.meng.auth.gr> In-Reply-To: <1074180221.25593.7.camel@lhtee912.meng.auth.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > By the time you get to the get_size(), the resize request has not even > been sent to the window manager. You will need to add a slot to the > "size-allocate" signal , and only then will your window be maximized. > Also read the documentation on that method. marvellous! that worked. bevis From lupv@gmv.es Fri Jan 16 06:36:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 598FD182A1 for ; Fri, 16 Jan 2004 06:36:27 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0GBZFfb021264 for ; Fri, 16 Jan 2004 12:35:15 +0100 Received: from gmvmailhost.gmv.es (gmvmailhost.gmv.es [172.22.2.4]) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) with ESMTP id i0GBZdZ18351 for ; Fri, 16 Jan 2004 12:35:39 +0100 (MET) Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0GBaPiO020963; Fri, 16 Jan 2004 12:36:25 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Fri, 16 Jan 2004 12:46:08 +0100 Message-ID: <4007CCE1.6090507@gmv.es> Date: Fri, 16 Jan 2004 12:37:05 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm resources References: <4006B7E0.2030201@gmv.es> In-Reply-To: <4006B7E0.2030201@gmv.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Luis Pastor Vegas wrote: > Hi, > > I'm new using gtkmm and I would like to know how to configure the > properties of a customized class, e.g. MyLabel that derives from > Gtk::Label, to change its default font, font size, background, etc, > from a resource file. I don't know how to apply themes for a simple > gtkmm application (not gnome application). I'm first using gtkmm > without knowing anything about GTK+ and perhaps this is my problem. > I've reviewed the gtkmm documentation and I haven't found any clue. > > Thank you for your help, > Luis Ok. I have already learnt that I have to use the Gtk::RC class, and reading the GTK+ documentation I am somewhat familiar to the resource file format. I have created two styles in the gtkrc file, but only the "default" style works. This is my gtkrc file: ---- style "default" { font_name = "Sans 14" } class "*" style "default" style "my-label" { font_name = "Sans Italic 10" } class "MyLabel" style "my-label" ---- In the "MyLabel" constructor there is a call to set_name("MyLabel"). What's wrong? I don't know how is the class path format that must be specified in a gtkmm application, since the only documentation I have found is for GTK+ applications. Can anybody send me a gtkrc example file? Thank you very much. From abas@aix.meng.auth.gr Fri Jan 16 07:09:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id D740B18120 for ; Fri, 16 Jan 2004 07:09:33 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1AhSmc-0007sW-00; Fri, 16 Jan 2004 14:09:02 +0200 Subject: Re: [gtkmm] gtkmm resources From: Anastasios Bassoukos To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org In-Reply-To: <4007CCE1.6090507@gmv.es> References: <4006B7E0.2030201@gmv.es> <4007CCE1.6090507@gmv.es> Content-Type: text/plain Organization: LHTEE, AUTh Message-Id: <1074254941.27735.14.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 16 Jan 2004 14:09:01 +0200 Content-Transfer-Encoding: 7bit X-Scanner: exiscan *1AhSmc-0007sW-00*lwOEDbw04ws* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 2004-01-16 at 13:37, Luis Pastor Vegas wrote: [snip] > Ok. I have already learnt that I have to use the Gtk::RC class, and > reading the GTK+ documentation I am somewhat familiar to the resource > file format. I have created two styles in the gtkrc file, but only the > "default" style works. This is my gtkrc file: > ---- > style "default" { > font_name = "Sans 14" > } > class "*" style "default" > > style "my-label" { > font_name = "Sans Italic 10" > } > class "MyLabel" style "my-label" ^^^^^ > ---- > In the "MyLabel" constructor there is a call to set_name("MyLabel"). ^^^^ > What's wrong? I don't know how is the class path format that must be > specified in a gtkmm application, since the only documentation I have > found is for GTK+ applications. Can anybody send me a gtkrc example file? > > Thank you very much. In the RC file, you should use widget "*.MyLabel" style "my-label" as the "widget" declaration sets styles by widget *names*. HTH, Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri From abt@gmx.de Fri Jan 16 08:27:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A14C818622 for ; Fri, 16 Jan 2004 08:27:46 -0500 (EST) Received: (qmail 25301 invoked by uid 65534); 16 Jan 2004 13:27:44 -0000 Received: from pD902B4D2.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.210) by mail.gmx.net (mp011) with SMTP; 16 Jan 2004 14:27:44 +0100 X-Authenticated: #109577 Message-ID: <4007E6BC.1040705@gmx.de> Date: Fri, 16 Jan 2004 14:27:24 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Strange behaviour of my Gtk::Notebook. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, I've created a Notebook with some widgets arranged in a table on it. On "button click" I create another table and append it to the notebook pages. New tab appears .... .. when I click the append-Button size of my current notebook window #1 doubles in size!! Any hints for me? TIA, Andi From jonnyyu@online.sh.cn Fri Jan 16 11:16:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep1.online.sh.cn (unknown [202.96.209.39]) by mail.gnome.org (Postfix) with ESMTP id 5CC391852C for ; Fri, 16 Jan 2004 11:16:30 -0500 (EST) Received: from STARDUSTS ([127.0.0.1]) by fep1.online.sh.cn with ESMTP id <20040116161745.JCZM11001.fep1.online.sh.cn@STARDUSTS>; Sat, 17 Jan 2004 00:17:45 +0800 Reply-To: From: "Jonny Yu" To: "'Cedric Gustin'" , Date: Sat, 17 Jan 2004 00:17:59 +0800 Organization: Microsoft Message-ID: <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> Subject: [gtkmm] =?gb2312?B?tPC4tDogW290aGVyXSBSZTogW2d0a21tXSBMaW5rIHByb2JsZW0gdQ==?= =?gb2312?B?c2luZyBndGttbSB3aXRoIE1TVkMgNy4x?= Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi Cedric, Thanks for your reply! Thanks for your help, I'd like to try the project file, however I couldn't find the MSVC_NET2003 directory in the installed files. Do you mean a web directory on your homepage? Could you give me a link to it? Thanks a lot! Best Regards, Ying-Shen Yu -----=D3=CA=BC=FE=D4=AD=BC=FE----- =B7=A2=BC=FE=C8=CB: Cedric Gustin [mailto:cedric.gustin@swing.be]=20 =B7=A2=CB=CD=CA=B1=BC=E4: Friday, January 16, 2004 5:16 PM =CA=D5=BC=FE=C8=CB: jonnyyu@online.sh.cn; gtkmm-list@gnome.org =D6=F7=CC=E2: [other] Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 At 05:27 PM 1/15/2004, Jonny Yu wrote: >I'm trying to build the example code of gtkmm with MSVC 7.1, >Although I got several warnings ,such as > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: >'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via >dominance > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning >C4181: qualifier applied to reference type; ignored > >the sample did compiled through, the problem is I don't have the lib >file (in .lib format). I downloaded the win32 port of >http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ >however the lib format is in .dll.a format, which could not be >recognized by VC linker. Right, because of the different C++ name mangling schemes used by gcc and=20 MSVC, their import libraries are incompatible. You cannot simply rename the=20 .dll.a files to .lib (unlike their C counterparts, in most cases). >Where can I find the .lib format gtkmm lib file? >If not, can I build the .lib file from source or convert the .dll.a to >.lib format? I only support mingw32-gcc on my page but the projects files for MSVC 7. 1=20 are in the MSVC_NET2003 directory. Don't know if they are up to date and/or=20 if somebody provides binaries. Cedric=20 From kmilo@softhome.net Fri Jan 16 11:42:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id B7586187D4 for ; Fri, 16 Jan 2004 11:42:51 -0500 (EST) Received: (qmail 27983 invoked by uid 417); 16 Jan 2004 16:42:51 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 16 Jan 2004 16:42:51 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Fri, 16 Jan 2004 09:42:51 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Fri, 16 Jan 2004 09:42:51 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.163] Message-ID: Subject: [gtkmm] how close the console gtkmm app's open in windows? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: every gtkmm app that run(in windows XP) open a console, there is any form to close it? anybody know a multiplataform compression library? there is support for html in any widget of gtkmm? From kickvb@touva.be Fri Jan 16 12:59:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moses.all2all.org (sys2.all2all.org [62.58.108.3]) by mail.gnome.org (Postfix) with ESMTP id 045FA180EF for ; Fri, 16 Jan 2004 12:59:11 -0500 (EST) Received: from buddha.all2all.org ([62.58.108.9] helo=all2all.org) by moses.all2all.org with smtp (ALL2ALL.ORG The Independent Network) id 1AhYFV-0007KC-00; Fri, 16 Jan 2004 18:59:14 +0100 Date: Fri, 16 Jan 2004 17:59:09 -0000 To: "Tor Arvid Lund" , Subject: Re: [gtkmm] How to make a column in a TreeView a ProgressBar? From: X-Mailer: TWIG 2.7.7 Message-ID: In-Reply-To: <400324EC.2050006@idi.ntnu.no> X-Client-IP: 81.11.157.116 Reply-To: kickvb@touva.be MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--------part4008266d49517" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ----------part4008266d49517 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > I am trying to make a TreeView with one column showing a ProgessBar > (think DC++ in Windows). I gather from the Documentation that I need to > make my own CellRenderer, but that part of the Documentation seemed > somewhat unfinished. Can I find information regarding this somewhere > else (maybe some of you on this list has experience...?) I have a made a class an a test program for a progress bar in a treeview (class ProgressCellRenderer, extending Gtk::CellRenderer). The files are in attachment. This progress bar is somewhat advanced as the foreground is drawn from an image file, allowing to have some nice look. I think this is a cool example to be added to the gtkmm package as it is somewhat common and can save lot of time for other programmers. Murray or anybody else, can I add a patch to the CVS? Can I put it in examples\book\treeview\progresscellrenderer? Regards, Christian Van Brussel ----------part4008266d49517 Content-Type: application/x-zip-compressed; name="progresscellrenderer.zip" Content-Transfer-Encoding: base64 UEsDBBQAAAAIAFp3LjAQS6YGXAYAACkUAAAsAAAAcHJvZ3Jlc3NjZWxscmVuZGVyZXIvUHJvZ3Jl c3NDZWxsUmVuZGVyZXIuY2O9WG1v2zYQ/p5fcc3QTu4cvyTYhtmpN8dxUgNOYthOg2AYBFqiLC6y KFCUba3YfvuOFO34RYrToZ1QIDJ199zxuYdHstX33/CpHlXNG3zVJwf+IyXz9IYH9LD3wScHvsOj VLCpL8HqlOC0VqsB9CvQDiVnIYVzkr3MfgtYmCxnhAUVLqat18LnPZ0KfCIhTEQSxzSA8yfmPM0n hwO8Ev6/PjnwY5/FEAk+FWQG+OoJSiHmnlwQQZuQ8gQcnImgLoulYJNEUmASSOhWuTgMP+Mu81Ll kYQuFSB9CpKKWQzc0z+ub+/hmoZUkAAGySRgDvSZQ8N4Xww58ARzV06xT12YpBrxSs1gZGYAVxwD E8l42ATK8LuAORUx/obTg/AmR5NQGXDGFpGKFAE8UqAlZCKFgMhn3Mpe4kXwX/PJgd8t7XMFXWCh npnPI6yHj3PCCi1YEMCEQhJTLwnKh+ARCB56449392No3z7CQ3s4bN+OH5sIJH2OX+mcZmHYLAoY RsWKCFxtqSL2EPxNd9j5iHjti16/N35U3F/1xrfd0Qiu7obQhkF7OO517vvtIQzuh4O7UReZH1Gq Ix6Ef0F3HoaacdSOSyWu1bigoC/Cf80nB/4Rl2WMHAcu+GROcXk6lM2RYQIOdrsvWlw58CTg4VSX EWGeRdQE5kHIZRkWgmEfkDxnwb0i++c1WYZe6FTK8OMvMKYoEgqDgDgUTmCUqAhnZ7UyXPBYKtOb NkDttF6vn9TPaj+X4X7Urvzv3H+Tp3p09B0LnSBx1XaEW4aQFb+1MXg8UBWgcdyhQTCkqpVSUfH9 46OjvC+NRt6oVYLGESo/YJNG427yJ3XkBYmpJdOIMtfKcymVyspDPjUa20hqGFURYaapHRlPe06C hNpgvVeqKcPx9ofjMtQKHCOG22KU55l9OS4dfd50xG2F4nQ+mNS6/b497N5edofdoX1zd9m1e7fd 4bi56bKMiKtdalvD6cbw30Vs/lNA52flkvE5MID4d5nailfIx7LXoYUeI5OAaijAVSwTERbxapWa BeHOWShbBeEKwV4R0a5MqVRjy/SF4EZQQ+oNpDi/drEgA7acJF4LXp9UVuZDWRmZ7KU158wtCKVM Y/YXtedeEjqW1ssDc3H4HTY49beMLTOMJejMh7goSDgN6DtwEMfGjkbKuFui9dLmnhcre/0z3f6J WNI37z5Vp81sLsXk7MwKJVhMi57xWgWQRcs8Ng1PWspOf8zsskyKDLOvhznMhGoYNGTtTeuBhS5f tBQT6qUMX0D1hDhPU6F2BUP4wYrkG9BlxGNqTPa61kjiMQ28gEzjrDbVKmBSgMA+dZ5AGDuIlSF+ x2I+E6fZzy2SqctujbI+bu0AtLDTwLt3u7jnH6Beq2m/b6MYk82bHcMKi+0wCQKrhFYZJQ6fReqU jywInD+Pmdqp1ZGCzch0xYv+ai8xh3VVdMglruEfwNoeNIrEbf0lwZaqcNrcgk/34FMNX1/l6qHW wEkElk6uy6YLr4s9xp0tG15tFaNxe9y1b++GN+2+juWBZWlJoAxyNpNRt9/tjLuXJXiDhSsdqTPB CtDKRF3xSWx73ElinAL8uhln5Q2NzdF2Z9z71F1NQSlwNYPrzvdxrgKuOy2YTO2pg2FNVN3YZKo2 D8OijycmNMnqjcj66BaoK66FJ9oFnvLxQC7wcBdwB09feMIjEFNcSW5+xJK++TlIPU5XmU49kgSr mxwu87PTwmQlXcqX0zUWlmZzLT5XkIU6gNOsHehWp9rJSUt9UarBlWBpKsq7YsLjhf5npLl6Scs7 i23Pcbsblk1bub6wL/F6gyLI5JLBl5pKAibbSNBInXkj7D8cb4GpuvXoYzOuSjxnS1wvmopdngbK odHoa4/WyvMDbI03Ghn31gaFOpKNNVOoetECdi8iIHJ+r//0h/oZRwJXkGdFyNDxW/ft2+NdArRX FvOkFZtaoP3euIdxbJfGjmD6tmsVFVMZ5rQQhbvuIGZlZ/g2bhDmzTdy9TgKc6FkqZOMQTGr7hdq +1YXViwWDdb/caCxCWrX3IMm6hZEXPAEn2kDQyrXB931xOwF0nxae56prfbR+tmq8chl1tWslzoV NrIVWgmwa1Vqm+5poftKYs/+/tp/Q/9GMVvKz+wts2rWIsdmqDNei90MpCt69eb+L1BLAwQUAAAA CABady4wHMbxVnUDAABlCwAALAAAAHByb2dyZXNzY2VsbHJlbmRlcmVyL1Byb2dyZXNzQ2VsbFJl bmRlcmVyLmhovVVtb+JGEP7Orxgp0impfEASVVUhQnUoSZAIQQYa5ZO1tsd4xdpr7a4d3Kr97Z01 VnNtnMCdct0v3vXsPPPM6/Z++I6r1+k1O/jQ1QJ/h6ys7qVAuErsNqXtL0YWJesGODoM+eVqgR/L vFJ8kxg4HZ/BRb/fB5h1wc2M5BnZZPtNeozJI4Mz7sJvLINAFVqjgKstD7dlcNjAkfDfulrgVwnX kCu5USwF2sYKEbSMzTNTOIRKFhCSJwojro3iQWEQuAGWRT2pDsOnMuJxZTWKLEIFJkEwqFINMq4P t/M13GKGiglYFIHgIcx4iJnGY9gz4m6VdIIRBFWNeGM9WDYewI0kw8xwmQ0BOckVlKg0neHiIHzD sSHkAHl8yowNigKZW9AzikQFgpkX3O4r4m/Bf+Rqgf9val8yGAHPas8SmVM+EvKJMvTMhYAAodAY F8I5BE9A8Dhd3T2sV+DOn+DR9Tx3vnoaEpBJJEmxxL0ZnuaCk1XKiKJuq2xgD8HfT7zxHeG519PZ dPVkY38zXc0nyyXcPHjgwsL1VtPxeuZ6sFh7i4flhCK/RKwtHoR/p+5iMpVKqp0IDeNCv5HQd+E/ crXAP1FbaoqxiCBhJVJ7hshLijCDkKbdVzVXCzwTMtvUaSSYlyIaAo8hk8aBZ8VpDhjZ0nBHsH/p SQemWdh14MefYYVUJAgLwUKEz7AsrIXLy74D11Ibe/XeBehfnJ+ffz6/7P/kwHrpdv/32H+X1et0 TnhMAzIGf+E93HpU5ePJbOZN5r9OvInXOSGRfavapaSchaKI6C3bmG2adpNRpxMKpjUsbOZQ6zEK 4aEdwTSoBvuhGcKt2Q4GX4o6f3T2okEHWnVPz4YkKbkyBdXUX29dsXckj2CDxtf8d/TLuMjC09re I4/o9ycqL/t1qGAzbeA2IpGHoWHZRuAnCAnRp3piDs0qur3zZRxre78+Vv8+EpZJmn2C9q3f87Qc VM2rYdAYEzyw1uKFUVe15UeeRfJ5ZJHsxoGvoBqwcLtRtqYbwgc9ar+Au1xqbK68Ss3S0CMDsWAb 3QS4ScLeGcpEjspU9N1V/jWjFvfz5p+/DwELBO7z16JyRbEbwT8aeZNYv2SieEerJZQLvguKeARt aDnfpSyvK4T+GfIdo8Er6He5+K+pfBsLAvqTeJxQbGis9XpvNNffUEsDBBQAAAAIAEmSLjAneDQM CAQAAAYOAAAwAAAAcHJvZ3Jlc3NjZWxscmVuZGVyZXIvUHJvZ3Jlc3NDZWxsUmVuZGVyZXJUZXN0 LmNj7Vdbb+I4FH7PrzhlNJXTUhaotg+hRRqh3VGl6U7VsrtazY4ikxiw6sSR40C7qP99j20SQpsy UO3jvoA51+/Y58YHnkaiiBlczvRDkvyUUJ525kPvQ0XPteLpbOhtSK1bJWeK5fmICXHH0pgppjrz ecvzIkHzHMYs12PF2IKzJQSQFRPBI/isH4LAkP9AsrfyHDnwPNhSID4ESAJYUFEw0vXb9hfNI/RE tCqYj4SVJX4WfBIEd2x6q9Wltf+F5/peS8WGIPCYmyNcwTYvCCLFqGYkCUdSFEma+wNrL2c6TGTM BKmUkeNYOg4Cdxcw5YKlNDGGW9n6LnqdxyxpOTNaPcEq44+TYtozzmN0fmt/lp7DqZJJaOyQ0pg/ eLbKEdXRHIgL7Vdk/qKUVMB8WME0Q/96ShAMU6oNrd+kBZPDVBZpDDyFj/nfaatdQexEIYImvj8A 9sg16eFh288G3C5H1yk+B0cPCZ0xa31vZ9Zb05X1m6+s//+VuYzPMsz4MLIZSlr1YhuzR41GqvTt JEYsLC821MgvE7epWOFElacrSGiKAEmKtdoka7C5YqvXr3MMJ+h220SDFGlsGIi/QlG62A7ZGF8z 8HQ2pHEcUo0lOCmwdkvdsyGGnTGlnzbxu9bh77ghK/E+45ilCc12Wnci5QsouTRt4KTqKejNBkrW AIzAt52P+d3UDZ0o2tpHwwZnVLr7SDuwRnzdsjaw+z+C3d8DdkTjGuwdGhXs8/N9xF/i7m9wn/8I 9/keuCeySI5a+6hUwC8u9hF/68Jd/8r5LKUi1DxhstDE70QyTVmkyT2fjZAtpCYnes7zNhzX52YQ FFls+mTpBxP0564N2TaUicRSfSGCs9YNUj4F4iYsHB+7yQtXV9DrdkuJcgIj6iN3Gqzph2VXv6Z2 wOP2amoHXO3a27qjmiiPGsL8z4PsvS/I/vuC7L0K0mH3XYSnp47PRM4c5eys1pn2SGt7OKiCibvb UyxlHz6aPDqojir1i4ua+jOAge12zBuzpq3tNOyYlh0ETuCORVLF9o3LpdOAqZsgtRSIY9I8T9/k 16dJo0A1ENxDmc9tqA7GZW3LHEIDiMHbqrh8vFKpPVyjzosFerPXDOGVLReCfQebPVsPUD2pZb1t dZ2w7XrCV8ju5NJmZNtmmf20gwAj26SgbWNlbRokhmv+tRBzoGoWtSGaU1xx8Lz49t33VqWPG5SC B1yynJThuxG99X9FLypQf/I0RkxL+1VR7yMlhWDxhmtY+NUxfx8yifn1RKzk7dcv16O/wk+/j7/e fBpfj9rQSPZLfZM4elH+ROOWgsc6yTiJ2ZQWQoc5/4eRfrfbtp26LjSXy5AK4UZeFX0QqCIlLmjF dKFSsyI8e/8CUEsDBBQAAAAIAPiWMDDucnF7WgwAACUnAAAiAAAAcHJvZ3Jlc3NjZWxscmVuZGVy ZXIvcHJvZ3Jlc3MyLnhwbc2YWVPeuBZFn29X9X8QbWaB+OzPI1PJIxDCDGEqphCmJAwBkhCm396y jvbJ801uVW7zlFW0ra11tmw8Niy2lhfE8Njff93dH91fHIvj86NbMSxubq/Pbk/u7oKDh5vL3T0x JZ7+/usfv9MRfiTCTiSCf0YMEOI/x2Lx+urE/ku1//KapmP+s0ASqP3IAU2g6uI3PAJFWDjQSyCP Ewf6HEhKB/oJZGnowDBA5cCUAxluO0ogzWoHJhzIcZdpAkneODDiQJE6MOBA6TswRCAuMwd6HKgC B14BcgeeCER114E9AITbJ9BtcI0xC+rSAN+CQQKRAV0LDiyoGgNCC8YJpAZEFkwS8A2ILdi1oCwM SC14IRAakFnwbEFRG5Bb4BNIDCgtCAh0mm6nsqBrQZ4bUFsQEug2XZ+yRBZkpQGUJSYQG0DzlFiQ NgZQuJRAagBlyQgEBlCWjgWJbwAt/ciCqG5Cnxb23oKwbMKAbntsQTczgHbsgwVBYgDtx4kFfthE QWHBqQWd0gC66BmJqn2oPCdQBZixCwJlCPsfCeQxxvKTAwmG/zOBLMU4XBJIM4z2lQN57MA1AAb3 hkBSYLS/OFCic7cE4gqTfEcgqjF09wBY2FcL6oqn8BuB2AAy992CKuOheyAQ8ND9sKCMeMYeLSh8 nqDcgnZgOo0FBc1HxQNTkv2Mx6Ei+wHbry2IO2y/IfuVcUtZZsh+wfZnyX7K9ufIfsz230A2dmwe siHqLWTjuFggUMSYj0XIxjgsQTZ+Y9mBDAfbCtxiYFYBMGNrkA3765CNdWxANk6pdwRCPmE2SWWH z48tElXy6bBNotoDhfZjh0QVXPVDAiGbE8qaS7jZikCHmy0tSLtcZG1BErJKz4LYNyrpyOm1IGxY ZZ8F3ZJV9lsQ5AYkFgxb4CesckqRyg52bFQ5lfAyoZxKVGxaOZWwP6KcOWzhAAD6MkQgzTAfPQ7k KPKrcuZwlycHSvR2Tzlz6O0+gajGOsYAsPRBC+qEW3lgQZVzK8cJdLmVk4pl047tEoi5pi8WFA0/ Cp4JBNxbn9zWXNOA3JpHgU9euuQ2YrchuQ3YbWRB1GG3Mblte0sDk5Dbgt2m5DZltxncYpM7cIs2 HMEtKvbeuY0wDscE8gR9+QC32OQTBzL09hRucdEzuEVvzwH42eDclrjtR8jGSj85wLI/QzYWdukA F/mK7Nd8SF8T8PlV4YbcViz7C6nMuNm3FuQRF/nup1u6yz2BlJv9lYDPzf5G9kNu9ney3z7m6UB5 IPsh2/9B9tuq020fyX7D9nOyX7L9guznxj6NZQn7KGEF+6hYDfvYsQb2MTAzsA8Ns7APDXOwj2u8 cfYz3HYe48DPBtjHXRYcKLGwRdhH95dgH91fhmysY4Xcplz1VQuqkJu9RrITLvI6gQ4XeYPst89b 0vCO7Jd8rm+S24btb5Hbgpu9TW5TdrtDbiN2e0huu+xWyBaEHXarLAjMG1tAS5cW+AW71dK5xfB7 0rlFxXqlc4sd65POLbz0S+cWuz4snVv8L1MAuMuodG752eBAju5PS+cW3R8hEJeo+oADFao+RCCq MWM9FtQN9/aVQMC9fbKgKvgY37OgrLnI+5Jlk4YxC4qcmz1oQR5zsw8syALu7bgFacQvV5MWJBm7 3bUgjo1KuuiLBVHIbp/Jrc9ufXLbsNuA3Jbstgu3GP4QbrHJkXPbxZ7GcAtRCdxCQwqV2OTMgQwF 6kAlinwEgIF5D7co8rEDJYbuA9xipE7gFllOHWgwY2fkNuPenv90S426IBBxkT+SW597+4nchtzb z+S24t5eEuhwb69IdsaP6GuSXXKRb0h2+8x2zwaSnbLsW5Idsew7km2aHVCWewu6HZb9lWTXLPsb ZGMLv0M2vDxANnb9B2RjTx8hG+Zy5zZBxQrIxq6Xzm2GgakgG82uIRtD10A2RmrGyS5xjM/CPsZy DvaxjjcEOvyInif7XW72W5Jdsv0Fkt1wsxcJpNzsJbJfcLOXf9qn97EVAglXfZXsd7nqayS7ZNnr JDtj2Rsk2/xJ7NNIvSPZIcveJNkBy94i2Y2RTQ+cbcjGnu442T426BCyoUFoJxvzobSTzd+UCGQp xkFrpxIT5GmnErveC4Bm92mnkr8pOVDhtsPaqUSzpyyoc+7tqAVVzDWdsKAM+Hk7bUHRPpGppiMW 5DWLGiDgc02HLMhyrmmPBWnFNX0lEPMh/WRBUrHKPQvinFXuWxClrHLMgjBilYMWdNsi00UPLAg6 rHLcgk7N3z8mtXOLXd/Vzi3q8aKdWxzBz3CLcfCd2xjjEDi3CRrVhWz8RuhkZ7hoBPtodgzZGKnE gRK3TSEbzc4A+O8G2Mc6jgj4XOT3NA4hF/mYxqHiIn/4OR+0pycEOtzsUwvKjJt9ZkFRcrPPCUQ8 QRcW5Ck3+6MFWchv459oHGoeh880DubF2acj+JLGIeNxuKJxSHgcrmkcQh6HGxqHgMfhC41DW3Va 2C3so2J3sI8C3cM+BuYr7GPXv8E+wHfYxzUeYB/d/wH7OB0eYR93yWEf5gonu8RKS9jHYVDBPg6D mmQX/ILWkMqE3c6Qyi53f5ZENVz1uZ/maNffEAi4+/OksuDuv7Ugrbn7CwQS7v4igQ7/pbVEstvD gGQvk+yCZa+Q7JQ/hq6S7Ihlr5HsLstet8DvsOwNyOZvSpCNRm062SF6uwXZ2PVtB1j2DmRj1w8B UELhOfu4qHIgx2EgPWcfC9Oek43DwHOgwmHQ6znZWHofABbWTyDg7g9bUNVc9SkCPjd71IIy52ZP WFBU3OxpAvHPZ4MFecbzMWBBFnGzhyxIfZbdY0Fcs+xXC6KSv30+WRBmLHvPgm7CsvctCNoP3e7v Bgv8gGUPUvzaR+cOPCcb+zHuOdnYsUnPyYaGXZhDkV8gCr19hhfMh/9zxyhcQPEbbkPXgqTD8UOK X3H8iOIXHD+m+Cl/L0wofsyfflOK3+X4Svx3P1Jo4Yle0Sf6xbCYEqNiQkyLETEghkSPeBVPYk/s izExKA7EuJgUu+JFPAtfBKIrQhGJWCQiFZnoiCPxXhyLD+JEnP4Pfn4pzJk4Fxfio/hkwnw2YS7F lbgWN+KLCXNrwtyJexPmq/hmwnwXDybMDxvm0YTJRWHDlCZMJWrRiBkxK+Z+O0j780th3oh58VYs iEWxZMIsmzArYtWEWRPrJsyGDfPOhtm0YbZsmG0TZkccmjBCKVUKqbTyVK/qU/1qWP1+lF8MM6VG 1YSaVotiRA2oZTGkVkSPelVr4kntqQ2xr8ZUG2ZQbYoDNa4m1a56UdviWbVhfNWGCZRUXRWqSMUq UemfC5OpjjpS79WxGlEf1IkaUqeqR52pc/WkLtRH9Ul9VpfqSg2qa9WGubFhvqg2zK26U/fqqwnz TX1XD+qHelS5Kv5cmFJVqlaNmlGzJsycemPCzJswb9WCCbOolkyYZRNmxYZZNWHW1LoJs6HeqVu1 acNsmTDbakcdmvNESSl/P8ovhtHSk72yT/bLYTkl59SonJDzalq2YUbkohqQQ3JZ9cgV9Sqf5Kra k/tyXY3JNsygbMMcyC01LiflrnyRz9KXwZ8L05WhjGQsExMmlZkclR15JKfle3ksR+QHOSBP5Kns kWfyVZ7LC9mG+SjH5Cf5WQ7KS3klD+S1HJc38ou8lXfyXn79c2G+ye/yQf6QjzI3YQpZmjCVrE2Y Rs6YMLMmzJx8Y8LMy7cmzIJcNGGWTJhluWLDrNowa3Jdbsh3clNu/bkw23JHHponp9K5lLoNo3Ul Pd2rG9mn+/WsHNZtmCndhhnVbZgJvSSn9YhekQN6SK/KHv2qn/Se3tdjelAf6HH9h8JM6l39op+1 rwMtdVeHWutIezrWie7Tqc70sO7oIz2l3+tj/UGf6FM9oc/0uQlzodswH3Ub5pP+rC/1lb7WN/qL /t0ovxhGiVt9p+/1V/1NfzdhHvQPE+bRhMl1YcKUurJhahum0ScmzIwNM6vn9Bs9b8K81Qt6US/p Zb2iV/WaXte/G+WXw2zod3pTb+ltvaMPTRjhKe/RHHK51p7nlbrX6/P6vTbMsNfoKW/Um9ET3rQ3 q0e8NsyA14YZ8nq8V+/J2/P2vTHvj4UZ9A68cW/S6xM7eljsesKbEC+e9AaE9nrEs9fr7Yl+r33V HPbGRRvmRfgmTCDaMJEY8AIvFUNe1wu9yIu9xEv/XJj/z/fmf14m/v7rX1BLAwQUAAAACAD0ljAw rMXwbyAGAABFGAAAIgAAAHByb2dyZXNzY2VsbHJlbmRlcmVyL3Byb2dyZXNzMS54cG29l9dSFVsQ QJ+vVf5DK0i2mRxUKCYSBCQKSgEikiUekiJ++9107+6jXhPXg8UTq9gzvTrtob8HFqcmoKf//r3G 6drpzjqsb6+dQA8cnRxunWw0Gu7q5dH+0jIMwNX9ew9dxwE3BDdxwXvYZwDAP+sweXiwQb/hzW9t TlGHXkmgl0GlYIiAmxqQEWgj4IV14CUE2gn4rgERgUcMSgN8Ah0EgtQAl0APgdA8w60JDBCIHAP4 tY8ZFAbwa58SiJPad/m1gwQSzwB+bR+DyICQQCeDzICAQDeD2gAO7AGB1FfwmUFsAKfrikFuAIe+ TCBzDHAIrDAIat9hl34GiYIuBoUBFYFVArlrANs+YRDWnlMQeMYgNSAnsMSgNIDzcU2g8BR8YhAZ kBJwGWQGcMY8BpUBMQGfQOkbwCkMGMQGcApDBrmCiEFtAOc0JlAFBnAKEwaJAZzClEFhAKfQIVA7 BnAK1xiECt5aUBUWrAuILXgnwLVgg0FUypFNAZEFWwLkyLYFRW7BDoO4kCO7AhwL9izI5ch7AaEF +wLkyAGDJMssOBQgR44sSGsLjgXIkRMGaRpY0LAgkSOnAlILzgT4FpxbEFcWXDDI4sSCSwsiSfIH BnkokX5kUAQSR2aBL5XLGZSeJLlgcFMnBiUDE7gFFQGn1JVTE6D9wT02TCAMdF2MEKBB5r8YFVsJ bExCl1I+l0glH+MEgkSX0gQ/tNKHThJIax31FwRyR+d2ikDh6hBOEyg9nagZApWv4zHLcYRVaeOY kzJI5eYlhZLTlwRoBfMyWCBgVnBoV/AiZ6zQjL3iZwQ6Ua/ltQLeMIhKKTagrb60A6IttlS/l4DZ arLohwjEse7kNj4SFTKE7QziQtrhkX2oL4XqQNsf8hc9BNxEbQcIeIHaPiYQ5c27wb4ll2IPMkgy GdM+tO0gtp0EwlovnG4CiavXyQMCqde8Gwhkvu71KwJ5oFt7mUAR6gpeIVBGuj77CVSxLscuiVSm YZVBmkrWn1iQyDJ4JnUR2yUGpSetfW1zqiP2iW19HSDXPjSW/eFJ9aULfS52ri0VEAhinZdQSimR RlJK6bGYK1drwyTNynFtUz4SVtJ0DoOolPFYE6B3g5RSjqyLrXTQO36trw2z0Qyds75JII60cbe4 +qF+O2xz9SP9ENjh6sda/V2ufqJX9B5XP9X79j1XP9Pq73P1c70JDzj0uJC2PLQglwE6kmLLXxxL sWWATgi4sc5Lg4tdaWufctYzzfoZP8PROM7ltZLCCwZJJj12Kf0hXfhBii1N97GZdW7+jOPwtOly zlipGSs4QZFuy9K+NpW5rRikqXRyLdWXPh22CfIl0hEudqTFHuXK+brGxziOmy82ntvn9i2JdPK4 tY3FdsLaOtKFkwT8TMfjBQFzh0sHTRFIM/1ynOY4cv0MnOE4Cs3HLIGi1A+0OU5QpV9b8wSqWiv3 kgMLK7nVF2w+AhmPRQalJ3II3//phSFog3Z4BB3m34kBeAxPYRD6oBO64QF8hitYhhXohy5YhSfw DJbgGj6B+b8CfAgghAhiSCAFB9bgLazDO9iATdiCbdiBXdiD97APB3AIR3AMJ9CAUziDc7iAS/gA HyGDHAoob/HzU5nKytRGZvgrmZE7khm1MmNG5vldyYx/IzNhZSatzAsrM2Vlpq3MjMrM/rbMnMrM t1bmJSwYmcU/lnlFMq+NzJvfkAEcA8Q7kenFpswQtkKmDXegHX8l8wjnoQNbKNODA/iFDLZW5inu wyB+T6YPWy6DX8l04o1MN1oZZJnPyDJXyDLLyDIryDL9+GuZLjyGVWzAE2zKPDMyS9iB17fQ+W2Z T/h3ZFycA+8uZXwM8O/LhEYmarVMrDLJH8mk+BocfANr+GuZtyqz3kqZdySzYWU2jcwWssw2sswO sswusswessx7ZJl9/K/MAbbjIf5M5sjIHLdW5uQLmQae/k+ZM/yRzDkO4gV+K3OpMh9aK/PRymS/ IZNjU6a4lUyJq1hhU6Y2MsN3JTPyQ5lRKzPWEpnn6OI4fikz0WqZyW9kXiDLTCHLTCPLzFiZWWSZ OWSZeSPzEm8ns2BkFm8rc/30/r1/AVBLAwQKAAAAAABJki4wAAAAAAAAAAAAAAAAFQAAAHByb2dy ZXNzY2VsbHJlbmRlcmVyL1BLAQIUABQAAAAIAFp3LjAQS6YGXAYAACkUAAAsAAAAAAAAAAEAIAC2 gQAAAABwcm9ncmVzc2NlbGxyZW5kZXJlci9Qcm9ncmVzc0NlbGxSZW5kZXJlci5jY1BLAQIUABQA AAAIAFp3LjAcxvFWdQMAAGULAAAsAAAAAAAAAAEAIAC2gaYGAABwcm9ncmVzc2NlbGxyZW5kZXJl ci9Qcm9ncmVzc0NlbGxSZW5kZXJlci5oaFBLAQIUABQAAAAIAEmSLjAneDQMCAQAAAYOAAAwAAAA AAAAAAEAIAC2gWUKAABwcm9ncmVzc2NlbGxyZW5kZXJlci9Qcm9ncmVzc0NlbGxSZW5kZXJlclRl c3QuY2NQSwECFAAUAAAACAD4ljAw7nJxe1oMAAAlJwAAIgAAAAAAAAABACAAtoG7DgAAcHJvZ3Jl c3NjZWxscmVuZGVyZXIvcHJvZ3Jlc3MyLnhwbVBLAQIUABQAAAAIAPSWMDCsxfBvIAYAAEUYAAAi AAAAAAAAAAEAIAC2gVUbAABwcm9ncmVzc2NlbGxyZW5kZXJlci9wcm9ncmVzczEueHBtUEsBAhQA CgAAAAAASZIuMAAAAAAAAAAAAAAAABUAAAAAAAAAAAAQAP9BtSEAAHByb2dyZXNzY2VsbHJlbmRl cmVyL1BLBQYAAAAABgAGAPUBAADoIQAAAAA= ----------part4008266d49517-- From tor.arvid.lund@idi.ntnu.no Fri Jan 16 16:57:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from totto.homelinux.net (119.80-202-31.nextgentel.com [80.202.31.119]) by mail.gnome.org (Postfix) with ESMTP id 44F1418201 for ; Fri, 16 Jan 2004 16:57:53 -0500 (EST) Received: from totto.homelinux.net ([127.0.0.1] helo=idi.ntnu.no) by totto.homelinux.net with esmtp (Exim 3.36 #1 (Debian)) id 1AhbzP-0007rU-00; Fri, 16 Jan 2004 22:58:51 +0100 Message-ID: <40085E97.50605@idi.ntnu.no> Date: Fri, 16 Jan 2004 22:58:47 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: kickvb@touva.be Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a column in a TreeView a ProgressBar? References: In-Reply-To: X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: kickvb@touva.be wrote (amongst other things): >I have a made a class an a test program for a progress bar in a treeview >(class ProgressCellRenderer, extending Gtk::CellRenderer). The files are in attachment. > > Thank you for responding. It sure is the best solution I've seen so far. Still, I was hoping to find a way to draw (and use) the existing Gtk::ProgressBar widget. Actually, it would really be nice to be able to put any widget inside a treeview column. Then one could also use the functions already implemented in that widget. I just looked briefly at the code, but it seemed unfortunate that it might segfault on Win32 (but there may be an easy workaround... I'll look into it later). Thanks again. regards, Tor Arvid Lund From kmilo@softhome.net Fri Jan 16 18:52:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id 5EF33182D7 for ; Fri, 16 Jan 2004 18:52:44 -0500 (EST) Received: (qmail 24449 invoked by uid 417); 16 Jan 2004 23:52:43 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 16 Jan 2004 23:52:43 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Fri, 16 Jan 2004 16:52:43 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Fri, 16 Jan 2004 16:52:43 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.162] Message-ID: Subject: [gtkmm] Subject: possible bug in Gtk::Main kit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: the first time the function ayudar run fine, but the second time (after Gtk::Main kit) ayudar print bad the file #include #include #include void ayudar(){ char* buffer=NULL; int tamanoBytesFname=0; std::ifstream file ("help.txt"); file.seekg (0, std::ios::end); tamanoBytesFname = file.tellg();// obtiene el tamano del archivo file.seekg (0, std::ios::beg); buffer = new char [tamanoBytesFname]; file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda file.close(); std::cout << buffer << std::endl << std::endl; delete[] buffer; } int main(int argc, char *argv[]) { ayudar(); Gtk::Main kit(argc, argv); ayudar(); std::cin.get(); return 0; } I'm ussing gtkmm in windows following the instructions from here: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ape.html From arvind@acarlab.com Fri Jan 16 22:52:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.117.31]) by mail.gnome.org (Postfix) with SMTP id 6476B1850F for ; Fri, 16 Jan 2004 22:52:17 -0500 (EST) Received: (qmail 1882 invoked by uid 1000); 17 Jan 2004 03:51:39 -0000 Date: Sat, 17 Jan 2004 09:21:39 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Cc: abt@gmx.de Subject: Re: [gtkmm] I am stuck with a C++ problem Message-ID: <20040117035139.GA1875@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Thu, 15 Jan 2004, Andreas B. Thun wrote: > Parameters::Parameters() > { > // Generate ParameterLines > for (int i=0; i<10; i++) > { > ParameterLine pLine; > pack_start(pLine); Change to // create and manage storage ParameterLine * pLine = manage( new pLine ); pack_start( *pLine ); > } > } Would like to know : How come no runtime errors? Does the new gtkmm exception handlers neatly, quietly trap them? - arvind r. From abt@gmx.de Sat Jan 17 10:01:13 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3AE5D185C7 for ; Sat, 17 Jan 2004 10:01:13 -0500 (EST) Received: (qmail 28179 invoked by uid 65534); 17 Jan 2004 15:01:07 -0000 Received: from dialin-212-144-000-156.arcor-ip.net (EHLO gmx.de) (212.144.0.156) by mail.gmx.net (mp017) with SMTP; 17 Jan 2004 16:01:07 +0100 X-Authenticated: #109577 Message-ID: <40094E23.6060008@gmx.de> Date: Sat, 17 Jan 2004 16:00:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] ever tried a Gtk::HandleBox? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've experimented with HandleBoxes, but nothing happens in my GUI. A horizontal bar is drawn but I cannot drag it with the mouse?! Any hints would be appreciated. TIA, Andi ... // Add the Button Box and the ScrolledWindow with the TreeView to a VBox Gtk::VBox *VBox = Gtk::manage(new Gtk::VBox()); VBox->pack_start(*ButtonBox); VBox->pack_start(m_ScrolledWindow); // Add a HandleBox at the bottom of the VBox Gtk::HandleBox *TabHandleBox = Gtk::manage(new Gtk::HandleBox()); TabHandleBox->set_snap_edge(Gtk::POS_BOTTOM); VBox->pack_start(*TabHandleBox); // Add VBox to frame (a frame can only hold one widget) m_Frame.add(*VBox); // Pack frame into this object pack_start(m_Frame); show_all(); ... From billyoc@gnuyork.org Sat Jan 17 11:34:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 3978D181E7 for ; Sat, 17 Jan 2004 11:34:11 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AhtM3-0002rk-Ct; Sat, 17 Jan 2004 11:31:23 -0500 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] ever tried a Gtk::HandleBox? References: <40094E23.6060008@gmx.de> From: Billy O'Connor Date: Sat, 17 Jan 2004 11:31:20 -0500 In-Reply-To: <40094E23.6060008@gmx.de> (Andreas B. Thun's message of "Sat, 17 Jan 2004 16:00:51 +0100") Message-ID: <87ptdi8rl3.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > Hi! > > I've experimented with HandleBoxes, but > nothing happens in my GUI. A horizontal > bar is drawn but I cannot drag it with > the mouse?! > Any hints would be appreciated. > As a sanity check, make sure this compiles, and that you can drag the entry out of the frame window. If you need further help with this, try to post the smallest example that will actually compile. #include int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Gtk::Window window; Gtk::HandleBox hbox; Gtk::Entry entry1; entry1.show(); hbox.add(entry1); hbox.show(); window.add(hbox); window.show(); Gtk::Main::run(window); return 0; } -- Billy O'Connor From olau@hardworking.dk Sat Jan 17 12:14:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 546D818562 for ; Sat, 17 Jan 2004 12:14:04 -0500 (EST) Received: from bach.composers (122.ppp1-1.abc.worldonline.dk [213.237.21.122]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0HHE17x014231 for ; Sat, 17 Jan 2004 18:14:02 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AhsFz-0000HI-TG for gtkmm-list@gnome.org; Sat, 17 Jan 2004 16:21:03 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Subject: possible bug in Gtk::Main kit References: From: Ole Laursen Date: Sat, 17 Jan 2004 16:21:03 +0100 In-Reply-To: (kmilo@softhome.net's message of "Fri, 16 Jan 2004 16:52:43 -0700") Message-ID: <87oet21u00.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: kmilo@softhome.net writes: > the first time the function ayudar run fine, but the second time (after > Gtk::Main kit) ayudar print bad the file > > #include > #include > #include > > void ayudar(){ > char* buffer=NULL; > int tamanoBytesFname=0; > std::ifstream file ("help.txt"); > file.seekg (0, std::ios::end); > tamanoBytesFname = file.tellg();// obtiene el tamano del archivo > file.seekg (0, std::ios::beg); > buffer = new char [tamanoBytesFname]; > file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda > file.close(); > std::cout << buffer << std::endl << std::endl; > delete[] buffer; > } Your function is buggy. The call to 'std::cout <<' expects buffer to be a null-terminated C string, which it is not. Try something like: buffer = new char [tamanoBytesFname + 1]; // extra space for '\0' file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda file.close(); buffer[tamanoBytesFname] = '\0'; std::cout << buffer << std::endl << std::endl; -- Ole Laursen http://www.cs.auc.dk/~olau/ From olau@hardworking.dk Sat Jan 17 12:14:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 4E1451849E for ; Sat, 17 Jan 2004 12:14:07 -0500 (EST) Received: from bach.composers (122.ppp1-1.abc.worldonline.dk [213.237.21.122]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0HHE181014231 for ; Sat, 17 Jan 2004 18:14:05 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AgrOw-0000Ht-Tb for gtkmm-list@gnome.org; Wed, 14 Jan 2004 21:14:06 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Newbie libglademm question References: <1074078978.4605.16.camel@javor.vilarroig.com> From: Ole Laursen Date: Wed, 14 Jan 2004 21:14:06 +0100 In-Reply-To: <1074078978.4605.16.camel@javor.vilarroig.com> (Javier Vilarroig's message of "Wed, 14 Jan 2004 12:16:18 +0100") Message-ID: <873cainv8x.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Javier Vilarroig writes: > I'm creating a separate .glade file for every dialog on the app, and I > load it on the class constructor in order to be able to open multiple > instances of them. I do that because , to my understanding, when the > .glade file is opened only one instance for every dialog is created and > I need to be able to open multiple instances. Also I understand that whe > the .glade file is loaded, all and every dialog are created, so it seems > a memory waste to have only one .glade file. Correct me if I > missunderstood that. Perhaps that is correct. I really don't know - it would very interesting to experiment with. I asked James Henstridge about this stuff a couple of months ago, but never got a reply. > I open the main app window without problem, but when I create the first > independent dialog I got a lot of errors on stderr, there is a sample at > mail end. The dialog opens correctly and it seems it's working > correctly, but I'm affraid I have misunderstood something on the > libglademm "filosofy" and that it can lead to unespected failures later. As far as I can tell, you've understood it correctly. Unfortunately, your listings don't really help without the code. > Error listing: > -------------------------------- > (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 > (gnome_program_get_app_id): assertion `program != NULL' failed > > (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 > (g_string_prepend): assertion `val != NULL' failed [...] Probably, you have a simple bug somewhere. You need to show us some code (the minimal code, please) exhibiting the problem. -- Ole Laursen http://www.cs.auc.dk/~olau/ From drink_n_park@hotmail.com Sun Jan 18 08:36:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (law10-f97.law10.hotmail.com [64.4.15.97]) by mail.gnome.org (Postfix) with ESMTP id 4946D18392 for ; Sun, 18 Jan 2004 08:36:14 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 Jan 2004 05:36:13 -0800 Received: from 203.217.38.178 by lw10fd.law10.hotmail.msn.com with HTTP; Sun, 18 Jan 2004 13:36:13 GMT X-Originating-IP: [203.217.38.178] X-Originating-Email: [drink_n_park@hotmail.com] X-Sender: drink_n_park@hotmail.com From: "Drinkin Park" To: gtkmm-list@gnome.org Date: Sun, 18 Jan 2004 13:36:13 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Jan 2004 13:36:13.0478 (UTC) FILETIME=[0A6F7460:01C3DDC8] Subject: [gtkmm] Function pointers question (gtkmm related) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I am having a small problem implementing the callback functions for menu items, toolbar buttons, etc: My current code looks like this: ------------------------------------------------------------ class MyToolbar:Gtk::Toolbar { public: MyToolbar(); private: AnotherClass* anotherObject; }; class OtherClass { public: doStuff(); }; MyToolbar::MyToolbar() { ... push_back(StockElem(Gtk::Stock::NEW, SigC::slot(*this, &MyToolbar::newButtonClicked), "New")); ... } //callback function MyToolbar::newButtonClicked() { //do stuff otherObject->doStuff(); } ------------------------------------------------------------ What I'm after, is to be able to pass a method belonging to another object, in a similar method to this (which doesn't compile): ------------------------------------------ MyToolbar::MyToolbar() { ... push_back(StockElem(Gtk::Stock::NEW, SigC::slot(*this, &OtherClass::newButtonClicked), "New")); ... } --------------------------------------------- Is this possible, or will I have to stick with the method that I am currently using? Thanks in advance. _________________________________________________________________ Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp From pierric@descamps.net Sun Jan 18 09:53:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.insa-lyon.fr (csiges9.insa-lyon.fr [134.214.79.200]) by mail.gnome.org (Postfix) with ESMTP id B24AA18596 for ; Sun, 18 Jan 2004 09:53:05 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.insa-lyon.fr (Postfix) with ESMTP id 638234B4C1 for ; Sun, 18 Jan 2004 15:53:02 +0100 (CET) Received: from J534-a.resJ.insa-lyon.fr (J534-a.resJ.insa-lyon.fr [134.214.166.190]) by mail.insa-lyon.fr (Postfix) with SMTP id 15E1E4B48B for ; Sun, 18 Jan 2004 15:53:01 +0100 (CET) Date: Sun, 18 Jan 2004 15:54:27 +0000 From: Pierric Descamps To: gtkmm-list@gnome.org Message-Id: <20040118155427.35a424cd.pierric@descamps.net> Organization: X-Mailer: Sylpheed version 0.9.4-gtk2-20030802 (GTK+ 2.2.2; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd 0.1 Subject: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview.cc Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, 2.0.2, and 2.2.8. In any case, I get the following error: --- g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -Dgtkmm_COMPILATION -DG_DISABLE_DEP RECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_D EPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I.. /../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/gnome2/include/gt k-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gno me2/include/pango-1.0 -I/opt/gnome2//include/glib-2.0 -I/opt/gnome2//lib/glib-2. 0/include -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -p thread -I/opt/gnome2//include/glib-2.0 -I/opt/gnome2//lib/glib-2.0/include -g -O 2 -Wall -c treeview.cc -fPIC -DPIC -o treeview.lo treeview.cc: In function `static void Gtk::TreeView_Class::class_init_function(void *, void *)': treeview.cc:891: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:892: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:893: assignment to `gboolean (*)(_GtkTreeView *, int)' from `void (*)(GtkTreeView *, int)' treeview.cc:894: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:895: assignment to `gboolean (*)(_GtkTreeView *, int, int, int)' from `void (*)(GtkTreeView *, int, int, int)' treeview.cc:896: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:897: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' make[5]: *** [treeview.lo] Error 1 --- Note (if it's of any help) that everything concerning Gnome2 on my system has been compiled from the sources, no package here. Of course I tried some research and the only piece of information I found was this message, for someone who had the same problem with Gtk 2.2.0 and gtkmm 2.0.2: --- Please see the gtkmm 2.1.2 release notes. GTK+ broke its API slightly. gtkmm2 was one of the few projects affected. You could use gtkmm 2.2 or GTK+ 2.0, but not both. --- I wasn't sure of the meaning of the last sentence: should I install a new Gtk version, or a new gtkmm version? As for gtkmm, I had already tried 2.0 and 2.2. Concerning Gtk+, I decided to install the unstable, 2.3 version. But it looks like I need Xft for that, and my X server is too old, so I'll have to do without. To be honest, I'm quite lost here. My goal is too be able to generate a gtkmm2 project with the Anjuta2 IDE, use glade to build the interface, and then compile the program correctly. Can you help me? If I forgot any useful information, please tell me, I'll try to be fast at answering. Thanks in advance, Pierric Descamps. From alberto@paro.homeunix.org Sun Jan 18 11:36:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx-in-01.simplementehosting.net (mx-in-01.simplementehosting.net [66.216.79.177]) by mail.gnome.org (Postfix) with ESMTP id 51C39180F5 for ; Sun, 18 Jan 2004 11:36:39 -0500 (EST) Received: from fep04-svc.flexmail.it (fep04.tuttopmi.it [212.131.248.107]) by mx-in-01.simplementehosting.net (Postfix) with ESMTP id EE08523406C for ; Sun, 18 Jan 2004 10:36:37 -0600 (CST) Received: from paro.homeunix.org ([82.88.53.142]) by fep04-svc.flexmail.it with ESMTP id <20040118163610.NMHR26403.fep04-svc.flexmail.it@paro.homeunix.org> for ; Sun, 18 Jan 2004 17:36:10 +0100 Message-ID: <400AB660.60406@paro.homeunix.org> Date: Sun, 18 Jan 2004 17:37:52 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've fixed some undocumentated functions in glibmm. I've posted the result on Bugzilla http://bugzilla.gnome.org/show_bug.cgi?id=131841 Now I think that I'll look to fix some documentation on gnomemm. (Lots of people are working on gtkmm docs) I'll propose an API add in calendar widget that return a Glib::Date of the date selected. Do I need to post the API change on Bugzilla or we have to discuss this API change? Hi, Alberto From chris@cvine.freeserve.co.uk Sun Jan 18 13:01:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailg6.svr.pol.co.uk (cmailg6.svr.pol.co.uk [195.92.195.176]) by mail.gnome.org (Postfix) with ESMTP id 388CA185D6 for ; Sun, 18 Jan 2004 13:01:53 -0500 (EST) Received: from modem-598.putangitangi.dialup.pol.co.uk ([81.78.194.86] helo=boulder.localdomain) by cmailg6.svr.pol.co.uk with esmtp (Exim 4.14) id 1AiHEl-0007mV-Li; Sun, 18 Jan 2004 18:01:28 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0IHxl8l002831; Sun, 18 Jan 2004 17:59:47 GMT From: Chris Vine To: "Andreas B. Thun" , gtkmm-list@gnome.org Subject: Re: [gtkmm] ever tried a Gtk::HandleBox? Date: Sun, 18 Jan 2004 17:59:47 +0000 User-Agent: KMail/1.5.4 References: <40094E23.6060008@gmx.de> In-Reply-To: <40094E23.6060008@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181759.47340.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Saturday 17 January 2004 3:00 pm, Andreas B. Thun wrote: > Hi! > > I've experimented with HandleBoxes, but > nothing happens in my GUI. A horizontal > bar is drawn but I cannot drag it with > the mouse?! > Any hints would be appreciated. [snip] You don't seem to have added anything to the HandleBox. What widget have you put in it? Chris From chris@cvine.freeserve.co.uk Sun Jan 18 13:11:57 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailg4.svr.pol.co.uk (cmailg4.svr.pol.co.uk [195.92.195.174]) by mail.gnome.org (Postfix) with ESMTP id C8857186EB for ; Sun, 18 Jan 2004 13:11:56 -0500 (EST) Received: from modem-598.putangitangi.dialup.pol.co.uk ([81.78.194.86] helo=boulder.localdomain) by cmailg4.svr.pol.co.uk with esmtp (Exim 4.14) id 1AiHOs-0005NY-PF; Sun, 18 Jan 2004 18:11:55 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0IIBp8l003001; Sun, 18 Jan 2004 18:11:51 GMT From: Chris Vine To: "Drinkin Park" , gtkmm-list@gnome.org Subject: Re: [gtkmm] Function pointers question (gtkmm related) Date: Sun, 18 Jan 2004 18:11:50 +0000 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181811.50771.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sunday 18 January 2004 1:36 pm, Drinkin Park wrote: [snip] > MyToolbar::MyToolbar() { > ... > push_back(StockElem(Gtk::Stock::NEW, > SigC::slot(*this, &OtherClass::newButtonClicked), "New")); ^^^^^^ You are not passing the right object to the slot. You need to pass an object of type OtherClass. Chris. From cedric.gustin@swing.be Sun Jan 18 16:44:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 6EA4F183E0 for ; Sun, 18 Jan 2004 16:44:36 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0ILcDte008058; Sun, 18 Jan 2004 22:38:19 +0100 (MET) Message-Id: <6.0.1.1.2.20040118103944.01be84c0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 18 Jan 2004 10:44:55 +0100 To: , From: Cedric Gustin In-Reply-To: <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> References: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Subject: [gtkmm] Re: [gtkmm] =?gb2312?B?tPC4tDogW290aGVyXSBSZTogW2d0a21tXSBMaW5rIHByb2JsZW0gdQ==?= =?gb2312?B?c2luZyBndGttbSB3aXRoIE1TVkMgNy4x?= Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:17 PM 1/16/2004, Jonny Yu wrote: >Hi Cedric, > >Thanks for your reply! >Thanks for your help, I'd like to try the project file, however I >couldn't find the MSVC_NET2003 directory in the installed files. It's in the source tarball. Download it from http://www.gtkmm.org. Cedric P.S. : Could you check please the text encoding you're using for sending messages to mailing lists ? The subject of this thread has been somewhat messed up , which is bad for the browsing/searching of the mailinglist archives. I suppose the mailing list engine is not unicode-compliant yet ! From mxpxfifws@yahoo.com Sun Jan 18 22:49:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web13805.mail.yahoo.com (web13805.mail.yahoo.com [216.136.175.15]) by mail.gnome.org (Postfix) with SMTP id C3BEA18115 for ; Sun, 18 Jan 2004 22:49:58 -0500 (EST) Message-ID: <20040119034958.58723.qmail@web13805.mail.yahoo.com> Received: from [65.243.233.2] by web13805.mail.yahoo.com via HTTP; Sun, 18 Jan 2004 19:49:58 PST Date: Sun, 18 Jan 2004 19:49:58 -0800 (PST) From: Bryan Forbes To: Gtkmm List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Convert Enum to GType Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is there a way to take a typedef'd enum and turn it into a GType? The reason I ask is I'm deriving a class from Gtk::TreeStore, but my derived TreeModel uses an enum I made up. here are the classes: class DataColumns : public Gtk::TreeModel::ColumnRecord { public: DataColumns() { add(m_col_name); add(m_col_size); add(m_col_uri); add(m_col_entity_type); } Gtk::TreeModelColumn m_col_name; Gtk::TreeModelColumn m_col_size; Gtk::TreeModelColumn m_col_uri; Gtk::TreeModelColumn m_col_entity_type; // cstr_EntityType is my enum }; class cstr_TreeStoreDnd : public Gtk::TreeStore { protected: explicit cstr_TreeStoreDnd(const Gtk::TreeModelColumnRecord& columns); public: static DataColumns m_modelColumns; static Glib::RefPtr create(); protected: // Overridden virtual functions virtual bool row_draggable_vfunc(const Gtk::TreeModel::Path& path); }; When I run the program with these two classes compiled in, I get this warning: (process:760): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function And when I actually use the TreeStore class, I get these warnings: (process:2315): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function (coaster:2315): Gtk-WARNING **: gtktreestore.c:384: Invalid type (null) passed to gtk_tree_store_set_column_types and it segfaults when I try to add things to the treestore. I figure it's because I'm using that custom enum value. I've even tried using Glib::ObjectBase(typeid(cstr_TreeStoreDnd)) in the constructor, and I still get those warnings. Is there any easy way to register that enum as a GType? Thanks in advance! -Bryan __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From pks@timing.com Sun Jan 18 23:50:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by mail.gnome.org (Postfix) with ESMTP id 9610718307 for ; Sun, 18 Jan 2004 23:50:46 -0500 (EST) Received: from jester.timing.com (root@jester.timing.com [206.168.13.216]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i0J4ojDf006826; Sun, 18 Jan 2004 21:50:45 -0700 (MST) (envelope-from pks@timing.com) Received: from jester.timing.com (pks@localhost.timing.com [127.0.0.1]) by jester.timing.com (8.12.6/8.12.6) with ESMTP id i0J4ojvx081592; Sun, 18 Jan 2004 21:50:45 -0700 (MST) (envelope-from pks@jester.timing.com) Received: (from pks@localhost) by jester.timing.com (8.12.6/8.12.6/Submit) id i0J4ojBx081589; Sun, 18 Jan 2004 21:50:45 -0700 (MST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16395.25125.213863.500622@jester.timing.com> Date: Sun, 18 Jan 2004 21:50:45 -0700 From: pks@timing.com To: Bryan Forbes Cc: Gtkmm List Subject: Re: [gtkmm] Convert Enum to GType In-Reply-To: <20040119034958.58723.qmail@web13805.mail.yahoo.com> References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> X-Mailer: VM 7.00 under Emacs 20.7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Bryan Forbes writes: > > class DataColumns : public Gtk::TreeModel::ColumnRecord > { > public: > Gtk::TreeModelColumn m_col_entity_type; // cstr_EntityType is my enum > }; > > class cstr_TreeStoreDnd : public Gtk::TreeStore > { > public: > static DataColumns m_modelColumns; > }; > When I run the program with these two classes compiled in, I get this warning: > (process:760): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, > use g_type_init() prior to this function > and it segfaults when I try to add things to the treestore. I figure it's because I'm > using that custom enum value. At the first glance, this doesn't seem related to your enum at all. This variation on the simplest gtkmm application will cause you the same grief! #include int main(int argc, char *argv[]) { Gtk::Window win; Gtk::Main kit(argc, argv); kit.run(win); return 0; } When win is created it checks if its type is registered with glib, and will register its type if it hasn't been. Well, the glib type database is not initialized until kit (the Gtk::Main object) is created ... My guess is that *static* DataColumns is the culprit (with or without the TreeModelColumn instantiated on your enum). That is m_modelColumns behaves as Gtk::Window does in the example above, before main(), where you presumably create a Gtk::Main object, has a chance to initialize the type registration database ... I assume that making m_modelColumn non static will eliminate the runtime errors. You will be using redundant copies thereof ... You could consider making it a pointer, and creating it the first time you need it, after :) Gtk::Main has been instantiated, then reusing that instance ... An alternative would be to follow the error message's advice: > use g_type_init() prior to this function but can't give advice on how to ensure it's called before your static object is created, and won't investigate that either, the singleton method has worked well enough for me. From pks@timing.com Mon Jan 19 00:07:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from Daffy.timing.com (smtp.timing.com [206.168.13.218]) by mail.gnome.org (Postfix) with ESMTP id 92112182CF for ; Mon, 19 Jan 2004 00:07:55 -0500 (EST) Received: from jester.timing.com (root@jester.timing.com [206.168.13.216]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i0J57sDf007262 for ; Sun, 18 Jan 2004 22:07:54 -0700 (MST) (envelope-from pks@timing.com) Received: from jester.timing.com (pks@localhost.timing.com [127.0.0.1]) by jester.timing.com (8.12.6/8.12.6) with ESMTP id i0J57svx081614 for ; Sun, 18 Jan 2004 22:07:54 -0700 (MST) (envelope-from pks@jester.timing.com) Received: (from pks@localhost) by jester.timing.com (8.12.6/8.12.6/Submit) id i0J57sbZ081611; Sun, 18 Jan 2004 22:07:54 -0700 (MST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16395.26154.771085.413384@jester.timing.com> Date: Sun, 18 Jan 2004 22:07:54 -0700 From: pks@timing.com To: Gtkmm List Subject: Re: [gtkmm] Convert Enum to GType In-Reply-To: <16395.25125.213863.500622@jester.timing.com> References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> <16395.25125.213863.500622@jester.timing.com> X-Mailer: VM 7.00 under Emacs 20.7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: pks@timing.com writes: > An alternative would be to follow the error message's advice: > > use g_type_init() prior to this function this does raise a question, which may well have been asked before. Please blow me off if you've dealt with it one too many times, and forgive me for adding another copy! why do we determine that the type system is uninitialized, complain, then crash and burn, instead of just initializing it? From murrayc@usa.net Mon Jan 19 05:34:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmsrelay02.mx.net (cmsrelay02.mx.net [165.212.11.111]) by mail.gnome.org (Postfix) with SMTP id 03853183BA for ; Mon, 19 Jan 2004 05:34:43 -0500 (EST) Received: from uadvg129.cms.usa.net (165.212.11.129) by cmsoutbound.mx.net with SMTP; 19 Jan 2004 10:34:35 -0000 Received: from uwdvg017.cms.usa.net [165.212.8.17] by uadvg129.cms.usa.net (ASMTP/) via mtad (C8.MAIN.3.11E) with ESMTP id 462iaskIh0493M29; Mon, 19 Jan 2004 10:34:33 GMT X-USANET-Auth: 165.212.8.17 AUTO murrayc@usa.net uwdvg017.cms.usa.net Received: from 194.175.117.85 [194.175.117.85] by uwdvg017.cms.usa.net (USANET web-mailer CM.0402.7.03); Mon, 19 Jan 2004 10:34:32 -0000 Date: Mon, 19 Jan 2004 11:34:32 +0100 From: Murray Cumming To: Bryan Forbes , Gtkmm List Subject: Re: [[gtkmm] Convert Enum to GType] X-Mailer: USANET web-mailer (CM.0402.7.03) Mime-Version: 1.0 Message-ID: <516iaskIG5648S17.1074508472@uwdvg017.cms.usa.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Bryan Forbes wrote: > Is there a way to take a typedef'd enum and turn it into a GType? = The reason I ask > is I'm deriving a class from Gtk::TreeStore, but my derived TreeModel u= ses an enum I made > up. By the way, I will check in some derived-treemodel changes today, to gtkm= m 2.4. It's a lot more C++-like. It should help here, because it uses Glib::Value instead of GValue, and Glib::Value does all that enum/whatever-GType stuff for you. Murray Cumming murrayc@usa.net www.murrayc.com From kgergely@mlabdial.hit.bme.hu Mon Jan 19 07:46:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id CD5641864B for ; Mon, 19 Jan 2004 07:46:54 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JCksg21866 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 13:46:54 +0100 Date: Mon, 19 Jan 2004 13:46:54 +0100 From: KONTRA Gergely To: gtkmm-list@gnome.org Message-ID: <20040119124654.GB21675@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] ItemFactory Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've seen nice Gtk code (ruby bindings), and started to learn it. During menu creation, I've come into a so called ItemFactory class. Is this widget part of gtk2? I cannot find any useful info, and I cannot find it in /usr/include. thx Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From abt@gmx.de Mon Jan 19 08:09:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 99177185E9 for ; Mon, 19 Jan 2004 08:09:38 -0500 (EST) Received: (qmail 31590 invoked by uid 65534); 19 Jan 2004 13:09:36 -0000 Received: from pD9E9473E.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.71.62) by mail.gmx.net (mp007) with SMTP; 19 Jan 2004 14:09:36 +0100 X-Authenticated: #109577 Message-ID: <400BD718.7030700@gmx.de> Date: Mon, 19 Jan 2004 14:09:44 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Size of a TextView window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I wonder how I can set the size of my TextView window within a scrolled window. Per default six lines are displayed but I only want one. I´ve tried with set_border_window_size but it has no effect... // Scrolled Window that holds text view for description m_scrolledDescWindow.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); m_DescriptionBuffer = Gtk::TextBuffer::create(); m_DescriptionBuffer->set_text("This is my text"); m_textViewDesc.set_buffer(m_DescriptionBuffer); m_textViewDesc.set_border_window_size(Gtk::TEXT_WINDOW_TOP, 2); m_scrolledDescWindow.add(m_textViewDesc); From kgergely@mlabdial.hit.bme.hu Mon Jan 19 08:40:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id 511F1188A9 for ; Mon, 19 Jan 2004 08:40:00 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JDdxj22418 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 14:39:59 +0100 Date: Mon, 19 Jan 2004 14:39:59 +0100 From: KONTRA Gergely To: gtkmm mailing list Message-ID: <20040119133958.GA22071@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] widget for displaying icons Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! Can I easily set up a widget, which will show me thumbnail images? I have a LOT of images, I want a multicolumn-multirow solution, where the number of columns depends on the widget size. thx Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From gcgg-gtkmm-list@m.gmane.org Mon Jan 19 09:06:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 175E2187CE for ; Mon, 19 Jan 2004 09:06:46 -0500 (EST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aia3B-0001bd-00 for ; Mon, 19 Jan 2004 15:06:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aia39-0001bV-00 for ; Mon, 19 Jan 2004 15:06:43 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aia39-0002nc-00 for ; Mon, 19 Jan 2004 15:06:43 +0100 From: Mike Hearn Date: Mon, 19 Jan 2004 14:10:17 +0000 Lines: 5 Message-ID: References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> <16395.25125.213863.500622@jester.timing.com> <16395.26154.771085.413384@jester.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] Re: Convert Enum to GType Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sun, 18 Jan 2004 22:07:54 -0700, pks wrote: > why do we determine that the type system is uninitialized, complain, > then crash and burn, instead of just initializing it? That probably wouldn't be thread safe. From drink_n_park@hotmail.com Mon Jan 19 09:12:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (law10-f78.law10.hotmail.com [64.4.15.78]) by mail.gnome.org (Postfix) with ESMTP id 3BC3D18903 for ; Mon, 19 Jan 2004 09:12:24 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 19 Jan 2004 06:12:23 -0800 Received: from 203.217.38.178 by lw10fd.law10.hotmail.msn.com with HTTP; Mon, 19 Jan 2004 14:12:23 GMT X-Originating-IP: [203.217.38.178] X-Originating-Email: [drink_n_park@hotmail.com] X-Sender: drink_n_park@hotmail.com From: "Drinkin Park" To: chris@cvine.freeserve.co.uk, gtkmm-list@gnome.org Subject: Re: [gtkmm] Function pointers question (gtkmm related) Date: Mon, 19 Jan 2004 14:12:23 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Jan 2004 14:12:23.0352 (UTC) FILETIME=[4231B380:01C3DE96] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks for the help :) >From: Chris Vine >To: "Drinkin Park" , gtkmm-list@gnome.org >Subject: Re: [gtkmm] Function pointers question (gtkmm related) >Date: Sun, 18 Jan 2004 18:11:50 +0000 > >On Sunday 18 January 2004 1:36 pm, Drinkin Park wrote: > >[snip] > > > MyToolbar::MyToolbar() { > > ... > > push_back(StockElem(Gtk::Stock::NEW, > > SigC::slot(*this, &OtherClass::newButtonClicked), "New")); > ^^^^^^ > >You are not passing the right object to the slot. You need to pass an >object >of type OtherClass. > >Chris. > > _________________________________________________________________ Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp From yzine_zjdt@yahoo.com Mon Jan 19 10:39:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web20726.mail.yahoo.com (web20726.mail.yahoo.com [216.136.226.109]) by mail.gnome.org (Postfix) with SMTP id 6600C18270 for ; Mon, 19 Jan 2004 10:39:49 -0500 (EST) Message-ID: <20040119153945.14882.qmail@web20726.mail.yahoo.com> Received: from [156.56.116.58] by web20726.mail.yahoo.com via HTTP; Mon, 19 Jan 2004 07:39:45 PST Date: Mon, 19 Jan 2004 07:39:45 -0800 (PST) From: L Yang To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-697103962-1074526785=:14281" Subject: [gtkmm] Set a unicode string as the label of button Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --0-697103962-1074526785=:14281 Content-Type: text/plain; charset=us-ascii Dear all, I have a txt file, coded with unicode (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian. gedit told me it's Unicode UTF-16) How to search " Lingyun Yang ..... Thank you in advance! #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;Lingyun Yang #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;yzine@etang.com #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;2004-01-19 --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-697103962-1074526785=:14281 Content-Type: text/html; charset=us-ascii
Dear all,
  I have a txt file, coded with unicode
(MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian.
gedit told me it's Unicode UTF-16)
How to search "<!" in it and how to make it the caption or label of a button
(I am using set_label() from gtkmm and glib::ustring seems doesn't work
and I'm working with dev-c++ under windows)
or even better, could you give me a hint or help to parse this txt file?
it's orgnized like XML format:
<RECORD>
  <FIRST NAME>Lingyun<FIRST NAME>
  <LAST NAME>Yang</LAST NAME>
</RECORD>
<RECORD>
.....
</RECORD>
     
Thank you in advance!
        Lingyun Yang
        yzine@etang.com
          2004-01-19


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-697103962-1074526785=:14281-- From abas@aix.meng.auth.gr Mon Jan 19 11:57:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id 0DDA718431 for ; Mon, 19 Jan 2004 11:57:15 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1Aichx-0001P5-00; Mon, 19 Jan 2004 18:57:01 +0200 Subject: Re: [gtkmm] Set a unicode string as the label of button From: Anastasios Bassoukos To: L Yang Cc: gtkmm-list@gnome.org In-Reply-To: <20040119153945.14882.qmail@web20726.mail.yahoo.com> References: <20040119153945.14882.qmail@web20726.mail.yahoo.com> Content-Type: multipart/alternative; boundary="=-s0dNXruK0qvWbL7ne2Fw" Organization: LHTEE, AUTh Message-Id: <1074531420.3765.1.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 19 Jan 2004 18:57:00 +0200 X-Scanner: exiscan *1Aichx-0001P5-00*lfhfBnxbB9I* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-s0dNXruK0qvWbL7ne2Fw Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2004-01-19 at 17:39, L Yang wrote: > Dear all, > I have a txt file, coded with unicode > (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or > Big-Endian. > gedit told me it's Unicode UTF-16) > How to search " button > (I am using set_label() from gtkmm and glib::ustring seems doesn't > work > and I'm working with dev-c++ under windows) > or even better, could you give me a hint or help to parse this txt > file? > it's orgnized like XML format: > > Lingyun > Yang > > > ..... > > > Thank you in advance! Use the iconv command to transcode the file to UTF-8 and the use standard XML parsing techniques. HTH, Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri --=-s0dNXruK0qvWbL7ne2Fw Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit On Mon, 2004-01-19 at 17:39, L Yang wrote:
Dear all,
  I have a txt file, coded with unicode
(MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian.
gedit told me it's Unicode UTF-16)
How to search "<!" in it and how to make it the caption or label of a button
(I am using set_label() from gtkmm and glib::ustring seems doesn't work
and I'm working with dev-c++ under windows)
or even better, could you give me a hint or help to parse this txt file?
it's orgnized like XML format:
<RECORD>
  <FIRST NAME>Lingyun<FIRST NAME>
  <LAST NAME>Yang</LAST NAME>
</RECORD>
<RECORD>
.....
</RECORD>
     
Thank you in advance!

Use the iconv command to transcode the file to UTF-8 and the use standard XML parsing techniques.

HTH,
Tassos

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master." 
	-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri
--=-s0dNXruK0qvWbL7ne2Fw-- From Murray.Cumming@Comneon.com Mon Jan 19 12:42:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7072F185E6 for ; Mon, 19 Jan 2004 12:42:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JHcZDb002938; Mon, 19 Jan 2004 18:38:35 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 18:43:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A7D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: yzine_zjdt@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Set a unicode string as the label of button Date: Mon, 19 Jan 2004 18:42:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-2022-jp" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Glib::convert() can convert between text encodings: http://www.gtkmm.org/gtkmm2/docs/reference/html/group__CharsetConv.html You might wish to use libxml++ for XML parsing in C++: http://libxmlplusplus.sourceforge.net/ Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of L Yang Sent: Montag, 19. Januar 2004 16:40 To: gtkmm-list@gnome.org Subject: [gtkmm] Set a unicode string as the label of button Dear all, I have a txt file, coded with unicode (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian. gedit told me it's Unicode UTF-16) How to search " Lingyun Yang ..... Thank you in advance! $B!!!!!!!!!!!!!!!!(JLingyun Yang $B!!!!!!!!!!!!!!!!(Jyzine@etang.com $B!!!!!!!!!!!!!!!!!!!!(J2004-01-19 Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes From kgergely@mlabdial.hit.bme.hu Mon Jan 19 13:00:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id AD5DD184B2 for ; Mon, 19 Jan 2004 13:00:03 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JI02g25116 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 19:00:02 +0100 Date: Mon, 19 Jan 2004 19:00:02 +0100 From: KONTRA Gergely To: gtkmm mailing list Subject: Re: [gtkmm] Set a unicode string as the label of button Message-ID: <20040119180002.GA25094@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 0119, L Yang wrote: > I have a txt file, coded with unicode > (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or > Big-Endian. > gedit told me it's Unicode UTF-16) > or even better, could you give me a hint or help to parse this txt > file? > it's orgnized like XML format: Give vim a try. I can handle extreme character sets, knows utf-8, and so on... official: ftp://ftp.vim.org/pub/vim/pc/gvim62.exe unofficial (patched): http://cream.sourceforge.net/gvim-6-2-170.exe If you don't know vim, you can use it, as a notepad, just click on the created vim easy icon. It behaves almost like notepad. But it's a great text editor, and you can use it for compiling gtk project as well... Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ ----- End forwarded message ----- -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From Murray.Cumming@Comneon.com Mon Jan 19 12:46:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 3006018612 for ; Mon, 19 Jan 2004 12:46:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JHflDb016397; Mon, 19 Jan 2004 18:41:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 18:46:19 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pierric@descamps.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview .cc Date: Mon, 19 Jan 2004 18:45:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an > old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, > 2.0.2, and 2.2.8. In any case, I get the following error: gtkmm 2.0 does not build with GTK+ 2.2. gtkmm 2.2 should have no such problems - please check again. Murray Cumming www.murrayc.com murrayc@usa.net From DonScorgie@Blueyonder.co.uk Mon Jan 19 13:30:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp-out7.blueyonder.co.uk (smtp-out7.blueyonder.co.uk [195.188.213.10]) by mail.gnome.org (Postfix) with ESMTP id A6B8318406 for ; Mon, 19 Jan 2004 13:30:37 -0500 (EST) Received: from 82-41-53-103.cable.ubr07.edin.blueyonder.co.uk ([82.41.53.103]) by smtp-out7.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Mon, 19 Jan 2004 18:30:56 +0000 From: Donald To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1074537036.2594.8.camel@Madaline.mydomain.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 19 Jan 2004 18:30:36 +0000 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jan 2004 18:30:56.0622 (UTC) FILETIME=[60D2D8E0:01C3DEBA] Subject: [gtkmm] Gtk::Image and Eventbox Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: hi, I'm new here, so don't be too hard. I've been using gtkmm for a while, but run across a problem. I have a window containing a Gtk::Image which is set with a Gdk::Image / Gdk::Pixmap. I need to recieve events on this, so I proceeded to put it in an eventbox. The problem arises when I try to connect a signal up to it. With no signal (i.e. the eventbox is doing nothing), it is fine and the image displays properly. But when a signal is connected up, the Image / eventbox is displayed as grey. I've check this on the archives and Google, and the nearest I come was a posting saying that the background color of the eventbox can be changed, but nothing else relavent. So, my question after all this rambling is, can I get my Image to display with signals, or do I have to go look for another way to do this? Cheers Don From Murray.Cumming@Comneon.com Mon Jan 19 16:26:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C46C418673 for ; Mon, 19 Jan 2004 16:26:05 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JLLnDb009247; Mon, 19 Jan 2004 22:21:49 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 22:26:21 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: DonScorgie@Blueyonder.co.uk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::Image and Eventbox Date: Mon, 19 Jan 2004 22:25:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've been using gtkmm for a while, but run across a problem. > > I have a window containing a Gtk::Image which is set with a > Gdk::Image / Gdk::Pixmap. > > I need to recieve events on this, so I proceeded to put it in > an eventbox. > > The problem arises when I try to connect a signal up to it. > > With no signal (i.e. the eventbox is doing nothing), it is > fine and the image displays properly. But when a signal is > connected up, the Image / eventbox is displayed as grey. You should probably tell us exactly what signal you are talking about. But I guess that you probably just need to use the correct return type in your event signal handler: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/apbs06.html Murray Cumming www.murrayc.com murrayc@usa.net From pierric@descamps.net Mon Jan 19 16:03:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.insa-lyon.fr (csiges9.insa-lyon.fr [134.214.79.200]) by mail.gnome.org (Postfix) with ESMTP id 132E9189AD for ; Mon, 19 Jan 2004 16:03:47 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.insa-lyon.fr (Postfix) with ESMTP id D10254B4E4 for ; Mon, 19 Jan 2004 22:03:38 +0100 (CET) Received: from J534-a.resJ.insa-lyon.fr (J534-a.resJ.insa-lyon.fr [134.214.166.190]) by mail.insa-lyon.fr (Postfix) with SMTP id DB2174B5F9 for ; Mon, 19 Jan 2004 22:03:36 +0100 (CET) Date: Mon, 19 Jan 2004 22:05:10 +0000 From: Pierric Descamps To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview .cc Message-Id: <20040119220510.48f22caa.pierric@descamps.net> In-Reply-To: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> Organization: X-Mailer: Sylpheed version 0.9.4-gtk2-20030802 (GTK+ 2.2.2; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd 0.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm really sorry. Why is it that every time I post a message, I forget to double-check? Version 2.2.8 actually compiled, though I was completly sure it once failed. Maybe the fact that I updated glib from 2.1.something to 2.2.something helped. I don't know. But it now works, thanks a lot. You might hear from me for stupid newbie questions in the near future. :-) Pierric. On Mon, 19 Jan 2004 18:45:56 +0100 Murray.Cumming@Comneon.com wrote: > > I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an > > old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, > > 2.0.2, and 2.2.8. In any case, I get the following error: > > gtkmm 2.0 does not build with GTK+ 2.2. gtkmm 2.2 should have no such > problems - please check again. > > Murray Cumming > www.murrayc.com > murrayc@usa.net > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From hellish@comcast.net Mon Jan 19 19:33:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mail.gnome.org (Postfix) with ESMTP id DE52418283 for ; Mon, 19 Jan 2004 19:33:26 -0500 (EST) Received: from osiris (c-24-20-76-138.client.comcast.net[24.20.76.138]) by comcast.net (sccrmhc12) with SMTP id <20040120003325012001sdm0e> (Authid: hellish); Tue, 20 Jan 2004 00:33:25 +0000 Date: Mon, 19 Jan 2004 16:33:18 -0800 From: Nick Nolan To: gtkmm-list Message-Id: <20040119163318.0eaba60a.hellish@comcast.net> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; powerpc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j" Subject: [gtkmm] libglademm problem... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit I can compile my extremely simple program fine, but when I run it I get: hellish@Osiris:~/hacking/space-battle/src$ ./a.out (a.out:28347): libglade-WARNING **: Expected . Got . (a.out:28347): libglade-WARNING **: did not finish in PARSER_FINISH state Aborted anyone know what that means? google and list archives turn up nothing. code: #include #include int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Glib::RefPtr refXml = Gnome::Glade::Xml::create("space-battle.glade"); return 0; } The .glade is attached if it's of any interest. Thanks in advance, Nick Nolan --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFADHdUpa1ZoSmkxrkRAi+HAJ95j9aXR+fK3T857EHPdOfhz5W6+ACeLbKT vegTejoGoCFQV8GvbYDb3co= =pyK2 -----END PGP SIGNATURE----- --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j-- From hellish@comcast.net Mon Jan 19 19:51:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mail.gnome.org (Postfix) with ESMTP id 74D121815B for ; Mon, 19 Jan 2004 19:51:54 -0500 (EST) Received: from osiris (c-24-20-76-138.client.comcast.net[24.20.76.138]) by comcast.net (rwcrmhc11) with SMTP id <20040120005149013007u9l0e> (Authid: hellish); Tue, 20 Jan 2004 00:51:50 +0000 Date: Mon, 19 Jan 2004 16:51:31 -0800 From: Nick Nolan To: gtkmm-list@gnome.org Subject: Re: [gtkmm] libglademm problem... Message-Id: <20040119165131.636fd793.hellish@comcast.net> In-Reply-To: <20040119163318.0eaba60a.hellish@comcast.net> References: <20040119163318.0eaba60a.hellish@comcast.net> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; powerpc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn Content-Type: multipart/mixed; boundary="Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD" --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Mon, 19 Jan 2004 16:33:18 -0800 Nick Nolan wrote: > The .glade is attached if it's of any interest. oops... anyway here's the glade --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD Content-Type: application/octet-stream; name="space-battle.glade" Content-Disposition: attachment; filename="space-battle.glade" Content-Transfer-Encoding: base64 PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxHVEstSW50ZXJmYWNlPgoKPHByb2plY3Q+CiAgPG5hbWU+ c3BhY2UtYmF0dGxlPC9uYW1lPgogIDxwcm9ncmFtX25hbWU+c3BhY2UtYmF0dGxlPC9wcm9ncmFt X25hbWU+CiAgPGRpcmVjdG9yeT48L2RpcmVjdG9yeT4KICA8c291cmNlX2RpcmVjdG9yeT5zcmM8 L3NvdXJjZV9kaXJlY3Rvcnk+CiAgPHBpeG1hcHNfZGlyZWN0b3J5PnBpeG1hcHM8L3BpeG1hcHNf ZGlyZWN0b3J5PgogIDxsYW5ndWFnZT5DKys8L2xhbmd1YWdlPgogIDxnbm9tZV9zdXBwb3J0PkZh bHNlPC9nbm9tZV9zdXBwb3J0PgogIDxnZXR0ZXh0X3N1cHBvcnQ+VHJ1ZTwvZ2V0dGV4dF9zdXBw b3J0PgogIDxvdXRwdXRfbWFpbl9maWxlPkZhbHNlPC9vdXRwdXRfbWFpbl9maWxlPgogIDxvdXRw dXRfc3VwcG9ydF9maWxlcz5GYWxzZTwvb3V0cHV0X3N1cHBvcnRfZmlsZXM+CiAgPG91dHB1dF9i dWlsZF9maWxlcz5GYWxzZTwvb3V0cHV0X2J1aWxkX2ZpbGVzPgogIDxiYWNrdXBfc291cmNlX2Zp bGVzPkZhbHNlPC9iYWNrdXBfc291cmNlX2ZpbGVzPgo8L3Byb2plY3Q+Cgo8d2lkZ2V0PgogIDxj bGFzcz5HdGtXaW5kb3c8L2NsYXNzPgogIDxuYW1lPk1haW5XaW5kb3c8L25hbWU+CiAgPHRpdGxl PlNwYWNlIEJhdHRsZSE8L3RpdGxlPgogIDx0eXBlPkdUS19XSU5ET1dfVE9QTEVWRUw8L3R5cGU+ CiAgPHBvc2l0aW9uPkdUS19XSU5fUE9TX05PTkU8L3Bvc2l0aW9uPgogIDxtb2RhbD5GYWxzZTwv bW9kYWw+CiAgPGFsbG93X3Nocmluaz5GYWxzZTwvYWxsb3dfc2hyaW5rPgogIDxhbGxvd19ncm93 PlRydWU8L2FsbG93X2dyb3c+CiAgPGF1dG9fc2hyaW5rPkZhbHNlPC9hdXRvX3Nocmluaz4KCiAg PHdpZGdldD4KICAgIDxjbGFzcz5HdGtWQm94PC9jbGFzcz4KICAgIDxuYW1lPnZib3gxPC9uYW1l PgogICAgPGhvbW9nZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAgIDxzcGFjaW5nPjA8L3Nw YWNpbmc+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0ltYWdlPC9jbGFzcz4KICAgICAg PG5hbWU+aW1hZ2UxPC9uYW1lPgogICAgICA8eGFsaWduPjAuNTwveGFsaWduPgogICAgICA8eWFs aWduPjAuNTwveWFsaWduPgogICAgICA8eHBhZD4wPC94cGFkPgogICAgICA8eXBhZD4wPC95cGFk PgogICAgICA8aW1hZ2Vfd2lkdGg+NTEyPC9pbWFnZV93aWR0aD4KICAgICAgPGltYWdlX2hlaWdo dD4yNTY8L2ltYWdlX2hlaWdodD4KICAgICAgPGltYWdlX3R5cGU+R0RLX0lNQUdFX05PUk1BTDwv aW1hZ2VfdHlwZT4KICAgICAgPGltYWdlX3Zpc3VhbD5HREtfVklTVUFMX1NZU1RFTTwvaW1hZ2Vf dmlzdWFsPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5UcnVl PC9leHBhbmQ+Cgk8ZmlsbD5UcnVlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRnZXQ+ CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1l PkNvbmZpZ3VyZVNlcnZlckJ1dHRvbjwvbmFtZT4KICAgICAgPGNhbl9mb2N1cz5UcnVlPC9jYW5f Zm9jdXM+CiAgICAgIDxsYWJlbD5TdGFydCBhIG5ldyBnYW1lIChsYXVuY2ggc2VydmVyKTwvbGFi ZWw+CiAgICAgIDxyZWxpZWY+R1RLX1JFTElFRl9OT1JNQUw8L3JlbGllZj4KICAgICAgPGNoaWxk PgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+RmFsc2U8L2V4cGFuZD4KCTxmaWxsPkZh bHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAg ICAgPGNsYXNzPkd0a0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1lPkNvbm5lY3RCdXR0b248L25h bWU+CiAgICAgIDxjYW5fZm9jdXM+VHJ1ZTwvY2FuX2ZvY3VzPgogICAgICA8bGFiZWw+Q29ubmVj dCB0byBhIGN1cnJlbnQgZ2FtZTwvbGFiZWw+CiAgICAgIDxyZWxpZWY+R1RLX1JFTElFRl9OT1JN QUw8L3JlbGllZj4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+ RmFsc2U8L2V4cGFuZD4KCTxmaWxsPkZhbHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93 aWRnZXQ+CiAgPC93aWRnZXQ+Cjwvd2lkZ2V0PgoKPHdpZGdldD4KICA8Y2xhc3M+R3RrV2luZG93 PC9jbGFzcz4KICA8bmFtZT5TdGFydFNlcnZlcldpbmRvdzwvbmFtZT4KICA8dGl0bGU+U3RhcnRp bmcgYSBnYW1lLi4uPC90aXRsZT4KICA8dHlwZT5HVEtfV0lORE9XX1RPUExFVkVMPC90eXBlPgog IDxwb3NpdGlvbj5HVEtfV0lOX1BPU19OT05FPC9wb3NpdGlvbj4KICA8bW9kYWw+RmFsc2U8L21v ZGFsPgogIDxhbGxvd19zaHJpbms+RmFsc2U8L2FsbG93X3Nocmluaz4KICA8YWxsb3dfZ3Jvdz5U cnVlPC9hbGxvd19ncm93PgogIDxhdXRvX3Nocmluaz5GYWxzZTwvYXV0b19zaHJpbms+CgogIDx3 aWRnZXQ+CiAgICA8Y2xhc3M+R3RrVkJveDwvY2xhc3M+CiAgICA8bmFtZT52Ym94MjwvbmFtZT4K ICAgIDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICA8c3BhY2luZz4wPC9zcGFj aW5nPgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtMYWJlbDwvY2xhc3M+CiAgICAgIDxu YW1lPmxhYmVsMTwvbmFtZT4KICAgICAgPGxhYmVsPlN0YXJ0aW5nIGEgbmV3IFNwYWNlIEJhdHRs ZSBnYW1lPC9sYWJlbD4KICAgICAgPGp1c3RpZnk+R1RLX0pVU1RJRllfQ0VOVEVSPC9qdXN0aWZ5 PgogICAgICA8d3JhcD5GYWxzZTwvd3JhcD4KICAgICAgPHhhbGlnbj4wLjU8L3hhbGlnbj4KICAg ICAgPHlhbGlnbj4wLjU8L3lhbGlnbj4KICAgICAgPHhwYWQ+MDwveHBhZD4KICAgICAgPHlwYWQ+ MDwveXBhZD4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+RmFs c2U8L2V4cGFuZD4KCTxmaWxsPkZhbHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRn ZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0hCb3g8L2NsYXNzPgogICAgICA8bmFt ZT5oYm94MTwvbmFtZT4KICAgICAgPGhvbW9nZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAg ICAgPHNwYWNpbmc+MDwvc3BhY2luZz4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGlu Zz4KCTxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJPGZpbGw+VHJ1ZTwvZmlsbD4KICAgICAgPC9jaGls ZD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+R3RrTGFiZWw8L2NsYXNzPgoJPG5hbWU+bGFiZWwy PC9uYW1lPgoJPGxhYmVsPlBvcnQ/PC9sYWJlbD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZX0NFTlRF UjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGlnbj4KCTx5 YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4wPC94cGFkPgoJPHlwYWQ+MDwveXBhZD4KCTxjaGls ZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJICA8 ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgoKICAgICAgPHdpZGdl dD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+Cgk8bmFtZT5Qb3J0RW50cnk8L25hbWU+Cgk8Y2Fu X2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxlZGl0YWJsZT5UcnVlPC9lZGl0YWJsZT4KCTx0ZXh0 X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxlPgoJPHRleHRfbWF4X2xlbmd0aD4wPC90ZXh0X21h eF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+ CgkgIDxleHBhbmQ+RmFsc2U8L2V4cGFuZD4KCSAgPGZpbGw+RmFsc2U8L2ZpbGw+Cgk8L2NoaWxk PgogICAgICA8L3dpZGdldD4KICAgIDwvd2lkZ2V0PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFz cz5HdGtDaGVja0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1lPlBsYXlJblRoaXNHYW1lPC9uYW1l PgogICAgICA8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KICAgICAgPGxhYmVsPlBsYXkgaW4g dGhpcyBnYW1lPzwvbGFiZWw+CiAgICAgIDxhY3RpdmU+RmFsc2U8L2FjdGl2ZT4KICAgICAgPGRy YXdfaW5kaWNhdG9yPlRydWU8L2RyYXdfaW5kaWNhdG9yPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGlu Zz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+ CiAgICAgIDwvY2hpbGQ+CiAgICA8L3dpZGdldD4KCiAgICA8d2lkZ2V0PgogICAgICA8Y2xhc3M+ R3RrSEJveDwvY2xhc3M+CiAgICAgIDxuYW1lPmhib3gyPC9uYW1lPgogICAgICA8aG9tb2dlbmVv dXM+RmFsc2U8L2hvbW9nZW5lb3VzPgogICAgICA8c3BhY2luZz4wPC9zcGFjaW5nPgogICAgICA8 Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZp bGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0 a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVsMzwvbmFtZT4KCTxsYWJlbD5UdXJucyBwZXIgaG91 cj88L2xhYmVsPgoJPGp1c3RpZnk+R1RLX0pVU1RJRllfQ0VOVEVSPC9qdXN0aWZ5PgoJPHdyYXA+ RmFsc2U8L3dyYXA+Cgk8eGFsaWduPjAuNTwveGFsaWduPgoJPHlhbGlnbj4wLjU8L3lhbGlnbj4K CTx4cGFkPjA8L3hwYWQ+Cgk8eXBhZD4wPC95cGFkPgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9w YWRkaW5nPgoJICA8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+CgkgIDxmaWxsPkZhbHNlPC9maWxsPgoJ PC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0VudHJ5 PC9jbGFzcz4KCTxuYW1lPlRQSEVudHJ5PC9uYW1lPgoJPGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9j dXM+Cgk8ZWRpdGFibGU+VHJ1ZTwvZWRpdGFibGU+Cgk8dGV4dF92aXNpYmxlPlRydWU8L3RleHRf dmlzaWJsZT4KCTx0ZXh0X21heF9sZW5ndGg+MDwvdGV4dF9tYXhfbGVuZ3RoPgoJPHRleHQ+PC90 ZXh0PgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRkaW5nPgoJICA8ZXhwYW5kPlRydWU8L2V4 cGFuZD4KCSAgPGZpbGw+VHJ1ZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgogICAg PC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0NoZWNrQnV0dG9uPC9jbGFz cz4KICAgICAgPG5hbWU+Y2hlY2tidXR0b24xPC9uYW1lPgogICAgICA8Y2FuX2ZvY3VzPlRydWU8 L2Nhbl9mb2N1cz4KICAgICAgPGxhYmVsPkxhdW5jaCBsb2cgdmlld2VyPyBsb2dzIGFyZSBhdCB+ Ly5zcGFjZS1iYXR0bGUvbG9nPC9sYWJlbD4KICAgICAgPGFjdGl2ZT5GYWxzZTwvYWN0aXZlPgog ICAgICA8ZHJhd19pbmRpY2F0b3I+VHJ1ZTwvZHJhd19pbmRpY2F0b3I+CiAgICAgIDxjaGlsZD4K CTxwYWRkaW5nPjA8L3BhZGRpbmc+Cgk8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+Cgk8ZmlsbD5GYWxz ZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KICAgIDwvd2lkZ2V0PgoKICAgIDx3aWRnZXQ+CiAgICAg IDxjbGFzcz5HdGtCdXR0b248L2NsYXNzPgogICAgICA8bmFtZT5TdGFydFNlcnZlckJ1dHRvbjwv bmFtZT4KICAgICAgPGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9jdXM+CiAgICAgIDxsYWJlbD5MZXQg dGhlIGdhbWUgYmVnaW4hPC9sYWJlbD4KICAgICAgPHJlbGllZj5HVEtfUkVMSUVGX05PUk1BTDwv cmVsaWVmPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxz ZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+CiAgICA8L3dpZGdl dD4KICA8L3dpZGdldD4KPC93aWRnZXQ+Cgo8d2lkZ2V0PgogIDxjbGFzcz5HdGtXaW5kb3c8L2Ns YXNzPgogIDxuYW1lPkNvbm5lY3RXaW5kb3c8L25hbWU+CiAgPHRpdGxlPkNvbm5lY3RpbmcgdG8g YSBnYW1lLi4uPC90aXRsZT4KICA8dHlwZT5HVEtfV0lORE9XX1RPUExFVkVMPC90eXBlPgogIDxw b3NpdGlvbj5HVEtfV0lOX1BPU19OT05FPC9wb3NpdGlvbj4KICA8bW9kYWw+RmFsc2U8L21vZGFs PgogIDxhbGxvd19zaHJpbms+RmFsc2U8L2FsbG93X3Nocmluaz4KICA8YWxsb3dfZ3Jvdz5UcnVl PC9hbGxvd19ncm93PgogIDxhdXRvX3Nocmluaz5GYWxzZTwvYXV0b19zaHJpbms+CgogIDx3aWRn ZXQ+CiAgICA8Y2xhc3M+R3RrVkJveDwvY2xhc3M+CiAgICA8bmFtZT52Ym94MzwvbmFtZT4KICAg IDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICA8c3BhY2luZz4wPC9zcGFjaW5n PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtIQm94PC9jbGFzcz4KICAgICAgPG5hbWU+ aGJveDM8L25hbWU+CiAgICAgIDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICAg IDxzcGFjaW5nPjA8L3NwYWNpbmc+CiAgICAgIDxjaGlsZD4KCTxwYWRkaW5nPjA8L3BhZGRpbmc+ Cgk8ZXhwYW5kPlRydWU8L2V4cGFuZD4KCTxmaWxsPlRydWU8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+ CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVsNDwv bmFtZT4KCTxsYWJlbD5JUCBvZiBzZXJ2ZXI/PC9sYWJlbD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZ X0NFTlRFUjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGln bj4KCTx5YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4wPC94cGFkPgoJPHlwYWQ+MDwveXBhZD4K CTxjaGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5k PgoJICA8ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgoKICAgICAg PHdpZGdldD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+Cgk8bmFtZT5JUEVudHJ5PC9uYW1lPgoJ PGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9jdXM+Cgk8ZWRpdGFibGU+VHJ1ZTwvZWRpdGFibGU+Cgk8 dGV4dF92aXNpYmxlPlRydWU8L3RleHRfdmlzaWJsZT4KCTx0ZXh0X21heF9sZW5ndGg+MDwvdGV4 dF9tYXhfbGVuZ3RoPgoJPHRleHQ+PC90ZXh0PgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRk aW5nPgoJICA8ZXhwYW5kPlRydWU8L2V4cGFuZD4KCSAgPGZpbGw+VHJ1ZTwvZmlsbD4KCTwvY2hp bGQ+CiAgICAgIDwvd2lkZ2V0PgogICAgPC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNs YXNzPkd0a0hCb3g8L2NsYXNzPgogICAgICA8bmFtZT5oYm94NDwvbmFtZT4KICAgICAgPGhvbW9n ZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAgICAgPHNwYWNpbmc+MDwvc3BhY2luZz4KICAg ICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJ PGZpbGw+VHJ1ZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+ R3RrTGFiZWw8L2NsYXNzPgoJPG5hbWU+bGFiZWw1PC9uYW1lPgoJPGxhYmVsPlBvcnQ/PC9sYWJl bD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZX0NFTlRFUjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93 cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGlnbj4KCTx5YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4w PC94cGFkPgoJPHlwYWQ+MDwveXBhZD4KCTxjaGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4K CSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJICA8ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+ CiAgICAgIDwvd2lkZ2V0PgoKICAgICAgPHdpZGdldD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+ Cgk8bmFtZT5Qb3J0RW50cnk8L25hbWU+Cgk8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxl ZGl0YWJsZT5UcnVlPC9lZGl0YWJsZT4KCTx0ZXh0X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxl PgoJPHRleHRfbWF4X2xlbmd0aD4wPC90ZXh0X21heF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8 Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+CgkgIDxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJ ICA8ZmlsbD5UcnVlPC9maWxsPgoJPC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CiAgICA8L3dpZGdl dD4KCiAgICA8d2lkZ2V0PgogICAgICA8Y2xhc3M+R3RrSEJveDwvY2xhc3M+CiAgICAgIDxuYW1l Pmhib3g1PC9uYW1lPgogICAgICA8aG9tb2dlbmVvdXM+RmFsc2U8L2hvbW9nZW5lb3VzPgogICAg ICA8c3BhY2luZz4wPC9zcGFjaW5nPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5n PgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hp bGQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVs NzwvbmFtZT4KCTxsYWJlbD5Vc2VybmFtZT88L2xhYmVsPgoJPGp1c3RpZnk+R1RLX0pVU1RJRllf Q0VOVEVSPC9qdXN0aWZ5PgoJPHdyYXA+RmFsc2U8L3dyYXA+Cgk8eGFsaWduPjAuNTwveGFsaWdu PgoJPHlhbGlnbj4wLjU8L3lhbGlnbj4KCTx4cGFkPjA8L3hwYWQ+Cgk8eXBhZD4wPC95cGFkPgoJ PGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRkaW5nPgoJICA8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+ CgkgIDxmaWxsPkZhbHNlPC9maWxsPgoJPC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8 d2lkZ2V0PgoJPGNsYXNzPkd0a0VudHJ5PC9jbGFzcz4KCTxuYW1lPlVzZXJuYW1lRW50cnk8L25h bWU+Cgk8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxlZGl0YWJsZT5UcnVlPC9lZGl0YWJs ZT4KCTx0ZXh0X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxlPgoJPHRleHRfbWF4X2xlbmd0aD4w PC90ZXh0X21heF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8 L3BhZGRpbmc+CgkgIDxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJICA8ZmlsbD5UcnVlPC9maWxsPgoJ PC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVs PC9jbGFzcz4KCTxuYW1lPmxhYmVsODwvbmFtZT4KCTxsYWJlbD5QYXNzd29yZDwvbGFiZWw+Cgk8 anVzdGlmeT5HVEtfSlVTVElGWV9DRU5URVI8L2p1c3RpZnk+Cgk8d3JhcD5GYWxzZTwvd3JhcD4K CTx4YWxpZ24+MC41PC94YWxpZ24+Cgk8eWFsaWduPjAuNTwveWFsaWduPgoJPHhwYWQ+MDwveHBh ZD4KCTx5cGFkPjA8L3lwYWQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+CgkgIDxl eHBhbmQ+RmFsc2U8L2V4cGFuZD4KCSAgPGZpbGw+RmFsc2U8L2ZpbGw+Cgk8L2NoaWxkPgogICAg ICA8L3dpZGdldD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+R3RrRW50cnk8L2NsYXNzPgoJPG5h bWU+UGFzc3dvcmRFbnRyeTwvbmFtZT4KCTxjYW5fZm9jdXM+VHJ1ZTwvY2FuX2ZvY3VzPgoJPGVk aXRhYmxlPlRydWU8L2VkaXRhYmxlPgoJPHRleHRfdmlzaWJsZT5UcnVlPC90ZXh0X3Zpc2libGU+ Cgk8dGV4dF9tYXhfbGVuZ3RoPjA8L3RleHRfbWF4X2xlbmd0aD4KCTx0ZXh0PjwvdGV4dD4KCTxj aGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5UcnVlPC9leHBhbmQ+Cgkg IDxmaWxsPlRydWU8L2ZpbGw+Cgk8L2NoaWxkPgogICAgICA8L3dpZGdldD4KICAgIDwvd2lkZ2V0 PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtCdXR0b248L2NsYXNzPgogICAgICA8bmFt ZT5Kb2luQnV0dG9uPC9uYW1lPgogICAgICA8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KICAg ICAgPGxhYmVsPkpvaW48L2xhYmVsPgogICAgICA8cmVsaWVmPkdUS19SRUxJRUZfTk9STUFMPC9y ZWxpZWY+CiAgICAgIDxjaGlsZD4KCTxwYWRkaW5nPjA8L3BhZGRpbmc+Cgk8ZXhwYW5kPkZhbHNl PC9leHBhbmQ+Cgk8ZmlsbD5GYWxzZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KICAgIDwvd2lkZ2V0 PgogIDwvd2lkZ2V0Pgo8L3dpZGdldD4KCjwvR1RLLUludGVyZmFjZT4K --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD-- --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFADHukpa1ZoSmkxrkRAvfiAKCMb9d++rvGHbxDhONPw69IhvRhZQCfV4Yr 3PctZWP2ZTmMh/Yq5vQU3cg= =e9Qq -----END PGP SIGNATURE----- --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn-- From billyoc@gnuyork.org Mon Jan 19 20:40:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 9BD731819A for ; Mon, 19 Jan 2004 20:40:44 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Aikpy-0001In-62; Mon, 19 Jan 2004 20:37:50 -0500 To: Nick Nolan Cc: gtkmm-list Subject: Re: [gtkmm] libglademm problem... References: <20040119163318.0eaba60a.hellish@comcast.net> From: Billy O'Connor Date: Mon, 19 Jan 2004 20:37:49 -0500 In-Reply-To: <20040119163318.0eaba60a.hellish@comcast.net> (Nick Nolan's message of "Mon, 19 Jan 2004 16:33:18 -0800") Message-ID: <87d69ftn6a.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Nick Nolan writes: > I can compile my extremely simple program fine, but when I run it I get: > > hellish@Osiris:~/hacking/space-battle/src$ ./a.out > > (a.out:28347): libglade-WARNING **: Expected . Got . > > (a.out:28347): libglade-WARNING **: did not finish in PARSER_FINISH state > Aborted > > > anyone know what that means? google and list archives turn up nothing. > > code: > #include > #include > int main(int argc, char *argv[]) > { > Gtk::Main kit(argc, argv); > > > Glib::RefPtr refXml = Gnome::Glade::Xml::create("space-battle.glade"); > return 0; > } There's something wrong with that glade file, did you use an older version of glade to produce it? It's not the correct syntax at all, and glade itself wouldn't even load it here. From yzine_zjdt@yahoo.com Tue Jan 20 00:41:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web20723.mail.yahoo.com (web20723.mail.yahoo.com [216.136.226.77]) by mail.gnome.org (Postfix) with SMTP id 72EF61849C for ; Tue, 20 Jan 2004 00:41:58 -0500 (EST) Message-ID: <20040120054157.14110.qmail@web20723.mail.yahoo.com> Received: from [156.56.123.49] by web20723.mail.yahoo.com via HTTP; Mon, 19 Jan 2004 21:41:57 PST Date: Mon, 19 Jan 2004 21:41:57 -0800 (PST) From: L Yang Subject: Re: Re: [gtkmm] Set a unicode string as the label of button To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1164928020-1074577317=:11787" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --0-1164928020-1074577317=:11787 Content-Type: text/plain; charset=us-ascii I used the Glib::convert(s,"GBK","UTF-16"); but it says: unhandled exception (type Glib::Error) in signal handler: domain: g_convert_error code :3 what : Partial character sequence at end of input does it mean it's not coded by UTF-16 ? here is the strings from the file I want to transfer I'm using Chinese Windows XP, so I want to convert them to GBK format, anyone can help me with this ? orginal: ---------------------------------------------------- < US#34540;WW> < US#34540;#37520;#34156;WW> < #40378;,g#34540;IN> < US#34540;y? < US#34540;#28923;#23169;> < ! [ C D A T A [ C ] ] > < / US#34540;#28923;#23169;> < US#34540;#39676;h> < #34540;xQ#39676;h> < ! [ C D A T A [ s i : ] ] > < / #34540;xQ#39676;h> < / US#34540;#39676;h> < #37520;#34156;y? < ! [ C D A T A [ n . W[#34489;C ] ] > < / #37520;#34156;y? < vQ#35570;> < ! [ C D A T A [ 3 , 0 , 2 0 0 3 / 1 2 / 1 9 2 1 : 2 4 : 3 5 ] ] > < / vQ#35570;> < / US#34540;y? < / #40378;,g#34540;IN> < / US#34540;#37520;#34156;WW> < / US#34540;WW> < US#34540;WW> < US#34540;#37520;#34156;WW> < #40378;,g#34540;IN> < US#34540;y? < US#34540;#28923;#23169;> < ! [ C D A T A [ C ] ] > < / US#34540;#28923;#23169;> < US#34540;#39676;h> < #34540;xQ#39676;h> < ! [ C D A T A [ s i : ] ] > < / #34540;xQ#39676;h> < / US#34540;#39676;h> < #37520;#34156;y? < ! [ C D A T A [ n . W[#34489;C ] ] > < / #37520;#34156;y? < vQ#35570;> < ! [ C D A T A [ 3 , 1 , 2 0 0 3 / 1 2 / 1 9 2 1 : 2 4 : 3 5 ] ] > < / vQ#35570;> < / US#34540;y? < / #40378;,g#34540;IN> < / US#34540;#37520;#34156;WW> < / US#34540;WW> converteded manually with MS WORD XP ----------------------------------------------- <#21333;#35789;#22359;> <#21333;#35789;#35299;#37322;#22359;> <#22522;#26412;#35789;#20041;> <#21333;#35789;#39033;> <#21333;#35789;#21407;#22411;> <#21333;#35789;#38899;#26631;> <#35789;#20856;#38899;#26631;> <#35299;#37322;#39033;> <#20854;#20182;> <#21333;#35789;#22359;> <#21333;#35789;#35299;#37322;#22359;> <#22522;#26412;#35789;#20041;> <#21333;#35789;#39033;> <#21333;#35789;#21407;#22411;> <#21333;#35789;#38899;#26631;> <#35789;#20856;#38899;#26631;> <#35299;#37322;#39033;> <#20854;#20182;> --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-1164928020-1074577317=:11787 Content-Type: text/html; charset=us-ascii
I used the Glib::convert(s,"GBK","UTF-16");
but it says:
unhandled exception (type Glib::Error) in signal handler:
domain: g_convert_error
code  :3
what  : Partial character sequence at end of input
does it mean it's not coded by UTF-16 ?
here is the strings from the file I want to transfer
I'm using Chinese Windows XP, so I want to convert them
to GBK format, anyone can help me with this ?
orginal:
----------------------------------------------------
 
 < US蛬WW>
 
   < US蛬銐蕬WW>
 
     < 鶺,g蛬IN>
 
       < US蛬y?
 
         < US蛬烻媁> < ! [ C D A T A [ C ] ] > < / US蛬烻媁>
 
         < US蛬髼h>
 
           < 蛬xQ髼h> < ! [ C D A T A [ s i : ] ] > < / 蛬xQ髼h>
 
         < / US蛬髼h>
 
         < 銐蕬y? < ! [ C D A T A [ n . W[蚹C ] ] > < / 銐蕬y?
 
         < vQ諲> < ! [ C D A T A [ 3 , 0 , 2 0 0 3 / 1 2 / 1 9   2 1 : 2 4 : 3 5 ] ] > < / vQ諲>
 
       < / US蛬y?
 
     < / 鶺,g蛬IN>
 
   < / US蛬銐蕬WW>
 
 < / US蛬WW>
 
 < US蛬WW>
 
   < US蛬銐蕬WW>
 
     < 鶺,g蛬IN>
 
       < US蛬y?
 
         < US蛬烻媁> < ! [ C D A T A [ C ] ] > < / US蛬烻媁>
 
         < US蛬髼h>
 
           < 蛬xQ髼h> < ! [ C D A T A [ s i : ] ] > < / 蛬xQ髼h>
 
         < / US蛬髼h>
 
         < 銐蕬y? < ! [ C D A T A [ n . W[蚹C ] ] > < / 銐蕬y?
 
         < vQ諲> < ! [ C D A T A [ 3 , 1 , 2 0 0 3 / 1 2 / 1 9   2 1 : 2 4 : 3 5 ] ] > < / vQ諲>
 
       < / US蛬y?
 
     < / 鶺,g蛬IN>
 
   < / US蛬銐蕬WW>
 
 < / US蛬WW>
 

converteded manually with MS WORD XP
-----------------------------------------------
<单词块>
 <单词解释块>
  <基本词义>
   <单词项>
    <单词原型><![CDATA[C]]></单词原型>
    <单词音标>
     <词典音标><![CDATA[si:]]></词典音标>
    </单词音标>
    <解释项><![CDATA[n.字母C]]></解释项>
    <其他><![CDATA[3,0,2003/12/19 21:24:35]]></其他>
   </单词项>
  </基本词义>
 </单词解释块>
</单词块>
<单词块>
 <单词解释块>
  <基本词义>
   <单词项>
    <单词原型><![CDATA[C]]></单词原型>
    <单词音标>
     <词典音标><![CDATA[si:]]></词典音标>
    </单词音标>
    <解释项><![CDATA[n.字母C]]></解释项>
    <其他><![CDATA[3,1,2003/12/19 21:24:35]]></其他>
   </单词项>
  </基本词义>
 </单词解释块>
</单词块>


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-1164928020-1074577317=:11787-- From lupv@gmv.es Tue Jan 20 05:37:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 2E06B187FD for ; Tue, 20 Jan 2004 05:37:29 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0KAaAee010080 for ; Tue, 20 Jan 2004 11:36:10 +0100 Received: (from uucp@localhost) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) id i0KAad412621 for ; Tue, 20 Jan 2004 11:36:39 +0100 (MET) Received: from gmvmailhost.gmv.es(172.22.2.4) by caronte.gmv.es via csmap (V6.0) id srcAAAYzaGPy; Tue, 20 Jan 04 11:36:37 +0100 Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0KAbOBL016075 for ; Tue, 20 Jan 2004 11:37:25 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Tue, 20 Jan 2004 11:47:15 +0100 Message-ID: <400D050C.5060707@gmv.es> Date: Tue, 20 Jan 2004 11:38:04 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] MDI on gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm trying to develop the MDI concept on gtkmm. We don't want to use the gnome libraries because we are evaluating only the gtkmm toolkit (we don't even use direct calls to gtk+ functions). Using Gtk::Layout as container it has been easy to emulate the MDI behaviour. The problem is that when a MDIchild contains a Gtk::ScrolledWindow, the scrollbars seem to be in a lower z-level than other widgets. So, when a MDIchild (mdiChild1) is over another MDIchild (mdiChild2), all the widgets comprised in mdiChild1 are over any widget comprised in mdiChild2, except the scrollbars, that are below and seem to disappear under mdiChild2. Has anyone had a similar problem? What's wrong? What can I do? Thank you very much, Luis From dss@home.se Tue Jan 20 05:51:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gepetto.dc.luth.se (gepetto.dc.luth.se [130.240.42.40]) by mail.gnome.org (Postfix) with ESMTP id C2D821864A for ; Tue, 20 Jan 2004 05:51:47 -0500 (EST) Received: from sumpan (sumpan.campus.luth.se [130.240.194.33]) by gepetto.dc.luth.se (8.12.5/8.12.5) with SMTP id i0KApegC011280; Tue, 20 Jan 2004 11:51:40 +0100 (MET) Date: Tue, 20 Jan 2004 11:51:40 +0100 From: Daniel Sundberg To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] MDI on gtkmm Message-Id: <20040120115140.27905010.dss@home.se> In-Reply-To: <400D050C.5060707@gmv.es> References: <400D050C.5060707@gmv.es> X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, 20 Jan 2004 11:38:04 +0100 Luis Pastor Vegas wrote: > Hi, > > I'm trying to develop the MDI concept on gtkmm. We don't want to use the > gnome libraries because we are evaluating only the gtkmm toolkit (we > don't even use direct calls to gtk+ functions). Using Gtk::Layout as > container it has been easy to emulate the MDI behaviour. The problem is > that when a MDIchild contains a Gtk::ScrolledWindow, the scrollbars seem > to be in a lower z-level than other widgets. So, when a MDIchild > (mdiChild1) is over another MDIchild (mdiChild2), all the widgets > comprised in mdiChild1 are over any widget comprised in mdiChild2, > except the scrollbars, that are below and seem to disappear under mdiChild2. > > Has anyone had a similar problem? What's wrong? What can I do? > In Gtk/Gnome the common MDI approach is to use tabs in a notebook instead of separate windows. Take a look at galeon, x-chat or gedit if you don't know what i mean. If you have to use multiple windows the standard is to use a single window interface like gimp does. However, this does not answer your question but if you want to be integrated with gnome i believe this is the way to go. Daniel Sundberg -- http://sumpan.com sumpan@sumpan.com > Thank you very much, > Luis > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Tue Jan 20 06:05:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 951AA18795 for ; Tue, 20 Jan 2004 06:05:55 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KB1eDb017481; Tue, 20 Jan 2004 12:01:40 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:06:12 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lupv@gmv.es, gtkmm-list@gnome.org Subject: RE: [gtkmm] MDI on gtkmm Date: Tue, 20 Jan 2004 12:05:49 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm trying to develop the MDI concept on gtkmm. We don't want > to use the > gnome libraries because we are evaluating only the gtkmm toolkit (we > don't even use direct calls to gtk+ functions). Using Gtk::Layout as > container it has been easy to emulate the MDI behaviour. The > problem is > that when a MDIchild contains a Gtk::ScrolledWindow, the > scrollbars seem > to be in a lower z-level than other widgets. So, when a MDIchild > (mdiChild1) is over another MDIchild (mdiChild2), all the widgets > comprised in mdiChild1 are over any widget comprised in mdiChild2, > except the scrollbars, that are below and seem to disappear > under mdiChild2. > > Has anyone had a similar problem? What's wrong? What can I do? I don't think that Gtk::Layout or any other GTK+ container is meant to support overlapping widgets. I'm sure that some other people have tried to implement window-in-window MDI. You might ask on gtk-list@gnome.org if you do not find discussion in the archives. You might also ask there about overlapping widgets in general. But most people will tell you that window-in-window MDI is a bad UI design. Please read the archives about why it is a bad UI design rather than discussing again why it is a bad UI design. Tabbed-window MDI, as in gedit or mozilla or epiphany, does not seem so bad. But maybe you just want "window-in-window" and not any MDI at all, just so you can show more than one window at a time. In this case, maybe you do not really need the child windows to be in a parent window. Maybe it is enough for the child windows to _belong_ to the parent window. Gimp, with it's toolboxes, might be a example of this. Murray Cumming www.murrayc.com murrayc@usa.net From lupv@gmv.es Tue Jan 20 06:28:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id C4C7D18649 for ; Tue, 20 Jan 2004 06:28:05 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0KBQhee013514; Tue, 20 Jan 2004 12:26:43 +0100 Received: (from uucp@localhost) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) id i0KBRBj15426; Tue, 20 Jan 2004 12:27:11 +0100 (MET) Received: from gmvmailhost.gmv.es(172.22.2.4) by caronte.gmv.es via csmap (V6.0) id srcAAAZ2aiiE; Tue, 20 Jan 04 12:27:10 +0100 Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0KBRwBL024827; Tue, 20 Jan 2004 12:27:58 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Tue, 20 Jan 2004 12:37:48 +0100 Message-ID: <400D10E4.3070502@gmv.es> Date: Tue, 20 Jan 2004 12:28:36 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] MDI on gtkmm References: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote:
I'm trying to develop the MDI concept on gtkmm. We don't want 
to use the 
gnome libraries because we are evaluating only the gtkmm toolkit (we 
don't even use direct calls to gtk+ functions). Using Gtk::Layout as 
container it has been easy to emulate the MDI behaviour. The 
problem is 
that when a MDIchild contains a Gtk::ScrolledWindow, the 
scrollbars seem 
to be in a lower z-level than other widgets. So, when a MDIchild 
(mdiChild1) is over another MDIchild (mdiChild2), all the widgets 
comprised in mdiChild1 are over any widget comprised in mdiChild2, 
except the scrollbars, that are below and seem to disappear 
under mdiChild2.

Has anyone had a similar problem? What's wrong? What can I do?
    

I don't think that Gtk::Layout or any other GTK+ container is meant to
support overlapping widgets. I'm sure that some other people have tried to
implement window-in-window MDI. You might ask on gtk-list@gnome.org if you
do not find discussion in the archives. You might also ask there about
overlapping widgets in general.

But most people will tell you that window-in-window MDI is a bad UI design.
Please read the archives about why it is a bad UI design rather than
discussing again why it is a bad UI design. Tabbed-window MDI, as in gedit
or mozilla or epiphany, does not seem so bad.

But maybe you just want "window-in-window" and not any MDI at all, just so
you can show more than one window at a time. In this case, maybe you do not
really need the child windows to be in a parent window. Maybe it is enough
for the child windows to _belong_ to the parent window. Gimp, with it's
toolboxes, might be a example of this.

Murray Cumming
www.murrayc.com
murrayc@usa.net 



  
You are right about the window-in-window MDI concept. I read the discussions about this subject, but anyway I tried to emulate this behaviour to demonstrate the feasibility, or not, of doing it with gtkmm. This is one among other features that we are evaluating. On this case, all that we can do is to set forth the rationale of this impossibility to our client in order to explain them why the window-in-window MDI is a bad UI design.

Thank you very much for your prompt answer,
Luis
From Murray.Cumming@Comneon.com Tue Jan 20 06:31:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 286C818484 for ; Tue, 20 Jan 2004 06:31:07 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBQqDb028025; Tue, 20 Jan 2004 12:26:52 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:31:24 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22AFE@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lupv@gmv.es Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] MDI on gtkmm Date: Tue, 20 Jan 2004 12:31:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > You are right about the window-in-window MDI concept. I read the discussions about this subject, but anyway I tried to emulate this > behaviour to demonstrate the feasibility, or not, of doing it with gtkmm. This is one among other features that we are evaluating. On > this case, all that we can do is to set forth the rationale of this impossibility to our client in order to explain them why the > window-in-window MDI is a bad UI design. And you can also ask on the lists, and check the archives, as I suggested. Even if it's a bad idea, people have tried it. Murray Cumming www.murrayc.com murrayc@usa.net From susumu@yt.com Tue Jan 20 06:44:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id 6593418484 for ; Tue, 20 Jan 2004 06:44:29 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0KBiaP6006442 for ; Tue, 20 Jan 2004 20:44:36 +0900 Date: Tue, 20 Jan 2004 20:44:36 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Message-Id: <20040120204436.7c7e304c.susumu@yt.com> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::TreeView on gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I am coding a software on glademm and gtkmm. If there is someone with knowledge, I would like you to help me. I got a problem when I tried to use a Gtk::TreeView. I would like to code as below. Suppose there is a TreeView like ... item1 | item2 | item3 --------------------------- entry11 | entry12 | entry13 entry21 | entry22 | entry23 entry31 | entry32 | entry33 I would like to distinguish between single-click and double-click. When you single-click "entry11", for example , the first row should be just high-lit (not selected, nothing happens but being high-lit). When you double-click "entry11", the first row should be selected and some operation should be done. What signal should I connect? And what code should I add? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From matthew@alledora.co.uk Tue Jan 20 06:55:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id B6BB818305 for ; Tue, 20 Jan 2004 06:55:29 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AiuQc-0003qi-1O for gtkmm-list@gnome.org; Tue, 20 Jan 2004 11:52:18 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AiuQa-0003qU-Un; Tue, 20 Jan 2004 11:52:16 +0000 Message-ID: <400D1772.5000008@alledora.co.uk> Date: Tue, 20 Jan 2004 11:56:34 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: susumu@yt.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> In-Reply-To: <20040120204436.7c7e304c.susumu@yt.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Susumu Yoshida wrote: > Hi all, > > I am coding a software on glademm and gtkmm. > If there is someone with knowledge, I would like you to help me. > I got a problem when I tried to use a Gtk::TreeView. > I would like to code as below. > Suppose there is a TreeView like ... > > item1 | item2 | item3 > --------------------------- > entry11 | entry12 | entry13 > entry21 | entry22 | entry23 > entry31 | entry32 | entry33 > > I would like to distinguish between single-click and double-click. > When you single-click "entry11", for example , the first row should be > just high-lit (not selected, nothing happens but being high-lit). > When you double-click "entry11", the first row should be selected > and some operation should be done. > > What signal should I connect? > And what code should I add? > If you connect a signal handler to Gtk::TreeView::signal_row_activated() you will catch double-clicks on rows, and also the user pressing enter when a row is highlighted. Single click to highlight the row is built in behaviour in a Treeview. The signal handler to connect to signal_row_activated should have a prototype like void handler(const Gtk::TreeModel::Path &, Gtk::TreeViewColumn*) The TreeModel::Path is a path to the row that was activated (use TreeModel::get_iter to get an iterator from that if you need one), and the TreeViewColumn is a pointer to the column which was activated (at least, I assume so, I've not had cause to use that particular functionality before). From Murray.Cumming@Comneon.com Tue Jan 20 06:57:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ADEEB18305 for ; Tue, 20 Jan 2004 06:57:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBqoDb025477; Tue, 20 Jan 2004 12:52:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:57:23 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B03@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: susumu@yt.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 12:57:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am coding a software on glademm and gtkmm. > If there is someone with knowledge, I would like you to help > me. I got a problem when I tried to use a Gtk::TreeView. I > would like to code as below. Suppose there is a TreeView like ... > > item1 | item2 | item3 > --------------------------- > entry11 | entry12 | entry13 > entry21 | entry22 | entry23 > entry31 | entry32 | entry33 > > I would like to distinguish between single-click and > double-click. When you single-click "entry11", for example , > the first row should be > just high-lit (not selected, nothing happens but being > high-lit). So "high-lit" and "selected" would look exactly the same to the user. I think that's a bad, confused, idea. > When you double-click "entry11", the first row > should be selected and some operation should be done. That should be easy. You need to handle signal_button_press_event. If you have problems, then this bug should help you: http://bugzilla.gnome.org/show_bug.cgi?id=89780 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 20 06:59:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 34FAC18305 for ; Tue, 20 Jan 2004 06:59:23 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBtBDb026359; Tue, 20 Jan 2004 12:55:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:59:43 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B04@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Murray.Cumming@Comneon.com, susumu@yt.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 12:59:19 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > That should be easy. You need to handle > signal_button_press_event. If you have problems, then this > bug should help you: http://bugzilla.gnome.org/show_bug.cgi?id=89780 As Matthew says, signal_row_activated() would be better. Murray Cumming www.murrayc.com murrayc@usa.net From susumu@yt.com Tue Jan 20 07:31:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id AF76B181EA for ; Tue, 20 Jan 2004 07:31:34 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0KCVZP6008709; Tue, 20 Jan 2004 21:31:36 +0900 Date: Tue, 20 Jan 2004 21:31:35 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Cc: Matthew Walton Subject: Re: [gtkmm] Gtk::TreeView on gtkmm Message-Id: <20040120213135.6e368362.susumu@yt.com> In-Reply-To: <400D1772.5000008@alledora.co.uk> References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thank you for your quick and detailed response. On Tue, 20 Jan 2004 11:56:34 +0000 Matthew Walton wrote: > If you connect a signal handler to Gtk::TreeView::signal_row_activated() > you will catch double-clicks on rows, and also the user pressing enter > when a row is highlighted. Single click to highlight the row is built in > behaviour in a Treeview. I already tried to experiment that signal handler many times but I got the same error (which I can't understand) every time. nana:~/2004/XHercules/exp-tree_view5/src$ make source='exp.cc' object='exp.o' libtool=no \ depfile='.deps/exp.Po' tmpdepfile='.deps/exp.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -c -o exp.o `test -f 'exp.cc' || echo './'`exp.cc in the file included from window1.hh:13 from exp.cc:10: window1_glade.hh:48: there is a syntax error before the token `::' in the file included from exp.cc:10 window1.hh:43: there is a syntax error before the token `::' window.hh:13 is .. # include "window1_glade.hh" window1_glade.hh is ... // generated 2004/1/20 21:14:26 JST by susumu@nana.michael-net.(none) // using glademm V2.0.0 // // DO NOT EDIT THIS FILE ! It was created using // glade-- /home/susumu/2004/XHercules/exp-tree_view5/exp.glade // for gtk 2.2.1 and gtkmm 2.2.8 // // Please modify the corresponding derived classes in ./src/window1.hh and./src/ window1.cc #ifndef _WINDOW1_GLADE_HH # define _WINDOW1_GLADE_HH #if !defined(GLADEMM_DATA) #define GLADEMM_DATA #include class GlademmData { Glib::RefPtr accgrp; public: GlademmData(Glib::RefPtr ag) : accgrp(ag) { } Glib::RefPtr getAccelGroup() { return accgrp; } }; #endif //GLADEMM_DATA #include #include class GlademmData { Glib::RefPtr accgrp; public: GlademmData(Glib::RefPtr ag) : accgrp(ag) { } Glib::RefPtr getAccelGroup() { return accgrp; } }; #endif //GLADEMM_DATA #include #include class window1_glade : public Gtk::Window { GlademmData *gmm_data; protected: class Gtk::TreeView *treeview1; window1_glade(); ~window1_glade(); private: virtual void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column) = 0; // THIS IS LINE 48 -------RIGHT HERE-------- virtual void on_treeview1_cursor_changed() = 0; }; #endif window1.hh:43 is ... void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column); They are generated by glademm. Is there anything wrong? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From christof@petig-baender.de Tue Jan 20 07:47:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id 81A0918138 for ; Tue, 20 Jan 2004 07:47:18 -0500 (EST) Received: (qmail 28970 invoked by uid 4225); 20 Jan 2004 12:47:16 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 20 Jan 2004 12:47:16 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AivHl-00017J-00; Tue, 20 Jan 2004 13:47:14 +0100 Message-ID: <400D234D.8050404@petig-baender.de> Date: Tue, 20 Jan 2004 13:47:09 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: susumu@yt.com Cc: gtkmm-list@gnome.org, Matthew Walton , glademm-list Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <20040120213135.6e368362.susumu@yt.com> In-Reply-To: <20040120213135.6e368362.susumu@yt.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Susumu Yoshida schrieb: > Thank you for your quick and detailed response. most probably you hit the wrong list, again. This time the glademm-list would have been 1st choice. The glademm generated code contains a wrong signature for the callback ;-/ > in the file included from window1.hh:13 > from exp.cc:10: > window1_glade.hh:48: there is a syntax error before the token `::' > in the file included from exp.cc:10 > window1.hh:43: there is a syntax error before the token `::' > virtual void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column) = 0; // THIS IS LINE 48 -------RIGHT HERE-------- Gtk:: is missing. That's all. > They are generated by glademm. > Is there anything wrong? see above. Could you please try the CVS version of glademm (I think I fixed that bug already). Christof From Murray.Cumming@Comneon.com Tue Jan 20 07:47:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 69B9218138 for ; Tue, 20 Jan 2004 07:47:28 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KChCDb002639; Tue, 20 Jan 2004 13:43:12 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 13:47:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B10@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: susumu@yt.com, gtkmm-list@gnome.org Cc: matthew@alledora.co.uk Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 13:47:21 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > window1_glade.hh:48: there is a syntax error before the token > `::' in the file included from exp.cc:10 > window1.hh:43: there is a syntax error before the token `::' This looks like glademm-generated code, so I therefore think you should ask on glademm-list@gnome.org. We are not responsible for the code that glademm generates. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 20 08:08:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 4CB8D18138; Tue, 20 Jan 2004 08:08:02 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KD3oDb010512; Tue, 20 Jan 2004 14:03:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 14:08:22 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: otaylor@redhat.com Cc: gtk-devel-list@gnome.org, gtkmm-list@gnome.org Date: Tue, 20 Jan 2004 14:07:59 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: GTK+ release soon? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > On Tue, 2004-01-06 at 03:38, Murray.Cumming@Comneon.com wrote: > > > Is there likely to be a GTK+ release in the next couple > of days? It > > > would be nice for our imminent GNOME Platform Bindings > > 2.5.2 release. > > > > It would be nice, but I doubt it will happen. API issues are > > my first priority this week. > > OK. A release for the GNOME Platform Bindings 2.5.3 instead > (scheduled for February 17th) would be very nice. I am > worried that gtkmm API will not get enough scrutiny if I > can't make frequent releases. > > Please please ask someone to help you roll releases if you > don't have time - it should be a simple task. Thank you for asking for volunteers to roll 2.2.x releases. That's seems like a good move. I wish I had the extra time to set up my system to do that for you. But the lack of GTK+ 2.3.x release has caused gtkmm to miss yet another Platform Bindings release schedule date. There has never been a GTK+ 2.3.x release that is usable with gtkmm, though the GTK+ in cvs has been usable with gtkmm for over a month. So I fear that not enough people are testing new gtkmm API, although we are late in the schedule, with Platform Bindings API freeze 1 month away: http://www.gnome.org/start/2.5/bindings/ I will repeat my earlier dire warnings from a release-team email: One thing that the GTK+ people can certainly do to help is to release regular tarballs (ideally one for each GNOME 2.5 release), so that we have a good chance of getting it tested. It disturbs me greatly that you seem to be waiting for stuff to get into GTK+ before doing tarballs - please just push it out into the world regularly. If we can't be sure when a GTK+ tarball will appear then I fear a great deal more delayed GNOME 2.5 test releases. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 20 09:21:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 1474318462 for ; Tue, 20 Jan 2004 09:21:54 -0500 (EST) Received: (qmail 12524 invoked by uid 65534); 20 Jan 2004 14:21:50 -0000 Received: from pD9E94B45.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.75.69) by mail.gmx.net (mp013) with SMTP; 20 Jan 2004 15:21:50 +0100 X-Authenticated: #109577 Message-ID: <400D3987.5060408@gmx.de> Date: Tue, 20 Jan 2004 15:21:59 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Matthew Walton , gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> In-Reply-To: <400D1772.5000008@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Now it is me who is completely confused. I do it this way: m_tree_sel_ref->signal_changed () Ok, I have major problems because I still cannot make a selection highlighted :-( Andi // Build ListStore/TreeView m_list_store_ref = Gtk::ListStore::create(m_columns); m_tree_view.set_model(m_list_store_ref); m_tree_view.set_rules_hint(); m_tree_view.set_size_request(); // Handle selection m_tree_sel_ref = m_tree_view.get_selection(); m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); m_tree_sel_ref->signal_changed ().connect( <<<<<<<<<<<<<<<<< SigC::slot(*this, &ConstraintTable::selection_made_cb)); > If you connect a signal handler to Gtk::TreeView::signal_row_activated() > you will catch double-clicks on rows, and also the user pressing enter > when a row is highlighted. Single click to highlight the row is built in > behaviour in a Treeview. > > The signal handler to connect to signal_row_activated should have a > prototype like > > void handler(const Gtk::TreeModel::Path &, Gtk::TreeViewColumn*) From matthew@alledora.co.uk Tue Jan 20 09:44:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 6074618824 for ; Tue, 20 Jan 2004 09:44:47 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Aix4T-0004G0-1U for gtkmm-list@gnome.org; Tue, 20 Jan 2004 14:41:37 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Aix4R-0004Fl-Us; Tue, 20 Jan 2004 14:41:35 +0000 Message-ID: <400D3F21.7020002@alledora.co.uk> Date: Tue, 20 Jan 2004 14:45:53 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <400D3987.5060408@gmx.de> In-Reply-To: <400D3987.5060408@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Andreas B. Thun wrote: > Now it is me who is completely confused. > I do it this way: m_tree_sel_ref->signal_changed () > > Ok, I have major problems > because I still cannot make a selection highlighted :-( > > Andi > > // Build ListStore/TreeView > m_list_store_ref = Gtk::ListStore::create(m_columns); > m_tree_view.set_model(m_list_store_ref); > m_tree_view.set_rules_hint(); > m_tree_view.set_size_request(); > > // Handle selection > m_tree_sel_ref = m_tree_view.get_selection(); > m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); > m_tree_sel_ref->signal_changed ().connect( <<<<<<<<<<<<<<<<< > SigC::slot(*this, &ConstraintTable::selection_made_cb)); So what exactly is the problem? That code should give you a handler for when the selection for that treeview changes. What do you mean by making a selection 'highlighted'? From abt@gmx.de Tue Jan 20 09:51:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 95D681892D for ; Tue, 20 Jan 2004 09:51:48 -0500 (EST) Received: (qmail 1202 invoked by uid 65534); 20 Jan 2004 14:51:46 -0000 Received: from pD9E94B45.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.75.69) by mail.gmx.net (mp007) with SMTP; 20 Jan 2004 15:51:46 +0100 X-Authenticated: #109577 Message-ID: <400D4087.3010108@gmx.de> Date: Tue, 20 Jan 2004 15:51:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Matthew Walton Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <400D3987.5060408@gmx.de> <400D3F21.7020002@alledora.co.uk> In-Reply-To: <400D3F21.7020002@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I trigger a row selection with a "next" button to walk the rows and select a row with: m_tree_sel_ref->select(row); The row is selected ( I can get the value ) but the selected row is not highlighted in the GUI. > So what exactly is the problem? That code should give you a handler for > when the selection for that treeview changes. What do you mean by making > a selection 'highlighted'? From bevis@anvil.com Tue Jan 20 10:15:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id A035118705 for ; Tue, 20 Jan 2004 10:14:59 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2D274259; Tue, 20 Jan 2004 15:14:38 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 5E8D2250 for ; Tue, 20 Jan 2004 15:14:37 +0000 (GMT) Message-ID: <400D45E2.6030205@anvil.co.uk> Date: Tue, 20 Jan 2004 15:14:42 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] GDK_space not getting passed? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This may not be a gtkmm problem, but I've noticed that if I attach a signal: mc_image_window.signal_key_press_event().connect(slot(*this, &C_PicV::cb_keypress)); then in the callback: bool C_PicV::cb_keypress(GdkEventKey* ke) { gint key = ke->keyval; ... 'key' is never GDK_space, even if you press space. All other keys I've used work OK. Can't see any reference to it in the list archives, but found someone on google who reported the same thing. bevis From murrayc@usa.net Tue Jan 20 12:27:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from localhost.localdomain (unknown [80.121.222.26]) by mail.gnome.org (Postfix) with SMTP id 1920B18A39 for ; Tue, 20 Jan 2004 12:27:30 -0500 (EST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i0K9qVlm030917; Tue, 20 Jan 2004 10:52:32 +0100 Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X From: Murray Cumming Reply-To: murrayc@usa.net To: Julian Missig Cc: Murray.Cumming@Comneon.com, gtkmm-list , Thomas Muldowney In-Reply-To: References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1073938828.28458.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 10:52:31 +0100 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-12 at 19:54, Julian Missig wrote: > On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > > >>> Well, anyway, I'll be leaving campus soon and no longer have this > >>> bandwidth. > >>> > >>> The packages are at > >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >> > >> I have downloaded them for safety. I am a bit reluctant to > >> put binary packages on gtkmm.org until > >> - I am sure that they will be maintained in future. Isn't > >> there some central repository for things like this? > > DarwinPorts does not host binary packages. Fink hosts binary versions > of their packages... eventually... I do want to see the discussion in which the Fink people apparently refused to help you to package gtkmm for Fink. So far I have heard nothing specific, so I have nothing to tell the people who want gtkmm in Fink. > but these were generated using > DarwinPorts, which uses a different path prefix from Fink. Fink also > does not use these double-clickable installers like DarwinPorts can > produce. That sounds like a nice feature. > osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but > I'm not sure whether they'd host something generated by DarwinPorts. > > >> - The build process is documented. I would like a > >> README.MacOSX, like our current README.win32 and README.SUN > >> - I see that you have at least tried to get libtool fixed > >> instead of patching it locally. > > What more do you want me to do? Like I say, I would like the build process to be documented, just as it is for our other unusual platforms. > I've contacted all the people I can and > no one seems to know why it works like that or give a shit. For the libtool thing, you could point me to the email discussion in an archive or a bug report. Then I could take it further if you don't want to. At least we would have something to point to in our documentation. > >> I do appreciate your efforts, but I don't want them to be wasted. > > Whatever. I made these so that my users could get gtkmm installed. I've > battled with this stuff for so long with so many unhelpful people I > honestly don't care whether they're "officially" distributed anywhere. > I have something which works, so that's good enough to get Gabber2 on > OS X. I'm done as far as I'm concerned. If gtkmm.org hosts them, then we'd need someone who will package future gtkmm releases as well. Sorry, but you can't expect anything else. -- Murray Cumming murrayc@usa.net www.murrayc.com From epenharbel@yahoo.com.br Tue Jan 20 12:41:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp103.mail.sc5.yahoo.com (smtp103.mail.sc5.yahoo.com [66.163.169.222]) by mail.gnome.org (Postfix) with SMTP id 9E2B018A21 for ; Tue, 20 Jan 2004 12:41:43 -0500 (EST) Received: from unknown (HELO 200-171-128-203.dsl.telesp.net.br) (epenharbel@200.171.128.203 with plain) by smtp103.mail.sc5.yahoo.com with SMTP; 20 Jan 2004 17:41:38 -0000 From: =?ISO-8859-1?Q?=C9der?= Augusto Penharbel To: gtkmm-list Content-Type: text/plain Message-Id: <1074620608.308.192.camel@lobo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 15:43:28 -0200 Content-Transfer-Encoding: 7bit Subject: [gtkmm] draw images... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello I need to draw a image from a BGR ( Blue green red ) buffer. To draw a rgb buffer i can use this: get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); but how do i do this with the bgr buffer ( rgb in LSBFirst byte order ) without swap the bytes on a loop??? Using the Xlib i'd use the XPutImage with a XImage in the LSBFirst byte_order, but in gtkmm or gtk??? can I use the Xlib to draw a image in a Gtk::Window? or are there other way to do this? thanks... From donscorgie@blueyonder.co.uk Tue Jan 20 13:43:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp-out6.blueyonder.co.uk (smtp-out6.blueyonder.co.uk [195.188.213.9]) by mail.gnome.org (Postfix) with ESMTP id BFE371878B for ; Tue, 20 Jan 2004 13:43:57 -0500 (EST) Received: from 82-41-53-103.cable.ubr07.edin.blueyonder.co.uk ([82.41.53.103]) by smtp-out6.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Tue, 20 Jan 2004 18:44:17 +0000 Subject: RE: [gtkmm] Gtk::Image and Eventbox From: Donald To: gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1074624237.930.5.camel@Madaline.mydomain.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 18:43:57 +0000 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jan 2004 18:44:17.0148 (UTC) FILETIME=[68632BC0:01C3DF85] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-19 at 21:25, Murray.Cumming@Comneon.com wrote: > > I've been using gtkmm for a while, but run across a problem. > > > > I have a window containing a Gtk::Image which is set with a > > Gdk::Image / Gdk::Pixmap. > > > > I need to recieve events on this, so I proceeded to put it in > > an eventbox. > > > > The problem arises when I try to connect a signal up to it. > > > > With no signal (i.e. the eventbox is doing nothing), it is > > fine and the image displays properly. But when a signal is > > connected up, the Image / eventbox is displayed as grey. > > You should probably tell us exactly what signal you are talking about. But I > guess that you probably just need to use the correct return type in your > event signal handler: > http://www.gtkmm.org/gtkmm2/docs/tutorial/html/apbs06.html > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > Bingo! Thanks. I was using a signal_motion_notify_event. I was returning true (the event is handled), but when I change that to false it seems to work. Thanks for the help Don From julian@jabber.org Tue Jan 20 13:58:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 66174181D3 for ; Tue, 20 Jan 2004 13:58:33 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id C671E6F733; Tue, 20 Jan 2004 12:58:30 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16695-03; Tue, 20 Jan 2004 12:58:30 -0600 (CST) Received: from [128.2.76.12] (SKADI.WV.CC.cmu.edu [128.2.76.12]) by mail.aspect.net (Postfix) with ESMTP id B64D86F6F9; Tue, 20 Jan 2004 12:58:26 -0600 (CST) In-Reply-To: <1073938828.28458.9.camel@localhost.localdomain> References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> <1073938828.28458.9.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: gtkmm-list , Murray.Cumming@Comneon.com, Thomas Muldowney From: Julian Missig Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 20 Jan 2004 13:58:25 -0500 To: murrayc@usa.net X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok, here's how I built it. Grab DarwinPorts. I have Panther with X11 and X11 SDK. The gtk+ dependencies I installed are: atk, expat, fontconfig, freetype, gettext, glib2, gtk2, jpeg, libpng, libungif, pango, pkgconfig, tiff, Xft2, xrender For libglade2, I modified the portfile to not depend on gnome, so my libglade2 does not depend on gnome, but it also cannot use gnome widgets. libxml2 is required. Gconf needs linc, orbit2, gconf In the Portfiles for libsigc++, gtkmm2, libglademm, and gconfmm, I used these values for configure.env (in other words, these were passed to configure): CPPFLAGS="-L${prefix}/lib -I${prefix}/include" CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" After configure happened, I modified the generated 'libtool' script. I changed CC and LTCC to use 'g++' instead of 'gcc' After that, they build and run fine with the setup I described. And murray, I'm not expecting or asking anything of you. I don't know why you get that idea. I'm just presenting this stuff that I built, that is all. You're under no obligation to do anything at all with it. Julian On 20 Jan, 2004, at 4:52, Murray Cumming wrote: > On Mon, 2004-01-12 at 19:54, Julian Missig wrote: >> On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: >> >>>>> Well, anyway, I'll be leaving campus soon and no longer have this >>>>> bandwidth. >>>>> >>>>> The packages are at >>>>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg >>>> >>>> I have downloaded them for safety. I am a bit reluctant to >>>> put binary packages on gtkmm.org until >>>> - I am sure that they will be maintained in future. Isn't >>>> there some central repository for things like this? >> >> DarwinPorts does not host binary packages. Fink hosts binary versions >> of their packages... eventually... > > I do want to see the discussion in which the Fink people apparently > refused to help you to package gtkmm for Fink. So far I have heard > nothing specific, so I have nothing to tell the people who want gtkmm > in > Fink. > >> but these were generated using >> DarwinPorts, which uses a different path prefix from Fink. Fink also >> does not use these double-clickable installers like DarwinPorts can >> produce. > > That sounds like a nice feature. > >> osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but >> I'm not sure whether they'd host something generated by DarwinPorts. >> >>>> - The build process is documented. I would like a >>>> README.MacOSX, like our current README.win32 and README.SUN >>>> - I see that you have at least tried to get libtool fixed >>>> instead of patching it locally. >> >> What more do you want me to do? > > Like I say, I would like the build process to be documented, just as it > is for our other unusual platforms. > >> I've contacted all the people I can and >> no one seems to know why it works like that or give a shit. > > For the libtool thing, you could point me to the email discussion in an > archive or a bug report. Then I could take it further if you don't want > to. At least we would have something to point to in our documentation. > >>>> I do appreciate your efforts, but I don't want them to be wasted. >> >> Whatever. I made these so that my users could get gtkmm installed. >> I've >> battled with this stuff for so long with so many unhelpful people I >> honestly don't care whether they're "officially" distributed anywhere. >> I have something which works, so that's good enough to get Gabber2 on >> OS X. I'm done as far as I'm concerned. > > If gtkmm.org hosts them, then we'd need someone who will package future > gtkmm releases as well. Sorry, but you can't expect anything else. > > -- > Murray Cumming > murrayc@usa.net > www.murrayc.com > From otaylor@redhat.com Tue Jan 20 14:20:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by mail.gnome.org (Postfix) with ESMTP id 7C65A185DD; Tue, 20 Jan 2004 14:20:41 -0500 (EST) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKdl28011; Tue, 20 Jan 2004 14:20:39 -0500 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKda28628; Tue, 20 Jan 2004 14:20:39 -0500 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKcY27594; Tue, 20 Jan 2004 14:20:38 -0500 From: Owen Taylor To: Murray.Cumming@Comneon.com Cc: gtk-devel-list@gnome.org, gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1074626334.7297.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Tue, 20 Jan 2004 14:18:55 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] RE: GTK+ release soon? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, 2004-01-20 at 08:07, Murray.Cumming@Comneon.com wrote: > ease-team email: > > One thing that the GTK+ people can certainly do to help is to release > regular tarballs (ideally one for each GNOME 2.5 release), so that we have a > good chance of getting it tested. It disturbs me greatly that you seem to be > waiting for stuff to get into GTK+ before doing tarballs - please just push > it out into the world regularly. If we can't be sure when a GTK+ tarball > will appear then I fear a great deal more delayed GNOME 2.5 test releases. No, I'm waiting to have 5 consecutive minutes to do a release. (Well, actually, a day or so in total.) There are only 3 things on my TODO list for the rest of this week, doing 2.3.2 releases being one of them. By far the most time consuming part of doing a devel series release is writing the NEWS entries. (Especially when one hasn't been done for a while.) If people want to help out, that's a pretty straightforward thing to do, especially for an area that you are familiar with. Regards, Owen From Murray.Cumming@Comneon.com Tue Jan 20 15:55:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 592E118177 for ; Tue, 20 Jan 2004 15:55:35 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KKotDb017433; Tue, 20 Jan 2004 21:50:55 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 21:55:28 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B41@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org, temas@box5.net Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 20 Jan 2004 21:55:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry, my SMTP server just sent an old reply. This was either outdated or already dealt with. Still, your reply was interesting. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Julian Missig [mailto:julian@jabber.org] > Sent: Dienstag, 20. Januar 2004 19:58 > To: murrayc@usa.net > Cc: gtkmm-list; Murray.Cumming@Comneon.com; Thomas Muldowney > Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer > for Mac OS X > > > Ok, here's how I built it. > > Grab DarwinPorts. I have Panther with X11 and X11 SDK. > > The gtk+ dependencies I installed are: atk, expat, fontconfig, > freetype, gettext, glib2, gtk2, jpeg, libpng, libungif, pango, > pkgconfig, tiff, Xft2, xrender > > For libglade2, I modified the portfile to not depend on gnome, so my > libglade2 does not depend on gnome, but it also cannot use gnome > widgets. libxml2 is required. > > Gconf needs linc, orbit2, gconf > > In the Portfiles for libsigc++, gtkmm2, libglademm, and > gconfmm, I used > these values for configure.env (in other words, these were passed to > configure): > CPPFLAGS="-L${prefix}/lib -I${prefix}/include" > CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" > > After configure happened, I modified the generated 'libtool' > script. I > changed CC and LTCC to use 'g++' instead of 'gcc' > > After that, they build and run fine with the setup I described. > > And murray, I'm not expecting or asking anything of you. I don't know > why you get that idea. I'm just presenting this stuff that I built, > that is all. You're under no obligation to do anything at all with it. > > Julian > > On 20 Jan, 2004, at 4:52, Murray Cumming wrote: > > > On Mon, 2004-01-12 at 19:54, Julian Missig wrote: > >> On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > >> > >>>>> Well, anyway, I'll be leaving campus soon and no longer > have this > >>>>> bandwidth. > >>>>> > >>>>> The packages are at > >>>>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >>>> > >>>> I have downloaded them for safety. I am a bit reluctant to put > >>>> binary packages on gtkmm.org until > >>>> - I am sure that they will be maintained in future. Isn't there > >>>> some central repository for things like this? > >> > >> DarwinPorts does not host binary packages. Fink hosts > binary versions > >> of their packages... eventually... > > > > I do want to see the discussion in which the Fink people apparently > > refused to help you to package gtkmm for Fink. So far I have heard > > nothing specific, so I have nothing to tell the people who > want gtkmm > > in Fink. > > > >> but these were generated using > >> DarwinPorts, which uses a different path prefix from Fink. > Fink also > >> does not use these double-clickable installers like > DarwinPorts can > >> produce. > > > > That sounds like a nice feature. > > > >> osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, > but I'm not > >> sure whether they'd host something generated by DarwinPorts. > >> > >>>> - The build process is documented. I would like a README.MacOSX, > >>>> like our current README.win32 and README.SUN > >>>> - I see that you have at least tried to get libtool > fixed instead > >>>> of patching it locally. > >> > >> What more do you want me to do? > > > > Like I say, I would like the build process to be > documented, just as > > it is for our other unusual platforms. > > > >> I've contacted all the people I can and > >> no one seems to know why it works like that or give a shit. > > > > For the libtool thing, you could point me to the email > discussion in > > an archive or a bug report. Then I could take it further if > you don't > > want to. At least we would have something to point to in our > > documentation. > > > >>>> I do appreciate your efforts, but I don't want them to be wasted. > >> > >> Whatever. I made these so that my users could get gtkmm installed. > >> I've > >> battled with this stuff for so long with so many unhelpful people I > >> honestly don't care whether they're "officially" > distributed anywhere. > >> I have something which works, so that's good enough to get > Gabber2 on > >> OS X. I'm done as far as I'm concerned. > > > > If gtkmm.org hosts them, then we'd need someone who will package > > future gtkmm releases as well. Sorry, but you can't expect anything > > else. > > > > -- > > Murray Cumming > > murrayc@usa.net > > www.murrayc.com > > > From kmilo@softhome.net Tue Jan 20 21:57:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id 9B55A18566 for ; Tue, 20 Jan 2004 21:57:31 -0500 (EST) Received: (qmail 23158 invoked by uid 417); 21 Jan 2004 02:57:30 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 21 Jan 2004 02:57:30 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Tue, 20 Jan 2004 19:57:30 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Tue, 20 Jan 2004 19:57:30 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.162] Message-ID: Subject: [gtkmm] how build a statically link program Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: There is a way to build a statically link program in gtkmm under windows (It must works without dll) From cedric.gustin@swing.be Wed Jan 21 02:25:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 77CAB1814F for ; Wed, 21 Jan 2004 02:25:37 -0500 (EST) Received: from [130.104.231.127] (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0L7JOtd014215; Wed, 21 Jan 2004 08:19:25 +0100 (MET) Subject: Re: [gtkmm] how build a statically link program From: Cedric Gustin To: kmilo@softhome.net Cc: gtkmm-list@gnome.org In-Reply-To: References: Content-Type: text/plain Message-Id: <1074669929.3833.17.camel@gandalf> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 21 Jan 2004 08:25:30 +0100 Content-Transfer-Encoding: 7bit X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-21 at 03:57, kmilo@softhome.net wrote: > There is a way to build a statically link program in gtkmm under windows (It > must works without dll) Well yes, you can build static gtkmm libraries if you want (./configure --enable-static --disable-shared in your mingw32+msys environment: see README.win32 for details) but I haven't done that for a long time because : 1. You end up with huge executables (they can be stripped though!) 2. Your gtkmm static library (hence your final executable) still relies on the GTK+ runtime, which is only available as DLLs. So, if you want a nice, standalone gtkmm application, my best advise is to compile it dynamically and provide your own integrated installer for your executable + the GTK+ and gtkmm runtimes. An intermediate solution is to ask your users to install the GTK+ runtime only (from dropline), and to ship you application with the glibmm, atkmm, pangomm, gdkmm and gtkmm DLLs located in the same directory. Cedric > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list -- Cedric Gustin Ph.D. Student _/ _/ _/_/_/_/ _/ _/ _/ _/ _/ mailto:gustin@pcpm.ucl.ac.be _/ _/ _/ _/ PCPM Lab, Univ. Catholique de Louvain _/ _/ _/ _/ Place Croix du Sud, 1 _/_/_/_/ _/_/_/_/ _/_/_/_/ B-1348 Louvain-la-Neuve (Belgium) tel: +32 (0)10/47.33.59 fax: +32 (0)10/47.33.59 From bernardet.karim@wanadoo.fr Wed Jan 21 03:15:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from marocco.in2p3.fr (marocco.in2p3.fr [134.158.16.54]) by mail.gnome.org (Postfix) with ESMTP id DC3BD18212 for ; Wed, 21 Jan 2004 03:15:37 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by marocco.in2p3.fr (Postfix) with ESMTP id 8AFEC380F8 for ; Wed, 21 Jan 2004 09:15:34 +0100 (CET) Received: from wanadoo.fr (marpain.in2p3.fr [134.158.17.186]) by marocco.in2p3.fr (Postfix) with ESMTP id 6AADF38347 for ; Wed, 21 Jan 2004 09:15:27 +0100 (CET) Message-ID: <400E351F.60808@wanadoo.fr> Date: Wed, 21 Jan 2004 09:15:27 +0100 From: Karim Bernardet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 X-Accept-Language: French, fr, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Subject: [gtkmm] treeview and tooltip Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, Few months ago, I asked if it was possible to use tooltips with a treeview and the response was no because of a bug in gtk+. So do you know if it has been corrected ? Cheers, Karim. -- __________________________________________________________________________ | Karim BERNARDET | Phone : (+33){0}4-91-82-72-33 | | C.P.P.M. | Fax : (+33){0}4-91-82-72-99 | | 163, av. de Luminy | Email : bernardet@cppm.in2p3.fr | | Case 902 | Web : http://marwww.in2p3.fr/~kbernard | | F-13288 Marseille CEDEX 09 | Bureau 349 | | FRANCE | | -------------------------------------------------------------------------- From susumu@yt.com Wed Jan 21 07:30:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id 3E4CE1886B for ; Wed, 21 Jan 2004 07:30:43 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0LCUoMK004350 for ; Wed, 21 Jan 2004 21:30:51 +0900 Date: Wed, 21 Jan 2004 21:30:50 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Message-Id: <20040121213050.3803bbb9.susumu@yt.com> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] Ctrl+f on Gtk::TextView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I even don't know if this is possible on gtkmm,so if it were possible and someone knew how to, I would like you to tell me. I would like to move a cursor on Gtk::TextView as we do on an emacs. Meaning, when I press Ctrl + f, I want the cursor to be moved forward. I want "Ctrl + b" to mean "to move backward",etc. So I would like to control and change the behavior of inputs from a keyboard. Is it possible? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From paul@linuxaudiosystems.com Wed Jan 21 08:33:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mail.gnome.org (Postfix) with ESMTP id 4198D1818C for ; Wed, 21 Jan 2004 08:33:42 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.92.205]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040121133339.SUFI26012.out010.verizon.net@dhin.linuxaudiosystems.com> for ; Wed, 21 Jan 2004 07:33:39 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0LDXbOS009121 for ; Wed, 21 Jan 2004 08:33:38 -0500 Received: (from paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) id i0LDXbIq009117; Wed, 21 Jan 2004 08:33:37 -0500 Date: Wed, 21 Jan 2004 08:33:37 -0500 Message-Id: <200401211333.i0LDXbIq009117@dhin.linuxaudiosystems.com> From: Paul Davis To: gtkmm-list@gnome.org X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [141.151.92.205] at Wed, 21 Jan 2004 07:33:39 -0600 Subject: [gtkmm] CList rewrap Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: murray has mentioned a few times that it would be possible to rewrap CList for gtkmm2. i have a large app which makes major use of CList and CTree, and although we want to use TreeView for the improved functionality it offers, porting to gtkmm2 will be difficult if we have to do everything in one step. so, we are considering rewrapping CList as a bridge for the port effort. i wanted to check if anybody has done this yet .... --p From toka@freebits.de Wed Jan 21 08:46:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from freebits.de (unknown [62.27.20.5]) by mail.gnome.org (Postfix) with ESMTP id 2E3DC18BD6 for ; Wed, 21 Jan 2004 08:46:37 -0500 (EST) Received: from desktop.tokahome.de (freebits.nod [62.27.20.22]) (authenticated bits=0) by freebits.de (8.12.10/8.12.10) with ESMTP id i0LDlS35008184 for ; Wed, 21 Jan 2004 14:47:30 +0100 Date: Wed, 21 Jan 2004 14:46:33 +0100 From: Marcel Karras To: gtkmm-list@gnome.org Message-Id: <20040121144633.0bf83dce.toka@freebits.de> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] OpenSSL related bug - #define set_key des_set_key Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, some time ago I made a bugreport: http://bugzilla.gnome.org/show_bug.cgi?id=126756 I tried to contact the openssl mailinglist but there's a problem subscribing to the list. Thus I request for your help. Could someone post the problem? THe OpenSSL team should not define the macro "set_key". If I compile a gtkmm application it won't compile successfully until I make: #ifdef set_key #undef set_key #endif Thank you - Marcel Karras -- Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource From Murray.Cumming@Comneon.com Wed Jan 21 08:53:12 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DE2C318BD7 for ; Wed, 21 Jan 2004 08:53:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LDmvDb025155; Wed, 21 Jan 2004 14:48:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 14:53:31 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BA7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: epenharbel@yahoo.com.br, gtkmm-list@gnome.org Subject: RE: [gtkmm] draw images... Date: Wed, 21 Jan 2004 14:53:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I suggest that you: - ask on the GTK+ list, with a more specific subject, such as "LSB byte-order RGB immage". - investigate C++ image conversion APIs. Maybe you can convert the = image with a different library and then use it with gtkmm. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org=20 > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of =C9der Augusto=20 > Penharbel > Sent: Dienstag, 20. Januar 2004 18:43 > To: gtkmm-list > Subject: [gtkmm] draw images... >=20 >=20 > Hello >=20 > I need to draw a image from a BGR ( Blue green red ) buffer. >=20 > To draw a rgb buffer i can use this: >=20 > get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, > Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); >=20 > but how do i do this with the bgr buffer ( rgb in LSBFirst=20 > byte order ) without swap the bytes on a loop???=20 >=20 > Using the Xlib i'd use the XPutImage with a XImage in the=20 > LSBFirst byte_order, but in gtkmm or gtk???=20 >=20 > can I use the Xlib to draw a image in a Gtk::Window? or are=20 > there other way to do this? >=20 >=20 > thanks... >=20 >=20 > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org = http://mail.gnome.org/mailman/listinfo/gtkmm-list >=20 From fnaumann@cs.uni-magdeburg.de Wed Jan 21 08:59:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10]) by mail.gnome.org (Postfix) with ESMTP id 967E518BF0 for ; Wed, 21 Jan 2004 08:59:17 -0500 (EST) Received: from wh58-508.st.uni-magdeburg.de ([141.44.198.58]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.30) id 1AjIsw-00024F-2F; Wed, 21 Jan 2004 14:59:10 +0100 Date: Wed, 21 Jan 2004 14:59:07 +0100 (CET) From: Frank Naumann X-X-Sender: fnaumann@wh58-508.st.uni-magdeburg.de To: Marcel Karras Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] OpenSSL related bug - #define set_key des_set_key In-Reply-To: <20040121144633.0bf83dce.toka@freebits.de> Message-ID: References: <20040121144633.0bf83dce.toka@freebits.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: ---- Start SpamAssassin results -4.9 points, 5.0 required; -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] ---- End of SpamAssassin results X-Scan-Signature: 8f557e09c6f25d1c731b1614156185f1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello! > I tried to contact the openssl mailinglist but there's a problem > subscribing to the list. Thus I request for your help. Could someone > post the problem? > THe OpenSSL team should not define the macro "set_key". If I compile a > gtkmm application it won't compile successfully until I make: > > #ifdef set_key > #undef set_key > #endif Due to: ./gdk/gdkmm/device.h: void set_key (guint index_, guint keyval, ModifierType modifiers); Under Windows you have similiar problems if you don't include windows headers at last (as they define tons of [undocumented] macros that conflict in the same way as above). As workaround you can try to include the OpenSSL header files at last. Regards, Frank From toka@freebits.de Wed Jan 21 09:16:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from freebits.de (unknown [62.27.20.5]) by mail.gnome.org (Postfix) with ESMTP id 3509318506 for ; Wed, 21 Jan 2004 09:16:24 -0500 (EST) Received: from desktop.tokahome.de (freebits.nod [62.27.20.22]) (authenticated bits=0) by freebits.de (8.12.10/8.12.10) with ESMTP id i0LEHGSd008680 for ; Wed, 21 Jan 2004 15:17:17 +0100 Date: Wed, 21 Jan 2004 15:16:21 +0100 From: Marcel Karras To: gtkmm-list@gnome.org Subject: Re: [gtkmm] OpenSSL related bug - #define set_key des_set_key Message-Id: <20040121151621.60f17815.toka@freebits.de> In-Reply-To: References: <20040121144633.0bf83dce.toka@freebits.de> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, > Under Windows you have similiar problems if you don't include windows > headers at last (as they define tons of [undocumented] macros that > conflict in the same way as above). > > As workaround you can try to include the OpenSSL header files at last. yes, it seems to work well - thank you. Greetings - Marcel Karras -- Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource From Murray.Cumming@Comneon.com Wed Jan 21 12:30:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8BC9C18C2F for ; Wed, 21 Jan 2004 12:30:25 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LHQ7Db018300; Wed, 21 Jan 2004 18:26:07 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 18:30:41 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BC6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: toka@freebits.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Wed, 21 Jan 2004 18:30:18 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > some time ago I made a bugreport: > http://bugzilla.gnome.org/show_bug.cgi?id=126756 > > I tried to contact the openssl mailinglist but there's a > problem subscribing to the list. Thus I request for your > help. Could someone post the problem? I don't think anybody here wants to act as an email relay. I'm sure that you are capable of using their mailing list, or emailing the list admin if there is a problem. Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Wed Jan 21 12:58:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 782C318C73 for ; Wed, 21 Jan 2004 12:58:52 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id BCC362C2; Wed, 21 Jan 2004 17:58:27 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id F02A32BF for ; Wed, 21 Jan 2004 17:58:26 +0000 (GMT) Message-ID: <400EBDC6.30802@anvil.co.uk> Date: Wed, 21 Jan 2004 17:58:30 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] saving a TreeView to disk Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I have a program which parses a large directory structure into a tree view. There are several hundred directories to scan for, though, and it's pretty slow. Since the directories don't change very often (just the files within them), I was thinking about saving the tree on disk, and reloading it in when the program starts up. Taking the treeview example in the docs, I thought perhaps I could save the contents of ( Glib::RefPtr ) m_refTreeModel as a binary file, then load it in again - I think this is all that I'd need to recreate the tree. Would this work? I'm not entirely certain how to do it either; get a pointer to the start of the tree store, find the total size of it and do an fwrite kind of thing (which assumes the tree's in contiguous memory)? or would i need to iterate over the whole tree, saving each row in some fashion? I realise I could store on disk some kind of textual structure representing the tree, and recreate the tree from that on startup, but I'm hoping for a more simple solution! bevis PS alternatively, does anyone have a code snippet for recursively scanning directories really quickly? currently i'm using something like: DIR *dirp = opendir(dirname); while ((dirent *dp = readdir(dirp)) != NULL) { temp = dirname+"/"+dp->d_name; stat(temp, &sbuf); int isdir = sbuf.st_mode & S_IFDIR; if (!isdir) continue; ... put in tree ... ... recurse ... } but it's over NFS so that may be the bottleneck. From Murray.Cumming@Comneon.com Wed Jan 21 14:02:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 183EE183F3; Wed, 21 Jan 2004 14:02:37 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LIwLDb025543; Wed, 21 Jan 2004 19:58:21 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 20:02:55 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BCF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: otaylor@redhat.com Cc: gtk-devel-list@gnome.org, hadess@hadess.net, gtkmm-list@gnome.org Date: Wed, 21 Jan 2004 20:02:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: gtk_tree_model_iter_previous() Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > On Wed, 2004-01-21 at 13:44, Murray.Cumming@Comneon.com wrote: > > As mentioned here: http://bugzilla.gnome.org/show_bug.cgi?id=128058 > > > > It would be nice to have a gtk_tree_model_iter_previous() > as well as > > the current gtk_tree_model_iter_next(). Totem has an > implementation, > > though I guess it's significantly slower than > > gtk_tree_model_iter_next(): > > http://cvs.gnome.org/lxr/source/totem/src/totem-playlist.c#146 > > > > Thoughts? > > > If we add one, Totem will get what it deserves... people - if > you write utility functions, *DO NOT PUT THEM IN THE GTK+ > NAMESPACE I think that's not in any .h file, so it's not _so_ bad. > I've written that function before, and think it would be > useful to have in GTK+. Would need a warning in the docs > about performance. We could potentially add a vtable member > to GtkTreeModel in the > future to allow models to accelerate it when possible with > the model's data structures. > > I've discussed this with Jonathan before, forget what his > response was. > > But post-2.4. OK. Thanks. I'll prepare a patch sometime. And I might add it to gtkmm even before it's in GTK+. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 21 16:35:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id F1E99185C3 for ; Wed, 21 Jan 2004 16:35:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LLVUDb022134; Wed, 21 Jan 2004 22:31:30 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 22:36:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BD7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: alberto@paro.homeunix.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Wed, 21 Jan 2004 22:35:41 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've fixed some undocumentated functions in glibmm. > I've posted the result on Bugzilla > > http://bugzilla.gnome.org/show_bug.cgi?id=131841 Excellent. Sorry for not noticing this until now. I'll deal with that patch soon. Thanks a lot. Please try to use "true" instead of "TRUE" in the docs. > Now I think that I'll look to fix some documentation on gnomemm. (Lots > of people are working on gtkmm docs) Never quite enough, and it's easier to document gtkmm because the GTK+ C docs are so good. > I'll propose an API add in calendar widget that return a Glib::Date of > the date selected. > Do I need to post the API change on Bugzilla or we have to discuss this > API change? That sounds good. Just post the patch in bugzilla, please. They might like a GTK+ patch for that as well. Murray Cumming www.murrayc.com murrayc@usa.net From Nick.Huxley@barclayscapital.com Wed Jan 21 09:01:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id AD55B18759 for ; Wed, 21 Jan 2004 09:01:51 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0LDxlr6019468 for ; Wed, 21 Jan 2004 08:59:47 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0LDxief019437 for ; Wed, 21 Jan 2004 08:59:44 -0500 (EST) Received: from NYKPSMEH001.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Wed, 21 Jan 2004 09:01:43 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by NYKPSMEH001.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Wed, 21 Jan 2004 08:59:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Wed, 21 Jan 2004 08:59:34 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF0C2@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] OpenSSL related bug - #define set_key des_set_key Thread-Index: AcPgJbrQi65K2LasTle79SkoZJL27gAALeEQ From: "Huxley, Nick: IT (NYK)" To: "Marcel Karras" , X-OriginalArrivalTime: 21 Jan 2004 13:59:35.0437 (UTC) FILETIME=[CD4EABD0:01C3E026] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What include file is the macro initially being set in? I can see they would argue that more people use SSL than gnomemm so they probably won't change. Also as you've already come up with a work around is it so much of a problem? I hate CPP macros they're evil. Nick=20 -----Original Message----- From: Marcel Karras [mailto:toka@freebits.de]=20 Sent: Wednesday, January 21, 2004 8:47 AM To: gtkmm-list@gnome.org Subject: [gtkmm] OpenSSL related bug - #define set_key des_set_key Hello, some time ago I made a bugreport: http://bugzilla.gnome.org/show_bug.cgi?id=3D126756 I tried to contact the openssl mailinglist but there's a problem subscribing to the list. Thus I request for your help. Could someone post the problem?=20 THe OpenSSL team should not define the macro "set_key". If I compile a gtkmm application it won't compile successfully until I make: #ifdef set_key #undef set_key #endif Thank you - Marcel Karras --=20 Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ From Murray.Cumming@Comneon.com Thu Jan 22 03:18:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6009318204 for ; Thu, 22 Jan 2004 03:18:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0M8E8Db023707; Thu, 22 Jan 2004 09:14:10 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Jan 2004 09:18:43 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BE4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Nick.Huxley@barclayscapital.com, toka@freebits.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Thu, 22 Jan 2004 09:18:15 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > What include file is the macro initially being set in? > I can see they would argue that more people use SSL than > gnomemm so they probably won't change. Also as you've already > come up with a work around is it so much of a problem? I hate > CPP macros they're evil. But I doubt that have any good reason to use a macro rather than a function. But somebody must talk to them. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 22 05:22:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DC73E18125 for ; Thu, 22 Jan 2004 05:22:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0MAHvDb028342 for ; Thu, 22 Jan 2004 11:17:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Jan 2004 11:22:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Thu, 22 Jan 2004 11:22:02 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] gtkmm rpms for Mandrake? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: About a year ago somebody (I forget) at Mandrake told me that gtkmm 2 would definitely be in the next release of the distro. But I don't see it anywhere on the web, though I don't actually have Mandrake installed. Can anybody comment. Is there a status page anywhere? Who should we ask? Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Thu Jan 22 11:26:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id ED6DA18234 for ; Thu, 22 Jan 2004 11:26:54 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AjhcT-0002N2-9t; Thu, 22 Jan 2004 11:23:49 -0500 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm rpms for Mandrake? References: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Thu, 22 Jan 2004 11:23:49 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Thu, 22 Jan 2004 11:22:02 +0100") Message-ID: <87llo0kl4a.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > About a year ago somebody (I forget) at Mandrake told me that gtkmm 2 would > definitely be in the next release of the distro. But I don't see it anywhere > on the web, though I don't actually have Mandrake installed. Can anybody > comment. Is there a status page anywhere? Who should we ask? > I'll be at LWE this afternoon, I'll see if anyone there knows anything. From djmaecki@ull.at Fri Jan 23 04:58:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from stud3.tuwien.ac.at (stud3.tuwien.ac.at [193.170.75.13]) by mail.gnome.org (Postfix) with ESMTP id E314E182D2 for ; Fri, 23 Jan 2004 04:58:49 -0500 (EST) Received: from zaphod (v208-157.vps.tuwien.ac.at [128.131.208.157]) by stud3.tuwien.ac.at (8.9.3 (PHNE_28810+JAGae91741+JAGae92668)/8.9.3) with ESMTP id KAA06787 for ; Fri, 23 Jan 2004 10:58:49 +0100 (MET) Received: from marvin.home.srr.ull.at ([10.0.1.2]) by zaphod with smtp (Exim 3.35 #1 (Debian)) id 1Ajy5T-0000yS-00 for ; Fri, 23 Jan 2004 10:58:51 +0100 Received: by marvin.home.srr.ull.at (sSMTP sendmail emulation); Fri, 23 Jan 2004 10:58:45 +0100 To: gtkmm-list@gnome.org X-Face: (AyZfZV"!KH"MTF)t0v,Brpg61vAyl"x9NyDm/gakdi<9.\\aDlytY^1}O.[K_0EEbI9rD6 1CVK9qr7p-v9=5r!Q4eoGAcYQ|c$n)N\@5*`b0%2eS/bt Date: Fri, 23 Jan 2004 10:58:42 +0100 Message-ID: <878yjznfzh.fsf@ull.at> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: [gtkmm] TreeView vs. TreeModel Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-=-= Hi! I wrote a small app which receives requests from another thread and add a new row to a TreeModel upon each request. If I simply add the row like this Glib::Mutex::Lock Lock (_Mutex); SupplyColumns Columns; Gtk::TreeModel::iterator iter = _refTreeModel->append (); Gtk::TreeModel::Row row = *iter; row[Columns._OrderId] = OrderID; row[Columns._State] = "OPEN"; the TreeView doesn't get updated if the mainloop doesn't receive an event. If I move the mouse for example the new row is added. So surfing through the docs leads me to TreeModel::row_inserted(const Path& path, const iterator& iter) which should (I think) signal the TreeView to update it's display. A naive approach was simply adding following line after above code: _refTreeModel->row_inserted (_refTreeModel->get_path (iter), iter); But this leads to following critical message: (supfe:17982): Gtk-CRITICAL **: file gtktreeview.c: line 3353 (gtk_tree_view_bin_expose): assertion `has_next' failed. There is a disparity between the internal view of the GtkTreeView, and the GtkTreeModel. This generally means that the model has changed without letting the view know. Any display from now on is likely to be incorrect. How do I use row_inserted() to signal the TreeView. Or is there a better way to fix this problem? So long Thomas -- .''`. Calm yourself, Tubbs. None shall come... - Edward, Royston Vasey : :' : Thomas Krennwallner `. `'` 1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B `- http://bigfish.ull.at/~djmaecki/ --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD4DBQBAEPBV/1hOWWeh2nsRAoLTAJUcDGsl2B68JbobJvqSzaqC3CePAJ4rsPaZ TNb7rHLZYArM+rhpbkpfwQ== =i3cx -----END PGP SIGNATURE----- --=-=-=-- From find_all@hotmail.com Fri Jan 23 06:55:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f59.sea2.hotmail.com [207.68.165.59]) by mail.gnome.org (Postfix) with ESMTP id 2C39918AD4 for ; Fri, 23 Jan 2004 06:55:39 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 Jan 2004 03:55:38 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Fri, 23 Jan 2004 11:55:38 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Fri, 23 Jan 2004 11:55:38 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 23 Jan 2004 11:55:38.0290 (UTC) FILETIME=[D13F9920:01C3E1A7] Subject: [gtkmm] Indexed image on Gdk::Pixbuf Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm trying to put an indexed image into a Gdk::Pixbuf. I have the image as a buffer in memory of 8 bits per color with the palette also in memory on another buffer of 3 bytes per color (256 colors). The problem is : How do I put this image into a Gdk::Pixbuf without converting it to a 24 or 32 bits format? If I do the conversion I waste a lot of time. If it is imposible to put directly a 8 bits indexed image into a pixbuf , can I put the image to a Gtk::Image or Gdk::Image in 8 bits and then transfer it to the Gdk::Pixbuf? How? The functions from Gdk::Pixbuf to get an image from a file don't suits me because I'm using an encrypted image that I have to decryp before putting it on the Gdk::Pixbuf. I've try to use Gdk::Drawable->draw_indexed_image but I haven't been able to make it work. Can anybody put a simple working example of Gdk::Drawable->draw_indexed_image? I haven't found any example on the net. Thanks in advance _________________________________________________________________ Reserva y planifica tu viaje online. http://www.msn.es/Viajes/ From olau@hardworking.dk Fri Jan 23 13:21:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp020.tiscali.dk (smtp020.tiscali.dk [212.54.64.104]) by mail.gnome.org (Postfix) with ESMTP id 98D9D1835B for ; Fri, 23 Jan 2004 13:21:37 -0500 (EST) Received: from bach.composers (8.ppp1-1.abc.worldonline.dk [213.237.21.8]) by smtp020.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0NILUFK007056 for ; Fri, 23 Jan 2004 19:21:31 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1Ak3z5-0000Ho-Ep for gtkmm-list@gnome.org; Fri, 23 Jan 2004 17:16:39 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Indexed image on Gdk::Pixbuf References: From: Ole Laursen Date: Fri, 23 Jan 2004 17:16:39 +0100 In-Reply-To: (Find All's message of "Fri, 23 Jan 2004 11:55:38 +0000") Message-ID: <87zncehc7s.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Find All" writes: > I have the image as a buffer in memory of 8 bits per color with the palette > also in memory on another buffer of 3 bytes per color (256 colors). > The problem is : How do I put this image into a Gdk::Pixbuf without > converting it > to a 24 or 32 bits format? > If I do the conversion I waste a lot of time. I don't know how to solve this inside X, but are you sure it isn't best to just to the conversion yourself? If you are displaying the image on an ordinary screen anyway, someplace in X something is likely to have to convert it to the higher bit depth anyway. So you won't save anything at all. Also, unless you're converting lots of images, you will have plenty of time. Without having timed it, I would bet that you could easily convert 100 images with the resolution 1024x768 in a second. That's plenty of time for most purposes. Premature optimisation is the root of all evil, and all that... :-) > If it is imposible to put directly a 8 bits indexed image into a > pixbuf, can I put the image to a Gtk::Image or Gdk::Image in 8 bits > and then transfer it to the Gdk::Pixbuf? How? I think you are misunderstanding something. As far as I know, the data in Gdk::Pixbufs are always 24 bpp. But I may be wrong. -- Ole Laursen http://www.cs.auc.dk/~olau/ From prencher@prencher.dk Sat Jan 24 09:34:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id 1A87E1847A for ; Sat, 24 Jan 2004 09:34:36 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 0A74D47FEE0 for ; Sat, 24 Jan 2004 15:34:32 +0100 (CET) From: "Thomas Johansson" To: Date: Sat, 24 Jan 2004 15:34:32 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0017_01C3E28F.9013E710" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPihy4nb8fL5SQgT7OnkmdsSCcP0A== Message-Id: <20040124143432.0A74D47FEE0@pfepa.post.tele.dk> Subject: [gtkmm] Auto-import errors with TreeViewColumn on win32 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0017_01C3E28F.9013E710 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Recently I've been working on porting LostIRC to windows. However, while trying to link, I get a bunch of auto import errors, apparently on TreeViewColumn, the output from the linking step is a the buttom of this email. The files in question are these: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .h?rev=1.5 &view=auto http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .cpp?rev=1.10 &view=auto It seems to be errors with exporting from gtkmm, however im not sure, so any help would be appreciated. Here's the output from the linking step, I get no errors during compilation. ---------------------------------------------------------------------------- -------------------------------- /bin/bash ../../libtool --mode=link g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Info: resolving __ZTTN3Gtk14TreeViewColumnE by linking to __imp___ZTTN3Gtk14TreeViewColumnE (auto-import) Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking to __imp___ZTVN3Gtk14TreeViewColumnE (auto-import) kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ---------------------------------------------------------------------------- -------------------------------- Regards, Thomas Johansson, prencher@prencher.dk ------=_NextPart_000_0017_01C3E28F.9013E710 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
 
Recently I've been=20 working on porting LostIRC to windows.
 
However, while=20 trying to link, I get a bunch of auto import errors, apparently on=20 TreeViewColumn, the output from the linking step is a the buttom of this = email.
 
The files in=20 question are these:
http://cvs.sourceforge.net/viewc= vs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=3D1.5&view=3Dauto<= /A>
http://cvs.sourceforge.net/vi= ewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=3D1.10&view=3D= auto
 
It = seems to be=20 errors with exporting from gtkmm, however im not sure, so any help would = be appreciated.
 
Here's = the output=20 from the linking step, I get no errors during = compilation.
 
----------------------------------------------= --------------------------------------------------------------
 
/bin/bash=20 ../../libtool --mode=3Dlink g++  -g -O2 -Wall   -o=20 lostirc.exe  main.o MainWindow.o MainNotebook.o Tab.o Prefs.o=20 ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 = -lgdkmm-2.0=20 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 = -lsigc-1.2=20 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 = -lpango-1.0=20 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 
g++ -g = -O2 -Wall=20 -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o = ServerWindow.o=20 GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o =20 ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 = -latkmm-1.0=20 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 = -lgdk-win32-2.0=20 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 = -lgobject-2.0=20 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
Info: resolving=20 __ZTTN3Gtk14TreeViewColumnE by linking to = __imp___ZTTN3Gtk14TreeViewColumnE=20 (auto-import)
Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking = to=20 __imp___ZTVN3Gtk14TreeViewColumnE=20 (auto-import)
kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for=20 Gtk::TreeViewColumn' can't be auto-imported. Please read the = documentation for=20 ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for = details.
ServerWindow.o
(.text$_ZN3Gtk14TreeViewColumnC1IN4Gli= b7ustringEEERKS3_RKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/inclu= de/gtkmm-2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for = details.
 
----------------------------------------------= --------------------------------------------------------------
 
Regards,
Thomas Johansson, prencher@prencher.dk
 
= ------=_NextPart_000_0017_01C3E28F.9013E710-- From prencher@prencher.dk Sat Jan 24 09:27:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id B7EE0181B8 for ; Sat, 24 Jan 2004 09:27:40 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 251B647FF3C for ; Sat, 24 Jan 2004 15:27:34 +0100 (CET) From: "Thomas Johansson" To: Date: Sat, 24 Jan 2004 15:27:34 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C3E28E.97061EE0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPihjTudHJ1qir+QraJNDjIGEkEhQ== Message-Id: <20040124142734.251B647FF3C@pfepa.post.tele.dk> Subject: [gtkmm] Auto-import errors with TreeViewColumn on win32 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C3E28E.97061EE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Recently I've been working on porting LostIRC to windows. However, while trying to link, I get a bunch of auto import errors, apparently on TreeViewColumn, the output from the linking step is a the buttom of this email. The files in question are these: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .h?rev=1.5 &view=auto http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .cpp?rev=1.10 &view=auto It seems to be errors with exporting from gtkmm, however im not sure, so any help would be appreciated. Here's the output from the linking step, I get no errors during compilation. ---------------------------------------------------------------------------- -------------------------------- /bin/bash ../../libtool --mode=link g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Info: resolving __ZTTN3Gtk14TreeViewColumnE by linking to __imp___ZTTN3Gtk14TreeViewColumnE (auto-import) Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking to __imp___ZTVN3Gtk14TreeViewColumnE (auto-import) kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ---------------------------------------------------------------------------- -------------------------------- Regards, Thomas Johansson, prencher@prencher.dk ------=_NextPart_000_0013_01C3E28E.97061EE0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
 
Recently I've been=20 working on porting LostIRC to windows.
 
However, while=20 trying to link, I get a bunch of auto import errors, apparently on=20 TreeViewColumn, the output from the linking step is a the buttom of this = email.
 
The files in=20 question are these:
http://cvs.sourceforge.net/viewc= vs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=3D1.5&view=3Dauto<= /A>
http://cvs.sourceforge.net/vi= ewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=3D1.10&view=3D= auto
Can i compile and run gtkmm = applications with gcc 3.3/gcc 3.4, or are there known = problems?
 
It = seems to be=20 errors with exporting from gtkmm, however im not sure, so any help would = be appreciated.
 
Here's = the output=20 from the linking step, I get no errors during = compilation.
 
----------------------------------------------= --------------------------------------------------------------
 
/bin/bash=20 ../../libtool --mode=3Dlink g++  -g -O2 -Wall   -o=20 lostirc.exe  main.o MainWindow.o MainNotebook.o Tab.o Prefs.o=20 ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 = -lgdkmm-2.0=20 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 = -lsigc-1.2=20 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 = -lpango-1.0=20 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 
g++ -g = -O2 -Wall=20 -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o = ServerWindow.o=20 GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o =20 ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 = -latkmm-1.0=20 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 = -lgdk-win32-2.0=20 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 = -lgobject-2.0=20 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
Info: resolving=20 __ZTTN3Gtk14TreeViewColumnE by linking to = __imp___ZTTN3Gtk14TreeViewColumnE=20 (auto-import)
Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking = to=20 __imp___ZTVN3Gtk14TreeViewColumnE=20 (auto-import)
kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for=20 Gtk::TreeViewColumn' can't be auto-imported. Please read the = documentation for=20 ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for = details.
 
----------------------------------------------= --------------------------------------------------------------
 
Regards,
Thomas Johansson, prencher@prencher.dk
 
------=_NextPart_000_0013_01C3E28E.97061EE0-- From djmaecki@ull.at Sun Jan 25 11:24:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from stud3.tuwien.ac.at (stud3.tuwien.ac.at [193.170.75.13]) by mail.gnome.org (Postfix) with ESMTP id 4BCEE1887D for ; Sun, 25 Jan 2004 11:24:05 -0500 (EST) Received: from zaphod (v208-157.vps.tuwien.ac.at [128.131.208.157]) by stud3.tuwien.ac.at (8.9.3 (PHNE_28810+JAGae91741+JAGae92668)/8.9.3) with ESMTP id RAA15322 for ; Sun, 25 Jan 2004 17:24:01 +0100 (MET) Received: from marvin.home.srr.ull.at ([10.0.1.2]) by zaphod with smtp (Exim 3.35 #1 (Debian)) id 1Akn3N-0001ak-00 for ; Sun, 25 Jan 2004 17:24:05 +0100 Received: by marvin.home.srr.ull.at (sSMTP sendmail emulation); Sun, 25 Jan 2004 17:23:57 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] TreeView vs. TreeModel X-Face: (AyZfZV"!KH"MTF)t0v,Brpg61vAyl"x9NyDm/gakdi<9.\\aDlytY^1}O.[K_0EEbI9rD6 1CVK9qr7p-v9=5r!Q4eoGAcYQ|c$n)N\@5*`b0%2eS/bt In-Reply-To: <878yjznfzh.fsf@ull.at> (Thomas Krennwallner's message of "Fri, 23 Jan 2004 10:58:42 +0100") References: <878yjznfzh.fsf@ull.at> Date: Sun, 25 Jan 2004 17:23:56 +0100 Message-ID: <87u12kngir.fsf@ull.at> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-=-= Hi! Thomas Krennwallner writes: > How do I use row_inserted() to signal the TreeView. Or is there a > better way to fix this problem? I solved it by using a Gtk::Dispatcher. Thanks to Igor Gorbounov for his helpful hints. So long Thomas -- .''`. Tephelome...Is this one? - Tubbs, Royston Vasey : :' : Thomas Krennwallner `. `'` 1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B `- http://bigfish.ull.at/~djmaecki/ --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBAE+2c/1hOWWeh2nsRAtFCAKC9iFHoZZxNm/ANxpoErUulbCZCBQCgk99S 2zbtw4TOLLpTjyRUIPYInI8= =4xr+ -----END PGP SIGNATURE----- --=-=-=-- From cedric.gustin@swing.be Mon Jan 26 01:57:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 7B10818342 for ; Mon, 26 Jan 2004 01:57:06 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0Q6onte024711; Mon, 26 Jan 2004 07:50:54 +0100 (MET) Message-Id: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 25 Jan 2004 10:32:25 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040124142734.251B647FF3C@pfepa.post.tele.dk> References: <20040124142734.251B647FF3C@pfepa.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 03:27 PM 1/24/2004, you wrote: >Recently I've been working on porting LostIRC to windows. > >However, while trying to link, I get a bunch of auto import errors, >apparently on TreeViewColumn, the output from the linking step is a the >buttom of this email. > >The files in question are these: >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=1.10&view=auto > >It seems to be errors with exporting from gtkmm, however im not sure, so >any help would be appreciated. Hi Thomas, To help you, it would be nice to know : 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. If the configure and libtool scripts are generated locally on your win32 machine or on a linux machine when making the tarball (make dist) + version and origin (cygwin/msys if produced locally) of the autotools, especially libtool ! 3. if you use my port of gtkmm for mingw, the port of gtk/gtkmm that uses the cygwin runtime, or your own port. Cedric From mattgerg@users.sourceforge.net Mon Jan 26 05:39:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from f04n01.cac.psu.edu (f04s01.cac.psu.edu [128.118.141.31]) by mail.gnome.org (Postfix) with ESMTP id 4B8C9181E9 for ; Mon, 26 Jan 2004 05:39:36 -0500 (EST) Received: from MAG357.rhbd.psu.edu (MAG357.rhbd.psu.edu [66.71.10.196]) by f04n01.cac.psu.edu (8.9.3p2.1/8.9.3) with ESMTP id FAA363184 for ; Mon, 26 Jan 2004 05:39:32 -0500 From: Matt Gerginski To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1075095542.4399.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 26 Jan 2004 05:39:02 +0000 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Widget inside a Treeview Cell Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, I am wondering if there is any way to go about embedding a widget, inside a cell of a treeview. If there is a way to go about this, any help would be appreciated, for now I just want to know if it is possible. Thanks, Matt PS. Can you please respond to my email, I am not a member of the list. -- Matt Gerginski From B.Touron@citb.bull.net Mon Jan 26 09:01:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id D79DE18292 for ; Mon, 26 Jan 2004 09:01:26 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0QE1O427939 for ; Mon, 26 Jan 2004 15:01:24 +0100 Message-ID: <40151DF3.9050006@citb.bull.net> Date: Mon, 26 Jan 2004 15:02:27 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::TreeView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello everybody ! I am new to Gtkmm. I searched in the documentation, and in the mailing list archive, without success. So, in a TreeView, how can I display the connecting lines between the nodes ? Is it an option somewhere in the TreeView ? I am using gtkmm under Windows. Thanks for your help. Ben From prencher@prencher.dk Mon Jan 26 09:12:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mail.gnome.org (Postfix) with ESMTP id AFE6318157 for ; Mon, 26 Jan 2004 09:12:52 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepc.post.tele.dk (Postfix) with ESMTP id 36151263002; Mon, 26 Jan 2004 15:12:39 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 15:12:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPj2a030RPf+p5ZS6K1dCISuGCIfAAO5wSw Message-Id: <20040126141239.36151263002@pfepc.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: 1. Running on a cygwin system with mingw tools as compiling suit. $ g++ --version g++.exe (GCC) 3.3.1 (mingw special 20030804-1) 2. Was generated on a linux machine, for making a tarball dist. $ autoconf --version autoconf (GNU Autoconf) 2.59 $ automake --version autautomake (GNU automake) 1.7.9 $ libtool --version altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) Debian: 192 $ 3. I use your mingw native port. I tried running autogen.sh locally, but it gives me errors about GETTEXT macros, I have installed the mingw gettext and iconv packages. Perhaps they should be installed somewhere in the cygwin tree rather than in mingws ? --- Thomas Johansson prencher@prencher.dk http://prencher.dk/ > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 25. jan 2004 10:32 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > At 03:27 PM 1/24/2004, you wrote: > > >Recently I've been working on porting LostIRC to windows. > > > >However, while trying to link, I get a bunch of auto import errors, > >apparently on TreeViewColumn, the output from the linking > step is a the > >buttom of this email. > > > >The files in question are these: > > kmm/Server > >Window.h?rev=1.5&view=auto>http://cvs.sourceforge.net/viewcvs .py/lostir > >c/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto > >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtk > mm/ServerW > >indow.cpp?rev=1.10&view=auto > > > >It seems to be errors with exporting from gtkmm, however im > not sure, > >so any help would be appreciated. > > > Hi Thomas, > > To help you, it would be nice to know : > > 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. > If the configure and libtool scripts are generated locally on > your win32 machine or on a linux machine when making the > tarball (make dist) + version and origin (cygwin/msys if > produced locally) of the autotools, especially libtool ! > 3. if you use my port of gtkmm for mingw, the port of > gtk/gtkmm that uses the cygwin runtime, or your own port. > > Cedric > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From matthew@alledora.co.uk Mon Jan 26 09:14:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 06B4118157 for ; Mon, 26 Jan 2004 09:14:03 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Al7RW-0000w2-6X for gtkmm-list@gnome.org; Mon, 26 Jan 2004 14:10:22 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Al7RV-0000vo-3Y; Mon, 26 Jan 2004 14:10:21 +0000 Message-ID: <401520F3.1050701@alledora.co.uk> Date: Mon, 26 Jan 2004 14:15:15 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView References: <40151DF3.9050006@citb.bull.net> In-Reply-To: <40151DF3.9050006@citb.bull.net> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Hello everybody ! > > I am new to Gtkmm. I searched in the documentation, and in the mailing > list archive, without success. > > So, in a TreeView, how can I display the connecting lines between the > nodes ? > Is it an option somewhere in the TreeView ? As I understand it, in GTK+ 2 it's impossible to display connecting lines in a TreeView in the manner see in, say, the GTK+ 1.x CTree, or the Win32 tree control. That's not just a matter of the theme engine not drawing them, but the toolkit not supporting it (not entirely sure, but that's the impression I got from an interview with one of the GTK+ developers recently). So the short answer is that, unfortunately, you can't. I'm hoping somebody will make a patch to allow theme engines to draw those lines if they wish, as sometimes I'd really rather like to have them. From prencher@prencher.dk Mon Jan 26 09:41:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id 27A711870E for ; Mon, 26 Jan 2004 09:41:58 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id DEABF480156; Mon, 26 Jan 2004 15:41:53 +0100 (CET) From: "Thomas Johansson" To: "'Thomas Johansson'" , "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 15:41:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040126141239.36151263002@pfepc.post.tele.dk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPj2a030RPf+p5ZS6K1dCISuGCIfAAO5wSwAAE3qYA= Message-Id: <20040126144153.DEABF480156@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok last error I got fixed, however, running locally generated ./configure gives me this error: ./configure: line 18835: syntax error near unexpected token `DEPS,' ./configure: line 18835: `PKG_CHECK_MODULES(DEPS, gtkmm-2.0)' The configure.ac file can be seen here: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/configure.ac?rev=1.8&v iew=auto --- Thomas Johansson prencher@prencher.dk http://prencher.dk/ > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Thomas Johansson > Sent: 26. jan 2004 15:13 > To: 'Cedric Gustin'; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > 1. Running on a cygwin system with mingw tools as compiling suit. > > $ g++ --version > g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > > 2. Was generated on a linux machine, for making a tarball dist. > > $ autoconf --version > autoconf (GNU Autoconf) 2.59 > $ automake --version > autautomake (GNU automake) 1.7.9 > $ libtool --version > altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 > 12:25:08) Debian: 192 $ > > 3. I use your mingw native port. > > I tried running autogen.sh locally, but it gives me errors > about GETTEXT macros, I have installed the mingw gettext and > iconv packages. Perhaps they should be installed somewhere in > the cygwin tree rather than in mingws ? > > --- > Thomas Johansson > prencher@prencher.dk > http://prencher.dk/ > > > -----Original Message----- > > From: gtkmm-list-admin@gnome.org > > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > > Sent: 25. jan 2004 10:32 > > To: Thomas Johansson; gtkmm-list@gnome.org > > Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > > > At 03:27 PM 1/24/2004, you wrote: > > > > >Recently I've been working on porting LostIRC to windows. > > > > > >However, while trying to link, I get a bunch of auto > import errors, > > >apparently on TreeViewColumn, the output from the linking > > step is a the > > >buttom of this email. > > > > > >The files in question are these: > > > > kmm/Server > > >Window.h?rev=1.5&view=auto>http://cvs.sourceforge.net/viewcvs > .py/lostir > > >c/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto > > >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtk > > mm/ServerW > > >indow.cpp?rev=1.10&view=auto > > > > > >It seems to be errors with exporting from gtkmm, however im > > not sure, > > >so any help would be appreciated. > > > > > > Hi Thomas, > > > > To help you, it would be nice to know : > > > > 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. > > If the configure and libtool scripts are generated locally on your > > win32 machine or on a linux machine when making the tarball (make > > dist) + version and origin (cygwin/msys if produced locally) of the > > autotools, especially libtool ! > > 3. if you use my port of gtkmm for mingw, the port of > gtk/gtkmm that > > uses the cygwin runtime, or your own port. > > > > Cedric > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From cedric.gustin@swing.be Mon Jan 26 10:12:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 147EA18353 for ; Mon, 26 Jan 2004 10:12:18 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0QF65te018621; Mon, 26 Jan 2004 16:06:06 +0100 (MET) Message-Id: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 26 Jan 2004 16:12:26 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040126141239.36151263002@pfepc.post.tele.dk> References: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> <20040126141239.36151263002@pfepc.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok, I checked lostirc. It requires some posix functions/macros that are not available natively on win32 (hence with mingw32). Therefore, either you modify the lostirc source and replace those posix functions by their win32 counterparts, or you should use the cygwin runtime. Unfortunately, my port of gtkmm is for the mingw32 distribution, only but you can find a port of gtkmm for cygwin (that runs both natively and with an X server) at http://web.sfc.keio.ac.jp/~s01397ms/cygwin/ If you decide to go the native way (win32 specific functions in lostirc + mingw32), I strongly recommend to set/modify the LIBRARY_PATH, C_INCLUDE_PATH and PKG_CONFIG_PATH variables to make sure that they are set appropriately (in order for gcc to detect iconv, libintl,...). The -I option to aclocal is also your friend (for the PKG_CHECK_MODULES autoconf macro). Hope it helps Cedric At 03:12 PM 1/26/2004, Thomas Johansson wrote: >1. Running on a cygwin system with mingw tools as compiling suit. > >$ g++ --version >g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > >2. Was generated on a linux machine, for making a tarball dist. > >$ autoconf --version >autoconf (GNU Autoconf) 2.59 >$ automake --version >autautomake (GNU automake) 1.7.9 >$ libtool --version >altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) Debian: 192 >$ > >3. I use your mingw native port. > >I tried running autogen.sh locally, but it gives me errors about GETTEXT >macros, I have installed the mingw gettext and iconv packages. Perhaps they >should be installed somewhere in the cygwin tree rather than in mingws ? From prencher@prencher.dk Mon Jan 26 10:29:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id E72B618154 for ; Mon, 26 Jan 2004 10:29:48 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 0409D480165; Mon, 26 Jan 2004 16:29:42 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 16:29:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPkHsauYvJxdN+DQEypfNv7+kjRqAAAdcHg Message-Id: <20040126152942.0409D480165@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Im aware lostirc contains some linux specific functions, but those will be ported eventually. The issue is with those TreeViewColumn errors, and PKG_CHECK_MODULES. > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 26. jan 2004 16:12 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > > Ok, I checked lostirc. It requires some posix > functions/macros that are not available natively on win32 > (hence with mingw32). Therefore, either you modify the > lostirc source and replace those posix functions by their > win32 counterparts, or you should use the cygwin runtime. > Unfortunately, my port of gtkmm is for the mingw32 > distribution, only but you can find a port of gtkmm for > cygwin (that runs both natively and with an X server) at > > http://web.sfc.keio.ac.jp/~s01397ms/cygwin/ > > If you decide to go the native way (win32 specific functions > in lostirc + mingw32), I strongly recommend to set/modify the > LIBRARY_PATH, C_INCLUDE_PATH and PKG_CONFIG_PATH variables to > make sure that they are set appropriately (in order for gcc > to detect iconv, libintl,...). The -I option to aclocal is > also your friend (for the PKG_CHECK_MODULES autoconf macro). > > Hope it helps > > Cedric > > At 03:12 PM 1/26/2004, Thomas Johansson wrote: > >1. Running on a cygwin system with mingw tools as compiling suit. > > > >$ g++ --version > >g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > > > > >2. Was generated on a linux machine, for making a tarball dist. > > > >$ autoconf --version > >autoconf (GNU Autoconf) 2.59 > >$ automake --version > >autautomake (GNU automake) 1.7.9 > >$ libtool --version > >altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) > >Debian: 192 $ > > > >3. I use your mingw native port. > > > >I tried running autogen.sh locally, but it gives me errors about > >GETTEXT macros, I have installed the mingw gettext and iconv > packages. > >Perhaps they should be installed somewhere in the cygwin > tree rather than in mingws ? > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From pgasper@designadvantage.com Mon Jan 26 11:39:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 9684518268 for ; Mon, 26 Jan 2004 11:39:01 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1Al9lK-0007Gw-Ow for gtkmm-list@gnome.org; Mon, 26 Jan 2004 11:38:58 -0500 From: Peter Gasper To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Message-Id: <1075135134.2178.23.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 26 Jan 2004 09:38:58 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Subject: [gtkmm] scrolledwindow floating point exception Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I want to say this is a bug, but I'm probably just doing something wrong. I'm adding a scrolledwindow to one or both panes in an HPaned widget. If one then takes the mouse and drags the handle all the way to the left or right the program errors out with a floating point exception. What am I doing wrong? If this is a bug, let me know and I'll add it to bugzilla. Thanks. -- Peter Gasper From pgasper@designadvantage.com Mon Jan 26 11:57:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 493FD18187 for ; Mon, 26 Jan 2004 11:57:26 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AlA39-0007Gz-L5 for gtkmm-list@gnome.org; Mon, 26 Jan 2004 11:57:23 -0500 Subject: Re: [gtkmm] scrolledwindow floating point exception From: Peter Gasper To: gtkmm-list@gnome.org In-Reply-To: <1075135134.2178.23.camel@PETE> References: <1075135134.2178.23.camel@PETE> Content-Type: multipart/mixed; boundary="=-tCmNmsEYfk2zONm5VrGB" Organization: Message-Id: <1075136239.2176.25.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 26 Jan 2004 09:57:23 -0700 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-tCmNmsEYfk2zONm5VrGB Content-Type: text/plain Content-Transfer-Encoding: 7bit Attached is an example. Thanks. On Mon, 2004-01-26 at 09:38, Peter Gasper wrote: > I want to say this is a bug, but I'm probably just doing something > wrong. > > I'm adding a scrolledwindow to one or both panes in an HPaned widget. If > one then takes the mouse and drags the handle all the way to the left or > right the program errors out with a floating point exception. > > What am I doing wrong? If this is a bug, let me know and I'll add it to > bugzilla. > > Thanks. -- Peter Gasper --=-tCmNmsEYfk2zONm5VrGB Content-Disposition: attachment; filename=main.cc Content-Type: text/x-c++; name=main.cc; charset=UTF-8 Content-Transfer-Encoding: 7bit #include #include #include #include #include class Test : public Gtk::Window { public: Test() :label1("test"), label2("test2") { add(hpaned); hpaned.add1(win1); win1.add(label1); hpaned.add2(win2); win2.add(label2); show_all(); }; virtual ~Test() {}; protected: Gtk::Label label1, label2; Gtk::ScrolledWindow win1, win2; Gtk::HPaned hpaned; }; int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Test test; Gtk::Main::run(test); return (0); } --=-tCmNmsEYfk2zONm5VrGB-- From cedric.gustin@swing.be Mon Jan 26 15:12:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 0A395187FA for ; Mon, 26 Jan 2004 15:12:29 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0QK6Ite001186; Mon, 26 Jan 2004 21:06:18 +0100 (MET) Message-Id: <6.0.1.1.2.20040126205924.01c0baf0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 26 Jan 2004 21:12:20 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040126152942.0409D480165@pfepa.post.tele.dk> References: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> <20040126152942.0409D480165@pfepa.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 04:29 PM 1/26/2004, Thomas Johansson wrote: >Im aware lostirc contains some linux specific functions, but those will be >ported eventually. The issue is with those TreeViewColumn errors, and >PKG_CHECK_MODULES. I managed to compile lostirc (without the posix stuff. I commented out the corresponding pieces of code). You can see a screenshot here : http://www.pcpm.ucl.ac.be/~gustin/tmp/lostirc.jpg I guess your TreeViewColumn problem is related to either your compiler version (I use and compiled gtkmm with mingw-gcc 3.2.3 while it seems you have updated your compiler to the recently released 3.3.1), or to some conflicts with cygwin dlls. Did you test your gtkmm installation on a simple gtkmm example (say one of the gtkmm book examples) ? About the PKG_CHECK_MODULES, make sure that aclocal in your autogen.sh script is called with the '-I /path/to/pkg.m4'. In my case, this is C:\Gtk\share\aclocal. Or set the ACLOCAL_FLAGS environment variable if your autogen.sh supports this feature. But in any case, lostirc compiles out of the box with the source tarball. Cedric From prencher@prencher.dk Mon Jan 26 21:24:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id A60B418277 for ; Mon, 26 Jan 2004 21:24:07 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 339E547FF3B; Tue, 27 Jan 2004 03:24:06 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Tue, 27 Jan 2004 03:24:06 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcPkSK0i0hq+owULScGDHGIs8IJAKgAM4E0g In-Reply-To: <6.0.1.1.2.20040126205924.01c0baf0@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-Id: <20040127022406.339E547FF3B@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yeah, I do know it compiles, I have ported a good bit of it by now, which is in the cvs. I just redid my cygwin/mingw/gtk+/gtkmm setup, and it seems it was the newer compiler (mingw gcc 3.3.1) that made the trouble. Thanks for you help :) > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 26. jan 2004 21:12 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > At 04:29 PM 1/26/2004, Thomas Johansson wrote: > >Im aware lostirc contains some linux specific functions, but > those will > >be ported eventually. The issue is with those TreeViewColumn errors, > >and PKG_CHECK_MODULES. > > I managed to compile lostirc (without the posix stuff. I > commented out the corresponding pieces of code). You can see > a screenshot here : > > http://www.pcpm.ucl.ac.be/~gustin/tmp/lostirc.jpg > > I guess your TreeViewColumn problem is related to either your > compiler version (I use and compiled gtkmm with mingw-gcc > 3.2.3 while it seems you have updated your compiler to the > recently released 3.3.1), or to some conflicts with cygwin > dlls. Did you test your gtkmm installation on a simple gtkmm > example (say one of the gtkmm book examples) ? > > About the PKG_CHECK_MODULES, make sure that aclocal in your > autogen.sh script is called with the '-I /path/to/pkg.m4'. In > my case, this is C:\Gtk\share\aclocal. Or set the > ACLOCAL_FLAGS environment variable if your autogen.sh > supports this feature. But in any case, lostirc compiles out > of the box with the source tarball. > > Cedric > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Tue Jan 27 04:40:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 83DAE182BE; Tue, 27 Jan 2004 04:40:30 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0R9aCDb028927; Tue, 27 Jan 2004 10:36:12 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 27 Jan 2004 10:40:53 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Date: Tue, 27 Jan 2004 10:40:21 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: *** gtkmm 2.4 NOTE: This is probably your last chance to comment on the API before the API freeze. gtkmm provides a C++ interface to GTK+. The 2.3.x tarballs are the unstable development series that will become the stable gtkmm 2.4. gtkmm 2.3/2.4 will wrap any additional API in GTK+ 2.4. glibmm is now a separate module, for use in non-GUI software. gtkmm 2.3/2.4 installs in parallel with gtkmm 2.2, so you can install this unstable library without the risk of breaking existing applications. This allows us to break ABI and API, though we will try not to break API unless it is absolutely necessary. But do be aware that the underlying unstable GTK+ 2.3 does not install in parallel with GTK+ 2.2, so be careful if you apply it in your normal prefix. We recommend the use of jhbuild or garnome for testing in a separate prefix. The stable (API/ABI-frozen) gtkmm 2.4.0 will be released soon after GTK+ 2.4.0. gtkmm is on the official GNOME Platform Bindings release schedule: http://www.gnome.org/start/2.5/bindings/ http://www.gtkmm.org *** Changes glibmm 2.3.3: * gmmproc (code generator) - properties: Make read-only properties have const accessors, and add a second read-only const accessor for normal properties. Wrap construct-only properties as read-only, instead of ignoring them. - vfuncs: Really generate const vfuncs when requested. Put the method declaration directly into the .h file, so that the doxygen documentation can be next to it. - documentation: - Remove mergecdocs configure option - always merge the C docs, to avoid any risk of uploading or releasing empty documentation. Just delete the *_docs.xml files to make building from cvs faster. - Install a GLIBMM_CHECK_PERL() macro, for use by gtkmm and other *mm projects, to get the perl path needed by doxygen. - Install beautify_docs.pl so it can be reused in gtkmm and other *mm projects, instead of having lots of copies. * Glib::ObjectBase: The default constructor, never before used, now generates a custom GType, for use when creating new implementations of Glib::Interfaces - for instance, see the new custom tree model example in gtkmm. * Glib::Date: Added clamp_min() and clamp_max(). (Murray Cumming) * Documentation: - Added reference documentation for MainLoop, MainContext, Source, and Date. (Alberto Paro) gtkmm 2.3.2: * Gtk: * AccelMap: Added lock_path() and unlock_path(). * Button: Added get/set_alignment(). * CellLayout: Added reorder(). * Clipboard: Added wait_for_targets(), and a simpler request_targets(). * MenuShell: Added cancel(). * ListStore, TreeStore: Added set_model_columns() for use by derived classes. * TreeModel: vfuncs now use C++ types, and are documented. * TreeModelFilter: Wrapped set_modify_func(). * Window: Added get_group() and set_accept_focus(). * Gdk: * Colormap: Added get_system(). * Device: Added get_name(), get_source(), get_mode() and get_has_cursor() * Display: Added set_double_click_distance() and get_default_group(). * DragContext: Added get_targets(). * Added rgb_*() methods. * Pango: * LayoutLine: Added get_length(), get_start_index(), and get_layout(). * Atk: * Added Document, Hyperlink, Hypertext, and StreamableContent classes. * Portability: * Atk::Text build fix for Intel compiler. (Takashi Takekawa) * Documentation: * devhelp file now installs correctly, with working hyperlinks. * Documented Gtk::AccelMap methods. * Documented Atk classes. * TreeView, TextView, and associated classes are almost fully documented. (Murray Cumming) * Also: - build fix. (Billy O'Connor) - spec file fix. (Eric Bourque) *** Download http://www.gtkmm.org/download.shtml You will need libsigc++ 1.2, available here: https://sourceforge.net/project/showfiles.php?group_id=1970 *** Development There is active discussion on the mailing list: http://www.gtkmm.org/mailinglist.shtml and in the #c++ channel on irc.gnome.org -- Murray Cumming murray@usa.net www.murrayc.com _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 27 04:46:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7D7C8184DB for ; Tue, 27 Jan 2004 04:46:49 -0500 (EST) Received: (qmail 21114 invoked by uid 65534); 27 Jan 2004 09:19:06 -0000 Received: from pD9E94C81.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.129) by mail.gmx.net (mp005) with SMTP; 27 Jan 2004 10:19:06 +0100 X-Authenticated: #109577 Message-ID: <40162D19.7030707@gmx.de> Date: Tue, 27 Jan 2004 10:19:21 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] how to set appended Notebook page active? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! When I append a second VBox to my notebook with m_Notebook.append_page(*VBoxRight, notebookTabName); the first notebook page is still displayed active. I´ve tried m_Notebook.set_current_page(1); // activate 2nd but it has no effect. Can somebody help? TIA, Andi From find_all@hotmail.com Tue Jan 27 04:57:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f30.sea2.hotmail.com [207.68.165.30]) by mail.gnome.org (Postfix) with ESMTP id B6B68187EF for ; Tue, 27 Jan 2004 04:57:49 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 27 Jan 2004 01:57:45 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Tue, 27 Jan 2004 09:57:45 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Tue, 27 Jan 2004 09:57:45 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 27 Jan 2004 09:57:45.0648 (UTC) FILETIME=[03471300:01C3E4BC] Subject: [gtkmm] Transparent background in a Pango::Layout Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm drawing an image into a Gtk::DrawingArea and want to write text on that image. Is there a way to set a transparent background for a Pango::Layout? If not, is there another way to write a string with an expecific font, size,color but with a transparent background? _________________________________________________________________ ¿Estás dispuesto a una cita? Conoce gente en MSN Amor & Amistad. http://match.msn.es/match/mt.cfm?pg=channel From bevis@anvil.com Tue Jan 27 05:16:12 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 0C92518A03 for ; Tue, 27 Jan 2004 05:16:12 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id A4A7A416; Tue, 27 Jan 2004 10:15:40 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id CB5772C8; Tue, 27 Jan 2004 10:15:39 +0000 (GMT) Message-ID: <40163A51.907@anvil.co.uk> Date: Tue, 27 Jan 2004 10:15:45 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Find All Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Transparent background in a Pango::Layout References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Find All wrote: > I'm drawing an image into a Gtk::DrawingArea and want to write text on > that image. you may find that writing text to a drawingarea will automatically have a transparent background. certainly i've written text over a pixbuf in a drawing area and that's happened. bevis From andrew@solvo.ru Tue Jan 27 06:38:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gate.solvo.ru (gate.solvo.ru [195.201.44.254]) by mail.gnome.org (Postfix) with ESMTP id B58A118713; Tue, 27 Jan 2004 06:38:57 -0500 (EST) Received: from tiger.solvo.ru (tiger.solvo.ru [195.201.44.86]) by gate.solvo.ru (8.12.8/8.12.8) with ESMTP id i0RBcaFu000743; Tue, 27 Jan 2004 14:38:38 +0300 Received: by tiger.solvo.ru (Postfix, from userid 504) id 5DAD290726; Tue, 27 Jan 2004 14:38:35 +0300 (MSK) Received: from solvo.ru (phoenix.solvo.ru [195.201.44.78]) by tiger.solvo.ru (Postfix) with ESMTP id 05734906FC; Tue, 27 Jan 2004 14:38:35 +0300 (MSK) Message-ID: <40165085.60101@solvo.ru> Date: Tue, 27 Jan 2004 14:50:29 +0300 From: "Andrew E. Makeev" Organization: Solvo Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: ru, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Subject: Re: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 References: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Milter: Spamilter Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi I've seen the mail that there is a chance to get couple deprecated widgets to be wrapped in gtkmm (GtkCTree and GtkCList). I guess, It's a good idea, because those widgets have few "advantages" (like configurable lines btw nodes in CTree and very high speed of CList with lot of the data filled in). So, are you going to wait when TreeView will be improved a bit, either wait for those depricated widgets are wrapped? Regards, -andrew Murray.Cumming@Comneon.com wrote: >*** gtkmm 2.4 > >NOTE: This is probably your last chance to comment on the API before the API >freeze. > > > > From Murray.Cumming@Comneon.com Tue Jan 27 06:48:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E4CAC1891A; Tue, 27 Jan 2004 06:47:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0RBhfDb023206; Tue, 27 Jan 2004 12:43:42 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 27 Jan 2004 12:48:23 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22DFC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: andrew@solvo.ru, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Subject: RE: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 Date: Tue, 27 Jan 2004 12:47:52 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've seen the mail that there is a chance to get couple deprecated > widgets to be wrapped in gtkmm (GtkCTree and GtkCList). Anybody is free to start a project to do that. I have no intention to add them to gtkmm itself at this time. You don't need them to be in gtkmm itself. > I guess, It's a good idea, because those widgets have few > "advantages" > (like configurable lines btw nodes in CTree and very high > speed of CList > with lot of the data filled in). > > So, are you going to wait when TreeView will be improved a > bit, If you want specific changes to GtkTreeView please do ask on gtk-list and/or submit GTK+ bugs in bugzilla.gnome.org. > either > wait for those depricated widgets are wrapped? Doing is better than waiting. Murray Cumming www.murrayc.com murrayc@usa.net From buxman@telia.com Tue Jan 27 08:21:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from av1-2-sn1.fre.skanova.net (av1-2-sn1.fre.skanova.net [81.228.11.108]) by mail.gnome.org (Postfix) with ESMTP id 851B918B0E for ; Tue, 27 Jan 2004 08:21:29 -0500 (EST) Received: by av1-2-sn1.fre.skanova.net (Postfix, from userid 502) id AA00C37E55; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Received: from smtp3-2-sn1.fre.skanova.net (smtp3-2-sn1.fre.skanova.net [81.228.11.164]) by av1-2-sn1.fre.skanova.net (Postfix) with ESMTP id 9DC4F37E42 for ; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Received: from telia.com (h89n2fls303o885.telia.com [81.227.153.89]) by smtp3-2-sn1.fre.skanova.net (Postfix) with ESMTP id 86E8937E42 for ; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Message-ID: <401665D6.90007@telia.com> Date: Tue, 27 Jan 2004 14:21:26 +0100 From: Alexander Bussman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031115 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::Window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I wonder if it's a way to lock the application until a newly created window is closed. I need to do that because I want to grab a string from that window (that the user writes). something like this I mean: ... mywindow.show(); wait_until_mywindow_is_closed(); std::string data = mywindow.getData(); ... I can't figure out a good way to do this.... anyone? // Alexander Bussman From matthew@alledora.co.uk Tue Jan 27 08:31:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 575E018AC5 for ; Tue, 27 Jan 2004 08:31:08 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AlTFN-0003JM-Rz for gtkmm-list@gnome.org; Tue, 27 Jan 2004 13:27:17 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AlTFM-0003J8-OW; Tue, 27 Jan 2004 13:27:16 +0000 Message-ID: <40166861.4030505@alledora.co.uk> Date: Tue, 27 Jan 2004 13:32:17 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Bussman Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window References: <401665D6.90007@telia.com> In-Reply-To: <401665D6.90007@telia.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Alexander Bussman wrote: > Hi! > I wonder if it's a way to lock the application until a newly created > window is closed. > I need to do that because I want to grab a string from that window (that > the user writes). > > something like this I mean: > ... > mywindow.show(); > wait_until_mywindow_is_closed(); > std::string data = mywindow.getData(); > ... > > I can't figure out a good way to do this.... anyone? Try show_modal() From nxg@saratov.pvrr.ru Tue Jan 27 09:58:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from access.pvrr.ru (access.pvrr.ru [217.23.88.43]) by mail.gnome.org (Postfix) with ESMTP id 53BCA18398 for ; Tue, 27 Jan 2004 09:58:38 -0500 (EST) Received: from mail.pvrr.mps (mail.pvrr.mps [10.61.5.11]) by access.pvrr.ru (8.12.10/8.12.10) with ESMTP id i0REw3Bo089765 for ; Tue, 27 Jan 2004 17:58:37 +0300 (MSK) Received: from mail.pvrr.mps (root@localhost) by mail.pvrr.mps (8.12.9/8.12.8) with SMTP id i0REvIuF043000 for ; Tue, 27 Jan 2004 17:57:19 +0300 (MSK) Received: from ns.nxg.pvrr.mps (ns.nxg.pvrr.mps [10.61.19.129]) by mail.pvrr.mps (8.12.9/8.12.8) with ESMTP id i0REoqY9040277; Tue, 27 Jan 2004 17:51:07 +0300 (MSK) Received: from saratov.pvrr.mps (mx.nxg.pvrr.mps [10.61.19.139]) by ns.nxg.pvrr.mps (8.12.8/8.12.8) with ESMTP id i0RBcKJS001894; Tue, 27 Jan 2004 14:38:20 +0300 Message-ID: <40164A96.4080508@saratov.pvrr.mps> Date: Tue, 27 Jan 2004 14:25:10 +0300 From: Sergey Mihailov Reply-To: igorbounov@voronezh.serw.ru User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: gtk-list@gnome.org, gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Setting colour of a window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, All! I'v trying to change the background color of a GtkWindow in this way: this->get_window()->set_background(Gdk::Color("maroon")); this->get_window()->clear(); However, it is still gray . Where am I wrong? Igor Gorbounov From timf@trdlnk.com Tue Jan 27 12:30:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from trdlnk.com (postman.trdlnk.com [208.252.163.7]) by mail.gnome.org (Postfix) with ESMTP id 2EDA318AA6 for ; Tue, 27 Jan 2004 12:30:22 -0500 (EST) Received: from trdlnk.com (troll [10.10.2.12]) by trdlnk.com (8.12.9+Sun/8.12.9) with ESMTP id i0RHULM7027144 for ; Tue, 27 Jan 2004 11:30:21 -0600 (CST) Message-ID: <4016A02D.10100@trdlnk.com> Date: Tue, 27 Jan 2004 11:30:21 -0600 From: Tim Flechtner Reply-To: timf@trdlnk.com User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.5) Gecko/20031020 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801A057B6@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801A057B6@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Reducing the rows / columns of a Gtk::Table Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: i am trying to figure out the correct way to remove rows and columns from a Gtk::Table. this doesn't work: #include #include #include using namespace Gtk; using namespace std; int main(int argc, char** argv) { // The gtk context (event loop et al) in which this example will run. Main kit(argc, argv); Window w; Button *b1 = manage(new Button("One")); Button *b2 = manage(new Button("Two")); Table t; t.resize(1, 2); // works t.attach(*b1, 0, 1, 0, 1); t.attach(*b2, 1, 2, 0, 1); t.resize(1,1); // doesn't work w.add(t); w.show_all(); kit.run(); } this works: #include #include #include using namespace Gtk; using namespace std; int main(int argc, char** argv) { // The gtk context (event loop et al) in which this example will run. Main kit(argc, argv); Window w; Button *b1 = new Button("One"); Button *b2 = new Button("Two"); Table t; t.resize(1, 2); // works t.attach(*b1, 0, 1, 0, 1); t.attach(*b2, 1, 2, 0, 1); delete b2; // necessary to make resize work t.resize(1,1); // works now w.add(t); w.show_all(); kit.run(); } i suspect though, that this is not the intended way to use the table. i would certainly prefer to let manage work its wonders, and not worry about the memory for the widgets i attach in the table? is there a way to both use manage and be able to remove rows and columns from the table? thanks! -tim From B.Touron@citb.bull.net Tue Jan 27 13:21:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 6C6C518E56 for ; Tue, 27 Jan 2004 13:21:22 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0RILJ413039 for ; Tue, 27 Jan 2004 19:21:19 +0100 Message-ID: <4016AC52.7060902@citb.bull.net> Date: Tue, 27 Jan 2004 19:22:10 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Button question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello there ! I need to create a button containing an stock image (built in GTK), like Gtk::Stock::CANCEL. If I pass Gtk::Stock::CANCEL to the button's constructor, then the button contains the image AND the text (cancel). How can I avoid the button to display the text ? Thanks Ben From billyoc@gnuyork.org Tue Jan 27 14:16:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id DA4C118302 for ; Tue, 27 Jan 2004 14:16:21 -0500 (EST) Received: by gnuyork.org via sendmail from stdin id (Debian Smail3.2.0.115) Tue, 27 Jan 2004 14:13:01 -0500 (EST) To: =?iso-8859-1?q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Button question References: <4016AC52.7060902@citb.bull.net> From: Billy O'Connor Date: Tue, 27 Jan 2004 14:13:01 -0500 In-Reply-To: <4016AC52.7060902@citb.bull.net> =?iso-8859-1?q?=28Beno=EEt?= Touron's message of "Tue, 27 Jan 2004 19:22:10 +0100") Message-ID: <87llntgq82.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Beno=EEt Touron writes: > Hello there ! > > I need to create a button containing an stock image (built in GTK), > like Gtk::Stock::CANCEL. > If I pass Gtk::Stock::CANCEL to the button's constructor, then the > button contains the image AND the text (cancel). > How can I avoid the button to display the text ? > Use the Gtk::Button::add_pixlabel() member function to set the pixmap and optional text you want(or don't) displayed. See the example program: gtkmm/examples/book/buttons/button From chris@cvine.freeserve.co.uk Tue Jan 27 17:30:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailm2.svr.pol.co.uk (cmailm2.svr.pol.co.uk [195.92.193.210]) by mail.gnome.org (Postfix) with ESMTP id E85A818549 for ; Tue, 27 Jan 2004 17:30:21 -0500 (EST) Received: from modem-2358.putangitangi.dialup.pol.co.uk ([81.78.201.54] helo=boulder.localdomain) by cmailm2.svr.pol.co.uk with esmtp (Exim 4.14) id 1Albit-0005xd-UO; Tue, 27 Jan 2004 22:30:20 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0RMQ2SR001333; Tue, 27 Jan 2004 22:26:02 GMT From: Chris Vine To: Alexander Bussman , gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window Date: Tue, 27 Jan 2004 22:26:01 +0000 User-Agent: KMail/1.5.4 References: <401665D6.90007@telia.com> In-Reply-To: <401665D6.90007@telia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401272226.01882.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tuesday 27 January 2004 1:21 pm, Alexander Bussman wrote: > Hi! > I wonder if it's a way to lock the application until a newly created > window is closed. > I need to do that because I want to grab a string from that window (that > the user writes). > > something like this I mean: > ... > mywindow.show(); > wait_until_mywindow_is_closed(); > std::string data = mywindow.getData(); > ... In the constructor of the new window put something like this (where 'parent' is a reference to the application window): set_transient_for(parent); parent.set_sensitive(false); set_modal(true); Chris. From buxman@telia.com Tue Jan 27 18:13:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from av7-2-sn4.m-sp.skanova.net (av7-2-sn4.m-sp.skanova.net [81.228.10.109]) by mail.gnome.org (Postfix) with ESMTP id 099D51826D for ; Tue, 27 Jan 2004 18:13:02 -0500 (EST) Received: by av7-2-sn4.m-sp.skanova.net (Postfix, from userid 502) id 783B237E43; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Received: from smtp2-1-sn4.m-sp.skanova.net (smtp2-1-sn4.m-sp.skanova.net [81.228.10.183]) by av7-2-sn4.m-sp.skanova.net (Postfix) with ESMTP id 69B5537E43 for ; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Received: from telia.com (h89n2fls303o885.telia.com [81.227.153.89]) by smtp2-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 298EB37E4D; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Message-ID: <4016F07C.7000304@telia.com> Date: Wed, 28 Jan 2004 00:13:00 +0100 From: Alexander Bussman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031115 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Vine Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window References: <401665D6.90007@telia.com> <200401272226.01882.chris@cvine.freeserve.co.uk> In-Reply-To: <200401272226.01882.chris@cvine.freeserve.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Chris Vine wrote: >In the constructor of the new window put something like this (where 'parent' >is a reference to the application window): > > set_transient_for(parent); > parent.set_sensitive(false); > set_modal(true); > >Chris. > > Thanks! I got it to work the way I wanted now. // Alexander Bussman From B.Touron@citb.bull.net Wed Jan 28 02:33:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 29D4018AE2 for ; Wed, 28 Jan 2004 02:33:41 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0S7Xe431524 for ; Wed, 28 Jan 2004 08:33:40 +0100 Message-ID: <401765FD.1060107@citb.bull.net> Date: Wed, 28 Jan 2004 08:34:21 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Button question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >Hello there ! >> >> I need to create a button containing an stock image (built in GTK), >> like Gtk::Stock::CANCEL. >> If I pass Gtk::Stock::CANCEL to the button's constructor, then the >> button contains the image AND the text (cancel). >> How can I avoid the button to display the text ? >> Use the Gtk::Button::add_pixlabel() member function to set the pixmap and optional text you want(or don't) displayed. See the example program: gtkmm/examples/book/buttons/button ---- Thanks Billy for your quick answer. Unfortunatly, this was not exactly what I needed. The add_pixlabel requires an external file (.xpm). I finally created a Gtk::Image containing the stock icon, and added it to the button. Thanks a lot anyway, and keep answering :-) Ben From Murray.Cumming@Comneon.com Wed Jan 28 03:12:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0DA711852B; Wed, 28 Jan 2004 03:12:56 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0S88aDb026350; Wed, 28 Jan 2004 09:08:37 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 09:13:18 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22E47@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: igorbounov@voronezh.serw.ru, gtk-list@gnome.org, gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 09:12:51 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: Setting colour of a window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > this->get_window()->set_background(Gdk::Color("maroon")); > this->get_window()->clear(); > > However, it is still gray . > Where am I wrong? I doubt that "maroon" is a supported color string, but I don't know what strings are supported. Murray Cumming www.murrayc.com murrayc@usa.net From morten@stud326.idi.ntnu.no Wed Jan 28 05:06:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ray.idi.ntnu.no (ray.idi.ntnu.no [129.241.107.68]) by mail.gnome.org (Postfix) with ESMTP id 5142918C0C for ; Wed, 28 Jan 2004 05:06:10 -0500 (EST) Received: from stud326.idi.ntnu.no (stud326.idi.ntnu.no [129.241.103.26]) by ray.idi.ntnu.no (8.12.10/8.12.10) with ESMTP id i0SA67Dw014618 for ; Wed, 28 Jan 2004 11:06:07 +0100 (MET) Received: (from morten@localhost) by stud326.idi.ntnu.no (8.12.10/8.12.10/Submit) id i0SA67Or011320 for gtkmm-list@gnome.org; Wed, 28 Jan 2004 11:06:07 +0100 (CET) (envelope-from morten) Date: Wed, 28 Jan 2004 11:06:07 +0100 From: Morten Rodal To: gtkmm-list@gnome.org Message-ID: <20040128100606.GA11138@stud326.idi.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, hits=-5.9 required=4 X-Virus-Scanned: by amavisd-new-IDI Subject: [gtkmm] Compiling programs with Intel C++ Compiler and gtkmm-2.2.8 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: When compiling a program with the Intel C++ Compiler (icc-8.0.058) on FreeBSD 5.2-CURRENT I get the following error: /usr/X11R6/include/gtkmm-2.0/gtkmm/enums.h(1321): error: qualified name is not allowed in namespace member declaration class Glib::Value : public Glib::Value_Enum The fix is simply: --- /tmp/enums.h.orig Wed Jan 28 11:03:16 2004 +++ /usr/X11R6/include/gtkmm-2.0/gtkmm/enums.h Wed Jan 28 11:03:25 2004 @@ -1318,7 +1318,7 @@ { template <> -class Glib::Value : public Glib::Value_Enum +class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; -- Morten Rodal From Murray.Cumming@Comneon.com Wed Jan 28 06:27:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id BE0D5181E5 for ; Wed, 28 Jan 2004 06:27:32 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0SBNEDb005700 for ; Wed, 28 Jan 2004 12:23:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 12:27:56 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 12:27:30 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] gtkmm 2.3.2 build problems Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is anybody else having a problem building 2.3.2?: http://bugzilla.gnome.org/show_bug.cgi?id=132362 Murray Cumming www.murrayc.com murrayc@usa.net From pavenis@latnet.lv Wed Jan 28 09:46:21 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from geomets2.hut.fi (geomets2.hut.fi [130.233.244.100]) by mail.gnome.org (Postfix) with ESMTP id 28C3918AC3 for ; Wed, 28 Jan 2004 09:46:20 -0500 (EST) Received: from geomets2.hut.fi (IDENT:1000@geomets2.hut.fi [130.233.244.100]) by geomets2.hut.fi (8.12.10/8.12.6) with ESMTP id i0SEl7PP011324; Wed, 28 Jan 2004 16:47:08 +0200 From: Andris Pavenis To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems Date: Wed, 28 Jan 2004 16:47:06 +0200 User-Agent: KMail/1.6 Cc: Murray.Cumming@Comneon.com References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200401281647.07301.pavenis@latnet.lv> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wednesday 28 January 2004 13:27, Murray.Cumming@Comneon.com wrote: > Is anybody else having a problem building 2.3.2?: > http://bugzilla.gnome.org/show_bug.cgi?id=132362 At least not I. gtkmm-2.3.2 built without problems for me. I used glib-2.3.2 glibmm-2.3.3 gtk-2.3.2 atk-1.5.2 pango-1.3.2 gcc-3.3.2 glibc-2.3.2 Distribution: Slackware-current Andris From pjmlp@progtools.org Wed Jan 28 10:44:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id 6FB0E18437 for ; Wed, 28 Jan 2004 10:43:58 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0SFhrEh026554 for ; Wed, 28 Jan 2004 16:43:54 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <4017D8B9.5020604@progtools.org> Date: Wed, 28 Jan 2004 16:43:53 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Problems checking out some packages from CVS Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I've just checked out gnomemm from CVS using the gnome-2-4 tag. I was able to build almost everything besides the following packages: - gnomemm_hello - gtkmm_hello - libgnomeuimm - libpanelappletmm The first two don't accept the automake/autoconf versions that every other package accepts. And for the last two, that are the ones that really matter, I just get a couple of empty directories. Did I do something wrong? -- Paulo Pinto From Murray.Cumming@Comneon.com Wed Jan 28 11:15:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 2CFDB18683 for ; Wed, 28 Jan 2004 11:15:29 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0SGB8Db015937; Wed, 28 Jan 2004 17:11:08 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 17:15:51 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EB5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pjmlp@progtools.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Problems checking out some packages from CVS Date: Wed, 28 Jan 2004 17:15:22 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > - gnomemm_hello > - gtkmm_hello I have not branched these. HEAD should work with gtkmm 2.2. > - libgnomeuimm > - libpanelappletmm > > The first two don't accept the automake/autoconf > versions that every other package accepts. Are you using autogen.sh. Please give details in a bug report. > And for the last two, that are the ones that really > matter, I just get a couple of empty directories. Please try again. Here are the branch names: http://www.gtkmm.org/cvs.shtml Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Wed Jan 28 11:21:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 4D32A183A6 for ; Wed, 28 Jan 2004 11:21:25 -0500 (EST) Received: by gnuyork.org via sendmail from stdin id (Debian Smail3.2.0.115) Wed, 28 Jan 2004 11:18:05 -0500 (EST) To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Wed, 28 Jan 2004 11:18:05 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Wed, 28 Jan 2004 12:27:30 +0100") Message-ID: <87d694caiq.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > Is anybody else having a problem building 2.3.2?: > http://bugzilla.gnome.org/show_bug.cgi?id=132362 > I couldn't reproduce this with Debian Sid. Billy From vlad@integ.com Wed Jan 28 11:45:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from blaise.integ.local (mail2.integ.com [207.32.114.40]) by mail.gnome.org (Postfix) with ESMTP id CD5CE18639 for ; Wed, 28 Jan 2004 11:45:40 -0500 (EST) Received: from vgrinche-nt.integ.com [172.16.1.173] by blaise.integ.local with XWall v3.27 ; Wed, 28 Jan 2004 11:45:31 -0500 Received: from vgrinche-nt.integ.local (localhost [127.0.0.1]) by vgrinche-nt.integ.local (8.12.8/8.12.5) with ESMTP id i0SGjVEn002103; Wed, 28 Jan 2004 11:45:31 -0500 Received: (from vlad@localhost) by vgrinche-nt.integ.local (8.12.8/8.12.5/Submit) id i0SGjUBR002101; Wed, 28 Jan 2004 11:45:30 -0500 Date: Wed, 28 Jan 2004 11:45:30 -0500 From: Vladislav Grinchenko To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] how to set appended Notebook page active? Message-ID: <20040128164530.GA1580@vgrinche-nt.integ.com> References: <40162D19.7030707@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <40162D19.7030707@gmx.de> User-Agent: Mutt/1.4.1i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, Jan 27, 2004 at 10:19:21AM +0100, Andreas B. Thun wrote: > Hi! > > When I append a second VBox to my notebook with > m_Notebook.append_page(*VBoxRight, notebookTabName); > > the first notebook page is still displayed active. > > I´ve tried > m_Notebook.set_current_page(1); // activate 2nd > but it has no effect. > > Can somebody help? Andi, have you tried m_Notebook.set_current_page(*VBoxRight) ? -Vlad -- ______________________________________________________ Vladislav Grinchenko e-mail (w): vgrinche@integ.com Software Engineer (h): 3rdshift@comcast.net Integral Systems, Inc. Focus on quality, and productivity will follow. ______________________________________________________ From abhatnag@mda.ca Wed Jan 28 13:37:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 564201826A for ; Wed, 28 Jan 2004 13:37:54 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0SIbpW12809 for ; Wed, 28 Jan 2004 10:37:52 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 28 Jan 2004 10:37:51 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A2694284DE@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 10:37:50 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: [gtkmm] Symbology and annotations "on top" of my images. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I plan on using a drawing area widget to display images where the user may want to place some symbology and textual annotations at various locations on the image. I am wondering how GTK / GdkPixbuf will facilitate this. Ideally, I would like to treat the symbology and text annotations as "layers" where the user would be able to toggle on and off the display of the symbology/annotations, and possibly drag them to different positions. Does GTK / GdkPixbuf allow me to do something like this? If not, what would be an approach to take? thanks again. amit. From moses@gcecisp.com Wed Jan 28 15:51:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gcecisp.com (mail.gcecisp.com [208.14.31.3]) by mail.gnome.org (Postfix) with SMTP id 1402118D79 for ; Wed, 28 Jan 2004 15:51:52 -0500 (EST) Received: (qmail 9064 invoked from network); 28 Jan 2004 20:56:47 -0000 Received: from unknown (HELO gcecisp.com) (208.14.26.121) by mail.gcecisp.com with SMTP; 28 Jan 2004 20:56:47 -0000 Message-ID: <4018227C.2080704@gcecisp.com> Date: Wed, 28 Jan 2004 14:58:36 -0600 From: Moses McKnight User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 X-Accept-Language: en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Notebook tab scrolling Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, Is there a way to scroll just the tabs in a notebook instead of switching between pages? Moses From murrayc@murrayc.com Wed Jan 28 16:54:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jareth.dreamhost.com (jareth.dreamhost.com [66.33.198.201]) by mail.gnome.org (Postfix) with ESMTP id 83E4C18BBC for ; Wed, 28 Jan 2004 16:54:45 -0500 (EST) Received: from localhost.localdomain (unknown [80.121.222.26]) by jareth.dreamhost.com (Postfix) with ESMTP id B45476B60F; Wed, 28 Jan 2004 13:54:43 -0800 (PST) Subject: Re: [gtkmm] Notebook tab scrolling From: Murray Cumming To: Moses McKnight Cc: gtkmm-list In-Reply-To: <4018227C.2080704@gcecisp.com> References: <4018227C.2080704@gcecisp.com> Content-Type: text/plain Message-Id: <1075326702.13200.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 28 Jan 2004 22:51:43 +0100 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > Hi, > > Is there a way to scroll just the tabs in a notebook instead of switching > between pages? I'm not sure what you mean. Murray From ghenriks@rogers.com Wed Jan 28 21:37:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep03-mail.bloor.is.net.cable.rogers.com (fep03-mail.bloor.is.net.cable.rogers.com [66.185.86.73]) by mail.gnome.org (Postfix) with ESMTP id 8CACA1813C for ; Wed, 28 Jan 2004 21:37:41 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep03-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040129023412.FQKB146807.fep03-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Wed, 28 Jan 2004 21:34:12 -0500 From: Gerald Henriksen To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems Date: Wed, 28 Jan 2004 21:34:24 -0500 Message-ID: References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep03-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Wed, 28 Jan 2004 21:34:12 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 28 Jan 2004 12:27:30 +0100, you wrote: >Is anybody else having a problem building 2.3.2?: >http://bugzilla.gnome.org/show_bug.cgi?id=3D132362 No problems with Fedora Devel. From moses@gcecisp.com Wed Jan 28 22:31:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gcecisp.com (mail.gcecisp.com [208.14.31.3]) by mail.gnome.org (Postfix) with SMTP id E44B018BB6 for ; Wed, 28 Jan 2004 22:31:46 -0500 (EST) Received: (qmail 23848 invoked from network); 29 Jan 2004 03:36:45 -0000 Received: from unknown (HELO gcecisp.com) (208.14.26.121) by mail.gcecisp.com with SMTP; 29 Jan 2004 03:36:45 -0000 Message-ID: <40188042.5060106@gcecisp.com> Date: Wed, 28 Jan 2004 21:38:42 -0600 From: Moses McKnight User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 X-Accept-Language: en MIME-Version: 1.0 To: Murray Cumming Cc: gtkmm-list Subject: Re: [gtkmm] Notebook tab scrolling References: <4018227C.2080704@gcecisp.com> <1075326702.13200.2.camel@localhost.localdomain> In-Reply-To: <1075326702.13200.2.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: If you set_scrollable(true) it shows arrows to scroll the tabs if there are too many to fit in the area. When you scroll the tabs it actually switches pages as you scroll through the tabs. In MS Windows when you scroll tabs it just scrolls the tabs and then you click on the highlighted tab if you want to switch to that page. Murray Cumming wrote: > On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > >>Hi, >> >>Is there a way to scroll just the tabs in a notebook instead of switching >>between pages? > > > I'm not sure what you mean. > > Murray > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From Erik@mail.echohome.org Wed Jan 28 23:02:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server.echohome.org (s233-64-29-217.try.wideopenwest.com [64.233.217.29]) by mail.gnome.org (Postfix) with ESMTP id A62EA1816E for ; Wed, 28 Jan 2004 23:02:18 -0500 (EST) Received: from echo (echo.echohome.org [192.168.2.254]) by server.echohome.org (8.12.8/8.12.8) with ESMTP id i0T42Gxb014846 for ; Wed, 28 Jan 2004 23:02:17 -0500 Reply-To: From: "Erik Ch. Ohrnberger" To: "'gtkmm-list'" Subject: RE: [gtkmm] Notebook tab scrolling Date: Wed, 28 Jan 2004 23:02:16 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <40188042.5060106@gcecisp.com> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Speaking of arrows to scroll through notebook pages, is there a way to make the arrows larger than what they are by default? I'm building a touch screen application and those arrows are too small for fingers. Thanks, Erik. > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Moses McKnight > Sent: Wednesday, January 28, 2004 10:39 PM > To: Murray Cumming > Cc: gtkmm-list > Subject: Re: [gtkmm] Notebook tab scrolling > > > If you set_scrollable(true) it shows arrows to scroll the > tabs if there are too > many to fit in the area. When you scroll the tabs it > actually switches pages as > you scroll through the tabs. In MS Windows when you scroll > tabs it just scrolls > the tabs and then you click on the highlighted tab if you > want to switch to that > page. > > Murray Cumming wrote: > > On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > > > >>Hi, > >> > >>Is there a way to scroll just the tabs in a notebook instead of > >>switching > >>between pages? > > > > > > I'm not sure what you mean. > > > > Murray > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-> list > > > > > > _______________________________________________ > > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From ramachandrap@dpsl.net Wed Jan 28 23:37:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id A6E64180F7 for ; Wed, 28 Jan 2004 23:37:03 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:19:31 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id DMBQJXX4; Thu, 29 Jan 2004 10:19:22 +0530 Received: FROM comp448 BY khyber.enigma ; Thu Jan 29 10:19:20 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Cc: Vijay D , Nilesh S , Pramod S , Manjit D , Subramaniam R , Nishikant K , Girish P , Manoj K Message-ID: <002f01c3e622$4eec6e60$5f0210ac@enigma> Date: Thu, 29 Jan 2004 10:12:32 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01C3E650.6899FC00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Key press events not captured for some keys Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_002C_01C3E650.6899FC00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I have developed a gtkmm application under Redhat Linux 7.3, gcc 2.96=20 and gtkmm 2.0, that shows a simple window.I am trying to obtain key press=20 events on the window. I am using "on_key_press(GdkEvent *key)" method to get the values of = key pressed, what i found was that for keys like "Enter", "Space Bar" and all=20 arrow keys, no event key_press is generated. I wrote on_key_release_event(GdkEvent *key), the same keys "Enter",=20 "Space bar" and all arrow keys. It generates the release event only. i.e. no key=20 press event is generated, but the release event is fired. I also noticed that for system reserved keys in KDE, like ALT-F1 for = Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the = system executes them for its use before I can capture it. So my query is, 1. What is the code for capturing key press events ? 2. How to catch the system reserved keys before their execution by the system ? Below is Code snippet for you to try out what I have stated above, Any help would be great appreciated, Regards, Ramachandra #include #include #include #include #include class CWindow: public Gtk::Window { public: CWindow(); ~CWindow(); bool on_window1_key_press_event(GdkEventKey *Key); bool on_window1_key_release_event(GdkEventKey *Key); }; CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) { Gtk::Window *window1 =3D this; window1->set_title("window1"); window1->set_modal(false); window1->set_position(Gtk::WIN_POS_NONE); window1->show(); window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_= window1_key_press_event)); window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::o= n_window1_key_release_event)); } CWindow::~CWindow() { } bool CWindow::on_window1_key_press_event(GdkEventKey *Key) { printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); return true; } bool CWindow::on_window1_key_release_event(GdkEventKey *Key) { printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); return true; } int main(int argc, char **argv) { Gtk::Main m(argc, argv); CWindow *ptrWindow =3D new class CWindow(); m.run(*ptrWindow); delete ptrWindow; ptrWindow =3D 0; return 0; } ------=_NextPart_000_002C_01C3E650.6899FC00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,

I have developed a gtkmm application under Redhat Linux = 7.3, gcc=20 2.96
and gtkmm 2.0, that shows a simple window.I am trying to = obtain key=20 press
events on the window.

I am using = "on_key_press(GdkEvent=20 *key)" method to get the values of key
pressed, what i found was = that for=20 keys like "Enter", "Space Bar" and  all
arrow keys, no event = key_press=20 is generated.

I wrote on_key_release_event(GdkEvent *key), the = same keys=20 "Enter",
"Space bar" and  all arrow keys. It  = generates the=20 release event only. i.e. no key
press event is generated, but the = release=20 event is fired.

I also noticed that for system reserved = keys in=20 KDE, like ALT-F1 for Run command, CTRL-f2 is for desktop 2,=20 when I pressed these keys, the system executes them for its use = before I=20 can capture it.

So my query=20 is,
1. What is the code for capturing key = press events=20 ?
2. How to catch=20 the system reserved keys before their execution by the system = ?

Below is=20 Code snippet for you to try out what I have stated=20 above,
Any help would=20 be great appreciated,
Regards,
Ramachandra



#include <stdio.h>
#include=20 <gdkmm/gc.h>
#include <gdk/gdkkeysyms.h>
#include=20 <gtkmm/window.h>
#include <gtkmm/main.h>
class = CWindow: public=20 Gtk::Window
{

  = public:
CWindow();
~CWindow();

bool=20 on_window1_key_press_event(GdkEventKey *Key);
bool=20 on_window1_key_release_event(GdkEventKey = *Key);
};

CWindow::CWindow():=20 Gtk::Window(Gtk::WINDOW_TOPLEVEL)
{
Gtk::Window *window1 =3D=20 this;
   window1->set_title("window1");
   = window1->set_modal(false);
  =20 window1->set_position(Gtk::WIN_POS_NONE);
  =20 window1->show();

window1->signal_key_press_event().connect(= SigC::slot(*this,&CWindow::on_window1_key_press_event));

wind= ow1->signal_key_release_event().connect(SigC::slot(*this,&CWindow= ::on_window1_key_release_event));
}
CWindow::~CWindow()
{
}<= BR>bool=20 CWindow::on_window1_key_press_event(GdkEventKey = *Key)
{
printf("\n Key=20 Presssed is %s\n",gdk_keyval_name(Key->keyval));
return=20 true;
}

bool = CWindow::on_window1_key_release_event(GdkEventKey=20 *Key)
{
printf("\n Key Released is %s=20 \n",gdk_keyval_name(Key->keyval));
return = true;
}


int=20 main(int argc, char **argv)
{

    Gtk::Main = m(argc,=20 argv);
CWindow *ptrWindow =3D new class=20 CWindow();
m.run(*ptrWindow);
delete ptrWindow;
ptrWindow =3D=20 0;
return=20 0;
}









------=_NextPart_000_002C_01C3E650.6899FC00-- From alberto@paro.homeunix.org Thu Jan 29 02:25:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep05-svc.flexmail.it (fep05.tuttopmi.it [212.131.248.83]) by mail.gnome.org (Postfix) with ESMTP id 6470A18E54 for ; Thu, 29 Jan 2004 02:25:06 -0500 (EST) Received: from paro.homeunix.org ([82.88.53.142]) by fep05-svc.flexmail.it with ESMTP id <20040129072502.RRUT3949.fep05-svc.flexmail.it@paro.homeunix.org> for ; Thu, 29 Jan 2004 08:25:02 +0100 Message-ID: <4018B63F.70208@paro.homeunix.org> Date: Thu, 29 Jan 2004 08:29:03 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >Is anybody else having a problem building 2.3.2?: >http://bugzilla.gnome.org/show_bug.cgi?id=132362 > > No problem with gentoo linux (arch=~x86) Alberto Paro From B.Touron@citb.bull.net Thu Jan 29 03:07:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 40DDE18C50 for ; Thu, 29 Jan 2004 03:07:36 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0T87Z408565 for ; Thu, 29 Jan 2004 09:07:35 +0100 Message-ID: <4018BF62.2040307@citb.bull.net> Date: Thu, 29 Jan 2004 09:08:02 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::ScrolledWindow add/remove problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello again, I am writing an app using a pane window. In the left side, there is a tree and in the right part a Gtk::ScrolledWindow. When the tree selection changes, I need to change the widget contained in the ScrolledWindow. To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). It works a couple of times (usually 3), then it crashes (access violation), in the add mathod. I am using gtkmm 2.2 under win32, built with VS.NET 2003. Is it an issue ? I probably could do it a different way, but I would like to know if it is a GTK's bug, or a developper's bug. Thanks Ben From find_all@hotmail.com Thu Jan 29 04:18:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f40.sea2.hotmail.com [207.68.165.40]) by mail.gnome.org (Postfix) with ESMTP id 46E8A183B2 for ; Thu, 29 Jan 2004 04:18:31 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 29 Jan 2004 01:18:30 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Thu, 29 Jan 2004 09:18:30 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Thu, 29 Jan 2004 09:18:30 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 29 Jan 2004 09:18:30.0524 (UTC) FILETIME=[DC572BC0:01C3E648] Subject: [gtkmm] Draw lines into a Gdk::Pixbuf Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is there a way to draw lines,rectangles... directly to a Gdk::Pixbuf in the same way as the functions draw_line,draw_rectangle... of Gdk::Drawable? _________________________________________________________________ Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/ From Murray.Cumming@Comneon.com Thu Jan 29 04:26:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id CEE2118F70 for ; Thu, 29 Jan 2004 04:26:36 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9LxDb006804; Thu, 29 Jan 2004 10:22:02 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:26:42 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EDB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Cc: vijayd@enigma.gnome.org, sonawanen@enigma.gnome.org, pramods@enigma.gnome.org, manjitd@enigma.gnome.org, subramanianr@enigma.gnome.org, nishikantk@enigma.gnome.org, girishp@enigma.gnome.org, manojk@enigma.gnome.org Subject: RE: [gtkmm] Key press events not captured for some keys Date: Thu, 29 Jan 2004 10:26:14 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: You might try using connect_notify() instead of connect(), to handle the signal before anything else does. That's the gtkmm equivalent of connect_before for GTK+. Here is a similar problem: http://bugzilla.gnome.org/show_bug.cgi?id=125969 I don't think that you can ever handle the key event before the window manager does. Please send emails as text rather than HTML. Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Ramachandra Putti Sent: Donnerstag, 29. Januar 2004 05:43 To: gtkmm-list@gnome.org Cc: Vijay D; Nilesh S; Pramod S; Manjit D; Subramaniam R; Nishikant K; Girish P; Manoj K Subject: [gtkmm] Key press events not captured for some keys Hi all, I have developed a gtkmm application under Redhat Linux 7.3, gcc 2.96 and gtkmm 2.0, that shows a simple window.I am trying to obtain key press events on the window. I am using "on_key_press(GdkEvent *key)" method to get the values of key pressed, what i found was that for keys like "Enter", "Space Bar" and all arrow keys, no event key_press is generated. I wrote on_key_release_event(GdkEvent *key), the same keys "Enter", "Space bar" and all arrow keys. It generates the release event only. i.e. no key press event is generated, but the release event is fired. I also noticed that for system reserved keys in KDE, like ALT-F1 for Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the system executes them for its use before I can capture it. So my query is, 1. What is the code for capturing key press events ? 2. How to catch the system reserved keys before their execution by the system ? Below is Code snippet for you to try out what I have stated above, Any help would be great appreciated, Regards, Ramachandra #include #include #include #include #include class CWindow: public Gtk::Window { public: CWindow(); ~CWindow(); bool on_window1_key_press_event(GdkEventKey *Key); bool on_window1_key_release_event(GdkEventKey *Key); }; CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) { Gtk::Window *window1 = this; window1->set_title("window1"); window1->set_modal(false); window1->set_position(Gtk::WIN_POS_NONE); window1->show(); window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_wind ow1_key_press_event)); window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::on_wi ndow1_key_release_event)); } CWindow::~CWindow() { } bool CWindow::on_window1_key_press_event(GdkEventKey *Key) { printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); return true; } bool CWindow::on_window1_key_release_event(GdkEventKey *Key) { printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); return true; } int main(int argc, char **argv) { Gtk::Main m(argc, argv); CWindow *ptrWindow = new class CWindow(); m.run(*ptrWindow); delete ptrWindow; ptrWindow = 0; return 0; } From tor.arvid.lund@idi.ntnu.no Thu Jan 29 04:37:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ray.idi.ntnu.no (ray.idi.ntnu.no [129.241.107.68]) by mail.gnome.org (Postfix) with ESMTP id D194A18825 for ; Thu, 29 Jan 2004 04:37:22 -0500 (EST) Received: from idi.ntnu.no (stud355.idi.ntnu.no [129.241.103.55]) by ray.idi.ntnu.no (8.12.10/8.12.10) with ESMTP id i0T9bJDw013905 for ; Thu, 29 Jan 2004 10:37:19 +0100 (MET) Message-ID: <4018D44F.70703@idi.ntnu.no> Date: Thu, 29 Jan 2004 10:37:19 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::ScrolledWindow add/remove problem References: <4018BF62.2040307@citb.bull.net> In-Reply-To: <4018BF62.2040307@citb.bull.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=-2.1 required=4 X-Virus-Scanned: by amavisd-new-IDI Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Hello again, > > I am writing an app using a pane window. In the left side, there is a > tree and in the right part a Gtk::ScrolledWindow. > When the tree selection changes, I need to change the widget contained > in the ScrolledWindow. > To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). > It works a couple of times (usually 3), then it crashes (access > violation), in the add mathod. Well, I'm not an expert, but I have had the exact same problem, and worked around it... My guess is that when you create the ScrolledWindow with Gtk::manage(new ...), you make sort of a garbage collection thingy for it. Then when you do m_scroll.remove(), the garbage collection deletes it from memory. This means that when you switch once, and then switch back, the program crashes because you try to insert a deleted object. Whether I'm right or wrong here, I worked around it by simply removing the Gtk::manage() around the creation of the ScrolledWindow instances. -Tor Arvid- From bevis@anvil.com Thu Jan 29 04:47:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 9F886184F6 for ; Thu, 29 Jan 2004 04:47:18 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id E93E12D6; Thu, 29 Jan 2004 09:46:46 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 8F3972D1; Thu, 29 Jan 2004 09:46:45 +0000 (GMT) Message-ID: <4018D68A.1040707@anvil.co.uk> Date: Thu, 29 Jan 2004 09:46:50 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ramachandra Putti Cc: gtkmm-list@gnome.org, Manjit D Subject: Re: [gtkmm] Key press events not captured for some keys References: <002f01c3e622$4eec6e60$5f0210ac@enigma> In-Reply-To: <002f01c3e622$4eec6e60$5f0210ac@enigma> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've come across this bug. I got round it by using the release event, but I'll try that connect_notify() and see what happens. bevis > > > I am using "on_key_press(GdkEvent *key)" method to get the values of key > pressed, what i found was that for keys like "Enter", "Space Bar" and > all > arrow keys, no event key_press is generated. > > I wrote on_key_release_event(GdkEvent *key), the same keys "Enter", > "Space bar" and all arrow keys. It generates the release event only. > i.e. no key > press event is generated, but the release event is fired. > > I also noticed that for system reserved keys in KDE, like ALT-F1 for > Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the > system executes them for its use before I can capture it. > > So my query is, > 1. What is the code for capturing key press events ? > 2. How to catch the system reserved keys before their execution by the > system ? > > Below is Code snippet for you to try out what I have stated above, > Any help would be great appreciated, > Regards, > Ramachandra > > > > #include > #include > #include > #include > #include > class CWindow: public Gtk::Window > { > > public: > CWindow(); > ~CWindow(); > > bool on_window1_key_press_event(GdkEventKey *Key); > bool on_window1_key_release_event(GdkEventKey *Key); > }; > > CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) > { > Gtk::Window *window1 = this; > window1->set_title("window1"); > window1->set_modal(false); > window1->set_position(Gtk::WIN_POS_NONE); > window1->show(); > > window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_window1_key_press_event)); > > window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::on_window1_key_release_event)); > } > CWindow::~CWindow() > { > } > bool CWindow::on_window1_key_press_event(GdkEventKey *Key) > { > printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); > return true; > } > > bool CWindow::on_window1_key_release_event(GdkEventKey *Key) > { > printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); > return true; > } > > > int main(int argc, char **argv) > { > > Gtk::Main m(argc, argv); > CWindow *ptrWindow = new class CWindow(); > m.run(*ptrWindow); > delete ptrWindow; > ptrWindow = 0; > return 0; > } > > > > > > > > From Murray.Cumming@Comneon.com Thu Jan 29 04:49:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D70DD183C1 for ; Thu, 29 Jan 2004 04:49:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9iiDb015727; Thu, 29 Jan 2004 10:44:44 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:49:27 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EE4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Erik@mail.echohome.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Notebook tab scrolling Date: Thu, 29 Jan 2004 10:49:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Speaking of arrows to scroll through notebook pages, is there > a way to make the arrows larger than what they are by default? This might be a theme issue. > I'm building a touch screen application and those arrows are > too small for fingers. I'm sure that it is possible, because this is an issue for people with limited mobility also. You might try asking on gnome-accessibility-list@gnome.org list if you don't find an answer elsewhere. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 29 04:50:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 5F98818312 for ; Thu, 29 Jan 2004 04:50:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9kRDb016567; Thu, 29 Jan 2004 10:46:27 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:51:10 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EE5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: tor.arvid.lund@idi.ntnu.no, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::ScrolledWindow add/remove problem Date: Thu, 29 Jan 2004 10:50:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Whether I'm right or wrong here, I worked around it by simply > removing > the Gtk::manage() around the creation of the ScrolledWindow instances. That makes sense. When you use manage(), you should expect it to be deleted when removed. I suppose we could say that an explicit remove() should stop the memory from being managed, but that's another question and might make things more confusing. Murray Cumming www.murrayc.com murrayc@usa.net From B.Touron@citb.bull.net Thu Jan 29 05:19:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 6235A18B62 for ; Thu, 29 Jan 2004 05:19:01 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0TAJ0413635 for ; Thu, 29 Jan 2004 11:19:00 +0100 Message-ID: <4018DE2D.2030802@citb.bull.net> Date: Thu, 29 Jan 2004 11:19:25 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::ScrolledWindow add/remove problem References: <4018BF62.2040307@citb.bull.net> <4018D44F.70703@idi.ntnu.no> In-Reply-To: <4018D44F.70703@idi.ntnu.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks for your answer. I finaly used a Gtk::notebook, and it works well. By the way I noticed that there is a Gtk::Widget::reparent method, allowing to move a widget from a container to another, avoiding the deletion of the widget. Maybe this is the solution. Thanks Ben > Benoît Touron wrote: > > > Hello again, > > > > I am writing an app using a pane window. In the left side, there is a > > tree and in the right part a Gtk::ScrolledWindow. > > When the tree selection changes, I need to change the widget > contained > in the ScrolledWindow. > > To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). > > It works a couple of times (usually 3), then it crashes (access > > violation), in the add mathod. > > > Well, I'm not an expert, but I have had the exact same problem, and > worked around it... My guess is that when you create the ScrolledWindow > with Gtk::manage(new ...), you make sort of a garbage collection thingy > for it. Then when you do m_scroll.remove(), the garbage collection > deletes it from memory. This means that when you switch once, and then > switch back, the program crashes because you try to insert a deleted > object. > > Whether I'm right or wrong here, I worked around it by simply removing > the Gtk::manage() around the creation of the ScrolledWindow instances. > > -Tor Arvid- > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From pjmlp@progtools.org Thu Jan 29 09:03:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id D8BD819003 for ; Thu, 29 Jan 2004 09:03:06 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0TE34Eh024742 for ; Thu, 29 Jan 2004 15:03:04 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <40191297.8070101@progtools.org> Date: Thu, 29 Jan 2004 15:03:03 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Porting problems Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Now I have a working version of gtkmm/gnomemm. :) And I am in the process of porting an application from 1.x to 2.x. The problem is that is been a while since I have done anything in gtkmm so I am a bit lost trying to figure out about the several changes. For example, does anyone know what happened to the following methods? Gnome::Dialog::close_hides() Gnome::Dialog::editable_enters() I wasn't able to find anything similar in Gtk::Dialog. Cheers, Paulo Pinto From Murray.Cumming@Comneon.com Thu Jan 29 11:33:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 118081841C for ; Thu, 29 Jan 2004 11:33:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0TGTMDb024582; Thu, 29 Jan 2004 17:29:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 17:34:06 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pjmlp@progtools.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Porting problems Date: Thu, 29 Jan 2004 17:33:39 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Gnome::Dialog::close_hides() That prevented auto-destruction of the Dialog's instance. That was silly, so you don't need to call this anymore. Also be careful that you are not catching any destroy signals or catching delete_event signals unnecessarily. Look at gtkmm 2 examples if in doubt - it's all simpler now. > Gnome::Dialog::editable_enters() This said that pressing enter would press a button instead of just putting the cursor into any editable widgeet. Maybe they fixed it so that you don't need this little hack. Murray Cumming www.murrayc.com murrayc@usa.net From pjmlp@progtools.org Thu Jan 29 11:44:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id EE42318121 for ; Thu, 29 Jan 2004 11:44:55 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0TGirEh016351; Thu, 29 Jan 2004 17:44:54 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <40193885.3010505@progtools.org> Date: Thu, 29 Jan 2004 17:44:53 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Porting problems References: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks Murray.Cumming@Comneon.com wrote: >>Gnome::Dialog::close_hides() >> >> > >That prevented auto-destruction of the Dialog's instance. That was silly, so >you don't need to call this anymore. Also be careful that you are not >catching any destroy signals or catching delete_event signals unnecessarily. >Look at gtkmm 2 examples if in doubt - it's all simpler now. > > > >>Gnome::Dialog::editable_enters() >> >> > >This said that pressing enter would press a button instead of just putting >the cursor into any editable widgeet. Maybe they fixed it so that you don't >need this little hack. > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > > From ian.michell@hanzi.co.uk Thu Jan 29 16:30:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id 854AE18585 for ; Thu, 29 Jan 2004 16:30:26 -0500 (EST) Received: (qmail 18835 invoked from network); 29 Jan 2004 21:30:24 -0000 Received: from unknown (HELO host217-137-30-32.no-dns-yet.ntli.net) (217.137.30.32) by memmoch.webdevworld.com with SMTP; 29 Jan 2004 21:30:24 -0000 From: Ian Michell To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1075411863.5716.3.camel@linux.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 29 Jan 2004 21:31:03 +0000 Content-Transfer-Encoding: 7bit Subject: [gtkmm] GTKMM classes handling local variables Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, Maybe someone can help me with this, I have only been developing with GTKMM for a little while so I am a little bit of a newbie. Right here is a piece of example code: class MyClass : public Gtk::Window { public: MyClass(); virtual ~MyClass(); private: VBox m_box; }; MyClass::MyClass() { Label _label("Hello World"); m_box.pack_start(_label, PACK_SHRINK); show_all_children); } MyClass::~MyClass() { } Right what I cannot understand is why this program will compile but my label will not be displayed? For some reason it will only work if I declare my Label in the class definition... I don't see why it is not working... :( Ian From matthew@alledora.co.uk Thu Jan 29 17:48:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mail.gnome.org (Postfix) with ESMTP id B2B891885E for ; Thu, 29 Jan 2004 17:48:08 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040129224807.CWFL17928.mta07-svc.ntlworld.com@alledora.co.uk> for ; Thu, 29 Jan 2004 22:48:07 +0000 Message-ID: <40198DF3.5060104@alledora.co.uk> Date: Thu, 29 Jan 2004 22:49:23 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::FileChooser API Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is it my imagination, or does Gtk::FileChooser::get_uris() return an SList* instead of a Glib::SArrayHandle (or whatever it is that get_filenames() gives back, or something similar)? Looks like something not completely wrapped. That's according to the 2.4 docs currently online. Should I have put this in Bugzilla instead of mentioning it here? btw, got Towel running with gtkmm 2.4 (today's CVS), FileChooser::get_filenames() is only giving me one file at a time at the moment, but at this stage that could easily be a GTK+ bug. I shall investigate further soon. From paul@linuxaudiosystems.com Thu Jan 29 18:03:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out002.verizon.net (out002pub.verizon.net [206.46.170.141]) by mail.gnome.org (Postfix) with ESMTP id 72F171901F for ; Thu, 29 Jan 2004 18:03:53 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([151.197.127.182]) by out002.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040129230350.ECVN23576.out002.verizon.net@dhin.linuxaudiosystems.com>; Thu, 29 Jan 2004 17:03:50 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0TN3nNq020299; Thu, 29 Jan 2004 18:03:49 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i0TN3nYw020295; Thu, 29 Jan 2004 18:03:49 -0500 Message-Id: <200401292303.i0TN3nYw020295@dhin.linuxaudiosystems.com> To: Ian Michell Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables In-reply-to: Your message of "Thu, 29 Jan 2004 21:31:03 GMT." <1075411863.5716.3.camel@linux.local> Date: Thu, 29 Jan 2004 18:03:48 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.197.127.182] at Thu, 29 Jan 2004 17:03:50 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >MyClass::MyClass() >{ ----> create a Label > Label _label("Hello World"); > m_box.pack_start(_label, PACK_SHRINK); > show_all_children); ------> delete Label as it goes out of scope clear? From B.Touron@citb.bull.net Fri Jan 30 02:34:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 2274918F69 for ; Fri, 30 Jan 2004 02:34:51 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0U7Yo417073 for ; Fri, 30 Jan 2004 08:34:50 +0100 Message-ID: <401A092A.4090908@citb.bull.net> Date: Fri, 30 Jan 2004 08:35:06 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <1075411863.5716.3.camel@linux.local> In-Reply-To: <1075411863.5716.3.camel@linux.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ian, Your _label gets destroyed when you leave the constructor (MyClass::MyClass), because it's local. That's probably why it is not desplayed. You could either declare it in the class, or allocate it with new and use Gtk::Manage on the pointer: This code should work: MyClass::MyClass() { Label *_label = Gtk::Manage( new Label("Hello World")); m_box.pack_start(*_label, PACK_SHRINK); show_all_children(); } Ben > Hi all, > > Maybe someone can help me with this, I have only been developing with > GTKMM for a little while so I am a little bit of a newbie. > > Right here is a piece of example code: > > class MyClass : public Gtk::Window > { > public: > MyClass(); > virtual ~MyClass(); > private: > VBox m_box; > }; > > MyClass::MyClass() > { > Label _label("Hello World"); > m_box.pack_start(_label, PACK_SHRINK); > show_all_children); > } > > MyClass::~MyClass() > { > } > > Right what I cannot understand is why this program will compile but my > label will not be displayed? For some reason it will only work if I > declare my Label in the class definition... I don't see why it is not > working... :( > > Ian > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Fri Jan 30 03:09:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 108F618FBC for ; Fri, 30 Jan 2004 03:09:09 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0U84mDb022009; Fri, 30 Jan 2004 09:04:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 30 Jan 2004 09:09:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F6F@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: matthew@alledora.co.uk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::FileChooser API Date: Fri, 30 Jan 2004 09:09:04 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Is it my imagination, or does Gtk::FileChooser::get_uris() return an > SList* instead of a Glib::SArrayHandle (or whatever it is that > get_filenames() gives back, or something similar)? Looks like > something > not completely wrapped. That's according to the 2.4 docs > currently online. > > Should I have put this in Bugzilla instead of mentioning it here? Hopefully there is a TODO in the .hg file, but it never hurts to mention something in bugzilla. Even better, submit a patch. > btw, got Towel running with gtkmm 2.4 (today's CVS), > FileChooser::get_filenames() is only giving me one file at a > time at the > moment, but at this stage that could easily be a GTK+ bug. I shall > investigate further soon. That would be great. Thanks. Murray Cumming www.murrayc.com murrayc@usa.net From ian.michell@hanzi.co.uk Fri Jan 30 04:04:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id 0C728182B3 for ; Fri, 30 Jan 2004 04:04:29 -0500 (EST) Received: (qmail 1583 invoked from network); 30 Jan 2004 09:04:22 -0000 Received: from unknown (HELO hanzi.co.uk) (195.147.94.186) by memmoch.webdevworld.com with SMTP; 30 Jan 2004 09:04:22 -0000 Message-ID: <401A1E13.9090408@hanzi.co.uk> Date: Fri, 30 Jan 2004 09:04:19 +0000 From: Ian Michell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <1075411863.5716.3.camel@linux.local> <401A092A.4090908@citb.bull.net> In-Reply-To: <401A092A.4090908@citb.bull.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Ian, > > Your _label gets destroyed when you leave the constructor > (MyClass::MyClass), because it's local. > That's probably why it is not desplayed. > > You could either declare it in the class, or allocate it with new and > use Gtk::Manage on the pointer: > > This code should work: > > MyClass::MyClass() > { > Label *_label = Gtk::Manage( new Label("Hello World")); > m_box.pack_start(*_label, PACK_SHRINK); > show_all_children(); > } > > > Ben > >> Hi all, >> Maybe someone can help me with this, I have only been developing with >> GTKMM for a little while so I am a little bit of a newbie. >> >> Right here is a piece of example code: >> >> class MyClass : public Gtk::Window >> { >> public: >> MyClass(); >> virtual ~MyClass(); >> private: >> VBox m_box; >> }; >> >> MyClass::MyClass() >> { >> Label _label("Hello World"); >> m_box.pack_start(_label, PACK_SHRINK); >> show_all_children); >> } >> >> MyClass::~MyClass() >> { >> } >> >> Right what I cannot understand is why this program will compile but my >> label will not be displayed? For some reason it will only work if I >> declare my Label in the class definition... I don't see why it is not >> working... :( >> >> Ian >> >> _______________________________________________ >> gtkmm-list mailing list >> gtkmm-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/gtkmm-list >> > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > Thanks for the advice, I think I will give GTK::Manage a try, I think it will take a little getting used to, usually 90% of my c++ code is based around pointers, even my old GTK stuff (I used to wrap GTK into C++ before I discovered GTKMM). I would have thought the GTKMM team would have catered for the use of local varibles in some way, hence my obvious mistake of just trying to use them, I do however love the way GTKMM does a lot of things better than QT, oh well, right thanks again for the advice, I should now be able to continue my projects (Gnome Easy CD -- website and source tree coming soonish, Groupmage - native linux client for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- GnomeEasyInstall and GnomeAutoCD) hmm :-D From Murray.Cumming@Comneon.com Fri Jan 30 05:06:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 1205818D1A for ; Fri, 30 Jan 2004 05:06:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0UA2BDb009404; Fri, 30 Jan 2004 11:02:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 30 Jan 2004 11:06:56 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ian.michell@hanzi.co.uk, B.Touron@citb.bull.net Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] GTKMM classes handling local variables Date: Fri, 30 Jan 2004 11:06:30 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Thanks > for the advice, I think I will give > GTK::Manage a try, I think it > will take a little getting used to, usually 90% of my c++ > code is based > around pointers, even my old GTK stuff (I used to wrap GTK into C++ > before I discovered GTKMM). I would have thought the GTKMM team would > have catered for the use of local varibles in some way, This is basic C++ - you might read about "scope" in a C++ book. You might be used to using pointers instead, but you can use pointers here as well, as people have pointed out. As with Qt, when you use pointers you need to use new() or some create() function to get the pointer value. And you need to either a) use delete some time later, or b) use some memory-management system such as manage() or Qt's implicit manage(). So there is nothing unusual or wrong about this. I think you are mis-remembering your previous experience. Maybe you think that the gtkmm method should copy your local Label instance, by value, just as it would copy a std::string local instance. But Gtk::Widgets can not be copied, and it probably would not make sense to do so. See the archive for more theory about that, but you would probably not find that interesting. You might find this useful: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch18.html > hence > my obvious > mistake of just trying to use them, I do however love the way > GTKMM does > a lot of things better than QT, oh well, right thanks again for the > advice, I should now be able to continue my projects (Gnome > Easy CD -- > website and source tree coming soonish, Groupmage - native > linux client > for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- > GnomeEasyInstall and GnomeAutoCD) hmm :-D Murray Cumming www.murrayc.com murrayc@usa.net From ian.michell@hanzi.co.uk Fri Jan 30 05:23:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id BBF4818D1A for ; Fri, 30 Jan 2004 05:23:19 -0500 (EST) Received: (qmail 11738 invoked from network); 30 Jan 2004 10:23:13 -0000 Received: from unknown (HELO hanzi.co.uk) (195.147.94.186) by memmoch.webdevworld.com with SMTP; 30 Jan 2004 10:23:13 -0000 Message-ID: <401A3090.2050304@hanzi.co.uk> Date: Fri, 30 Jan 2004 10:23:12 +0000 From: Ian Michell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: B.Touron@citb.bull.net, gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >>Thanks >>for the advice, I think I will give >>GTK::Manage a try, I think it >>will take a little getting used to, usually 90% of my c++ >>code is based >>around pointers, even my old GTK stuff (I used to wrap GTK into C++ >>before I discovered GTKMM). I would have thought the GTKMM team would >>have catered for the use of local varibles in some way, >> >> > >This is basic C++ - you might read about "scope" in a C++ book. > >You might be used to using pointers instead, but you can use pointers here >as well, as people have pointed out. As with Qt, when you use pointers you >need to use new() or some create() function to get the pointer value. And >you need to either a) use delete some time later, or b) use some >memory-management system such as manage() or Qt's implicit manage(). So >there is nothing unusual or wrong about this. I think you are >mis-remembering your previous experience. > >Maybe you think that the gtkmm method should copy your local Label instance, >by value, just as it would copy a std::string local instance. But >Gtk::Widgets can not be copied, and it probably would not make sense to do >so. See the archive for more theory about that, but you would probably not >find that interesting. > >You might find this useful: >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch18.html > > > >>hence >>my obvious >>mistake of just trying to use them, I do however love the way >>GTKMM does >>a lot of things better than QT, oh well, right thanks again for the >>advice, I should now be able to continue my projects (Gnome >>Easy CD -- >>website and source tree coming soonish, Groupmage - native >>linux client >>for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- >>GnomeEasyInstall and GnomeAutoCD) hmm :-D >> >> > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > > > True, that it is basic c++, how silly of me, I think being forced to write software with .Net and C# has clouded my brain lol, this is the first C++ code I have written in about 4 or 5 months so it will be a couple more days until I am back in the loop again ;) ---- The only problem with being a proffesional developer (completely self taught!) is that I need to program in more languages than anyone else to stay at the top of my game and beat the boys with degrees in Computer Science, Math and Software Eng. From abt@gmx.de Fri Jan 30 05:51:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id CE847187E2 for ; Fri, 30 Jan 2004 05:51:01 -0500 (EST) Received: (qmail 25487 invoked by uid 65534); 30 Jan 2004 10:50:54 -0000 Received: from pD902B4C0.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.192) by mail.gmx.net (mp002) with SMTP; 30 Jan 2004 11:50:54 +0100 X-Authenticated: #109577 Message-ID: <401A36F3.5030702@gmx.de> Date: Fri, 30 Jan 2004 11:50:27 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] any hints how to realise this window? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I´d like to have a window like this. Is it right that I have to realise it with two list views? +------------------------------------------------------+ | | | available this C. | | +------------+ +------------+ | | | Group1 | | Group2 | | | | Group2 | add ------> | | | | | Group3 | | | | | | Group4 | <------ remove | | | | | Group5 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +------------+ +------------+ | | | | +-------+ | | | Apply | | | +-------+ | +------------------------------------------------------+ TIA, Andi From opl@opltech.net Fri Jan 30 16:44:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mwinf0302.wanadoo.fr (smtp3.wanadoo.fr [193.252.22.28]) by mail.gnome.org (Postfix) with ESMTP id 59C9018E82 for ; Fri, 30 Jan 2004 16:44:29 -0500 (EST) Received: from alakazam (Mix-Toulouse-112-3-18.w80-9.abo.wanadoo.fr [80.9.159.18]) by mwinf0302.wanadoo.fr (SMTP Server) with ESMTP id 4865FC000277 for ; Fri, 30 Jan 2004 22:44:27 +0100 (CET) Date: Fri, 30 Jan 2004 22:43:19 CET From: Francis Bacque To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: OplMail v0.75 Linux 2.4.20-gentoo-r5 Message-Id: <20040130214427.4865FC000277@mwinf0302.wanadoo.fr> Subject: [gtkmm] Invalid UTF8 string passed to pango_layout_set_text() Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, when I try to display text (with accent) in a treeview, I can't display these characters and got repeated messages in the console: WARNING **: Invalid UTF8 string passed to pango_layout_set_text() I had tried to convert them with: Glib::locale_to_utf8 ( const std::string& opsys_string ) But it didn't succeeded :-( What' s wrong? Thanks Francis From olau@hardworking.dk Fri Jan 30 18:58:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp040.tiscali.dk (smtp040.tiscali.dk [212.54.64.106]) by mail.gnome.org (Postfix) with ESMTP id 9F48D1844A for ; Fri, 30 Jan 2004 18:58:01 -0500 (EST) Received: from bach.composers (87.ppp1-1.abc.worldonline.dk [213.237.21.87]) by smtp040.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0UNvLRD017986 for ; Sat, 31 Jan 2004 00:57:22 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1Amfbm-0000GC-W8 for gtkmm-list@gnome.org; Fri, 30 Jan 2004 21:51:23 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Draw lines into a Gdk::Pixbuf References: From: Ole Laursen Date: Fri, 30 Jan 2004 21:51:22 +0100 In-Reply-To: (Find All's message of "Thu, 29 Jan 2004 09:18:30 +0000") Message-ID: <878yjpi2id.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Find All" writes: > Is there a way to draw lines,rectangles... directly to a Gdk::Pixbuf > in the same way as the functions draw_line,draw_rectangle... of > Gdk::Drawable? No, not as far as I know. But it's quite easy to do yourself if you make a proper frontend for the pixbuf interface. I've got one suggestion here: http://www.cs.auc.dk/~olau/misc/pixbuf-drawing.hpp I wrote a message about it on this list about a year ago or so with usage instructions: http://mail.gnome.org/archives/gtkmm-list/2003-January/msg00198.html Perhaps I should think about making a patch. -- Ole Laursen http://www.cs.auc.dk/~olau/ From n_gouda123@yahoo.com Sat Jan 31 09:25:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60504.mail.yahoo.com (web60504.mail.yahoo.com [216.109.116.125]) by mail.gnome.org (Postfix) with SMTP id 2788918800 for ; Sat, 31 Jan 2004 09:25:08 -0500 (EST) Message-ID: <20040131142503.87149.qmail@web60504.mail.yahoo.com> Received: from [164.164.89.226] by web60504.mail.yahoo.com via HTTP; Sat, 31 Jan 2004 06:25:03 PST Date: Sat, 31 Jan 2004 06:25:03 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] I want to Show multiple trees in mu GUI.... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I want to display multiple trees using my GUI. I tried with adding two trees to the paned objects. But Now i want to display more than 2 trees, Please can u tell me how to do it... Rgds, Naganagouda Meti. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From dss@home.se Sat Jan 31 10:39:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gepetto.dc.luth.se (gepetto.dc.luth.se [130.240.42.40]) by mail.gnome.org (Postfix) with ESMTP id 3349818493 for ; Sat, 31 Jan 2004 10:39:54 -0500 (EST) Received: from sumpan (sumpan.campus.luth.se [130.240.194.33]) by gepetto.dc.luth.se (8.12.5/8.12.5) with SMTP id i0VFdqgC022982; Sat, 31 Jan 2004 16:39:52 +0100 (MET) Date: Sat, 31 Jan 2004 16:39:52 +0100 From: Daniel Sundberg To: Nagan gouda Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I want to Show multiple trees in mu GUI.... Message-Id: <20040131163952.2a79e3ec.dss@home.se> In-Reply-To: <20040131142503.87149.qmail@web60504.mail.yahoo.com> References: <20040131142503.87149.qmail@web60504.mail.yahoo.com> X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sat, 31 Jan 2004 06:25:03 -0800 (PST) Nagan gouda wrote: > Hi, > I want to display multiple trees using my GUI. I > tried with adding two trees to the paned objects. But > Now i want to display more than 2 trees, Please can u > tell me how to do it... > You could put another paned object in one of the two windows of a paned... Daniel Sundberg -- http://sumpan.com sumpan@sumpan.com > > Rgds, > Naganagouda Meti. > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Stefan.Andressen@t-online.de Wed Dec 31 19:40:06 2003 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mail.gnome.org (Postfix) with ESMTP id F3C761833A for ; Wed, 31 Dec 2003 19:40:05 -0500 (EST) Received: from fwd01.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1Abqsf-0000ly-00; Thu, 01 Jan 2004 01:40:05 +0100 Received: from stefanxp1800 (XLy6AOZJ8eG7snzghJniZ9ZlvbMwlhv7VG62F9IhovZMExPi5WVLoI@[193.158.182.83]) by fwd01.sul.t-online.com with smtp id 1AbqsV-1Nb9ua0; Thu, 1 Jan 2004 01:39:55 +0100 Message-ID: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 1 Jan 2004 01:39:52 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C3D008.26B22230" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: XLy6AOZJ8eG7snzghJniZ9ZlvbMwlhv7VG62F9IhovZMExPi5WVLoI Subject: [gtkmm] Which dlls to distribute Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0016_01C3D008.26B22230 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I am new to gtkmm and i have no idea which dlls (windows here) i have to = ship with my application. Only the gtkmm dlls? Or the gtk+ dlls, too? Thanks in advance! CU, Stefan ------=_NextPart_000_0016_01C3D008.26B22230 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I am new to gtkmm and i have no idea = which dlls=20 (windows here) i have to ship with my application.
Only the gtkmm dlls? Or the gtk+ dlls,=20 too?
 
Thanks in advance!
 
CU,
Stefan
------=_NextPart_000_0016_01C3D008.26B22230-- From Stefan.Andressen@t-online.de Thu Jan 1 11:08:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mail.gnome.org (Postfix) with ESMTP id 6B97118129 for ; Thu, 1 Jan 2004 11:08:10 -0500 (EST) Received: from fwd10.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1Ac5Mk-0005KU-00; Thu, 01 Jan 2004 17:08:06 +0100 Received: from stefanxp1800 (ZGyfqeZZgefX46ZDDxG4xvNpdVE3l3rqkNt3RLN44M1GKnwCMuFD8D@[62.224.223.126]) by fwd10.sul.t-online.com with smtp id 1Ac5MJ-1fs5PU0; Thu, 1 Jan 2004 17:07:39 +0100 Message-ID: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 1 Jan 2004 17:07:36 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C3D089.C0E2ECA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: ZGyfqeZZgefX46ZDDxG4xvNpdVE3l3rqkNt3RLN44M1GKnwCMuFD8D Subject: [gtkmm] radiobutton under winxp Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C3D089.C0E2ECA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I compiled the radiobutton example from the gtkmm-book, and when a = radiobutton is selected, it simply doesn't fill the circle (for winxp = with a green dot). Is there a workaround? I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. Thanks! Happy new year, Stefan ------=_NextPart_000_0005_01C3D089.C0E2ECA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I compiled the radiobutton example from = the=20 gtkmm-book, and when a radiobutton is selected, it simply doesn't fill = the=20 circle (for winxp with a green dot).
Is there a workaround?
I am using gtkmm 2.2.8.1 with g++ 3.2 = and=20 Dev-Cpp.
 
Thanks!
Happy new year,
Stefan
------=_NextPart_000_0005_01C3D089.C0E2ECA0-- From abt@gmx.de Thu Jan 1 11:34:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id E1C201815F for ; Thu, 1 Jan 2004 11:34:38 -0500 (EST) Received: (qmail 22091 invoked by uid 65534); 1 Jan 2004 16:34:37 -0000 Received: from dialin-145-254-065-221.arcor-ip.net (EHLO gmx.de) (145.254.65.221) by mail.gmx.net (mp005) with SMTP; 01 Jan 2004 17:34:37 +0100 X-Authenticated: #109577 Message-ID: <3FF44C18.7060404@gmx.de> Date: Thu, 01 Jan 2004 17:34:32 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi and a happy new year to everyone! I´d like to have a window like the detailed list view in KDE Konquerer (is it QT?) and I wonder if there is any way to create a lookalike with GTKmm. You can see the screenshots here: http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite Click on the image to view the window I´d like to create.... With "Next" you can view my GTKmm try... TIA, Andi From abt@gmx.de Thu Jan 1 11:39:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id F1E981815F for ; Thu, 1 Jan 2004 11:38:59 -0500 (EST) Received: (qmail 22194 invoked by uid 65534); 1 Jan 2004 16:38:55 -0000 Received: from dialin-145-254-065-221.arcor-ip.net (EHLO gmx.de) (145.254.65.221) by mail.gmx.net (mp026) with SMTP; 01 Jan 2004 17:38:55 +0100 X-Authenticated: #109577 Message-ID: <3FF44D1B.4070705@gmx.de> Date: Thu, 01 Jan 2004 17:38:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org References: <3FF44C18.7060404@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) -> login Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > You can see the screenshots here: > http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite login: abthun rosebud From matthew@alledora.co.uk Thu Jan 1 16:02:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by mail.gnome.org (Postfix) with ESMTP id 26FF01817B for ; Thu, 1 Jan 2004 16:02:43 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040101210227.UNVT29762.mta02-svc.ntlworld.com@alledora.co.uk>; Thu, 1 Jan 2004 21:02:27 +0000 Message-ID: <3FF48B1E.9080300@alledora.co.uk> Date: Thu, 01 Jan 2004 21:03:26 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> In-Reply-To: <3FF44C18.7060404@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas B. Thun wrote: | Hi and a happy new year to everyone! | | I´d like to have a window like the detailed | list view in KDE Konquerer (is it QT?) | and I wonder if there is any way to create | a lookalike with GTKmm. | | You can see the screenshots here: | http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite | | Click on the image to view the window I´d like to create.... | With "Next" you can view my GTKmm try... It's entirely possible. The TreeView widget is the one you'll be wanting to look at to start with. Most of the columns could be CellRendererText columns for pure text rendering, but the first one would need both a CellRendererPixbuf and a CellRendererText in it to get the icons. You may find that the stock TreeView code doesn't do everything you'd need to entirely replicate Konqueror's functionality - Nautilus, I believe, uses some kind of TreeView-based widget with lots of extra bits to enable it to do everything it does, but TreeView will provide you with the basics at least. I know it doesn't sound like the right widget, but believe me, it is. Read the Programming with Gtkmm chapters on it to get yourself started, and look at the examples in the Gtkmm source distribution for more info. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/9Isb0UvYjCBpIlARAiUCAJwIcNyUOtzyH9mwwivzdVd38d8uTQCfek9w Tulu3UPoJ2C93dPprA7waiY= =mPKM -----END PGP SIGNATURE----- From christof@petig-baender.de Fri Jan 2 04:18:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 1EE54182F1 for ; Fri, 2 Jan 2004 04:18:07 -0500 (EST) Received: (qmail 25205 invoked by uid 4225); 2 Jan 2004 09:18:05 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 02 Jan 2004 09:18:05 -0000 Received: from [192.168.235.2] (helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AcLRT-0002Ld-00; Fri, 02 Jan 2004 10:18:04 +0100 Message-ID: <3FF48ADE.4090606@petig-baender.de> Date: Thu, 01 Jan 2004 22:02:22 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Roger Leigh Cc: "Andreas B. Thun" , gtkmm-list@gnome.org Subject: Re: [gtkmm] =?ISO-8859-1?Q?beginner=B4s_question?= References: <3FEDAACF.1000304@gmx.de> <87ekupj3qm.fsf@wrynose.whinlatter.uklinux.net> <3FEEBB79.5060102@gmx.de> <877k0fi830.fsf@wrynose.whinlatter.uklinux.net> <3FF13CD4.5000400@gmx.de> <87pte6br92.fsf@wrynose.whinlatter.uklinux.net> In-Reply-To: <87pte6br92.fsf@wrynose.whinlatter.uklinux.net> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Roger Leigh schrieb: >>To glade: I checked it but it generates C code! It uses glademm to generate C++ code (once you activate C++) > Using the C/C++ code generation is deprecated, that is simply a matter of taste (and your requirements). I don't consider generating a _single_standalone_ binary deprecated - no matter how many gnome developers think differently. And C++ is a totally different beast, the generated C++ code is much more maintainable than the C code. I dare to say that glade's code is a nightmare compared to glademm's. Christof (glademm maintainer) From abt@gmx.de Fri Jan 2 06:31:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A4772180D7 for ; Fri, 2 Jan 2004 06:31:54 -0500 (EST) Received: (qmail 11146 invoked by uid 65534); 2 Jan 2004 11:31:50 -0000 Received: from port-213-61-210-114.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.114) by mail.gmx.net (mp003) with SMTP; 02 Jan 2004 12:31:50 +0100 X-Authenticated: #109577 Message-ID: <3FF556A1.2080501@gmx.de> Date: Fri, 02 Jan 2004 12:31:45 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Matthew Walton , gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: THX, I´ve checked the TreeView example in "Programming with GTKmm2" and found that I have to provide a ModelColumns class member for every column data (see below my col_1/2). class ModelColumns : public Gtk::TreeModelColumnRecord { public: Gtk::TreeModelColumn col_1; Gtk::TreeModelColumn col_2; ModelColumns() { add (col_1); add (col_2); } }; The problem I am facing now is that my column data is dynamic. (It does not change while the program is running, though). I get the data I want to display from a file so I get the information about how many columns I have to display only at runtime. I am not a C++ expert, maybe soemone can explain how to build the class ModelColumns dynamically? Matthew Walton schrieb: > It's entirely possible. The TreeView widget is the one you'll be wanting > to look at to start with. Most of the columns could be CellRendererText > columns for pure text rendering, but the first one would need both a > CellRendererPixbuf and a CellRendererText in it to get the icons. From olau@hardworking.dk Fri Jan 2 07:25:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 0EF9118132 for ; Fri, 2 Jan 2004 07:25:04 -0500 (EST) Received: from bach.composers (26.ppp1-1.abc.worldonline.dk [213.237.21.26]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i02CPE7x014686 for ; Fri, 2 Jan 2004 13:25:15 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AcOMU-00038i-OX for gtkmm-list@gnome.org; Fri, 02 Jan 2004 13:25:06 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> <3FF556A1.2080501@gmx.de> From: Ole Laursen Date: Fri, 02 Jan 2004 13:25:06 +0100 In-Reply-To: <3FF556A1.2080501@gmx.de> (Andreas B. Thun's message of "Fri, 02 Jan 2004 12:31:45 +0100") Message-ID: <87wu8a4jx9.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > class ModelColumns : public Gtk::TreeModelColumnRecord > { > public: > Gtk::TreeModelColumn col_1; > Gtk::TreeModelColumn col_2; > > ModelColumns() > { > add (col_1); > add (col_2); > } > }; > > The problem I am facing now is that my column data is dynamic. > (It does not change while the program is running, though). I've never tried this, but can't you just use an array? For example: public: std::vector > cols; ModelColumns(int no) { for (int i = 0; i < no; ++i) { cols.push_back(Gtk::TreeModelColumn()); add(cols.back()); } } I'm not sure whether it works, though. The interface for the treeview classes is very confusing. -- Ole Laursen http://www.cs.auc.dk/~olau/ From kickvb@touva.be Fri Jan 2 10:27:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moses.all2all.org (sys2.all2all.org [62.58.108.3]) by mail.gnome.org (Postfix) with ESMTP id 6B2C8180F4 for ; Fri, 2 Jan 2004 10:27:17 -0500 (EST) Received: from buddha.all2all.org ([62.58.108.9] helo=all2all.org) by moses.all2all.org with smtp (ALL2ALL.ORG The Independent Network) id 1AcRCj-0007Ue-00; Fri, 02 Jan 2004 16:27:13 +0100 Date: Fri, 2 Jan 2004 15:27:13 -0000 To: "Stefan Andreßen" , Subject: Re: [gtkmm] Which dlls to distribute From: X-Mailer: TWIG 2.7.7 Message-ID: In-Reply-To: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> X-Client-IP: 212.239.221.31 Reply-To: kickvb@touva.be Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am new to gtkmm and i have no idea which dlls (windows here) i have to ship with my application. > Only the gtkmm dlls? Or the gtk+ dlls, too? GTKmm doesn't reimplement what is done in GTK+ but gives you a C++ interface to the GTK+ libraries. So you need to ship the gtk+ dlls too. You can find at http://cvs.sourceforge.net/viewcvs.py/heavymole/heavymole/heavymole-libraries.iss?rev=1.17&view=auto an installer (written with the Inno Setup script) which installs a gtkmm application and all needed dlls. You can install and look at the files of the package http://prdownloads.sourceforge.net/heavymole/HeavyMole-0.7.0-Libraries-Installer.exe to see what are the files that are installed. Note that it is not the best way to install the libraries, as the GTK+ and GTKmm dlls are installed in the directory of your application and are therefore not usable by other applications. I'd like to write a script that checks if GTK+/GTKmm are already on your system and installs them exactly like it was made with the Runtime Environment packages from http://www.dropline.net/gtk/download.php and http://www.pcpm.ucl.ac.be/~gustin/win32_ports/. I think I'll need the scripts used to write these packages. Cedric Gustin could you send me (or put on your web site) the script used to do your package? Regards, Christian Van Brussel From abt@gmx.de Fri Jan 2 13:46:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3880018206 for ; Fri, 2 Jan 2004 13:46:52 -0500 (EST) Received: (qmail 14847 invoked by uid 65534); 2 Jan 2004 18:46:50 -0000 Received: from port-213-61-210-245.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.245) by mail.gmx.net (mp009) with SMTP; 02 Jan 2004 19:46:50 +0100 X-Authenticated: #109577 Message-ID: <3FF5BC97.1000905@gmx.de> Date: Fri, 02 Jan 2004 19:46:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Two beginners questions to signal handling Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, it´s me again :-) The callback function of form B should trigger the values displayed in form A to update. form A: build by constructor of class A form B: build by constructor of class B 1. Is there a way to connect the signal handler B::something_in_B_selected() to A::update_values_in_A()? class A : public Gtk::VBox class B : public Gtk::VBox 2. If I want to update the values in a already displayed form A is it ok to just re-set the values and invoke show_all()? TIA, Andi From abt@gmx.de Fri Jan 2 13:51:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id E148C1845C for ; Fri, 2 Jan 2004 13:51:17 -0500 (EST) Received: (qmail 16755 invoked by uid 65534); 2 Jan 2004 18:51:16 -0000 Received: from port-213-61-210-245.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.245) by mail.gmx.net (mp027) with SMTP; 02 Jan 2004 19:51:16 +0100 X-Authenticated: #109577 Message-ID: <3FF5BDA1.8090802@gmx.de> Date: Fri, 02 Jan 2004 19:51:13 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Matthew Walton Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) References: <3FF44C18.7060404@gmx.de> <3FF48B1E.9080300@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > It's entirely possible. The TreeView widget is the one you'll be wanting > to look at to start with. Most of the columns could be CellRendererText > columns for pure text rendering, but the first one would need both a > CellRendererPixbuf and a CellRendererText in it to get the icons. Ok, I see. The list view looks promising. Although it seems that the header items cannot trigger any action?! (In Konquerer you can click on Size, Name, Date etc. and the list will be sorted.) From olau@hardworking.dk Fri Jan 2 17:21:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp040.tiscali.dk (smtp040.tiscali.dk [212.54.64.106]) by mail.gnome.org (Postfix) with ESMTP id CAD9618149 for ; Fri, 2 Jan 2004 17:21:53 -0500 (EST) Received: from bach.composers (35.ppp1-1.abc.worldonline.dk [213.237.21.35]) by smtp040.tiscali.dk (8.12.10/8.12.10) with ESMTP id i02MLnRD000160 for ; Fri, 2 Jan 2004 23:21:50 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AcXMB-0000AM-MI for gtkmm-list@gnome.org; Fri, 02 Jan 2004 23:01:23 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Two beginners questions to signal handling References: <3FF5BC97.1000905@gmx.de> From: Ole Laursen Date: Fri, 02 Jan 2004 23:01:23 +0100 In-Reply-To: <3FF5BC97.1000905@gmx.de> (Andreas B. Thun's message of "Fri, 02 Jan 2004 19:46:47 +0100") Message-ID: <87isju103w.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > The callback function of form B should trigger > the values displayed in form A to update. > form A: build by constructor of class A > form B: build by constructor of class B > > 1. Is there a way to connect the signal handler > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox You can define your own signals if that is what you are asking. You can also connect to "someone clicked here" events in a widget if that is what you are asking. You just need to find the appropriate signal_something() to connect to, then say something along the lines of signal_something().connect(SigC::slot(my_a_object, &A::update_values)); inside B. When you are looking for a signal_something(), remember that base classes define signals too. Sometimes it is easiest to find one via the signal mechanism in Glade. (If you are not using Glade, you really should unless _all_ of your window contents are dynamically generated.) > 2. If I want to update the values in a already > displayed form A is it ok to just re-set the values > and invoke show_all()? You don't need to invoke show_all again. If you update the value in a widget, it will automatically refresh itself. -- Ole Laursen http://www.cs.auc.dk/~olau/ From pgasper@designadvantage.com Fri Jan 2 21:31:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id A4E3C18139 for ; Fri, 2 Jan 2004 21:31:54 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AcbZs-0004SP-70 for gtkmm-list@gnome.org; Fri, 02 Jan 2004 21:31:48 -0500 From: Peter Gasper To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Message-Id: <1073097107.6545.46.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 02 Jan 2004 19:31:51 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Subject: [gtkmm] widget activation Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For widgets that are activatable, such as a RadioButton, is there a way to query what keyboard key caused the activation? Or better yet, is there a way to prevent the return key from causing activation (or return & kp_enter), but let the keypad enter key cause activation? The reason for this is I am connecting a slot to the widget's signal_activate. I want to do something different depending on if the return or kp_enter key is pressed, but signal_activate() doesn't tell me the key. I would also rather catch the return key in the on_keyboard_release_event() function of a parent container of this widget. But since the widget is activatable, the return key event never gets that far and connecting to the widget's signal_key_release_event doesn't seem to work either. Thanks, Pete G -- Peter Gasper From gtkmm-forge-admin@lists.sourceforge.net Fri Jan 2 23:05:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 7848418147 for ; Fri, 2 Jan 2004 23:05:28 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Acd2U-0006fR-8X for gtkmm-list@gnome.org; Fri, 02 Jan 2004 20:05:26 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1Acd2U-0005kj-3n for gtkmm-list@gnome.org; Fri, 02 Jan 2004 20:05:26 -0800 Date: Fri, 02 Jan 2004 20:03:27 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #590 - 8 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 130351] New - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) 2. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 3. [Bug 130351] Changed - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) 4. [Bug 122450] Changed - stylesheet to generate devhelp documentation from doxygen xml (bugzilla-daemon@widget.gnome.org) 5. [Bug 125061] Changed - glibmm should use libsigc++2 (bugzilla-daemon@widget.gnome.org) 6. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 7. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 8. [Bug 130351] Changed - Radiobutton not correctly drawn (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Thu, 1 Jan 2004 10:56:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] New - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by stefan.andressen@t-online.de. --- shadow/130351 Thu Jan 1 10:56:26 2004 +++ shadow/130351.tmp.10364 Thu Jan 1 10:56:26 2004 @@ -0,0 +1,20 @@ +Bug#: 130351 +Product: gtkmm +Version: 2.2 +OS: Windows +OS Details: WinXP Professional +Status: NEW +Resolution: +Severity: minor +Priority: Normal +Component: general +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: stefan.andressen@t-online.de +TargetMilestone: --- +URL: +Summary: Radiobutton not correctly drawn + +I compiled the radiobutton example from the gtkmm-book, and when a +radiobutton is selected, it doesn't draw the green point in the circle. + +P.S.: I do not understand what the "GNOME VERSION" meen... --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Fri, 2 Jan 2004 05:22:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Mon Dec 22 11:44:12 2003 +++ shadow/129846.tmp.26874 Fri Jan 2 05:22:17 2004 @@ -35,6 +35,12 @@ ------- Additional Comments From roger@whinlatter.uklinux.net 2003-12-22 11:44 ------- Created an attachment (id=22645) testcase -- glade interface + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:22 ------- +I tried this with the menus example, in libglademm/examples, and I +don't see any accelerators, and that doesn't even use the reparent +method. I can't even get it to work in C with libglade. Do you have an +example that does work, without reparenting, for comparison? --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, stefan.andressen@t-online.de Cc: Date: Fri, 2 Jan 2004 05:24:14 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by murrayc@usa.net. --- shadow/130351 Thu Jan 1 10:56:26 2004 +++ shadow/130351.tmp.28109 Fri Jan 2 05:24:14 2004 @@ -15,6 +15,10 @@ Summary: Radiobutton not correctly drawn I compiled the radiobutton example from the gtkmm-book, and when a radiobutton is selected, it doesn't draw the green point in the circle. P.S.: I do not understand what the "GNOME VERSION" meen... + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:24 ------- +Do you know if this works in the C GTK+ examples or demos on Windows? +It may be a theme problem. --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roel@stack.be Cc: Date: Fri, 2 Jan 2004 05:26:15 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 122450] Changed - stylesheet to generate devhelp documentation from doxygen xml Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=122450 Changed by murrayc@usa.net. --- shadow/122450 Fri Dec 26 14:23:52 2003 +++ shadow/122450.tmp.29136 Fri Jan 2 05:26:15 2004 @@ -1,13 +1,13 @@ Bug#: 122450 Product: gtkmm Version: 2.2 OS: All OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: enhancement Priority: Normal Component: reference documentation AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roel@stack.be QAContact: gtkmm-forge@lists.sourceforge.net @@ -196,6 +196,17 @@ I can't check rýght now, but I sent the devhelp file to you, as requested. And can't you just build the cvs version? ------- Additional Comments From roel@stack.be 2003-12-26 14:23 ------- Ok, I've build the cvs version, and it works as I described above; so function searching in the cvs version works for me. + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:26 ------- +Hmm, yes, it seems to be working now, though I had to correct the +devhelp file name and location (done in cvs). + +I notice that the anchor links don't work (it doesn't go straight to +the method instead of the top of the page), but that's probably a +gtkhtml problem. + +Thank you. I have done this for libglademm already and will do it for +the others, so check the changes if you have thoughts. Thanks again. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 05:28:19 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 125061] Changed - glibmm should use libsigc++2 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=125061 Changed by murrayc@usa.net. --- shadow/125061 Wed Oct 22 04:43:40 2003 +++ shadow/125061.tmp.30371 Fri Jan 2 05:28:19 2004 @@ -50,6 +50,9 @@ ------- Additional Comments From murrayc@usa.net 2003-10-22 04:43 ------- > Would you prefer to use the compatibility module in > glibmm/gtkmm itself No, we would port to the latest non-deprecated libsigc++ API. + +------- Additional Comments From murrayc@usa.net 2004-01-02 05:28 ------- +We need to ask on the list whether people can live without gcc 2.9*. --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 08:42:40 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by roger@whinlatter.uklinux.net. --- shadow/129846 Fri Jan 2 05:22:17 2004 +++ shadow/129846.tmp.13867 Fri Jan 2 08:42:40 2004 @@ -41,6 +41,11 @@ ------- Additional Comments From murrayc@usa.net 2004-01-02 05:22 ------- I tried this with the menus example, in libglademm/examples, and I don't see any accelerators, and that doesn't even use the reparent method. I can't even get it to work in C with libglade. Do you have an example that does work, without reparenting, for comparison? + +------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:42 ------- +Created an attachment (id=22839) +Glade file: add C+Q accelerator to gnomemm/libglademm/examples/menus/example.glade + --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 08:46:06 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by roger@whinlatter.uklinux.net. --- shadow/129846 Fri Jan 2 08:42:40 2004 +++ shadow/129846.tmp.15329 Fri Jan 2 08:46:05 2004 @@ -46,6 +46,18 @@ example that does work, without reparenting, for comparison? ------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:42 ------- Created an attachment (id=22839) Glade file: add C+Q accelerator to gnomemm/libglademm/examples/menus/example.glade + +------- Additional Comments From roger@whinlatter.uklinux.net 2004-01-02 08:45 ------- +I've attached a new Glade file, which adds a C+Q accelerator to the +menu_file_quit MenuItem. This does work as expected, in that now +C+Q now causes the program to terminate. + +This works with the normal gnomemm/libglademm/examples/menus/example +program. + + +Regards, +Roger --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 2 Jan 2004 11:51:03 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by stefan.andressen@t-online.de. --- shadow/130351 Fri Jan 2 05:24:14 2004 +++ shadow/130351.tmp.14524 Fri Jan 2 11:51:02 2004 @@ -19,6 +19,19 @@ P.S.: I do not understand what the "GNOME VERSION" meen... ------- Additional Comments From murrayc@usa.net 2004-01-02 05:24 ------- Do you know if this works in the C GTK+ examples or demos on Windows? It may be a theme problem. + +------- Additional Comments From stefan.andressen@t-online.de 2004-01-02 11:51 ------- +http://www.gotpenguin.com/gnome/gtk1/tutorial/sec-radiobuttons.html +Here I found the corresponding c-code. +The green dot isn't drawn here also, so c and c++ (gtk+ and gtkmm) +have the same behaviour, as expected. +If this is a theme problem lies beyond my knowledge, i just know +that it is a problem. +Whether this is a theme problem or not lies beyond my knowledge, I +just know that it is a problem. + +Bye. + --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From cedric.gustin@swing.be Sun Jan 4 14:55:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 9FE91183AD for ; Sun, 4 Jan 2004 14:55:24 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04JnSPt027766; Sun, 4 Jan 2004 20:49:29 +0100 (MET) Message-Id: <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 20:55:13 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] radiobutton under winxp In-Reply-To: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:07 PM 1/1/2004, Stefan Andre=DFen wrote: >Hi! > >I compiled the radiobutton example from the gtkmm-book, and when a=20 >radiobutton is selected, it simply doesn't fill the circle (for winxp with= =20 >a green dot). >Is there a workaround? >I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. This problem already came up a few weeks ago, either on the mailing list or= =20 in a private mail, I don't remember. I think the problem was related to=20 dev-cpp. Try to upgrade to the latest version using the nice dev-cpp=20 updater included in the distribution. Then recompile.You might also want to= =20 upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline (see=20 http://gtk-wimp.sourceforge.net). Please post the solution on the mailinglist as an archive. Cedric From cedric.gustin@swing.be Sun Jan 4 15:02:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id BDA7A18512 for ; Sun, 4 Jan 2004 15:02:32 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04JufPt027964; Sun, 4 Jan 2004 20:56:41 +0100 (MET) Message-Id: <6.0.1.1.2.20040104210041.01be1510@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 21:02:29 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] radiobutton under winxp In-Reply-To: <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 08:55 PM 1/4/2004, Cedric Gustin wrote: >At 05:07 PM 1/1/2004, Stefan Andre=DFen wrote: >>I compiled the radiobutton example from the gtkmm-book, and when a=20 >>radiobutton is selected, it simply doesn't fill the circle (for winxp=20 >>with a green dot). >>Is there a workaround? >>I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. > >This problem already came up a few weeks ago, either on the mailing list=20 >or in a private mail, I don't remember. I think the problem was related to= =20 >dev-cpp. Try to upgrade to the latest version using the nice dev-cpp=20 >updater included in the distribution. Then recompile.You might also want=20 >to upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline=20 >(see http://gtk-wimp.sourceforge.net). Actually, it was on the pygtk mailing list. See this thread= http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Cedric=20 From cedric.gustin@swing.be Sun Jan 4 15:30:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id D7819182AE for ; Sun, 4 Jan 2004 15:30:28 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i04KOPPt028648; Sun, 4 Jan 2004 21:24:25 +0100 (MET) Message-Id: <6.0.1.1.2.20040104212315.01bfe280@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 04 Jan 2004 21:30:08 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] Which dlls to distribute In-Reply-To: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> References: <001901c3cfff$c55b7020$53b69ec1@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 01:39 AM 1/1/2004, Stefan Andre=DFen wrote: >I am new to gtkmm and i have no idea which dlls (windows here) i have to=20 >ship with my application. >Only the gtkmm dlls? Or the gtk+ dlls, too? Your gtkmm application will require both the gtkmm and GTK+ runtimes. For=20 gtkmm, this is basically the glibmm, pangomm, atkmm, gdkmm and gtkmm DLLs.= =20 For gtk+, this is more complicated as you also have to include a bunch of=20 other files (mostly pango related). Therefore, I recommend to either ask=20 your users to install the gtk+ runtime from dropline and the gtkmm runtime= =20 from my site (available as a separate installer), or to hack your own=20 installer based on the gtk+ one (the innosetup script is available from=20 http://www.dropline.net/gtk/download.php) and adds the gtkmm DLLs manually= =20 to this installer. Cedric From Stefan.Andressen@t-online.de Sun Jan 4 19:00:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mail.gnome.org (Postfix) with ESMTP id 8172618645 for ; Sun, 4 Jan 2004 19:00:07 -0500 (EST) Received: from fwd07.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1AdIA5-0008R8-00; Mon, 05 Jan 2004 01:00:01 +0100 Received: from stefanxp1800 (Vaf+KoZc8ekhfmAJhVbR3j+cwToV2elgmwFxMtayKvWnLVs0Prk542@[193.159.21.57]) by fwd07.sul.t-online.com with smtp id 1AdI9v-23jla40; Mon, 5 Jan 2004 00:59:51 +0100 Message-ID: <006501c3d31e$d74c0930$39159fc1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: References: <000801c3d081$5fb26030$7edfe03e@stefanxp1800> <6.0.1.1.2.20040104204745.01bd33f8@pop.swing.be> <6.0.1.1.2.20040104210041.01be1510@pop.swing.be> Subject: Re: [gtkmm] radiobutton under winxp Date: Mon, 5 Jan 2004 00:59:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: Vaf+KoZc8ekhfmAJhVbR3j+cwToV2elgmwFxMtayKvWnLVs0Prk542 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Many thanks, Cederic! The problem was indeed the gtk+ runtime environment! Getting the GTK-Wimp 0.5.2 solved the problem. For me the installation was: Copying the gtkrc in...\GTK\2.0\share\themes\Default\gtk-2.0-key (maybe renaming the old one) and coping the new libwimp.dll in ...\GTK\2.0\lib\gtk-2.0\2.2.0\engines (again maybe renaming the old one). Sorry, i do not know how to post this as an archive! Bye, Stefan ----- Original Message ----- From: "Cedric Gustin" To: "Stefan Andreßen " ; Sent: Sunday, January 04, 2004 9:02 PM Subject: Re: [gtkmm] radiobutton under winxp At 08:55 PM 1/4/2004, Cedric Gustin wrote: >At 05:07 PM 1/1/2004, Stefan Andreßen wrote: >>I compiled the radiobutton example from the gtkmm-book, and when a >>radiobutton is selected, it simply doesn't fill the circle (for winxp >>with a green dot). >>Is there a workaround? >>I am using gtkmm 2.2.8.1 with g++ 3.2 and Dev-Cpp. > >This problem already came up a few weeks ago, either on the mailing list >or in a private mail, I don't remember. I think the problem was related to >dev-cpp. Try to upgrade to the latest version using the nice dev-cpp >updater included in the distribution. Then recompile.You might also want >to upgrade the gtk-wimp theme if you use the GTK+ runtime from dropline >(see http://gtk-wimp.sourceforge.net). Actually, it was on the pygtk mailing list. See this thread http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Cedric From Stefan.Andressen@t-online.de Sun Jan 4 19:18:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mail.gnome.org (Postfix) with ESMTP id 2C9A218395 for ; Sun, 4 Jan 2004 19:18:17 -0500 (EST) Received: from fwd07.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1AdIRj-0007SI-01; Mon, 05 Jan 2004 01:18:15 +0100 Received: from stefanxp1800 (G53fwuZCreJuy3Ip3QFSYUY4jOuZWJPEnZl7nPbb7xTzFTKoK0CRZg@[193.159.21.57]) by fwd07.sul.t-online.com with smtp id 1AdIRe-1lDzRQ0; Mon, 5 Jan 2004 01:18:10 +0100 Message-ID: <001001c3d321$664252f0$39159fc1@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Mon, 5 Jan 2004 01:18:09 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C3D329.C796BB10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: G53fwuZCreJuy3Ip3QFSYUY4jOuZWJPEnZl7nPbb7xTzFTKoK0CRZg Subject: [gtkmm] memory footprint of gtk+ and gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C3D329.C796BB10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I just looked at the dlls, which comes with gtk+ and gtkmm runtime = environment. It is amazing how big they are all togther, must be over 20 mb. Now, does that not mean that (simple) gtkmm applications are very memory = consuming? Looking at the radiobutton example it is over 5 mb, which is quite = massiv for such a simple programm. Any thoughts or suggestions? Bye, Stefan ------=_NextPart_000_000D_01C3D329.C796BB10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I just looked at the dlls, which = comes with=20 gtk+ and gtkmm runtime environment.
It is amazing how big they are all = togther, must be=20 over 20 mb.
Now, does that not mean that (simple) = gtkmm=20 applications are very memory consuming?
Looking at the radiobutton example it = is over 5 mb,=20 which is quite massiv for such a simple programm.
Any thoughts or = suggestions?
 
Bye,
Stefan
 
------=_NextPart_000_000D_01C3D329.C796BB10-- From cedric.gustin@swing.be Mon Jan 5 01:59:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id C50A518102 for ; Mon, 5 Jan 2004 01:59:39 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i056rdPt016831; Mon, 5 Jan 2004 07:53:39 +0100 (MET) Message-Id: <6.0.1.1.2.20040105075505.01be3cf8@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 05 Jan 2004 07:59:26 +0100 To: Stefan.Andressen@t-online.de (Stefan =?iso-8859-1?Q?Andre=DFen?= ), From: Cedric Gustin Subject: Re: [gtkmm] memory footprint of gtk+ and gtkmm In-Reply-To: <001001c3d321$664252f0$39159fc1@stefanxp1800> References: <001001c3d321$664252f0$39159fc1@stefanxp1800> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 01:18 AM 1/5/2004, Stefan Andre=DFen wrote: >Hi! > >I just looked at the dlls, which comes with gtk+ and gtkmm runtime=20 >environment. >It is amazing how big they are all togther, must be over 20 mb. >Now, does that not mean that (simple) gtkmm applications are very memory=20 >consuming? No, the DLLs simply include debugging symbols. >Looking at the radiobutton example it is over 5 mb, which is quite massiv= =20 >for such a simple programm. >Any thoughts or suggestions? You can try to strip your executable and/or the gtkmm DLLs. My 'gtkmm=20 runtime for final users' installer has also stripped versions of the gtkmm= =20 DLLs. Cedric=20 From Murray.Cumming@Comneon.com Mon Jan 5 05:36:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 44984184BA for ; Mon, 5 Jan 2004 05:36:30 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AWX7k021875; Mon, 5 Jan 2004 11:32:34 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:36:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B3@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: eli_hadad@sheernetworks.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Beginner question Date: Mon, 5 Jan 2004 11:36:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Eli Hadad wrote: > I am new to gtkmm, and have a question. > I wish to show / add widget at runtime (for example after > catching button clicked event) into a container such as > Gtk::Frame. When I do it I get segmentation fault. I wander > if this is suppose to work and if yes what can be my problem. I suggest that you just use show() and hide() to show or hide a widget. You can add both widgets to the same container (such as a Gtk::Vbox) and just hide one when you show the other. You should also be able to add() and remove() child widgets, of course. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:45:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7C33718408 for ; Mon, 5 Jan 2004 05:45:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05Afc7k024643; Mon, 5 Jan 2004 11:41:38 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:45:50 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] radiobutton under winxp Date: Mon, 5 Jan 2004 11:45:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So that we can solve this again in future, I'd like to know if this is A) A problem when installing the latest (2.2.4.1) dropline.net GTK+ runtime from http://www.dropline.net/gtk/ B) A problem when installing A) and then installing something else? C) A problem when installing A) after installing something else or D) A problem with a different GTK+ Windows installer? I tried the latest (2.2.4.1) dropline.net GTK+ runtime on Windows 2000 and don't see this problem, but I don't have Windows XP. Stefan wrote: > The problem was indeed the gtk+ runtime environment! > Getting the GTK-Wimp 0.5.2 solved the problem. > For me the installation was: > Copying the gtkrc in...\GTK\2.0\share\themes\Default\gtk-2.0-key > (maybe renaming the old one) > and > coping the new libwimp.dll in ...\GTK\2.0\lib\gtk-2.0\2.2.0\engines > (again maybe renaming the old one). > Sorry, i do not know how to post this as an archive! [snip] Cedric wrote: > Actually, it was on the pygtk mailing list. > > See this thread > http://www.daa.com.au/pipermail/pygtk/2003-November/006239.html Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:47:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A8A5818408 for ; Mon, 5 Jan 2004 05:47:26 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AhU7k025060; Mon, 5 Jan 2004 11:43:30 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:47:42 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: cedric.gustin@swing.be, Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] memory footprint of gtk+ and gtkmm Date: Mon, 5 Jan 2004 11:47:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: People might also find these numbers interesting: http://mail.gnome.org/archives/gtkmm-list/2003-November/msg00232.html Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org=20 > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: Montag, 5. Januar 2004 07:59 > To: Stefan.Andressen@t-online.de; gtkmm-list@gnome.org > Subject: Re: [gtkmm] memory footprint of gtk+ and gtkmm >=20 >=20 > At 01:18 AM 1/5/2004, Stefan Andre=DFen wrote: > >Hi! > > > >I just looked at the dlls, which comes with gtk+ and gtkmm runtime > >environment. > >It is amazing how big they are all togther, must be over 20 mb. > >Now, does that not mean that (simple) gtkmm applications are=20 > very memory=20 > >consuming? >=20 > No, the DLLs simply include debugging symbols. >=20 > >Looking at the radiobutton example it is over 5 mb, which is quite=20 > >massiv > >for such a simple programm. > >Any thoughts or suggestions? >=20 > You can try to strip your executable and/or the gtkmm DLLs. My 'gtkmm = > runtime for final users' installer has also stripped versions=20 > of the gtkmm=20 > DLLs. >=20 > Cedric=20 >=20 > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org = http://mail.gnome.org/mailman/listinfo/gtkmm-list >=20 From Murray.Cumming@Comneon.com Mon Jan 5 05:52:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id B2581185A7 for ; Mon, 5 Jan 2004 05:52:13 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AmH7k026427; Mon, 5 Jan 2004 11:48:17 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:52:29 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: olau@hardworking.dk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Date: Mon, 5 Jan 2004 11:52:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > The problem I am facing now is that my column data is dynamic. (It > > does not change while the program is running, though). > > I've never tried this, but can't you just use an array? For example: > > public: > std::vector > cols; > > ModelColumns(int no) > { > for (int i = 0; i < no; ++i) { > cols.push_back(Gtk::TreeModelColumn()); > add(cols.back()); > } > } > > I'm not sure whether it works, though. Yes, that works. I do that in glom, for instance. > The interface for the > treeview classes is very confusing. I'll be checking in lots of TreeView reference documentation today. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:55:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DDBDE1873A for ; Mon, 5 Jan 2004 05:55:15 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05ApI7k027448; Mon, 5 Jan 2004 11:51:18 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:55:30 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abt@gmx.de, matthew@alledora.co.uk Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?) Date: Mon, 5 Jan 2004 11:55:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Ok, I see. The list view looks promising. Although it seems > that the header items cannot trigger any action?! This should definitely be possible. For instance, nautilus sorts its rows when you click on the column header. Try TreeViewColumn::signal_clicked() and tells us if it does/doesn't work: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeViewColumn.h tml#a61 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 5 05:58:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0F6BD180F0 for ; Mon, 5 Jan 2004 05:58:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05AsD7k028077; Mon, 5 Jan 2004 11:54:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 11:58:25 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224B9@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: seguso.forever@tin.it, gtkmm-list@gnome.org Subject: RE: [gtkmm] hiding/disabling/setting toolbar buttons? Date: Mon, 5 Jan 2004 11:58:06 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > for the file manager http://segusoland.sourceforge.net , > I have a toolbar and I am adding togglebuttons with > > aToolbar.tools().push_back(Gtk::Toolbar_Helpers::ToggleElem( > aText, > *lImage, > SigC::slot(*this, > &SegToolbarToggleButton::onElementToggled), > aTooltipText)); > > I couldn't figure out > 1) how to set the pressed state of the toggle element via code. > 2) how to show/hide the toggle element. > 3) how to disable/enable it. > > Maybe I have to add the item via toolbar::append_item, and > act on the returned > Widget*? But how do I create a toggle button via append_item? > > Thanks for your help, I know it's horrible, but you need to call back() to get the last widget. For instance: http://mail.gnome.org/archives/gtkmm-list/2003-January/msg00136.html Murray Cumming www.murrayc.com murrayc@usa.net From cedric.gustin@swing.be Mon Jan 5 06:01:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id CB6FC18544 for ; Mon, 5 Jan 2004 06:01:34 -0500 (EST) Received: from [130.104.231.127] (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i05AtbPs028841; Mon, 5 Jan 2004 11:55:37 +0100 (MET) Subject: RE: [gtkmm] radiobutton under winxp From: Cedric Gustin To: Murray.Cumming@Comneon.com Cc: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C224B5@vihsx09a.vih.infineon.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-TPSfTnd3l08LOjUkIj/S" Message-Id: <1073300487.3863.19.camel@gandalf> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 05 Jan 2004 12:01:27 +0100 X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-TPSfTnd3l08LOjUkIj/S Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Murray, On Mon, 2004-01-05 at 11:45, Murray.Cumming@Comneon.com wrote: > So that we can solve this again in future, I'd like to know if this is > A) A problem when installing the latest (2.2.4.1) dropline.net GTK+ runti= me > from > http://www.dropline.net/gtk/ > B) A problem when installing A) and then installing something else? > C) A problem when installing A) after installing something else > or > D) A problem with a different GTK+ Windows installer? This is definitely A. The gtk-wimp theme is now the default in the latest GTK+ runtime from dropline. Unfortunately gtk-wimp shipped with version 2.2.4.1 of GTK+ has a display bug when used with the default luna theme under WinXP. With Windows 2000 or with Windows XP + classic theme, everything works fine though.=20 gtk-wimp is now at version 0.5.2 on sourceforge but unfortunately Todd Kulesza has not updated its gtk+ installer yet. I emailed him a few weeks ago to point out this problem.=20 I guess it is better if I put a warning on my site in the meantime. > I tried the latest (2.2.4.1) dropline.net GTK+ runtime on Windows 2000 an= d > don't see this problem, but I don't have Windows XP. Right, as I said earlier, no problem with win2k or winxp + classic theme. Cedric --=-TPSfTnd3l08LOjUkIj/S Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/+UQG/YpnSYlWnoQRAnQcAJ9O1JC+N4FLPR5W0bID3zku1biE+QCgl3OH sZIrefWXBQwXepqD71arSSU= =er7h -----END PGP SIGNATURE----- --=-TPSfTnd3l08LOjUkIj/S-- From Murray.Cumming@Comneon.com Mon Jan 5 06:07:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0C26418325; Mon, 5 Jan 2004 06:07:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05B3k7k000742; Mon, 5 Jan 2004 12:03:46 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 12:07:57 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: epenharbel@yahoo.com.br, gtkmm-list@gnome.org Cc: gtk-devel-list@gnome.org Subject: RE: [gtkmm] problems drawing images ... Date: Mon, 5 Jan 2004 12:07:39 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Behalf Of =C9der Augusto=20 > i need draw images created by a guchar buffer and i need set=20 > the byte order ( LSB_FISRT or MSB_FIRST ), in gdk there are a=20 > gdkimage struct where we can set this, but in gdkmm how can i=20 > set this??? anybody have a example? GdkImage::byte_order field appears to be a private field: http://developer.gnome.org/doc/API/2.0/gdk/gdk-Images.html (I think that struct fields of Gobject classes are private unless the documentation says otherwise). If you can show me any documentation that says that people should set = or get this field directly, or if a GTK+ developer says that you should, then = I will add accessors in gtkmm 2.4. In the meantime, you can always use gobj() with gtkmm to get the = underlying C instance. Murray Cumming www.murrayc.com murrayc@usa.net From ramachandrap@dpsl.net Mon Jan 5 07:25:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id C404418336 for ; Mon, 5 Jan 2004 07:25:00 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 18:06:24 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZVTLF; Mon, 5 Jan 2004 18:06:19 +0530 Received: FROM comp448 BY khyber.enigma ; Mon Jan 05 18:06:18 2004 +0500 From: Ramachandra Putti Reply-To: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <01b901c3d387$9c1bf730$5f0210ac@enigma> Date: Mon, 5 Jan 2004 17:59:48 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01B6_01C3D3B5.B5CB0B70" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Canvas Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_01B6_01C3D3B5.B5CB0B70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am working on gtkmm canvas class and I am not able to understand how=20 it should be used . In this regard I need some guidence about the class = usage . I am a newbie to gtkmm . On the gtkmm.org site I have found some=20 information about the class but it is not sufficient . Kindly suggest a link which can be of any help Thanks Ramachandra =20 ------=_NextPart_000_01B6_01C3D3B5.B5CB0B70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am working on=20 gtkmm canvas class and I am not able to understand how
it should be = used .=20 In this regard I need some guidence about the class
usage .
I am = a newbie=20 to gtkmm . On the gtkmm.org site I have found some
information = about the=20 class but it is not sufficient .
Kindly suggest a link which can be = of any=20 help
Thanks

Ramachandra
 
------=_NextPart_000_01B6_01C3D3B5.B5CB0B70-- From Murray.Cumming@Comneon.com Mon Jan 5 07:38:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0A67A181F8 for ; Mon, 5 Jan 2004 07:38:38 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05CYY7k009362; Mon, 5 Jan 2004 13:34:34 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 13:38:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224C6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] Canvas Date: Mon, 5 Jan 2004 13:38:28 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Have you seen the examples in the libgnomecanvasmm tarball? Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Ramachandra Putti Sent: Montag, 5. Januar 2004 13:30 To: gtkmm-list@gnome.org Subject: [gtkmm] Canvas I am working on gtkmm canvas class and I am not able to understand how it should be used . In this regard I need some guidence about the class usage . I am a newbie to gtkmm . On the gtkmm.org site I have found some information about the class but it is not sufficient . Kindly suggest a link which can be of any help Thanks Ramachandra From otaylor@redhat.com Mon Jan 5 10:23:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by mail.gnome.org (Postfix) with ESMTP id 7C29118246; Mon, 5 Jan 2004 10:23:48 -0500 (EST) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNjA19520; Mon, 5 Jan 2004 10:23:45 -0500 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNjE11122; Mon, 5 Jan 2004 10:23:45 -0500 Received: from [127.0.0.1] (poincare.devel.redhat.com [172.16.58.30]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i05FNi315505; Mon, 5 Jan 2004 10:23:44 -0500 Subject: RE: [gtkmm] problems drawing images ... From: Owen Taylor To: Murray.Cumming@Comneon.com Cc: epenharbel@yahoo.com.br, gtkmm-list@gnome.org, gtk-devel-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C224BA@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=UTF-8 Message-Id: <1073316123.12688.73.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 05 Jan 2004 10:22:04 -0500 Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-05 at 06:07, Murray.Cumming@Comneon.com wrote: > On Behalf Of Éder Augusto > > i need draw images created by a guchar buffer and i need set > > the byte order ( LSB_FISRT or MSB_FIRST ), in gdk there are a > > gdkimage struct where we can set this, but in gdkmm how can i > > set this??? anybody have a example? > > GdkImage::byte_order field appears to be a private field: > http://developer.gnome.org/doc/API/2.0/gdk/gdk-Images.html > (I think that struct fields of Gobject classes are private unless the > documentation says otherwise). > > If you can show me any documentation that says that people should set or get > this field directly, or if a GTK+ developer says that you should, then I > will add accessors in gtkmm 2.4. > > In the meantime, you can always use gobj() with gtkmm to get the underlying > C instance. The fields of GdkImage should be public and are needed to use GdkImage effectively. - it wasn't a GObject in GTK+-1.2, and the /*< public >*/ wasn't added when it was converted - Other than parent_instance - *Read-only*, however. The chunk of memory pointed to by 'mem' can be written to, but nothing else canbechanged. A bug, or simply adding the /*< public >*/ after parent_instance would be appreciated. I'm not sure that GdkImage is what the original poster is looking for, creating a GdkPixbuf and using gdk_draw_pixbuf() is a whole lot easier; GdkImage always must match the format of the target visual. Regards, Owen From Murray.Cumming@Comneon.com Mon Jan 5 10:34:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 058A518246; Mon, 5 Jan 2004 10:34:09 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i05FUC7k004771; Mon, 5 Jan 2004 16:30:13 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Jan 2004 16:34:24 +0100 Message-ID: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Mon, 5 Jan 2004 16:34:06 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.4, gtkmm will also not be able to use gcc 2.96. Who needs gcc 2.96 and why? Murray Cumming www.murrayc.com murrayc@usa.net From abhatnag@mda.ca Mon Jan 5 19:17:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 4C5F91844D for ; Mon, 5 Jan 2004 19:17:28 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i060HNM02889 for ; Mon, 5 Jan 2004 16:17:24 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 5 Jan 2004 16:17:23 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Mon, 5 Jan 2004 16:17:21 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Compilation errors.. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I created a simple app with Glade and had it output the C++ source, but the autogen.sh script fails and I am not sure why. Below is the output and a dump of config.log and any help would be great. (and yes, I know, I shouldn't be using the C++ code that is generated and use libglademm instead. I will be doing this, but I'm taking small steps to get there :) ------------------------- output of autogen.sh: ------------------------- ./autogen.sh Found GNU Make at /export/home/abhatnag/bin/make ... good. This script runs configure and make... You did remember necessary arguments for configure, right? ./autogen.sh: libtoolize: not found autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: 5 stan:/export/home/abhatnag/Projects/gtempCpp% ./autogen.sh Found GNU Make at /export/home/abhatnag/bin/make ... good. This script runs configure and make... You did remember necessary arguments for configure, right? ./autogen.sh: libtoolize: not found autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. autoheader: error: AC_CONFIG_HEADERS not found in configure.in /usr/local/share/aclocal/xml-i18n-tools.m4:24: warning: underquoted definition of XML_I18N_TOOLS_NEWER_THAN_0_9 run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/local/share/aclocal/xml-i18n-tools.m4:28: warning: underquoted definition of AC_PROG_XML_I18N_TOOLS /usr/local/share/aclocal/xml-i18n-tools.m4:30: warning: underquoted definition of X18T_PFORG1 /usr/local/share/aclocal/xml-i18n-tools.m4:32: warning: underquoted definition of X18T_XML_KIND /usr/local/share/aclocal/xml-i18n-tools.m4:34: warning: underquoted definition of X18T_KEYS_KIND /usr/local/share/aclocal/xml-i18n-tools.m4:135: warning: underquoted definition of AM_PROG_XML_I18N_TOOLS /usr/local/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/local/share/aclocal/libxslt.m4:14: warning: underquoted definition of AM_PATH_XSLT /usr/local/share/aclocal/intltool.m4:27: warning: underquoted definition of AC_PROG_INTLTOOL /usr/local/share/aclocal/gtk-2.0.m4:8: warning: underquoted definition of AM_PATH_GTK_2_0 /usr/local/share/aclocal/glib-gettext.m4:378: warning: underquoted definition of AM_GLIB_GNU_GETTEXT /usr/local/share/aclocal/glib-gettext.m4:379: warning: underquoted definition of AM_GLIB_DEFINE_LOCALEDIR /usr/local/share/aclocal/glib-2.0.m4:8: warning: underquoted definition of AM_PATH_GLIB_2_0 /usr/local/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2 aclocal: configure.in: 15: macro `AM_PROG_LIBTOOL' not found in library configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal). /usr/local/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/local/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL ./configure: line 1262: syntax error near unexpected token `AM_INIT_AUTOMAKE(gtempcpp,' ./configure: line 1262: `AM_INIT_AUTOMAKE(gtempcpp, 0.0)' ------------------------- output of config.log: ------------------------- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.58. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = stan uname -m = sun4u uname -r = 5.8 uname -s = SunOS uname -v = Generic_108528-21 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = stan Release = 5.8 KernelID = Generic_108528-21 Machine = sun4u BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 2 /bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown hostinfo = System Name: stan Host Id: 80e56895 Host Type: SUNW,Ultra-60 OS Version: SunOS 5.8 Processor: sparc Kernel arch: sun4u System Memory: 1024 Mb Virtual Memory: 2702 Mb Number of CPUs: 2 Clock Rate: MHz /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: . PATH: /export/home/abhatnag/bin PATH: /export/home/abhatnag/gpf/config PATH: /export/home/abhatnag/gpf/etc PATH: /usr/ccs/bin PATH: /export/home/MCOS5.8.0/mercury/bin PATH: /export/home/MCOS5.8.0/mercury/bin/solaris-2_5-sparc_elf PATH: /export/home/MCOS5.8.0/mercury/greenhills/solaris-2_5-sparc_elf PATH: /export/home/tornado/Tornado2.2/host/sun4-solaris2/bin PATH: /usr/openwin/bin PATH: /bin PATH: /usr/ucb PATH: /usr/vcs.1/etc PATH: /export/home/saustin/blackbox/src PATH: /bin PATH: /usr/bin PATH: /usr/local/bin PATH: /usr/ucb PATH: /usr/sbin PATH: /usr/ccs/bin PATH: /etc PATH: /java PATH: /usr/local/gtk/bin PATH: /export/home/razor/Razor/bin PATH: /export/home/drdcgpf/razor/RAZOR_UNIVERSE/Scripts PATH: /export/home/razor/Razor/scripts ## ----------- ## ## Core tests. ## ## ----------- ## ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='' CFLAGS='' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GTKMM_CFLAGS='' GTKMM_LIBS='' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SHELL='/bin/bash' ac_ct_CC='' ac_ct_CXX='' bindir='${exec_prefix}/bin' build_alias='' datadir='${prefix}/share' exec_prefix='NONE' host_alias='' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 258 From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 5 23:05:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 54D9518333 for ; Mon, 5 Jan 2004 23:05:24 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AdiT3-0002lh-Tm for gtkmm-list@gnome.org; Mon, 05 Jan 2004 20:05:21 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AdiT3-0003Fx-Jc for gtkmm-list@gnome.org; Mon, 05 Jan 2004 20:05:21 -0800 Date: Mon, 05 Jan 2004 20:01:59 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #591 - 11 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 130351] Changed - Radiobutton not correctly drawn on Windows XP (bugzilla-daemon@widget.gnome.org) 2. [Bug 129848] Changed - libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard (bugzilla-daemon@widget.gnome.org) 3. [Bug 129844] Changed - 'make install' fails for gtkmm (bugzilla-daemon@widget.gnome.org) 4. [Bug 117964] Changed - TreeStore has undocumented methods (bugzilla-daemon@widget.gnome.org) 5. [Bug 129934] Changed - Problem compiling libgnomeprintuimm 2.5.0 (bugzilla-daemon@widget.gnome.org) 6. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 7. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 8. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 9. [Bug 129813] Changed - fix for spec file to include devhelp file (bugzilla-daemon@widget.gnome.org) 10. [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc (bugzilla-daemon@widget.gnome.org) 11. [Bug 129844] Changed - 'make install' fails for gtkmm (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, stefan.andressen@t-online.de Cc: Date: Mon, 5 Jan 2004 06:23:12 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 130351] Changed - Radiobutton not correctly drawn on Windows XP Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=130351 Changed by murrayc@usa.net. --- shadow/130351 Fri Jan 2 11:51:02 2004 +++ shadow/130351.tmp.25334 Mon Jan 5 06:23:12 2004 @@ -1,21 +1,21 @@ Bug#: 130351 Product: gtkmm Version: 2.2 OS: Windows OS Details: WinXP Professional -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: minor Priority: Normal Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: stefan.andressen@t-online.de TargetMilestone: --- URL: -Summary: Radiobutton not correctly drawn +Summary: Radiobutton not correctly drawn on Windows XP I compiled the radiobutton example from the gtkmm-book, and when a radiobutton is selected, it doesn't draw the green point in the circle. P.S.: I do not understand what the "GNOME VERSION" meen... @@ -32,6 +32,12 @@ that it is a problem. Whether this is a theme problem or not lies beyond my knowledge, I just know that it is a problem. Bye. + +------- Additional Comments From murrayc@usa.net 2004-01-05 06:23 ------- +On the mailing list, we discovered that this is a known problem with +the latest GTK+ for Windows dropline.net installer, which is expected +to be fixed in the next release from dropline.net. Thanks for bringing +it to our attention. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Mon, 5 Jan 2004 08:52:36 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129848] Changed - libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129848 Changed by murrayc@usa.net. --- shadow/129848 Mon Dec 22 11:58:47 2003 +++ shadow/129848.tmp.16572 Mon Jan 5 08:52:36 2004 @@ -1,21 +1,22 @@ Bug#: 129848 -Product: gtkmm -Version: 2.2 +Product: gnomemm +Version: 2.0 OS: Linux OS Details: Linux version 2.4.23 (roger@wrynose) (gcc version 3.3.2 (Debian)) #1 Sat Nov 29 13:46:36 GMT 2003 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libglademm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roger@whinlatter.uklinux.net TargetMilestone: --- URL: Summary: libglademm: Gtk::SeparatorMenuItem is focussable/selectable with the keyboard +BugsThisDependsOn: 130570 Interfaces containing menus with HSeparators (Gtk::SeparatorMenuItem): the separator is selectable with the keyboard when using keyboard navigation. The same interface constructed "by hand", or even during editing with Glade-2 does not exhibit this undesirable behaviour. @@ -23,6 +24,12 @@ This may be seen with the standard libglade menu test (gnomemm/libglademm/examples/menus). Regards, Roger + +------- Additional Comments From murrayc@usa.net 2004-01-05 08:52 ------- +This seems to be caused by glade bug #130570 which I just submitted. + +Changing class="GtkMenuItem" to class="GtkSeparatorMenuItem" in the +.glade file seems to fix it. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 5 Jan 2004 10:09:08 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129844] Changed - 'make install' fails for gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129844 Changed by murrayc@usa.net. --- shadow/129844 Fri Dec 26 04:15:08 2003 +++ shadow/129844.tmp.3578 Mon Jan 5 10:09:08 2004 @@ -1,13 +1,13 @@ Bug#: 129844 Product: gtkmm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: bugsqueesher@yahoo.com TargetMilestone: --- @@ -26,6 +26,10 @@ ^ plus lots of other similar errors. ------- Additional Comments From murrayc@usa.net 2003-12-26 04:14 ------- Thanks. What versýon of Doxygen do you have? Maybe a newer version of Doxygen would properly escape the < character. + +------- Additional Comments From murrayc@usa.net 2004-01-05 10:09 ------- +I'm confident that this is due to an old version of Doxygen. Please +reopen if I am wrong. --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 5 Jan 2004 10:10:44 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 117964] Changed - TreeStore has undocumented methods Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=117964 Changed by murrayc@usa.net. --- shadow/117964 Mon Jul 21 08:02:08 2003 +++ shadow/117964.tmp.5031 Mon Jan 5 10:10:43 2004 @@ -1,18 +1,22 @@ Bug#: 117964 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: reference documentation AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: murrayc@usa.net QAContact: gtkmm-forge@lists.sourceforge.net TargetMilestone: --- URL: Summary: TreeStore has undocumented methods Methods such as insert(), append() and prepend() are undocumented. + +------- Additional Comments From murrayc@usa.net 2004-01-05 10:10 ------- +Fixed, though I want to find the Standard C++ container documentation +and make it like that. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pierre42d@9online.fr Cc: Date: Mon, 5 Jan 2004 10:14:54 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129934] Changed - Problem compiling libgnomeprintuimm 2.5.0 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129934 Changed by murrayc@usa.net. --- shadow/129934 Fri Dec 26 04:07:55 2003 +++ shadow/129934.tmp.7733 Mon Jan 5 10:14:54 2004 @@ -1,16 +1,16 @@ Bug#: 129934 -Product: gtkmm +Product: gnomemm Version: unspecified OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pierre42d@9online.fr TargetMilestone: --- URL: Summary: Problem compiling libgnomeprintuimm 2.5.0 --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Mon, 5 Jan 2004 10:22:31 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Fri Jan 2 08:46:05 2004 +++ shadow/129846.tmp.14063 Mon Jan 5 10:22:31 2004 @@ -1,16 +1,16 @@ Bug#: 129846 -Product: gtkmm -Version: 2.2 +Product: gnomemm +Version: 2.0 OS: Linux OS Details: Linux version 2.4.23 (roger@wrynose) (gcc version 3.3.2 (Debian)) #1 Sat Nov 29 13:46:36 GMT 2003 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: libglademm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: roger@whinlatter.uklinux.net TargetMilestone: --- URL: Summary: libglademm: Gtk::MenuItem accelerators lost during reparenting --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 10:24:30 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Dec 22 12:39:48 2003 +++ shadow/129719.tmp.15030 Mon Jan 5 10:24:30 2004 @@ -1,8 +1,8 @@ Bug#: 129719 -Product: gtkmm +Product: gnomemm Version: unspecified OS: Linux OS Details: Status: NEW Resolution: Severity: normal --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 10:24:56 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Jan 5 10:24:30 2004 +++ shadow/129719.tmp.15186 Mon Jan 5 10:24:56 2004 @@ -4,13 +4,13 @@ OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal -Component: build +Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- URL: Summary: libgnomeprintmm-2.5.0 fails to build with older gcc --__--__-- Message: 9 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, ericb@computer.org Cc: Date: Mon, 5 Jan 2004 13:02:07 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129813] Changed - fix for spec file to include devhelp file Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129813 Changed by murrayc@usa.net. --- shadow/129813 Mon Dec 22 00:56:37 2003 +++ shadow/129813.tmp.24013 Mon Jan 5 13:02:06 2004 @@ -1,13 +1,13 @@ Bug#: 129813 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: ericb@computer.org TargetMilestone: --- @@ -17,6 +17,10 @@ fix for spec file to include devhelp file ------- Additional Comments From ericb@computer.org 2003-12-22 00:56 ------- Created an attachment (id=22629) patch for spec file against gtkmm2 cvs + +------- Additional Comments From murrayc@usa.net 2004-01-05 13:02 ------- +Applied, with changes because I changed the .devhelp install location. +Thanks. --__--__-- Message: 10 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 5 Jan 2004 13:06:16 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129396 Changed by murrayc@usa.net. --- shadow/129396 Fri Dec 19 10:24:30 2003 +++ shadow/129396.tmp.14285 Mon Jan 5 13:06:16 2004 @@ -1,8 +1,8 @@ Bug#: 129396 -Product: gtkmm +Product: gnomemm Version: 2.4 OS: Linux OS Details: Status: NEW Resolution: Severity: normal --__--__-- Message: 11 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 5 Jan 2004 20:02:14 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129844] Changed - 'make install' fails for gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129844 Changed by bugsqueesher@yahoo.com. --- shadow/129844 Mon Jan 5 10:09:08 2004 +++ shadow/129844.tmp.28628 Mon Jan 5 20:02:14 2004 @@ -30,6 +30,11 @@ Thanks. What versýon of Doxygen do you have? Maybe a newer version of Doxygen would properly escape the < character. ------- Additional Comments From murrayc@usa.net 2004-01-05 10:09 ------- I'm confident that this is due to an old version of Doxygen. Please reopen if I am wrong. + +------- Additional Comments From bugsqueesher@yahoo.com 2004-01-05 20:02 ------- +Urgh... Sorry, I got busy and forgot to respond. I bet you are right +about the doxygen version and plan to try it out later this week; I'll +let you know if I find any surprises. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From n_gouda123@yahoo.com Mon Jan 5 23:58:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60505.mail.yahoo.com (web60505.mail.yahoo.com [216.109.116.126]) by mail.gnome.org (Postfix) with SMTP id 8011B182B8 for ; Mon, 5 Jan 2004 23:58:26 -0500 (EST) Message-ID: <20040106045826.23271.qmail@web60505.mail.yahoo.com> Received: from [164.164.89.226] by web60505.mail.yahoo.com via HTTP; Mon, 05 Jan 2004 20:58:26 PST Date: Mon, 5 Jan 2004 20:58:26 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] I want to select only the contigous rows Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, In multiple row selection tree, i want to provide only the contigous selction of rows...i.e i dont want the effect of CONTROL key..for the selection, only the SHIFT key... So Please let me know the solution asap... Thanx in Advance.... Naganagouda Meti. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From christof@petig-baender.de Tue Jan 6 07:00:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 8F695184F7 for ; Tue, 6 Jan 2004 07:00:28 -0500 (EST) Received: (qmail 15634 invoked by uid 4225); 6 Jan 2004 12:00:27 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 06 Jan 2004 12:00:27 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Adpsn-00070y-00; Tue, 06 Jan 2004 13:00:25 +0100 Message-ID: <3FFAA340.4010509@petig-baender.de> Date: Tue, 06 Jan 2004 13:00:00 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org, glademm-list Subject: Re: [gtkmm] Compilation errors.. References: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A269428459@msxyvr5.mda.ca> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR schrieb: > Hi all. Hi Amit, wrong mailing list ;-) > I created a simple app with Glade and had it output the C++ source, but > the autogen.sh script fails and I am not sure why. Below is the output > and a dump of config.log and any help would be great. > > (and yes, I know, I shouldn't be using the C++ code that is generated > and use libglademm instead. I will be doing this, but I'm taking small > steps to get there :) Can you try the CVS version of glademm? : cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login cvs -z3 -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co glade-- I fixed some autoconf errors but did not yet publish the new release. Christof From gene@erachampion.com Tue Jan 6 12:01:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id D296718989 for ; Tue, 6 Jan 2004 12:01:38 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i06HBIp32604 for gtkmm-list@gnome.org; Tue, 6 Jan 2004 09:11:18 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Tue, 6 Jan 2004 09:11:17 -0800 Message-ID: <1073409077.3ffaec355a561@realtyroad.com> Date: Tue, 6 Jan 2004 09:11:17 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >1. Is there a way to connect the signal handler > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox Here's an example (someone can step in and tell me if this is the preferred way of doing things): Assume two classes.. A Main Window for your application, and a Main Menu (menubar) to be displayed on the Main Window. When you select File->Quit from the menubar, you want the application to quit by calling the on_quit() signal handler in the MainWindow object. 1) [mainmenu.h] class MainMenu : public Gtk::MenuBar { public: MainMenu(MainWindow &object); }; 2) [mainwindow.h] class MainWindow : public Gtk::Window { friend class MainMenu; public: MainWindow(); virtual ~MainWindow(); protected: // signal handlers virtual void on_quit(); }; 3) [mainmenu.cpp] #include "mainmenu.h" MainMenu::MainMenu(MainWindow &object) { // fill menus // File|New sub menu: { Gtk::Menu::MenuList& menulist = m_menu_file_new.items(); } // File menu: { Gtk::Menu::MenuList& menulist = m_menu_file.items(); menulist.push_back( Gtk::Menu_Helpers::MenuElem("_New", m_menu_file_new) ); //Add sub menu. menulist.push_back( Gtk::Menu_Helpers::MenuElem("_Quit", Gtk::Menu::AccelKey("q"), SigC::slot(object, &MainWindow::on_quit) ) ); } //Add the menus to the MenuBar: items().push_back( Gtk::Menu_Helpers::MenuElem("_File", m_menu_file) ); Gtk::MenuItem* pMenuItem = &items().back(); pMenuItem->set_right_justified(); show_all_children(); } The key is to pass a MainWindow pointer to the MainMenu constructor. You can then use this pointer to MainWindow to connect your signals to any signal handler in MainWindow. I've declared MainMenu to be a friend of MainWindow in order to allow access to the protected signal handlers. If anyone has a better way of doing this, please speak up. =) -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From epenharbel@yahoo.com.br Tue Jan 6 15:17:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by mail.gnome.org (Postfix) with SMTP id 285FB18239 for ; Tue, 6 Jan 2004 15:17:35 -0500 (EST) Received: from unknown (HELO 200-171-128-203.dsl.telesp.net.br) (epenharbel@200.171.128.203 with plain) by smtp011.mail.yahoo.com with SMTP; 6 Jan 2004 20:17:33 -0000 From: =?ISO-8859-1?Q?=C9der?= Augusto Penharbel To: gtkmm-list Content-Type: text/plain Message-Id: <1073420346.736.8.camel@lobo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 06 Jan 2004 18:19:06 -0200 Content-Transfer-Encoding: 7bit Subject: [gtkmm] is it possible? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: hello, i'm begginer in the gtkmm and gtk i need to draw a image from a pointer to a char in memory... it's possibly with: GCTmp = get_style()->get_fg_gc(Gtk::STATE_NORMAL); get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); but the buffer is in inverse byte_order and i need to draw it without invert in my code... is it possible? i try use the gdk_draw_image but the result is a segmentation fault GdkImage *image = gdk_image_new( GDK_IMAGE_NORMAL, get_window()->get_visual()->gobj(), width, height ); image->parent_instance = *( ( GObject * ) gobj() ); image->byte_order = GDK_LSB_FIRST; image->width = width; image->height = height; image->depth = 24; image->bpp = 3; image->bpl = width * 3; image->bits_per_pixel = 24; image->mem = ( gpointer ) imageBuffer; gdk_draw_image( ( get_window() )->gobj(), GCTmp->gobj(), image, 0, 0, 0, 0, width, height ); there are other way to do this without invert the bytes in my code? thanks.... :-) From abt@gmx.de Wed Jan 7 06:01:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A6E1C1821C for ; Wed, 7 Jan 2004 06:01:48 -0500 (EST) Received: (qmail 21675 invoked by uid 65534); 7 Jan 2004 11:01:47 -0000 Received: from pD9E9478D.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.71.141) by mail.gmx.net (mp012) with SMTP; 07 Jan 2004 12:01:47 +0100 X-Authenticated: #109577 Message-ID: <3FFBE71B.60802@gmx.de> Date: Wed, 07 Jan 2004 12:01:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] How to clear a tree view? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I´ve added some rows with data to a list store tree view using m_list_store_ref->append(). Later in my application I want to clear the rows to display completely new values. How can I clear all rows from the displayed treeView? TIA, Andi From matthew@alledora.co.uk Wed Jan 7 06:40:57 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mail.gnome.org (Postfix) with ESMTP id 4DFEE181D2 for ; Wed, 7 Jan 2004 06:40:57 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040107114052.YAAF2588.mta07-svc.ntlworld.com@alledora.co.uk>; Wed, 7 Jan 2004 11:40:52 +0000 Message-ID: <3FFBF079.6020307@alledora.co.uk> Date: Wed, 07 Jan 2004 11:41:45 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to clear a tree view? References: <3FFBE71B.60802@gmx.de> In-Reply-To: <3FFBE71B.60802@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: PLEASE read the API documentation at http://www.gtkmm.org/gtkmm2/docs/ - the answer to this is fairly easy to find there. Try calling clear() on your ListStore/TreeStore. Andreas B. Thun wrote: > Hi! > > I´ve added some rows with data to a list store tree view > using m_list_store_ref->append(). > > Later in my application I want to clear the > rows to display completely new values. How can I clear > all rows from the displayed treeView? From Murray.Cumming@Comneon.com Wed Jan 7 06:46:21 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id BFD3F18329 for ; Wed, 7 Jan 2004 06:46:20 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07BgJ7k028460; Wed, 7 Jan 2004 12:42:19 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 12:46:33 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: matthew@alledora.co.uk, abt@gmx.de Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] How to clear a tree view? Date: Wed, 7 Jan 2004 12:46:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Try calling clear() on your ListStore/TreeStore. And be careful to call refModel->clear() rather than refModel.clear(), so you call TreeModel::clear() instead of RefPtr::clear() (only a problem in gtkmm 2.0/2.2). Murray Cumming www.murrayc.com murrayc@usa.net From n_gouda123@yahoo.com Wed Jan 7 06:52:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60509.mail.yahoo.com (web60509.mail.yahoo.com [216.109.116.130]) by mail.gnome.org (Postfix) with SMTP id 50655187E4 for ; Wed, 7 Jan 2004 06:52:01 -0500 (EST) Message-ID: <20040107115157.31537.qmail@web60509.mail.yahoo.com> Received: from [164.164.89.226] by web60509.mail.yahoo.com via HTTP; Wed, 07 Jan 2004 03:51:57 PST Date: Wed, 7 Jan 2004 03:51:57 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Iam not able to fetch the row elements from a multiple row selected tree. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, Iam trying to fetch the rows selected using Gtk::TreeSelection::get_selected_rows(Glib::RefPtr& model).. But i dont know how to do it using gtkmm-2.2.0. So please oto do so... Thanx in advance... __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From Murray.Cumming@Comneon.com Wed Jan 7 06:58:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D1175182BB for ; Wed, 7 Jan 2004 06:58:47 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07Bso7k002524; Wed, 7 Jan 2004 12:54:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 12:59:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22545@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: n_gouda123@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Iam not able to fetch the row elements from a multipl e row selected tree. Date: Wed, 7 Jan 2004 12:58:45 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Hi, > Iam trying to fetch the rows selected using > Gtk::TreeSelection::get_selected_rows(Glib::RefPtr& > model).. > But i dont know how to do it using gtkmm-2.2.0. What have you tried? Std::list listPaths = get_selected_rows() should work. You could use TreeModel::get_iter(path) to get an iter, and then a row for each one: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeModel.html#a 3 Maybe we should have Gtk::TreeSelection::get_selected_rows_as_iters() as well. By the way, I have added _lots_ of TreeView reference docs in gtkmm 2.4, but they are not uploaded yet. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Wed Jan 7 06:59:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 079E2187E4 for ; Wed, 7 Jan 2004 06:59:30 -0500 (EST) Received: (qmail 31627 invoked by uid 65534); 7 Jan 2004 11:59:28 -0000 Received: from pD9E9467C.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.70.124) by mail.gmx.net (mp012) with SMTP; 07 Jan 2004 12:59:28 +0100 X-Authenticated: #109577 Message-ID: <3FFBF4A1.7020603@gmx.de> Date: Wed, 07 Jan 2004 12:59:29 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: matthew@alledora.co.uk, gtkmm-list@gnome.org Subject: Re: [gtkmm] How to clear a tree view? References: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22540@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > And be careful to call refModel->clear() rather than refModel.clear(), so > you call TreeModel::clear() instead of RefPtr::clear() (only a problem in > gtkmm 2.0/2.2). THX very much! From bevis@anvil.com Wed Jan 7 07:54:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 8F9C31832B for ; Wed, 7 Jan 2004 07:54:43 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2EC782C0; Wed, 7 Jan 2004 12:51:03 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 287F22BC for ; Wed, 7 Jan 2004 12:51:01 +0000 (GMT) Message-ID: <3FFC018E.5080606@anvil.co.uk> Date: Wed, 07 Jan 2004 12:54:38 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] iterating through the contents of a tree Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've searched the archives and the web and the gktmm class lists, but can't find out how to do this. I have a Gtk::TreeView with a Gtk::TreeStore, basically following the tree view example from the gtkmm pages. My Gtk::TreeModel::ColumnRecord contains two strings (one hidden). I can multi select entries on the tree. Now I want to iterate through all the entries selected in my tree when a button is pressed, ie something like: for (Gtk::TreeIter it=m_refTreeModel.begin(); it Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 946A81832B for ; Wed, 7 Jan 2004 07:58:24 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07CsL7k023442; Wed, 7 Jan 2004 13:54:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 13:58:36 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: bevis@anvil.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] iterating through the contents of a tree Date: Wed, 7 Jan 2004 13:58:15 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Bevis Peters > Sent: Mittwoch, 7. Januar 2004 13:55 > To: gtkmm-list@gnome.org > Subject: [gtkmm] iterating through the contents of a tree > > > I've searched the archives and the web and the gktmm class lists, but > can't find out how to do this. > > I have a Gtk::TreeView with a Gtk::TreeStore, basically following the > tree view example from the gtkmm pages. My > Gtk::TreeModel::ColumnRecord > contains two strings (one hidden). I can multi select > entries on the tree. > > Now I want to iterate through all the entries selected in my > tree when a > button is pressed, ie something like: > > for (Gtk::TreeIter it=m_refTreeModel.begin(); > it ++it) { > string str = m_Colmuns[it].m_string_name; > } > > Can this be done? surely it can, though I can't work out how. How to iterate over rows: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html Get column values from cells: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08.html#id2878009 Setting column values in cells: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08.html#id2877986 Should help. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 7 08:07:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A7B6C1832B; Wed, 7 Jan 2004 08:07:51 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07D3r7k027028; Wed, 7 Jan 2004 14:03:54 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 14:08:08 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Wed, 7 Jan 2004 14:07:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in > gtkmm 2.4, > gtkmm will also not be able to use gcc 2.96. > > Who needs gcc 2.96 and why? So, nobody needs gcc 2.96? Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Wed Jan 7 08:38:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 838F6182F9 for ; Wed, 7 Jan 2004 08:38:37 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2069D2D6; Wed, 7 Jan 2004 13:34:56 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 7DD212CC for ; Wed, 7 Jan 2004 13:34:55 +0000 (GMT) Message-ID: <3FFC0BD8.6020608@anvil.co.uk> Date: Wed, 07 Jan 2004 13:38:32 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22550@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >How to iterate over rows: >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html > > this is marvellous, but i only want to iterate over the selected rows, or iterate over all the rows and ignore the unselected ones somehow. i could create a 'selected' bool in my Gtk::TreeModel::ColumnRecord which gets set/unset as the rows are selected and then filter on that as i iterate over the rows. this would feel slightly redundant though, since the TreeModel must know which rows have been selected. bevis From Murray.Cumming@Comneon.com Wed Jan 7 08:45:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D0484186EB for ; Wed, 7 Jan 2004 08:45:06 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07Df87k025001; Wed, 7 Jan 2004 14:41:08 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 14:45:22 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: bevis@anvil.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] iterating through the contents of a tree Date: Wed, 7 Jan 2004 14:45:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > >How to iterate over rows: > >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html > > > > > this is marvellous, but i only want to iterate over the > selected rows OK, so use Gtk::TreeView::get_selection() and then Gtk::TreeSelection::get_selected_rows() as I described in a similar thread today. Murray Cumming www.murrayc.com murrayc@usa.net From ajr@ecs.soton.ac.uk Wed Jan 7 09:10:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from raven.ecs.soton.ac.uk (raven.ecs.soton.ac.uk [152.78.70.1]) by mail.gnome.org (Postfix) with ESMTP id 3974B18132; Wed, 7 Jan 2004 09:10:48 -0500 (EST) Received: from pigeon.ecs.soton.ac.uk (ns1 [152.78.68.1]) by raven.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id OAA26807; Wed, 7 Jan 2004 14:10:44 GMT Received: from login.ecs.soton.ac.uk (IDENT:root@login [152.78.68.162]) by pigeon.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id OAA13202; Wed, 7 Jan 2004 14:10:42 GMT Received: (from ajr@localhost) by login.ecs.soton.ac.uk (8.11.6/8.11.6) id i07EAgm25418; Wed, 7 Jan 2004 14:10:42 GMT Date: Wed, 7 Jan 2004 14:10:42 +0000 From: Alistair Riddoch To: gtkmm-list@gnome.org, libsigc-list@gnome.org Message-ID: <20040107141042.GC19081@login.ecs.soton.ac.uk> References: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zCKi3GIZzVBPywwA" Content-Disposition: inline In-Reply-To: <258B0164D480D5118D900800062B385801C22553@vihsx09a.vih.infineon.com> User-Agent: Mutt/1.4i X-MailScanner-Information: Please contact helpdesk@ecs.soton.ac.uk for more information X-ECS-MailScanner: Found to be clean Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --zCKi3GIZzVBPywwA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 07, 2004 at 02:07:42PM +0100, Murray.Cumming@Comneon.com wrote: > > Libsigc++ 2 does not build with gcc 2.96. So if we use it in=20 > > gtkmm 2.4, > > gtkmm will also not be able to use gcc 2.96. > >=20 > > Who needs gcc 2.96 and why? >=20 > So, nobody needs gcc 2.96? >=20 Speaking as a developer who uses both gtkmm, and libsigc++ independantly, I see no burning need to support gcc 2.96 in libsigc++ 2 or later. Al --=20 Alistair Riddoch alriddoch@zepler.org http://www.zepler.org/~alriddoch/ --zCKi3GIZzVBPywwA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE//BNimpFnJxPk53QRAphiAJ49o48lxI/QgTOCFMmPoJoIWWeiGgCdEyfl WfGBzstTFFvxCdkXcZerD48= =wJvP -----END PGP SIGNATURE----- --zCKi3GIZzVBPywwA-- From eckhardt@satorlaser.com Wed Jan 7 10:27:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by mail.gnome.org (Postfix) with ESMTP id 19BC318A78; Wed, 7 Jan 2004 10:27:00 -0500 (EST) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AeFaF-0004mx-00; Wed, 07 Jan 2004 16:26:59 +0100 Received: from [62.109.77.97] (helo=b077097.adsl.hansenet.de) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1AeFaF-00041R-00; Wed, 07 Jan 2004 16:26:59 +0100 From: Ulrich Eckhardt To: libsigc-list@gnome.org Date: Wed, 7 Jan 2004 16:26:54 +0100 User-Agent: KMail/1.5.4 References: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> Organization: Sator Laser GmbH Cc: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401071626.54714.eckhardt@satorlaser.com> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:e35cee35a663f5c944b9750a965814ae Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.4, > gtkmm will also not be able to use gcc 2.96. > > Who needs gcc 2.96 and why? http://gcc.gnu.org/gcc-2.96.html Else, I saw those atrocities on Redhat and also recently on a Suse Alpha. I think both have the option to upgrade to a real GCC. One question, what about gcc 2.95? Is it anywhere near usability? just my EUR 0.02 Uli From find_all@hotmail.com Wed Jan 7 10:29:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f3.sea2.hotmail.com [207.68.165.3]) by mail.gnome.org (Postfix) with ESMTP id A55CF18AB0 for ; Wed, 7 Jan 2004 10:29:14 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 7 Jan 2004 07:29:10 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Wed, 07 Jan 2004 15:29:10 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Wed, 07 Jan 2004 15:29:10 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 07 Jan 2004 15:29:10.0465 (UTC) FILETIME=[FF4A5B10:01C3D532] Subject: [gtkmm] Glib::signal_io Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm having some problems with the Glib::signal_io().connect() function to do the reading from a serial port. The code: /* *********** serie.hh *********** */ #ifndef _SERIE_HH #define _SERIE_HH #include "config.h" #include #include #include #include #include #include class serie { public: serie(); bool callback_funcion(Glib::IOCondition); int fd; protected: private: SigC::Connection conexion; }; #endif /* *********** serie.cc ********** */ serie::serie() { // We put de descriptor of the serial port into fd // Make the polling of the port with the callback_funcion this->conexion = Glib::signal_io().connect(SigC::slot(*this,&serie::callback_funcion), this->fd, Glib::IO_IN); } bool serie::callback_funcion(Glib::IOCondition con) { // It doesn't work so does nothing :-( } When I try to compile I get this error message : g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -DORBIT2=1 -pthread -I/usr/include/libgnomeuimm-2.0 -I/usr/lib/libgnomeuimm-2.0/include -I/usr/include/libgnomemm-2.0 -I/usr/lib/libgnomemm-2.0/include -I/usr/include/libgnomecanvasmm-2.0 -I/usr/lib/libgnomecanvasmm-2.0/include -I/usr/include/gconfmm-2.0 -I/usr/lib/gconfmm-2.0/include -I/usr/include/libglademm-2.0 -I/usr/lib/libglademm-2.0/include -I/usr/include/libbonobouimm-2.0 -I/usr/lib/libbonobouimm-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libbonobomm-2.0 -I/usr/lib/libbonobomm-2.0/include -I/usr/include/libbonoboui-2.0 -I/usr/include/orbitcpp-2.0 -I/usr/local/include/mysql -c -o serie.o `test -f 'serie.cc' || echo './'`serie.cc In the file included of /usr/include/sigc++-1.2/sigc++/object_slot.h:98: /usr/include/sigc++-1.2/sigc++/object_slot.h: In the constructor `SigC::ObjectSlotNode::ObjectSlotNode(void (*)(void*), T*, void*, T2) [with T = serie, T2 = bool (serie::*)(Glib::IOCondition)]': /usr/include/sigc++-1.2/sigc++/slot.h:255: instanced from `SigC::Slot1::Slot1(SigC::SlotNode*) [with R = bool, P1 = Glib::IOCondition]' /usr/include/sigc++-1.2/sigc++/object_slot.h:98: instanced from `SigC::Slot1 SigC::slot(O1&, R (O2::*)(P1)) [with R = bool, P1 = Glib::IOCondition, O1 = serie, O2 = serie]' serie.cc:102: instanced from /usr/include/sigc++-1.2/sigc++/object_slot.h:35: no se encuentra una función coincidente para la llamada a `SigC::ObjectSlotNode::init(serie*&, void*&, void (SigC::Object::*&)())' /usr/include/sigc++-1.2/sigc++/object_slot.h:36: candidates are: void SigC::ObjectSlotNode::init(SigC::Object*, void*, void (SigC::Object::*)()) make: *** [serie.o] Error 1 _________________________________________________________________ Reserva y planifica tu viaje online. http://www.msn.es/Viajes/ From Murray.Cumming@Comneon.com Wed Jan 7 10:39:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E7D1718302; Wed, 7 Jan 2004 10:39:17 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07FZJ7k022520; Wed, 7 Jan 2004 16:35:20 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 16:39:34 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: eckhardt@satorlaser.com, libsigc-list@gnome.org Cc: gtkmm-list@gnome.org Date: Wed, 7 Jan 2004 16:39:07 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry, I mean gcc 2.9*. Actually, I mean gcc <3.2, but I think 3.0/3.1 was short-lived. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: libsigc-list-admin@gnome.org > [mailto:libsigc-list-admin@gnome.org] On Behalf Of Ulrich Eckhardt > Sent: Mittwoch, 7. Januar 2004 16:27 > To: libsigc-list@gnome.org > Cc: gtkmm-list@gnome.org > Subject: Re: [sigc] Abandoning gcc 2.96? > > > On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm > > Libsigc++ 2.4, > > gtkmm will also not be able to use gcc 2.96. > > > > Who needs gcc 2.96 and why? > http://gcc.gnu.org/gcc-2.96.html Else, I saw those atrocities on Redhat and also recently on a Suse Alpha. I think both have the option to upgrade to a real GCC. One question, what about gcc 2.95? Is it anywhere near usability? just my EUR 0.02 Uli _______________________________________________ libsigc-list mailing list libsigc-list@gnome.org http://mail.gnome.org/mailman/listinfo/libsigc-list From trollking@shaw.ca Wed Jan 7 11:01:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 535AA18AF0 for ; Wed, 7 Jan 2004 11:01:43 -0500 (EST) Received: from pd2mr1so.prod.shaw.ca (pd2mr1so-ser.prod.shaw.ca [10.0.141.110]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400G7TN05HW@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400M6QN05GU@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR400C1GN05MV@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 08:57:41 -0700 (MST) Date: Wed, 07 Jan 2004 08:57:41 -0700 From: Dean Kutryk To: gtkmm-list@gnome.org Message-id: <1073491061.6856.2.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT Subject: [gtkmm] A Gtkmm Forum Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I don't know how to use a mailing list. Do you think that one day Gtkmm programmers might have a forum? From Murray.Cumming@Comneon.com Wed Jan 7 11:09:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 15016180DB for ; Wed, 7 Jan 2004 11:09:54 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07G5u7k003236; Wed, 7 Jan 2004 17:05:56 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 17:10:10 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2258D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: trollking@shaw.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] A Gtkmm Forum Date: Wed, 7 Jan 2004 17:09:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I don't know how to use a mailing list. Clearly you do. Just remember to use Reply To All after this and you've understood everything. > Do you think that one > day Gtkmm programmers might have a forum? Feel free to use this, but there are 550 people here, and not many there: http://gnomesupport.org/forums/ Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Wed Jan 7 12:39:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id B49D218175 for ; Wed, 7 Jan 2004 12:38:59 -0500 (EST) Received: (qmail 15654 invoked by uid 65534); 7 Jan 2004 17:38:58 -0000 Received: from pD9E9467C.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.70.124) by mail.gmx.net (mp014) with SMTP; 07 Jan 2004 18:38:58 +0100 X-Authenticated: #109577 Message-ID: <3FFC4432.5010209@gmx.de> Date: Wed, 07 Jan 2004 18:38:58 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] TreeView: Any chance to get the parent when child is selected? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I am facing the following problem: child is selected but I also need the parents´ value. Is there any way...? btw: parent has not been selected before, just expanded with the little triangle to see the children... My list view: o parent ---+ | + child + child + child << this is selected From Murray.Cumming@Comneon.com Wed Jan 7 12:45:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E87AE1819C for ; Wed, 7 Jan 2004 12:45:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07HfM7k018431; Wed, 7 Jan 2004 18:41:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 18:45:36 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22599@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abt@gmx.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] TreeView: Any chance to get the parent when child is selected? Date: Wed, 7 Jan 2004 18:45:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am facing the following problem: > child is selected but I also need > the parents=B4 value. Is there any way...? >=20 > btw: > parent has not been selected before, > just expanded with the little triangle > to see the children... >=20 > My list view: >=20 > o parent ---+ > | > + child > + child > + child << this is selected You need TreeModel::Row::parent(), I think: http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeRow.html= #a6 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 7 13:28:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A7EEB181E5; Wed, 7 Jan 2004 13:28:40 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i07IOg7k028753; Wed, 7 Jan 2004 19:24:42 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Jan 2004 19:28:57 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Date: Wed, 7 Jan 2004 19:28:35 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Abandoning gcc 2.9*? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'll ask this again, using the correct version number: Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Who needs gcc 2.9* and why? Murray Cumming www.murrayc.com murrayc@usa.net From jrzagar@cactus.org Wed Jan 7 13:24:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ns2.arlut.utexas.edu (ns2.arlut.utexas.edu [146.6.211.1]) by mail.gnome.org (Postfix) with ESMTP id 4D68118366; Wed, 7 Jan 2004 13:24:30 -0500 (EST) Received: from ns5.arlut.utexas.edu (ns5.arlut.utexas.edu [10.4.1.6]) by ns2.arlut.utexas.edu (8.12.10/8.12.9) with ESMTP id i07IOTuO099796; Wed, 7 Jan 2004 12:24:29 -0600 (CST) Received: from bofh.arlut.utexas.edu (bofh.arlut.utexas.edu [10.8.16.106]) by ns5.arlut.utexas.edu (8.12.10/8.12.9) with ESMTP id i07IOTpf022183; Wed, 7 Jan 2004 12:24:29 -0600 (CST) From: Randy Zagar To: libsigc-list@gnome.org Cc: gtkmm-list@gnome.org In-Reply-To: <200401071626.54714.eckhardt@satorlaser.com> References: <258B0164D480D5118D900800062B385801C224D7@vihsx09a.vih.infineon.com> <200401071626.54714.eckhardt@satorlaser.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ojQu7Er7G5GnknSmhsyP" X-Mailer: Ximian Evolution 1.0.8 (1.0.8-9.7x.1) Date: 07 Jan 2004 12:24:29 -0600 Message-Id: <1073499869.2713.4.camel@bofh> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.96? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-ojQu7Er7G5GnknSmhsyP Content-Type: multipart/alternative; boundary="=-tWWRsrJT5pESVVfE3FA5" --=-tWWRsrJT5pESVVfE3FA5 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Since RedHat no longer supports any systems that were built with gcc-2.96, it's probably time to think about dropping it... On Wed, 2004-01-07 at 09:26, Ulrich Eckhardt wrote: On Monday 05 January 2004 16:34, Murray.Cumming@Comneon.com wrote: > Libsigc++ 2 does not build with gcc 2.96. So if we use it in gtkmm 2.= 4, > gtkmm will also not be able to use gcc 2.96. >=20 > Who needs gcc 2.96 and why? =20 http://gcc.gnu.org/gcc-2.96.html =20 Else, I saw those atrocities on Redhat and also recently on a Suse Alph= a. I=20 think both have the option to upgrade to a real GCC. =20 One question, what about gcc 2.95? Is it anywhere near usability? =20 just my EUR 0.02 =20 Uli =20 _______________________________________________ libsigc-list mailing list libsigc-list@gnome.org http://mail.gnome.org/mailman/listinfo/libsigc-list =20 --=-tWWRsrJT5pESVVfE3FA5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Since RedHat no longer supports any systems that were built with gcc-2.96, = it's probably time to think about dropping it...

On Wed, 2004-01-07 at 09:26, Ulrich Eckhardt wrote:
On Monday 05 January 2004 =
16:34, Murray.Cumming@Comneon.com wrote:
> Libsigc++ 2 does not build=
 with gcc 2.96. So if we use it in gtkmm 2.4,
> gtkmm will also not be abl=
e to use gcc 2.96.
> 
> Who needs gcc 2.96 and why=
?

http://gcc.gnu.org/gcc-2.96.htm=
l

Else, I saw those atrocities on=
 Redhat and also recently on a Suse Alpha. I 
think both have the option to u=
pgrade to a real GCC.

One question, what about gcc 2.=
95? Is it anywhere near usability?

just my EUR 0.02<=
/I>

Uli

_______________________________=
________________
libsigc-list mailing list
libsigc-list@gnome.org
http://mail.gnome.org/mailman/listinfo/libsigc-list

    
--=-tWWRsrJT5pESVVfE3FA5-- --=-ojQu7Er7G5GnknSmhsyP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA//E7drJr8p/YoerERAqzuAJ0UzhWfP+x6nyp0ybrL7s+fLaQ1kgCfVNob NFZM7EyjYGBBxCTF9tc13jU= =Vbck -----END PGP SIGNATURE----- --=-ojQu7Er7G5GnknSmhsyP-- From paul@linuxaudiosystems.com Wed Jan 7 13:33:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out005.verizon.net (out005pub.verizon.net [206.46.170.143]) by mail.gnome.org (Postfix) with ESMTP id 601C3183CF for ; Wed, 7 Jan 2004 13:33:51 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([151.197.35.110]) by out005.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040107183348.ELCH3381.out005.verizon.net@dhin.linuxaudiosystems.com>; Wed, 7 Jan 2004 12:33:48 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i07IXlWE002009; Wed, 7 Jan 2004 13:33:47 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i07IXlvT002005; Wed, 7 Jan 2004 13:33:47 -0500 Message-Id: <200401071833.i07IXlvT002005@dhin.linuxaudiosystems.com> To: "Find All" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Glib::signal_io In-reply-to: Your message of "Wed, 07 Jan 2004 15:29:10 GMT." Date: Wed, 07 Jan 2004 13:33:47 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.197.35.110] at Wed, 7 Jan 2004 12:33:48 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'm having some problems with the Glib::signal_io().connect() function to do >the reading from a serial port. >class serie #include class serie : public SigC::Object From ghenriks@rogers.com Wed Jan 7 13:55:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep04-mail.bloor.is.net.cable.rogers.com (fep04-mail.bloor.is.net.cable.rogers.com [66.185.86.74]) by mail.gnome.org (Postfix) with ESMTP id 6A00A18132; Wed, 7 Jan 2004 13:55:47 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep04-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040107185308.NJZC430912.fep04-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Wed, 7 Jan 2004 13:53:08 -0500 From: Gerald Henriksen To: Murray.Cumming@Comneon.com Cc: libsigc-list@gnome.org, gtkmm-list@gnome.org Subject: Re: [gtkmm] RE: [sigc] Abandoning gcc 2.96? Date: Wed, 07 Jan 2004 13:55:41 -0500 Message-ID: References: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22580@vihsx09a.vih.infineon.com> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep04-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Wed, 7 Jan 2004 13:53:08 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 7 Jan 2004 16:39:07 +0100, you wrote: >Sorry, I mean gcc 2.9*. Actually, I mean gcc <3.2, but I think 3.0/3.1 = was >short-lived. gcc 3.0 and 3.1 were not widely used, mainstream adoption started with gcc 3.2 The only problem I can see is that I believe some of the *bsd releases are still using gcc 2.9* (ie FreeBSD 4.9 is using gcc 2.95.4). Having said that I think the benefits of moving to gcc 3.2 or better are significant enough from a C++ standpoint that it should be done anyway. From masterofgoon@yahoo.com Wed Jan 7 15:27:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web14802.mail.yahoo.com (web14802.mail.yahoo.com [216.136.224.218]) by mail.gnome.org (Postfix) with SMTP id 8C2AD181DD for ; Wed, 7 Jan 2004 15:27:26 -0500 (EST) Message-ID: <20040107202721.58835.qmail@web14802.mail.yahoo.com> Received: from [67.160.136.100] by web14802.mail.yahoo.com via HTTP; Wed, 07 Jan 2004 12:27:21 PST Date: Wed, 7 Jan 2004 12:27:21 -0800 (PST) From: Kevin Blah To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Link error Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For some reason i am getting the following error: /tmp/cc7BpFlS.o(.text+0x3f): In function `main': /home/kevin/Projects/PortageUI/src/portageui.cc:12: undefined reference to `MainWindow::MainWindow[in-charge]()' /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: undefined reference to `MainWindow::~MainWindow [in-charge]()' /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: undefined reference to `MainWindow::~MainWindow [in-charge]()' collect2: ld returned 1 exit status the constructor and destroctor are both defined and implemented. all the code compiles fine except for the main function which consists of the following: int main(int argc, char **argv) { /* Let GTK strip any args it needs */ Gtk::Main kit(&argc, &argv); /* run run run */ MainWindow mainwindow; Gtk::Main::run(mainwindow); return 0; } help appreciated, kevin __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From gene@erachampion.com Wed Jan 7 15:51:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 463BE18160 for ; Wed, 7 Jan 2004 15:51:54 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i07L1dN29589 for gtkmm-list@gnome.org; Wed, 7 Jan 2004 13:01:39 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Wed, 7 Jan 2004 13:01:38 -0800 Message-ID: <1073509298.3ffc73b2a125e@realtyroad.com> Date: Wed, 7 Jan 2004 13:01:38 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'll ask this again, using the correct version number: > >Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it >in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > >Who needs gcc 2.9* and why? > >Murray Cumming >www.murrayc.com >murrayc@usa.net I dont see a pressing need to support gcc 2.9* on the Linux or Win32 platforms where we have gcc 3.2 availiable. In my opinion, the benefits of Libsigc++ 2 should outweigh the negatives of dropping support for gcc 2.9*. Someone mentioned earlier that BSD may still require gcc 2.9* support. Is this still the case? I'd be happy to see Libsigc++ 2 used in gtkmm2.4. -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From e97_far@e.kth.se Wed Jan 7 16:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from amsfep16-int.chello.nl (amsfep16-int.chello.nl [213.46.243.26]) by mail.gnome.org (Postfix) with ESMTP id B49DF18160 for ; Wed, 7 Jan 2004 16:04:58 -0500 (EST) Received: from arrak ([213.89.195.49]) by amsfep16-int.chello.nl (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with ESMTP id <20040107210455.CLUG13071.amsfep16-int.chello.nl@arrak>; Wed, 7 Jan 2004 22:04:55 +0100 To: Gene Ruebsamen Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? X-Face: )i'EH9W6aRwKbLPj&v.hI$Lk:lK%VtSa&&.u%8q'7Gr515^/4s\@4h8Tx5yqBd8"b4pj. bO}eSbU]\0OaA|Do*]kv@NuqJ3 From: Fredrik Arnerup Date: Wed, 07 Jan 2004 22:07:04 +0100 In-Reply-To: <1073509298.3ffc73b2a125e@realtyroad.com> (Gene Ruebsamen's message of "Wed, 7 Jan 2004 13:01:38 -0800") Message-ID: <874qv779jb.fsf@e.kth.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Gene Ruebsamen writes: > Someone mentioned earlier that BSD may still require gcc 2.9* > support. Is this still the case? I believe OpenBSD uses 2.95 for all non-64-bit platforms. But OpenBSD is mostly used on servers anyway. -- Fredrik Arnerup From palm@nogui.se Wed Jan 7 17:42:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id 695EF181B6; Wed, 7 Jan 2004 17:42:25 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i07MdbT5027645; Wed, 7 Jan 2004 23:39:37 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <3FFC9977.5040100@nogui.se> Date: Thu, 08 Jan 2004 00:42:47 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What about non-gcc compilers? Murray.Cumming@Comneon.com wrote: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > From abhatnag@mda.ca Wed Jan 7 18:14:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 3068218384 for ; Wed, 7 Jan 2004 18:14:44 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i07NEfM26122 for ; Wed, 7 Jan 2004 15:14:42 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 15:14:41 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845D@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Wed, 7 Jan 2004 15:14:41 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Possible to use libglademm -without- a GNOME installation?? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello. I'm trying to load up my .glade file in my application, however I get compilation errors saying that "Gnome" is undeclared when trying to declare my Glib::RefPtr refXml;. I don't have Gnome installed, but I do have gtk-2.2.4, gtkmm-2.2.8 and libglademm-2.0.1 installed. I am using a solaris 8 machine. Is there anyway around this? amit. From pgasper@designadvantage.com Wed Jan 7 18:51:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 01CA21890C; Wed, 7 Jan 2004 18:51:42 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AeNSa-0003h2-4q; Wed, 07 Jan 2004 18:51:36 -0500 Subject: Re: [gtkmm] Abandoning gcc 2.9*? From: Peter Gasper To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> Content-Type: text/plain Organization: Message-Id: <1073519494.2196.3.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 07 Jan 2004 16:51:38 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What is the gtk+ road map on this issue? I assume that if they dropped support then gtkmm would by necessity do also. Do they have any good reasons for continued support of 2.9*? PG On Wed, 2004-01-07 at 11:28, Murray.Cumming@Comneon.com wrote: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list -- Peter Gasper From olau@hardworking.dk Wed Jan 7 18:53:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp010.tiscali.dk (smtp010.tiscali.dk [212.54.64.103]) by mail.gnome.org (Postfix) with ESMTP id 1E13618A2E for ; Wed, 7 Jan 2004 18:53:47 -0500 (EST) Received: from bach.composers (116.ppp1-1.abc.worldonline.dk [213.237.21.116]) by smtp010.tiscali.dk (8.12.10/8.12.10) with ESMTP id i07NugKp013735 for ; Thu, 8 Jan 2004 00:56:51 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AeNTa-0004OK-4u for gtkmm-list@gnome.org; Thu, 08 Jan 2004 00:52:38 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link error References: <20040107202721.58835.qmail@web14802.mail.yahoo.com> From: Ole Laursen Date: Thu, 08 Jan 2004 00:52:38 +0100 In-Reply-To: <20040107202721.58835.qmail@web14802.mail.yahoo.com> (Kevin Blah's message of "Wed, 7 Jan 2004 12:27:21 -0800 (PST)") Message-ID: <87ekub71vd.fsf@bach.composers> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Kevin Blah writes: > For some reason i am getting the following error: > > /tmp/cc7BpFlS.o(.text+0x3f): In function `main': > /home/kevin/Projects/PortageUI/src/portageui.cc:12: > undefined reference to > `MainWindow::MainWindow[in-charge]()' > /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > collect2: ld returned 1 exit status > > the constructor and destroctor are both defined and > implemented. Hm, but the linker is telling you that it can't find them. Are you sure you are linking them with the code for the main function properly? If you are using Automake, one possibility is that you have forgotten to add the .cpp (or .cc or whatever) file for the main window class to the _SOURCES list. -- Ole Laursen http://www.cs.auc.dk/~olau/ From matthew@alledora.co.uk Wed Jan 7 19:03:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mail.gnome.org (Postfix) with ESMTP id A5ED7189CB; Wed, 7 Jan 2004 19:03:51 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040108000352.HKPB1005.mta06-svc.ntlworld.com@alledora.co.uk>; Thu, 8 Jan 2004 00:03:52 +0000 Message-ID: <3FFC9E9E.9070402@alledora.co.uk> Date: Thu, 08 Jan 2004 00:04:46 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Gasper Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> <1073519494.2196.3.camel@PETE> In-Reply-To: <1073519494.2196.3.camel@PETE> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: They're written in pure C, so I very much doubt it's actually much of a problem for them unless they're using C99 which they probably aren't. It's only really C++ that this matters for, as far as I can see, because gcc 2.9* had good C support but woeful C++, which as we all know is much improved in 3.2. So I doubt it's something that they've even thought about. Peter Gasper wrote: > What is the gtk+ road map on this issue? I assume that if they dropped > support then gtkmm would by necessity do also. Do they have any good > reasons for continued support of 2.9*? > > PG > > > On Wed, 2004-01-07 at 11:28, Murray.Cumming@Comneon.com wrote: > >>I'll ask this again, using the correct version number: >> >>Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it >>in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. >> >>Who needs gcc 2.9* and why? >> >>Murray Cumming >>www.murrayc.com >>murrayc@usa.net >> >>_______________________________________________ >>gtkmm-list mailing list >>gtkmm-list@gnome.org >>http://mail.gnome.org/mailman/listinfo/gtkmm-list From billyoc@gnuyork.org Wed Jan 7 19:28:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 3493318124 for ; Wed, 7 Jan 2004 19:28:24 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AeO03-0006W4-DB; Wed, 07 Jan 2004 19:26:11 -0500 To: Kevin Blah Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link error References: <20040107202721.58835.qmail@web14802.mail.yahoo.com> From: Billy O'Connor Date: Wed, 07 Jan 2004 19:26:11 -0500 In-Reply-To: <20040107202721.58835.qmail@web14802.mail.yahoo.com> (Kevin Blah's message of "Wed, 7 Jan 2004 12:27:21 -0800 (PST)") Message-ID: <87brpfi8v0.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Kevin Blah writes: > For some reason i am getting the following error: > > /tmp/cc7BpFlS.o(.text+0x3f): In function `main': > /home/kevin/Projects/PortageUI/src/portageui.cc:12: > undefined reference to > `MainWindow::MainWindow[in-charge]()' > /tmp/cc7BpFlS.o(.text+0x5b):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > /tmp/cc7BpFlS.o(.text+0x82):/home/kevin/Projects/PortageUI/src/portageui.cc:15: > undefined reference to `MainWindow::~MainWindow > [in-charge]()' > collect2: ld returned 1 exit status Can you post a minimal example that fails? I've seen this exact error, but I need a memory jogger. From abhatnag@mda.ca Wed Jan 7 19:31:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id B456418124 for ; Wed, 7 Jan 2004 19:31:38 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i080VaM10083 for ; Wed, 7 Jan 2004 16:31:37 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 16:31:36 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> From: Amit BHATNAGAR To: Amit BHATNAGAR , gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Wed, 7 Jan 2004 16:31:36 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: For what its worth, the following is what I am using to compile my application, (via makefile) g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc `pkg-config --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` `pkg-config libglademm-2.0 --cflags --libs` any ideas would be appreicated. > -----Original Message----- > From: Amit BHATNAGAR [mailto:abhatnag@mda.ca] > Sent: January 7, 2004 3:15 PM > To: gtkmm-list@gnome.org > Subject: [gtkmm] Possible to use libglademm -without- a GNOME > installation?? > > > Hello. > > I'm trying to load up my .glade file in my application, however > I get compilation errors saying that "Gnome" is undeclared when > trying to declare my Glib::RefPtr refXml;. > > I don't have Gnome installed, but I do have gtk-2.2.4, gtkmm-2.2.8 and > libglademm-2.0.1 installed. > > I am using a solaris 8 machine. > > Is there anyway around this? > > amit. > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From billyoc@gnuyork.org Wed Jan 7 19:46:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 8506E1812A for ; Wed, 7 Jan 2004 19:46:46 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AeOHs-0001KF-4K; Wed, 07 Jan 2004 19:44:36 -0500 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? References: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> From: Billy O'Connor Date: Wed, 07 Jan 2004 19:44:35 -0500 In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A26942845E@msxyvr5.mda.ca> (Amit BHATNAGAR's message of "Wed, 7 Jan 2004 16:31:36 -0800") Message-ID: <874qv7i80c.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR writes: > For what its worth, the following is what I am using to compile my > application, (via > makefile) > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc `pkg-config > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` `pkg-config libglademm-2.0 > --cflags --libs` > > any ideas would be appreicated. > Will this smal example compile for you? #include int main (int argc, char **argv) { Glib::RefPtr refXml; return 0; } From abhatnag@mda.ca Wed Jan 7 19:55:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id F2CA118464 for ; Wed, 7 Jan 2004 19:55:43 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i080teM14066; Wed, 7 Jan 2004 16:55:41 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 7 Jan 2004 16:55:40 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942845F@msxyvr5.mda.ca> From: Amit BHATNAGAR To: "'Billy O'Connor'" Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Wed, 7 Jan 2004 16:55:40 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes this does compile. Simply including in my test app solved the problem. I thought this was a much tougher problem when I realized that I didn't have gnome installed. My appologies! amit. > -----Original Message----- > From: Billy O'Connor [mailto:billyoc@gnuyork.org] > Sent: January 7, 2004 4:45 PM > To: Amit BHATNAGAR > Cc: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME > installa tion?? > > > Amit BHATNAGAR writes: > > > For what its worth, the following is what I am using to compile my > > application, (via > > makefile) > > > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc > `pkg-config > > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` > `pkg-config libglademm-2.0 > > --cflags --libs` > > > > any ideas would be appreicated. > > > > Will this smal example compile for you? > > #include > > int main (int argc, char **argv) > { > Glib::RefPtr refXml; > > return 0; > } > > From tkoskine@students.cc.tut.fi Wed Jan 7 20:28:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from paperi.ton.tut.fi (paperi.ton.tut.fi [193.166.234.15]) by mail.gnome.org (Postfix) with ESMTP id 829091831D for ; Wed, 7 Jan 2004 20:28:56 -0500 (EST) Received: from f125b.lanhovi.ton.tut.fi (gurb.ton.tut.fi) [193.166.80.51] by paperi.ton.tut.fi with esmtp (Exim 3.33 #3 (Debian)) id 1AeOyi-0004vl-00; Thu, 08 Jan 2004 03:28:52 +0200 Received: from gurb.ton.tut.fi (localhost.localnet [IPv6:::1]) by gurb.ton.tut.fi (8.12.10/8.12.10) with SMTP id i081SL8k026801 for ; Thu, 8 Jan 2004 03:28:21 +0200 (EET) Date: Thu, 8 Jan 2004 03:28:21 +0200 From: Tero Koskinen To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Abandoning gcc 2.9*? Message-Id: <20040108032821.5c9f4b24.tkoskine@students.cc.tut.fi> In-Reply-To: <874qv779jb.fsf@e.kth.se> References: <1073509298.3ffc73b2a125e@realtyroad.com> <874qv779jb.fsf@e.kth.se> Reply-To: tkoskine@students.cc.tut.fi X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-unknown-openbsd3.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 07 Jan 2004 22:07:04 +0100 Fredrik Arnerup wrote: > Gene Ruebsamen writes: > > > Someone mentioned earlier that BSD may still require gcc 2.9* > > support. Is this still the case? > > I believe OpenBSD uses 2.95 for all non-64-bit platforms. Also NetBSD 1.6.1 (stable) and FreeBSD 4.9 (stable) use GCC 2.95 by their default compiler. All three BSDs provide GCC 3.3.x/3.2.x via ports/packages/pkg_src collection. GCC 3.3.x is the default compiler on NetBSD-current and FreeBSD-current. OpenBSD-current uses GCC 2.95 (on non-64-bit platforms). If the GCC 2.9x support is dropped from gtkmm, then one cannot compile gtkmm on stable release of any BSD without installing another compiler(GCC 3.[23].x) first. Having two GCCs on same system is a little bit chaotic since you need two different versions of C++ libraries, but usually there aren't too many of them and the amount of management stays reasonable. > But OpenBSD is mostly used on servers anyway. Personally I use OpenBSD-current as my primary desktop OS and like to play with gtkmm as a hobby. I have nothing against dropping the GCC 2.9x support since on my system gtkmm is compiled using GCC 3.2.3 because my own C++ code doesn't build with GCC 2.95. -- Tero Koskinen - tkoskine@students.cc.tut.fi From gtkmm-forge-admin@lists.sourceforge.net Wed Jan 7 23:04:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 6D1C618491 for ; Wed, 7 Jan 2004 23:04:24 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AeRPD-0008Lw-5U for gtkmm-list@gnome.org; Wed, 07 Jan 2004 20:04:23 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AeRPD-0008Ky-1j for gtkmm-list@gnome.org; Wed, 07 Jan 2004 20:04:23 -0800 Date: Wed, 07 Jan 2004 20:01:11 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #592 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm (bugzilla-daemon@widget.gnome.org) 2. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) 3. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Wed, 7 Jan 2004 03:16:47 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=86865 Changed by murrayc@usa.net. --- shadow/86865 Tue Jan 6 13:02:25 2004 +++ shadow/86865.tmp.14758 Wed Jan 7 03:16:47 2004 @@ -10,13 +10,13 @@ Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: murrayc@usa.net TargetMilestone: --- URL: Summary: Collection of minor GTK+ bugs that affect gtkmm -BugsThisDependsOn: 52877, 63768, 64601, 72426[FIXED] +BugsThisDependsOn: 52877[FIXED], 63768, 64601, 72426[FIXED] This umbrella bug helps us to know what GTK+ bugs are relevant to gtkmm. We have probably hacked around these bugs, but we'd still like them to be fixed properly. ------- Additional Comments From murrayc@usa.net 2003-07-18 09:55 ------- --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Wed, 7 Jan 2004 08:03:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Wed Dec 17 11:43:31 2003 +++ shadow/129210.tmp.6186 Wed Jan 7 08:03:27 2004 @@ -135,6 +135,11 @@ Hell, it certainly wasn't obvious to me that any of those files were generated when I do something like ``vi +100 gtkmm-2.3.1/gtk/gtkmm/radioaction.h'' ------- Additional Comments From murrayc@usa.net 2003-12-17 11:43 ------- I am happy to apply a patch for this. + +------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- +There is a chance that we will not support gcc 2.96 in future, because +we might use a newer libsigc++ that can not support it. On the mailing +list I am asking who needs 2.96 and why? Maybe you could reply to that. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Wed, 7 Jan 2004 14:45:39 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by dalgoda@ix.netcom.com. --- shadow/129210 Wed Jan 7 08:03:27 2004 +++ shadow/129210.tmp.25974 Wed Jan 7 14:45:38 2004 @@ -140,6 +140,81 @@ I am happy to apply a patch for this. ------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- There is a chance that we will not support gcc 2.96 in future, because we might use a newer libsigc++ that can not support it. On the mailing list I am asking who needs 2.96 and why? Maybe you could reply to that. + +------- Additional Comments From dalgoda@ix.netcom.com 2004-01-07 14:45 ------- +Hi. + +I'm on way too many email lists now as it is (if there was an NNTP +interface available, I'd use it). So I'll just comment here. I did +read the threads in the archives however. + +First, let me explain that I have been maintaining my own home-grown +Linux system since 1994. It's Linux from scratch before +linuxfromscratch existed. I usually keep bleeding edge on most +things, but lately (last couple of years or so) I have slacked off a +bit and not followed the 2.5 kernels. Since the Linux kernel, for a +long time, did not like to build with any gcc-3 [note: I just checked +2.6.1-rc2, and at least the docs there still recommend 2.95.x, x>=3], +I stuck with gcc-2. This also forced me to stay with glibc-2.2.5. +Now, I know that I can run two different versions of gcc, however +since the same `gcc' cannot handle -V for 2.x and 3.x (-V only works +withing the same major). I didn't feel there was anything to really be +gained by upgrading; it wasn't worth the effort of trying to keep gcc2 +and gcc3 executables. + +A few other things pushed this as well. + +For instance, gpc only works with gcc2. And I've always wanted to +play with gpc (in my ohhhh so ample spare time :-). + +It turns out that since gcc2 doesn't support C99 by default, I've +discovered a lot of code that would not build against non-C99 +compilers being put out by people (stuff in Gnome, stuff on CPAN, +etc). To paraphrase a well known saying, "All the world is not gcc." + With the fact that a lot of compilers are not C99 capable yet, my +bleeding edge updates have helped me submit a LOT of patches to +various projects. I imagine I could probably configure gcc3 to not do + C99 by default, but since I've not looked into upgrading, I've not +bothered doing that research. + +I don't do any C++ programming, so the personal need for the better +C++ support simply isn't there. + +Now, those are the reasons why *I* still use 2.95.*. Basically it +comes down to I'm lazy and it's useful for finding issues in the `C' +world. But I admit that for C++, it sucks. + +Some points to consider though: + +Ignore RedHat completely. 2.96 does not exist. Consider 2.95.3 (or +2.95.4 which is really cvs-tip from the 2_95 branch). Just because RH +doesn't support the older compiler doesn't mean other people don't. +You can buy support for older RH from Progeny. Heck, Sun continues to +build Java against RH6.2 or something like that. A better solution +would be to look at what Debian supports in their unstable branch (or +wherever the comparable gtkmm stuff would live). + +All the world is not Linux, either. Someone pointed out that one of +the BSD's is using gcc-2.95.*. What do other current OS's support in +their C++ environments as far as compatibilty goes? I think that's a +far better guage. + +If going to require the newer libsigc++, then yeah, definitely go +ahead an use modern C++ features and don't worry about backwards +compatibility. + +However, I would strongly advise against specifically checking against + version numbers of compilers. That is just too fragile (regressions, +branching, etc) and only works for g++. Instead, do feature checks +against whatever C++ compiler is being used. As bug, like this one, +appear, then add it as a feature check and say "Your compiler does not +support feature XYZ." + +Well, that's a lot of babbling. :-> + +I guess it could all be summarized with this: Go ahead and require +modern C++ features, but try to catch support for them up front with +autoconf. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From minutsil@cse.msu.edu Wed Jan 7 23:31:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from red.cse.msu.edu (red.cse.msu.edu [35.9.20.11]) by mail.gnome.org (Postfix) with ESMTP id 74EAB184D0 for ; Wed, 7 Jan 2004 23:31:34 -0500 (EST) Received: from arctic.cse.msu.edu (arctic.cse.msu.edu [35.9.20.20]) by red.cse.msu.edu (8.12.10/8.12.10) with ESMTP id i084VUnN006760; Wed, 7 Jan 2004 23:31:30 -0500 (EST) Date: Wed, 7 Jan 2004 23:31:30 -0500 (EST) From: Silviu D Minut To: Cc: Subject: RE: [gtkmm] A Gtkmm Forum In-Reply-To: <258B0164D480D5118D900800062B385801C2258D@vihsx09a.vih.infineon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Could we have a newsgroup? Could we move everybody on this list to the newsgroup? I find it much more convenient than the mailing list. On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > I don't know how to use a mailing list. > > Clearly you do. Just remember to use Reply To All after this and you've > understood everything. > > > Do you think that one > > day Gtkmm programmers might have a forum? > > Feel free to use this, but there are 550 people here, and not many there: > http://gnomesupport.org/forums/ > > Murray Cumming > www.murrayc.com > murrayc@usa.net > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From trollking@shaw.ca Wed Jan 7 23:50:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 505D0183D1 for ; Wed, 7 Jan 2004 23:50:26 -0500 (EST) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-ser.prod.shaw.ca [10.0.141.179]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR500J5ZMNQU7@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Received: from pn2ml7so.prod.shaw.ca (pn2ml7so-qfe0.prod.shaw.ca [10.0.121.151]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR5009QYMNQSN@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR50072IMNQ2B@l-daemon> for gtkmm-list@gnome.org; Wed, 07 Jan 2004 21:47:50 -0700 (MST) Date: Wed, 07 Jan 2004 21:47:50 -0700 From: Dean Kutryk In-reply-to: <20040107170020.15419.74567.Mailman@moniker.gnome.org> To: gtkmm-list@gnome.org Message-id: <1073537270.7353.0.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <20040107170020.15419.74567.Mailman@moniker.gnome.org> Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #809 - 2 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Can't we come out of the closet and get an operational forums. I'll kick in a few dollars even. On Wed, 2004-01-07 at 10:00, gtkmm-list-request@gnome.org wrote: > Send gtkmm-list mailing list submissions to > gtkmm-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.gnome.org/mailman/listinfo/gtkmm-list > or, via email, send a message with subject or body 'help' to > gtkmm-list-request@gnome.org > > You can reach the person managing the list at > gtkmm-list-admin@gnome.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gtkmm-list digest..." > > > Today's Topics: > > 1. A Gtkmm Forum (Dean Kutryk) > 2. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > > --__--__-- > > Message: 1 > Date: Wed, 07 Jan 2004 08:57:41 -0700 > From: Dean Kutryk > To: gtkmm-list@gnome.org > Subject: [gtkmm] A Gtkmm Forum > > I don't know how to use a mailing list. Do you think that one day Gtkmm > programmers might have a forum? > > > > --__--__-- > > Message: 2 > From: Murray.Cumming@Comneon.com > To: trollking@shaw.ca, gtkmm-list@gnome.org > Subject: RE: [gtkmm] A Gtkmm Forum > Date: Wed, 7 Jan 2004 17:09:47 +0100 > > > I don't know how to use a mailing list. > > Clearly you do. Just remember to use Reply To All after this and you've > understood everything. > > > Do you think that one > > day Gtkmm programmers might have a forum? > > Feel free to use this, but there are 550 people here, and not many there: > http://gnomesupport.org/forums/ > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > > --__--__-- > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > End of gtkmm-list Digest From cjnygard@fast.net Thu Jan 8 00:23:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from newmx1.fast.net (newmx1.fast.net [209.92.1.31]) by mail.gnome.org (Postfix) with SMTP id 2C2C31815D for ; Thu, 8 Jan 2004 00:23:22 -0500 (EST) Received: (qmail 8186 invoked from network); 8 Jan 2004 05:23:21 -0000 Received: from unknown (HELO ?192.168.1.19?) ([209.92.227.114]) (envelope-sender ) by newmx1.fast.net (qmail-ldap-1.03) with SMTP for ; 8 Jan 2004 05:23:21 -0000 Subject: RE: [gtkmm] A Gtkmm Forum From: Carl Nygard To: Silviu D Minut Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org In-Reply-To: References: Content-Type: text/plain Message-Id: <1073510602.25100.21.camel@traveler> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 07 Jan 2004 16:23:23 -0500 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-07 at 23:31, Silviu D Minut wrote: > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. > How about a conference call instead? I really enjoy those, especially hearing all the silly accents;) I propose every monday at 4pm (y'all pick the timezone)... oh wait, that's Oprah. Where's that XML-TV when you need it... > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list From gtkmm-list@mlists.thewrittenword.com Thu Jan 8 00:33:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from spuckler.il.thewrittenword.com (mail2.thewrittenword.com [67.95.107.111]) by mail.gnome.org (Postfix) with ESMTP id 4F4121815D for ; Thu, 8 Jan 2004 00:33:45 -0500 (EST) Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com [127.0.0.1]) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) with ESMTP id i085Xgne085918 for ; Wed, 7 Jan 2004 23:33:42 -0600 (CST) Received: (from china@localhost) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) id i085Xgc1085917 for gtkmm-list@gnome.org; Wed, 7 Jan 2004 23:33:42 -0600 (CST) Date: Wed, 7 Jan 2004 23:33:42 -0600 From: Albert Chin To: gtkmm-list@gnome.org Message-ID: <20040108053342.GA85860@spuckler.il.thewrittenword.com> Reply-To: gtkmm-list@gnome.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] Building gtkmm-2.2.8 with HP C++ compiler Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Do the following errors make sense to anyone? I'm trying to build gtkmm-2.2.8 with the HP C++ compiler on HP-UX 11.00 and 11i. aCC -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include -I/opt/TWWfsw/libsigc++12/lib/include -I/opt/TWWfsw/libsigc++12/include -D_REENTRANT -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include +O2 -AA -z +Onofltacc +ESlit +DAportable +Oentrysched +Odataprefetch +Onolimit -c convert.cc +Z -DPIC -o .libs/convert.o Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, but has not been defined as a type. SequenceToString(In pbegin, In pend); ^^ Error 221: "../../glib/glibmm/ustring.h", line 705 # Member 'SequenceToString' not declared in struct SequenceToString<#1,char> ["../../glib/glibmm/ustring.h", line 547]. ustring::SequenceToString::SequenceToString(In pbegin, In pend) ^^^^^^^^^^^^^^^^ Warning (anachronism) 600: "../../glib/glibmm/ustring.h", line 705 # Type specifier is omitted; "int" is no longer assumed. ustring::SequenceToString::SequenceToString(In pbegin, In pend) ^^^^^^^^^^^^^^^^ Error 188: "../../glib/glibmm/ustring.h", line 707 # Member and base class initializers may only be used in constructors. std::string(pbegin, pend) ^^^^^^^^^^^^ Error 221: "../../glib/glibmm/ustring.h", line 711 # Member 'SequenceToString' not declared in struct SequenceToString<#1,unsigned int> ["../../glib/glibmm/ustring.h", line 553]. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ Error 174: "../../glib/glibmm/ustring.h", line 711 # Function redefinition; previously defined as "int Glib::SequenceToString(#1,#1)" at ["../../glib/glibmm/ustring.h", line 705]. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ Error 445: "../../glib/glibmm/ustring.h", line 711 # Cannot recover from earlier errors. ustring::SequenceToString::SequenceToString(In pbegin, In pend ^^^^^^^^^^^^^^^^ gmake[5]: *** [convert.lo] Error 1 gmake[5]: Leaving directory `/opt/build/gtkmm-2.2.8/glib/glibmm' -- albert chin (china@thewrittenword.com) From Murray.Cumming@Comneon.com Thu Jan 8 03:28:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 60B731812C; Thu, 8 Jan 2004 03:28:13 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088OE7k028094; Thu, 8 Jan 2004 09:24:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:28:29 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225D7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: palm@nogui.se Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? Date: Thu, 8 Jan 2004 09:28:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > What about non-gcc compilers? They are a differerent story. I would expect us to support at least SUN's Forte C++ compiler, and the Microsoft Visual C++ .Net 2003 compiler. But I don't think anybody has tried libsigc++ 2 with them yet. A couple of people did offer me some help with a SUN login, and hopefully I'll have a chance to try that soon. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 8 03:28:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ACB1618156 for ; Thu, 8 Jan 2004 03:28:53 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088Os7k028524; Thu, 8 Jan 2004 09:24:54 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:29:09 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225D8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abhatnag@mda.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa tion?? Date: Thu, 8 Jan 2004 09:28:51 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm trying to load up my .glade file in my application, however > I get compilation errors saying that "Gnome" is undeclared when > trying to declare my Glib::RefPtr refXml;. > > I don't have Gnome installed, but I do have gtk-2.2.4, > gtkmm-2.2.8 and libglademm-2.0.1 installed. > > I am using a solaris 8 machine. > > Is there anyway around this? I think you are just forgetting an #include. Please look at the libglademm examples. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 8 03:32:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D07C91812C for ; Thu, 8 Jan 2004 03:32:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i088SH7k029781; Thu, 8 Jan 2004 09:28:17 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 09:32:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C225DC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: minutsil@cse.msu.edu, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] A Gtkmm Forum Date: Thu, 8 Jan 2004 09:32:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I think that the MARC archive people have a newsgroup gateweay thingy. Tell us how it works if you investigate: http://marc.theaimsgroup.com/?l=gtkmm&r=1&w=2#gtkmm Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Silviu D Minut [mailto:minutsil@cse.msu.edu] > Sent: Donnerstag, 8. Januar 2004 05:32 > To: Murray.Cumming@Comneon.com > Cc: gtkmm-list@gnome.org > Subject: RE: [gtkmm] A Gtkmm Forum > > > Could we have a newsgroup? Could we move everybody on this > list to the newsgroup? I find it much more convenient than > the mailing list. > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and > > you've understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many > > there: http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > From find_all@hotmail.com Thu Jan 8 04:10:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f26.sea2.hotmail.com [207.68.165.26]) by mail.gnome.org (Postfix) with ESMTP id 96E3418149 for ; Thu, 8 Jan 2004 04:10:00 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 8 Jan 2004 01:09:59 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Thu, 08 Jan 2004 09:09:59 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: paul@linuxaudiosystems.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Glib::signal_io Date: Thu, 08 Jan 2004 09:09:59 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 08 Jan 2004 09:09:59.0727 (UTC) FILETIME=[3134FBF0:01C3D5C7] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >From: Paul Davis >To: "Find All" >CC: gtkmm-list@gnome.org >Subject: Re: [gtkmm] Glib::signal_io Date: Wed, 07 Jan 2004 13:33:47 -0500 > > >I'm having some problems with the Glib::signal_io().connect() function to >do > >the reading from a serial port. > > >class serie > >#include > >class serie : public SigC::Object I make a "locate sigc++/signal_system.h" an nothing :-( I've use sigc++/signal.h (I've sigc++1.2 not the 2 version) and it compiles, does this signal.h work as signal_system.h of the sigc++2? I'm having some problems with the serial port configuration (I want to use it at 115200 baud), so I can't verify if its executes well. Is there a example of using a serial port in gtkmm on the web that it really works (I have found the example of the monitoring I/O but it faults, it uses 'very' deprecated functions)? _________________________________________________________________ Una mejor experiencia en Internet. Prueba gratis dos meses MSN 8. http://join.msn.com/?pgmarket=es-es&XAPID=1577&DI=1055 From trollking@shaw.ca Thu Jan 8 05:18:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 681EE183E2 for ; Thu, 8 Jan 2004 05:18:30 -0500 (EST) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-ser.prod.shaw.ca [10.0.141.177]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600JEH1YTIV@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Received: from pn2ml4so.prod.shaw.ca (pn2ml4so-qfe0.prod.shaw.ca [10.0.121.148]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600E8U1YTQN@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600A0T1YTRF@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:18:29 -0700 (MST) Date: Thu, 08 Jan 2004 03:18:29 -0700 From: Dean Kutryk To: gtkmm-list@gnome.org Message-id: <1073557109.7912.4.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT Subject: [gtkmm] A burning question about X Windows Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I realize that Gtkmm is a wrapper of the software library GTK+, however is it wrong for a C++ programmer to perhaps want to design some custom widgets or enhancements that he uses along with the the Gtkmm library. I was wondering why there are so few tutorials on XFree86. How on earth can people ignore all information and knowledge about such a core infrastructure, and yet the Linux kernel gets so much attention. From trollking@shaw.ca Thu Jan 8 05:19:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id 00CCC18217 for ; Thu, 8 Jan 2004 05:19:42 -0500 (EST) Received: from pd4mr3so.prod.shaw.ca (pd4mr3so-qfe3.prod.shaw.ca [10.0.141.214]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600HNP1PL5K@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR6006TC1PL85@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600IEE1PLOA@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 03:12:57 -0700 (MST) Date: Thu, 08 Jan 2004 03:12:57 -0700 From: Dean Kutryk In-reply-to: <20040108091104.10624.55859.Mailman@moniker.gnome.org> To: gtkmm-list@gnome.org Message-id: <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <20040108091104.10624.55859.Mailman@moniker.gnome.org> Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #811 - 13 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This 'newsgroup thing' looks like a massive batch of ideas all piled on top of each other. Talk about a barrier to technology, I see that technology only complicates old practices. I think it would be better to literally get out a pencil and a piece of paper and do this whole thing using the postal service. On Thu, 2004-01-08 at 02:11, gtkmm-list-request@gnome.org wrote: > Send gtkmm-list mailing list submissions to > gtkmm-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.gnome.org/mailman/listinfo/gtkmm-list > or, via email, send a message with subject or body 'help' to > gtkmm-list-request@gnome.org > > You can reach the person managing the list at > gtkmm-list-admin@gnome.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gtkmm-list digest..." > > > Today's Topics: > > 1. RE: Possible to use libglademm -without- a GNOME installa > tion?? (Amit BHATNAGAR) > 2. Re: Abandoning gcc 2.9*? (Tero Koskinen) > 3. Gtkmm-forge digest, Vol 1 #592 - 3 msgs (gtkmm-forge-request@lists.sourceforge.net) > 4. RE: A Gtkmm Forum (Silviu D Minut) > 5. Re: gtkmm-list digest, Vol 1 #809 - 2 msgs (Dean Kutryk) > 6. RE: A Gtkmm Forum (Carl Nygard) > 7. Building gtkmm-2.2.8 with HP C++ compiler (Albert Chin) > 8. RE: Abandoning gcc 2.9*? (Murray.Cumming@Comneon.com) > 9. RE: Possible to use libglademm -without- a GNOME installa > tion?? (Murray.Cumming@Comneon.com) > 10. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > 11. Re: Glib::signal_io (Find All) > > --__--__-- > > Message: 1 > From: Amit BHATNAGAR > To: "'Billy O'Connor'" > Cc: gtkmm-list@gnome.org > Subject: RE: [gtkmm] Possible to use libglademm -without- a GNOME installa > tion?? > Date: Wed, 7 Jan 2004 16:55:40 -0800 > > Yes this does compile. Simply including in my test > app solved the problem. > > I thought this was a much tougher problem when I realized that I didn't > have gnome installed. > > My appologies! > > amit. > > > -----Original Message----- > > From: Billy O'Connor [mailto:billyoc@gnuyork.org] > > Sent: January 7, 2004 4:45 PM > > To: Amit BHATNAGAR > > Cc: gtkmm-list@gnome.org > > Subject: Re: [gtkmm] Possible to use libglademm -without- a GNOME > > installa tion?? > > > > > > Amit BHATNAGAR writes: > > > > > For what its worth, the following is what I am using to compile my > > > application, (via > > > makefile) > > > > > > g++ -o gtempCpp gtemp_app.cc gtempcpp.cc gtemp_app_glade.cc > > `pkg-config > > > --cflags gtkmm-2.0` `pkg-config --libs gtkmm-2.0` > > `pkg-config libglademm-2.0 > > > --cflags --libs` > > > > > > any ideas would be appreicated. > > > > > > > Will this smal example compile for you? > > > > #include > > > > int main (int argc, char **argv) > > { > > Glib::RefPtr refXml; > > > > return 0; > > } > > > > > > --__--__-- > > Message: 2 > Date: Thu, 8 Jan 2004 03:28:21 +0200 > From: Tero Koskinen > To: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Abandoning gcc 2.9*? > Reply-To: tkoskine@students.cc.tut.fi > > On Wed, 07 Jan 2004 22:07:04 +0100 > Fredrik Arnerup wrote: > > Gene Ruebsamen writes: > > > > > Someone mentioned earlier that BSD may still require gcc 2.9* > > > support. Is this still the case? > > > > I believe OpenBSD uses 2.95 for all non-64-bit platforms. > > Also NetBSD 1.6.1 (stable) and FreeBSD 4.9 (stable) use GCC 2.95 by their > default compiler. All three BSDs provide GCC 3.3.x/3.2.x via > ports/packages/pkg_src collection. > > GCC 3.3.x is the default compiler on NetBSD-current and FreeBSD-current. > OpenBSD-current uses GCC 2.95 (on non-64-bit platforms). > > If the GCC 2.9x support is dropped from gtkmm, then one cannot > compile gtkmm on stable release of any BSD without installing > another compiler(GCC 3.[23].x) first. > > Having two GCCs on same system is a little bit chaotic since you > need two different versions of C++ libraries, but usually there aren't > too many of them and the amount of management stays reasonable. > > > But OpenBSD is mostly used on servers anyway. > > Personally I use OpenBSD-current as my primary desktop OS and like > to play with gtkmm as a hobby. I have nothing against dropping the GCC 2.9x > support since on my system gtkmm is compiled using GCC 3.2.3 because my own > C++ code doesn't build with GCC 2.95. > > -- > Tero Koskinen - tkoskine@students.cc.tut.fi > > --__--__-- > > Message: 3 > Date: Wed, 07 Jan 2004 20:01:11 -0800 > From: gtkmm-forge-request@lists.sourceforge.net > Reply-To: gtkmm-forge@lists.sourceforge.net > To: gtkmm-forge@lists.sourceforge.net > Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #592 - 3 msgs > > Send Gtkmm-forge mailing list submissions to > gtkmm-forge@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gtkmm-forge > or, via email, send a message with subject or body 'help' to > gtkmm-forge-request@lists.sourceforge.net > > You can reach the person managing the list at > gtkmm-forge-admin@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gtkmm-forge digest..." > > > gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. > > > Today's Topics: > > 1. [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm (bugzilla-daemon@widget.gnome.org) > 2. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) > 3. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) > > -- __--__-- > > Message: 1 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net > Cc: > Date: Wed, 7 Jan 2004 03:16:47 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 86865] Changed - Collection of minor GTK+ bugs that affect gtkmm > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=86865 > > Changed by murrayc@usa.net. > > --- shadow/86865 Tue Jan 6 13:02:25 2004 > +++ shadow/86865.tmp.14758 Wed Jan 7 03:16:47 2004 > @@ -10,13 +10,13 @@ > Component: general > AssignedTo: gtkmm-forge@lists.sourceforge.net > ReportedBy: murrayc@usa.net > TargetMilestone: --- > URL: > Summary: Collection of minor GTK+ bugs that affect gtkmm > -BugsThisDependsOn: 52877, 63768, 64601, 72426[FIXED] > +BugsThisDependsOn: 52877[FIXED], 63768, 64601, 72426[FIXED] > > This umbrella bug helps us to know what GTK+ bugs are relevant to gtkmm. > We have probably hacked around these bugs, but we'd still like them to be > fixed properly. > > ------- Additional Comments From murrayc@usa.net 2003-07-18 09:55 ------- > > > -- __--__-- > > Message: 2 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com > Cc: > Date: Wed, 7 Jan 2004 08:03:27 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=129210 > > Changed by murrayc@usa.net. > > --- shadow/129210 Wed Dec 17 11:43:31 2003 > +++ shadow/129210.tmp.6186 Wed Jan 7 08:03:27 2004 > @@ -135,6 +135,11 @@ > Hell, it certainly wasn't obvious to me that any of those files were > generated when I do something like ``vi +100 > gtkmm-2.3.1/gtk/gtkmm/radioaction.h'' > > ------- Additional Comments From murrayc@usa.net 2003-12-17 11:43 ------- > I am happy to apply a patch for this. > + > +------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- > +There is a chance that we will not support gcc 2.96 in future, because > +we might use a newer libsigc++ that can not support it. On the mailing > +list I am asking who needs 2.96 and why? Maybe you could reply to that. > > > -- __--__-- > > Message: 3 > From: bugzilla-daemon@widget.gnome.org > To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com > Cc: > Date: Wed, 7 Jan 2004 14:45:39 -0500 (EST) > Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 > > Please do not reply to this email- if you want to comment on the bug, go to the > URL shown below and enter your comments there. > > http://bugzilla.gnome.org/show_bug.cgi?id=129210 > > Changed by dalgoda@ix.netcom.com. > > --- shadow/129210 Wed Jan 7 08:03:27 2004 > +++ shadow/129210.tmp.25974 Wed Jan 7 14:45:38 2004 > @@ -140,6 +140,81 @@ > I am happy to apply a patch for this. > > ------- Additional Comments From murrayc@usa.net 2004-01-07 08:03 ------- > There is a chance that we will not support gcc 2.96 in future, because > we might use a newer libsigc++ that can not support it. On the mailing > list I am asking who needs 2.96 and why? Maybe you could reply to that. > + > +------- Additional Comments From dalgoda@ix.netcom.com 2004-01-07 14:45 ------- > +Hi. > + > +I'm on way too many email lists now as it is (if there was an NNTP > +interface available, I'd use it). So I'll just comment here. I did > +read the threads in the archives however. > + > +First, let me explain that I have been maintaining my own home-grown > +Linux system since 1994. It's Linux from scratch before > +linuxfromscratch existed. I usually keep bleeding edge on most > +things, but lately (last couple of years or so) I have slacked off a > +bit and not followed the 2.5 kernels. Since the Linux kernel, for a > +long time, did not like to build with any gcc-3 [note: I just checked > +2.6.1-rc2, and at least the docs there still recommend 2.95.x, x>=3], > +I stuck with gcc-2. This also forced me to stay with glibc-2.2.5. > +Now, I know that I can run two different versions of gcc, however > +since the same `gcc' cannot handle -V for 2.x and 3.x (-V only works > +withing the same major). I didn't feel there was anything to really be > +gained by upgrading; it wasn't worth the effort of trying to keep gcc2 > +and gcc3 executables. > + > +A few other things pushed this as well. > + > +For instance, gpc only works with gcc2. And I've always wanted to > +play with gpc (in my ohhhh so ample spare time :-). > + > +It turns out that since gcc2 doesn't support C99 by default, I've > +discovered a lot of code that would not build against non-C99 > +compilers being put out by people (stuff in Gnome, stuff on CPAN, > +etc). To paraphrase a well known saying, "All the world is not gcc." > + With the fact that a lot of compilers are not C99 capable yet, my > +bleeding edge updates have helped me submit a LOT of patches to > +various projects. I imagine I could probably configure gcc3 to not do > + C99 by default, but since I've not looked into upgrading, I've not > +bothered doing that research. > + > +I don't do any C++ programming, so the personal need for the better > +C++ support simply isn't there. > + > +Now, those are the reasons why *I* still use 2.95.*. Basically it > +comes down to I'm lazy and it's useful for finding issues in the `C' > +world. But I admit that for C++, it sucks. > + > +Some points to consider though: > + > +Ignore RedHat completely. 2.96 does not exist. Consider 2.95.3 (or > +2.95.4 which is really cvs-tip from the 2_95 branch). Just because RH > +doesn't support the older compiler doesn't mean other people don't. > +You can buy support for older RH from Progeny. Heck, Sun continues to > +build Java against RH6.2 or something like that. A better solution > +would be to look at what Debian supports in their unstable branch (or > +wherever the comparable gtkmm stuff would live). > + > +All the world is not Linux, either. Someone pointed out that one of > +the BSD's is using gcc-2.95.*. What do other current OS's support in > +their C++ environments as far as compatibilty goes? I think that's a > +far better guage. > + > +If going to require the newer libsigc++, then yeah, definitely go > +ahead an use modern C++ features and don't worry about backwards > +compatibility. > + > +However, I would strongly advise against specifically checking against > + version numbers of compilers. That is just too fragile (regressions, > +branching, etc) and only works for g++. Instead, do feature checks > +against whatever C++ compiler is being used. As bug, like this one, > +appear, then add it as a feature check and say "Your compiler does not > +support feature XYZ." > + > +Well, that's a lot of babbling. :-> > + > +I guess it could all be summarized with this: Go ahead and require > +modern C++ features, but try to catch support for them up front with > +autoconf. > > > > -- __--__-- > > _______________________________________________ > Gtkmm-forge mailing list > Gtkmm-forge@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtkmm-forge > > > End of Gtkmm-forge Digest > > --__--__-- > > Message: 4 > Date: Wed, 7 Jan 2004 23:31:30 -0500 (EST) > From: Silviu D Minut > To: > Cc: > Subject: RE: [gtkmm] A Gtkmm Forum > > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > --__--__-- > > Message: 5 > Date: Wed, 07 Jan 2004 21:47:50 -0700 > From: Dean Kutryk > To: gtkmm-list@gnome.org > Subject: [gtkmm] Re: gtkmm-list digest, Vol 1 #809 - 2 msgs > > Can't we come out of the closet and get an operational forums. I'll kick > in a few dollars even. > > On Wed, 2004-01-07 at 10:00, gtkmm-list-request@gnome.org wrote: > > Send gtkmm-list mailing list submissions to > > gtkmm-list@gnome.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > or, via email, send a message with subject or body 'help' to > > gtkmm-list-request@gnome.org > > > > You can reach the person managing the list at > > gtkmm-list-admin@gnome.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of gtkmm-list digest..." > > > > > > Today's Topics: > > > > 1. A Gtkmm Forum (Dean Kutryk) > > 2. RE: A Gtkmm Forum (Murray.Cumming@Comneon.com) > > > > -- __--__-- > > > > Message: 1 > > Date: Wed, 07 Jan 2004 08:57:41 -0700 > > From: Dean Kutryk > > To: gtkmm-list@gnome.org > > Subject: [gtkmm] A Gtkmm Forum > > > > I don't know how to use a mailing list. Do you think that one day Gtkmm > > programmers might have a forum? > > > > > > > > -- __--__-- > > > > Message: 2 > > From: Murray.Cumming@Comneon.com > > To: trollking@shaw.ca, gtkmm-list@gnome.org > > Subject: RE: [gtkmm] A Gtkmm Forum > > Date: Wed, 7 Jan 2004 17:09:47 +0100 > > > > > I don't know how to use a mailing list. > > > > Clearly you do. Just remember to use Reply To All after this and you've > > understood everything. > > > > > Do you think that one > > > day Gtkmm programmers might have a forum? > > > > Feel free to use this, but there are 550 people here, and not many there: > > http://gnomesupport.org/forums/ > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > > > > > > -- __--__-- > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > > End of gtkmm-list Digest > > > --__--__-- > > Message: 6 > Subject: RE: [gtkmm] A Gtkmm Forum > From: Carl Nygard > To: Silviu D Minut > Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org > Date: Wed, 07 Jan 2004 16:23:23 -0500 > > On Wed, 2004-01-07 at 23:31, Silviu D Minut wrote: > > Could we have a newsgroup? Could we move everybody on this list to the > > newsgroup? I find it much more convenient than the mailing list. > > > > How about a conference call instead? I really enjoy those, especially > hearing all the silly accents;) > > I propose every monday at 4pm (y'all pick the timezone)... oh wait, > that's Oprah. Where's that XML-TV when you need it... > > > > > On Wed, 7 Jan 2004 Murray.Cumming@Comneon.com wrote: > > > > > > I don't know how to use a mailing list. > > > > > > Clearly you do. Just remember to use Reply To All after this and you've > > > understood everything. > > > > > > > Do you think that one > > > > day Gtkmm programmers might have a forum? > > > > > > Feel free to use this, but there are 550 people here, and not many there: > > > http://gnomesupport.org/forums/ > > > > > > Murray Cumming > > > www.murrayc.com > > > murrayc@usa.net > > > _______________________________________________ > > > gtkmm-list mailing list > > > gtkmm-list@gnome.org > > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > --__--__-- > > Message: 7 > Date: Wed, 7 Jan 2004 23:33:42 -0600 > From: Albert Chin > To: gtkmm-list@gnome.org > Reply-To: gtkmm-list@gnome.org > Subject: [gtkmm] Building gtkmm-2.2.8 with HP C++ compiler > > Do the following errors make sense to anyone? I'm trying to build > gtkmm-2.2.8 with the HP C++ compiler on HP-UX 11.00 and 11i. > > aCC -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include -I/opt/TWWfsw/libsigc++12/lib/include -I/opt/TWWfsw/libsigc++12/include -D_REENTRANT -I/opt/TWWfsw/libglib22/include -I/opt/TWWfsw/libglib22/lib/include +O2 -AA -z +Onofltacc +ESlit +DAportable +Oentrysched +Odataprefetch +Onolimit -c convert.cc +Z -DPIC -o .libs/convert.o > Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 549 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 419: "../../glib/glibmm/ustring.h", line 555 # 'In' is used as a type, > but has not been defined as a type. > SequenceToString(In pbegin, In pend); > ^^ > Error 221: "../../glib/glibmm/ustring.h", line 705 # Member 'SequenceToString' > not declared in struct SequenceToString<#1,char> > ["../../glib/glibmm/ustring.h", line 547]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend) > ^^^^^^^^^^^^^^^^ > Warning (anachronism) 600: "../../glib/glibmm/ustring.h", line 705 # Type > specifier is omitted; "int" is no longer assumed. > ustring::SequenceToString::SequenceToString(In pbegin, In pend) > ^^^^^^^^^^^^^^^^ > Error 188: "../../glib/glibmm/ustring.h", line 707 # Member and base class > initializers may only be used in constructors. > std::string(pbegin, pend) > ^^^^^^^^^^^^ > Error 221: "../../glib/glibmm/ustring.h", line 711 # Member 'SequenceToString' > not declared in struct SequenceToString<#1,unsigned int> > ["../../glib/glibmm/ustring.h", line 553]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > Error 174: "../../glib/glibmm/ustring.h", line 711 # Function redefinition; > previously defined as "int Glib::SequenceToString(#1,#1)" at > ["../../glib/glibmm/ustring.h", line 705]. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > Error 445: "../../glib/glibmm/ustring.h", line 711 # Cannot recover from > earlier errors. > ustring::SequenceToString::SequenceToString(In pbegin, In pend > ^^^^^^^^^^^^^^^^ > gmake[5]: *** [convert.lo] Error 1 > gmake[5]: Leaving directory `/opt/build/gtkmm-2.2.8/glib/glibmm' From lx.develop@ntlworld.com Thu Jan 8 07:05:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by mail.gnome.org (Postfix) with ESMTP id 5345A18150 for ; Thu, 8 Jan 2004 07:05:24 -0500 (EST) Received: from ntlworld.com ([81.97.90.183]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040108120512.FTRL9852.mta03-svc.ntlworld.com@ntlworld.com> for ; Thu, 8 Jan 2004 12:05:12 +0000 Message-ID: <3FFD4879.93C43CDB@ntlworld.com> Date: Thu, 08 Jan 2004 12:09:29 +0000 From: "Darren W." X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.19-16mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [gtkmm] walking trees Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I writing an app that needs to search a tree, so decided to walk a tree using foreach method. Since TreeView inherits from TreeModel i assumed I wouldn't have to cast my TreeView object to a TreeModel object. Gtk::TreeModel* foo; foo = (Gtk::TreeModel*) this; foo->foreach(SigC::slot(&myfunc)); however if I don't, it uses the foreach method which is inherited from Container. Firstly am I right trying to search the tree this way, and secondary, am I would have thought it didn't make sense to override the foreach method this way? thanks, From Murray.Cumming@Comneon.com Thu Jan 8 07:10:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 66D8B18150 for ; Thu, 8 Jan 2004 07:10:50 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i08C6pDb021887; Thu, 8 Jan 2004 13:06:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 13:11:06 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22620@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lx.develop@ntlworld.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] walking trees Date: Thu, 8 Jan 2004 13:10:41 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I writing an app that needs to search a tree, so decided to > walk a tree using foreach method. Since TreeView inherits > from TreeModel No, it does not. Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Thu Jan 8 07:14:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 0C18618150 for ; Thu, 8 Jan 2004 07:14:53 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 08A5D278; Thu, 8 Jan 2004 12:11:11 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 371C6274 for ; Thu, 8 Jan 2004 12:11:10 +0000 (GMT) Message-ID: <3FFD49B6.1030307@anvil.co.uk> Date: Thu, 08 Jan 2004 12:14:46 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C2255C@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: > >OK, so use Gtk::TreeView::get_selection() and then >Gtk::TreeSelection::get_selected_rows() as I described in a similar thread >today. > > marvellous. i've got something that works, though i strongly suspect it's not the cleanest way to do it: Glib::RefPtr sel = mw_tree_view.get_selection(); list listPaths = sel->get_selected_rows(); list::iterator it; for (it=listPaths.begin(); it != listPaths.end(); ++it) { Gtk::TreeModel::Path path = *it; Gtk::TreeModel::iterator qwe = m_refTreeModel->get_iter(path); Gtk::TreeModel::Row row = *qwe; string dir = row[mc_columns.m_path_name]; } bevis From Murray.Cumming@Comneon.com Thu Jan 8 07:27:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8D00F18910 for ; Thu, 8 Jan 2004 07:27:05 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i08CN5Db027552; Thu, 8 Jan 2004 13:23:05 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Jan 2004 13:27:21 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: trollking@shaw.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] A burning question about X Windows Date: Thu, 8 Jan 2004 13:26:59 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I realize that Gtkmm is a wrapper of the software library > GTK+, however is it wrong for a C++ programmer to perhaps > want to design some custom widgets or enhancements that he > uses along with the the Gtkmm library. You can of course create custom widgets with gtkmm, without using an X calls. If you need to do any special drawing or even handling then you can use gdkmm (GDK), though it is rare that you need to. GDK wraps X in a cross-platform way, so if you use gtkmm and gdkmm instead of X calls, then your widget will work on Windows and the linux framebuffer as well as X. > I was wondering why > there are so few tutorials on XFree86. How on earth can > people ignore all information and knowledge about such a core > infrastructure, and yet the Linux kernel gets so much attention. Because almost nobody needs to know about X, because we have GTK+ and gtkmm and Qt? Murray Cumming www.murrayc.com murrayc@usa.net From matthew@alledora.co.uk Thu Jan 8 07:39:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 3162B1810F for ; Thu, 8 Jan 2004 07:39:10 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AeZPH-000394-9r for gtkmm-list@gnome.org; Thu, 08 Jan 2004 12:36:59 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AeZPG-00038q-92; Thu, 08 Jan 2004 12:36:58 +0000 Message-ID: <3FFD4FA2.60508@alledora.co.uk> Date: Thu, 08 Jan 2004 12:40:02 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Silviu D Minut Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] A Gtkmm Forum References: In-Reply-To: X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Silviu D Minut wrote: > Could we have a newsgroup? Could we move everybody on this list to the > newsgroup? I find it much more convenient than the mailing list. What about the people who like mailing lists and don't like newsgroups? (that's me, by the way) I suppose a mail-news gateway of some sort is a technical possibility. From trollking@shaw.ca Thu Jan 8 09:03:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mail.gnome.org (Postfix) with ESMTP id EA1901811A for ; Thu, 8 Jan 2004 09:03:14 -0500 (EST) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-ser.prod.shaw.ca [10.0.141.177]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600F1KCDE2B@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca (pn2ml3so-qfe0.prod.shaw.ca [10.0.121.147]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600LXFCDEO2@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Received: from [68.145.159.87] (h68-145-159-87.cg.shawcable.net [68.145.159.87]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HR600KHTCDE8H@l-daemon> for gtkmm-list@gnome.org; Thu, 08 Jan 2004 07:03:14 -0700 (MST) Date: Thu, 08 Jan 2004 07:03:13 -0700 From: Dean Kutryk Subject: RE: [gtkmm] A burning question about X Windows In-reply-to: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Message-id: <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-type: text/plain Content-transfer-encoding: 7BIT References: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: All this stuff is very nice. I am using Linux. I had to set a couple environment variables in $HOME/.bashrc to get Gtkmm running: PKG_CONFIG_PATH=/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig LD_LIBRARY_PATH=/usr/lib/:/usr/local/lib/ I think this information should be somewhere on the website. I'm disappointed that all the books on XFree86 are out of print and a decade old, but at least there are libraries like GDK (long live the guys who maintain them). I suppose that a Forum costs money and most people are flat broke losers. Well if someone independently started a Linux programming forum that concentrated on Standard C++ and Gtkmm, as well as pumping out a few books on the subject, maybe there wouldn't be a massive revolt here, over something like that. On Thu, 2004-01-08 at 05:26, Murray.Cumming@Comneon.com wrote: > > I realize that Gtkmm is a wrapper of the software library > > GTK+, however is it wrong for a C++ programmer to perhaps > > want to design some custom widgets or enhancements that he > > uses along with the the Gtkmm library. > > You can of course create custom widgets with gtkmm, without using an X > calls. If you need to do any special drawing or even handling then you can > use gdkmm (GDK), though it is rare that you need to. GDK wraps X in a > cross-platform way, so if you use gtkmm and gdkmm instead of X calls, then > your widget will work on Windows and the linux framebuffer as well as X. > > > I was wondering why > > there are so few tutorials on XFree86. How on earth can > > people ignore all information and knowledge about such a core > > infrastructure, and yet the Linux kernel gets so much attention. > > Because almost nobody needs to know about X, because we have GTK+ and gtkmm > and Qt? > > Murray Cumming > www.murrayc.com > murrayc@usa.net From abt@gmx.de Thu Jan 8 09:31:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 0897818A15 for ; Thu, 8 Jan 2004 09:31:37 -0500 (EST) Received: (qmail 19841 invoked by uid 65534); 8 Jan 2004 14:31:33 -0000 Received: from pD9E94CA9.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.169) by mail.gmx.net (mp026) with SMTP; 08 Jan 2004 15:31:33 +0100 X-Authenticated: #109577 Message-ID: <3FFD69C6.6060802@gmx.de> Date: Thu, 08 Jan 2004 15:31:34 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Bevis Peters Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <3FFC018E.5080606@anvil.co.uk> In-Reply-To: <3FFC018E.5080606@anvil.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Same here. I can´t figure out how to iterate trough a tree like this starting at the selected row (including parents!) to select the following line. child12->child13->parent2->child21->child22 o parent1 ---+ | + child11 + child12 << this is selected + child13 | o parent2 ---+ | + child21 + child22 > I have a Gtk::TreeView with a Gtk::TreeStore, basically following the > tree view example from the gtkmm pages. My Gtk::TreeModel::ColumnRecord > contains two strings (one hidden). I can multi select entries on the tree. > > Now I want to iterate through all the entries selected in my tree when a > button is pressed, ie something like: From bee@pickle.me.uk Thu Jan 8 09:51:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mail.gnome.org (Postfix) with ESMTP id 93227188FB for ; Thu, 8 Jan 2004 09:51:01 -0500 (EST) X-Sasl-enc: pOHMsA+VjJfjVM3icKvU1g 1073573460 Received: from purple (cpc5-cmbg2-3-0-cust234.cmbg.cable.ntl.com [81.105.236.234]) by mail.messagingengine.com (Postfix) with ESMTP id C687F49F9C9 for ; Thu, 8 Jan 2004 09:50:59 -0500 (EST) Received: from barnaby by purple with local (Exim 3.36 #1 (Debian)) id 1AebUf-00028i-00 for ; Thu, 08 Jan 2004 14:50:41 +0000 Date: Thu, 8 Jan 2004 14:50:41 +0000 From: Barnaby Gray To: gtkmm-list@gnome.org Subject: Re: [gtkmm] A burning question about X Windows Message-ID: <20040108145041.GA4260@purple> Mail-Followup-To: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C2262E@vihsx09a.vih.infineon.com> <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> User-Agent: Mutt/1.5.4i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Thu, Jan 08, 2004 at 07:03:13AM -0700, Dean Kutryk wrote: > I suppose that a Forum costs money and most people are flat broke > losers. I think everybody that obsesses about forums is a flat broke loser. But that's just my matter of opinion. ;-) Barnaby From abt@gmx.de Thu Jan 8 10:07:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7271018A86 for ; Thu, 8 Jan 2004 10:07:48 -0500 (EST) Received: (qmail 6773 invoked by uid 65534); 8 Jan 2004 15:07:46 -0000 Received: from pD9E94CA9.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.169) by mail.gmx.net (mp027) with SMTP; 08 Jan 2004 16:07:46 +0100 X-Authenticated: #109577 Message-ID: <3FFD7243.3010206@gmx.de> Date: Thu, 08 Jan 2004 16:07:47 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: Bevis Peters , gtkmm-list@gnome.org Subject: Re: [gtkmm] iterating through the contents of a tree References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> In-Reply-To: <3FFD69C6.6060802@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: To be more precise: The problem is, I cannot see the selection. The row is not highlighted: Does a list view has children? void ConstraintTable::onNextClicked() { cout << "START ConstraintTable::onNextClicked()" << endl; typedef Gtk::TreeModel::Children type_children; type_children children = m_list_store_ref->children(); for(type_children::iterator iter = children.begin(); iter != children.end(); ++iter) { // is this my next row? Gtk::TreeModel::Row row = *iter; if(row) m_tree_sel_ref->select(row); } cout << "END ConstraintTable::onNextClicked()" << endl; } > Same here. I can´t figure out how to iterate trough a tree like this > starting > at the selected row (including parents!) to select the following line. From arvind@acarlab.com Thu Jan 8 10:34:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.97.9]) by mail.gnome.org (Postfix) with SMTP id D9D0D1860C for ; Thu, 8 Jan 2004 10:34:46 -0500 (EST) Received: (qmail 760 invoked by uid 1000); 8 Jan 2004 04:01:17 -0000 Date: Thu, 8 Jan 2004 09:31:16 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling Message-ID: <20040108040116.GA737@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, On Tue, 6 Jan 2004, Gene Ruebsamen wrote: > >is there a way to connect the signal handler > > B::something_in_B_selected() to A::update_values_in_A()? > > class A : public Gtk::VBox > > class B : public Gtk::VBox > Here's an example (someone can step in and tell me if this is the > preferred way of doing things): > B::something_in_B_selected() to A::update_values_in_A()? > class A : public Gtk::VBox > class B : public Gtk::VBox > // Example given here > The key is to pass a MainWindow pointer to the MainMenu constructor. > You can then use this pointer to MainWindow to connect your signals > to any signal handler in MainWindow. I've declared MainMenu to be > a friend of MainWindow in order to allow access to the protected > signal handlers. > If anyone has a better way of doing this, please speak up. =) I CAN'T MAKE THE LETTERS ANY BIGGER; but ... If the goal is just to get your program working, this is as good a way as any - but it defeats the whole purpose of classes. One way would be - Provide class A with a register() interface function so that if an event in B occurs, it is left to A to decide upon the necessary action - maybe postpone it! The main thing is to act through interfaces so that instances don't become classes! e.g. class A { typedef enum { E1, E2, E3 } ACTION; class_B b; void register( ACTION now ) { if( can_do_it( now ) ) do_it(); } } Another way would be - Since in the example given it appears that the MainWindow and the MainMenu are essentially in existence together or not at all; one could derive MainGate e.g. class MainGate : public Gtk::Window, public Gtk::Menu { // class definition }; and do the signal connection in MainGate c'tor or func. where the data of both parent classes are accessible. Hope this is useful. - arvind r. From paul@linuxaudiosystems.com Thu Jan 8 11:42:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out011.verizon.net (out011pub.verizon.net [206.46.170.135]) by mail.gnome.org (Postfix) with ESMTP id 9FE7718256 for ; Thu, 8 Jan 2004 11:42:19 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out011.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040108164219.GTDP26708.out011.verizon.net@dhin.linuxaudiosystems.com>; Thu, 8 Jan 2004 10:42:19 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i08GgHZ8003984; Thu, 8 Jan 2004 11:42:18 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i08GgHeB003980; Thu, 8 Jan 2004 11:42:17 -0500 Message-Id: <200401081642.i08GgHeB003980@dhin.linuxaudiosystems.com> To: Dean Kutryk Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org Subject: Re: [gtkmm] A burning question about X Windows In-reply-to: Your message of "Thu, 08 Jan 2004 07:03:13 MST." <1073570593.10038.28.camel@h68-145-159-87.cg.shawcable.net> Date: Thu, 08 Jan 2004 11:42:16 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out011.verizon.net from [141.151.15.227] at Thu, 8 Jan 2004 10:42:18 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >I'm disappointed that all the books on XFree86 are out of print and a >decade old, but at least there are libraries like GDK (long live the you can still get them quite easily second hand. and to be honest, they *are* useful if you want to understand what is going on under the hood. but with pango (i.e. client side rendering) for text and cairo on the horizon, pretty soon most Xlib stuff is going to become fairly irrelevant even when running GTK on X. >I suppose that a Forum costs money and most people are flat broke >losers. Well if someone independently started a Linux programming forum channels on irc.freenode.net are free. they work well. however, i suspect that few of us have time to hang on in such a place. mailing lists work well for toolkits and libraries, because they are asynchronous. From palm@nogui.se Thu Jan 8 12:55:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id B802218560 for ; Thu, 8 Jan 2004 12:55:49 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i08Hr0T5093424; Thu, 8 Jan 2004 18:53:00 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <3FFDA7CE.6050406@nogui.se> Date: Thu, 08 Jan 2004 19:56:14 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dean Kutryk Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Re: gtkmm-list digest, Vol 1 #811 - 13 msgs References: <20040108091104.10624.55859.Mailman@moniker.gnome.org> <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> In-Reply-To: <1073556777.7853.2.camel@h68-145-159-87.cg.shawcable.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi Dean! That is just because you selected to receive the messages as a daily digest when you subscribed to the mailing list. Uncheck that in the list administration webpage and you will receive each message as an individual mail. I would then suggest that you configure your mail client to organize the mails in a threaded fashion in a separate mailbox. Btw, this is a "mailing list", not a newsgroup. Dean Kutryk wrote: > This 'newsgroup thing' looks like a massive batch of ideas all piled on > top of each other. Talk about a barrier to technology, I see that > technology only complicates old practices. I think it would be better to > literally get out a pencil and a piece of paper and do this whole thing > using the postal service. > From abt@gmx.de Fri Jan 9 03:38:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id CD273185C4 for ; Fri, 9 Jan 2004 03:38:53 -0500 (EST) Received: (qmail 13221 invoked by uid 65534); 9 Jan 2004 08:38:50 -0000 Received: from pD9E9434D.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.67.77) by mail.gmx.net (mp004) with SMTP; 09 Jan 2004 09:38:50 +0100 X-Authenticated: #109577 Message-ID: <3FFE689B.3020805@gmx.de> Date: Fri, 09 Jan 2004 09:38:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: gtkmm-list@gnome.org References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> In-Reply-To: <3FFD7243.3010206@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] How to make a selected row in a tree view highlighted Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I select a row with: m_tree_sel_ref->select(row); Can somebody throw light on this? The row is selected ( I can get the value ) but the selected row is not highlighted in the GUI. TIA, Andi From Murray.Cumming@Comneon.com Fri Jan 9 08:29:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C4F9F184F9 for ; Fri, 9 Jan 2004 08:29:31 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DPWDb020703 for ; Fri, 9 Jan 2004 14:25:32 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:29:49 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Fri, 9 Jan 2004 14:29:29 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] API documentation: aiming for 100% Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I added quite a lot of API documentation to the TreeView and TextView classes and associated classes, in gtkmm 2.4. For instance: http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/group__TreeView.html I think that 100% API documentation should be possible, and it's an easy way to help. Undocumented class methods are probably undocumented because - They are hand-coded because they use a different parameter order compared to the underlying C function. In this case you should look at the C docs and modify it accordingly. Look at the generated html of the C docs because not everything is in the .c files: http://www.gtk.org/api/ - They are _MEMBER_GET() or _MEMBER_SET() accessors for struct fields. These needs little "Get the something" descriptions if there is nothing else to say. All classes should also have documentation for the class itself. Again, you can usually rephrase the C documentation for these. If you run "make doxygen-warnings" in gtkmm/docs/reference/, it will generate a text file with warnings about undocumented methods and classes. I'm not sure how complete that will be, but it's a start. I think we can reach 100%. That would be good. Murray Cumming www.murrayc.com murrayc@usa.net From gcgg-gtkmm-list@m.gmane.org Fri Jan 9 08:30:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 34EF0185BB for ; Fri, 9 Jan 2004 08:30:32 -0500 (EST) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AewiY-0000Yu-00 for ; Fri, 09 Jan 2004 14:30:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AewX2-0000Oz-00 for ; Fri, 09 Jan 2004 14:18:32 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AewX2-00025F-00 for ; Fri, 09 Jan 2004 14:18:32 +0100 From: Mike Hearn Date: Fri, 09 Jan 2004 13:21:45 +0000 Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] PropertyProxies vs get/set? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I have a feeling this might be an FAQ, but hey, it's not actually in the FAQ so it must be OK to ask, right? :) I'd like to know why GTKmm apparently relegates PropertyProxies to a minor implementation detail, and favours accessor methods instead. Coming from a Delphi background, it seems natural to me to write code like this: tree.reorderable = true; rather than tree.set_reorderable(true); I wouldn't really mind get/setters if the propertyproxies were actually named after the properties and documented, but it seems that instead all the documentation is attached to the accessors instead and propertyproxies need a slightly ugly property_ prefix. I'm curious as to the reasoning behind this. I can understand having accessors for those who prefer them - matter of taste - but it seems these are the official GTKmm way and the ability to treat properties syntax-wise as variables isn't used. Why not? thanks -mike From christof@petig-baender.de Fri Jan 9 08:43:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id B9039181A4 for ; Fri, 9 Jan 2004 08:43:18 -0500 (EST) Received: (qmail 27828 invoked by uid 4225); 9 Jan 2004 13:43:17 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 09 Jan 2004 13:43:17 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aewux-0003UJ-00; Fri, 09 Jan 2004 14:43:15 +0100 Message-ID: <3FFEAFEB.1040703@petig-baender.de> Date: Fri, 09 Jan 2004 14:43:07 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list , gtk-devel-list@gnome.org References: <258B0164D480D5118D900800062B385801C226C4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C4@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: signals versus vfuncs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I see that Christof understands gtkmm internals very well. I'll be sending > relevant patch requests to him in future. I had to learn it the hard way to implement (and debug) a custom tree model :-/ . [An easy example with 3.5G virtual rows is at http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/manuproc/Komponenten/examples/owntreemodel.cc?rev=HEAD&content-type=text/plain ] Christof ----- more of interest to gtkmm-list ------- Do you still feel that a custom tree model is unnecessary? My feeling is that for _massive_ amounts of lines the C++ wrapper imposes too much overhead (vfunc indirection, iterator conversion etc. sum up once the [] operator on a Gtk::Tree::Row is used many times to access the columns). My std::map based model easily handles sorted insertion/reorganization of 100k rows into a tree without significant slowdown. PS: It seems that because of the Gtk::TreeModel::add_interface(get_type()); call during type creation I cannot use the Glib provided custom type infrastructure. [Try to leave it out ...] Perhaps it's worth fixing the need for it (IMHO deriving from Gtk::TreeModel should do the trick as well). But to judge or fix that I understand too few of the gtkmm type internals (still learning) and their proposed API. From Murray.Cumming@Comneon.com Fri Jan 9 08:46:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8CA73185E5 for ; Fri, 9 Jan 2004 08:46:44 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DgiDb016092; Fri, 9 Jan 2004 14:42:44 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:47:01 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: mike@theoretic.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] PropertyProxies vs get/set? Date: Fri, 9 Jan 2004 14:46:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm curious as to the reasoning behind this. I can understand > having accessors for those who prefer them - matter of taste > - but it seems these are the official GTKmm way and the > ability to treat properties syntax-wise as variables isn't > used. Why not? I would remove the property proxies, but they have one extra feature - they have a signal so you can monitor changes. Maybe sometime in the future we will think of a simpler type-safe way to offer this notification signal. The get and set methods can be thought of as convenience syntax (as they are in GTK+), but I do think that it is convenient, because the average C++ developer is very familiar with them. button.property_something() == 2; is strange and unusual to a lot of people, even if it's obvious to us. Feel free to document them - our tools/extra_defs_gen programs should be able to extract the properties documentation for reuse by gmmproc. That should not be difficult to implement. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Fri Jan 9 08:54:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ABD8B1818B; Fri, 9 Jan 2004 08:54:27 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09DoRDb020358; Fri, 9 Jan 2004 14:50:27 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 14:54:44 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: christof@petig-baender.de Cc: gtkmm-list@gnome.org, gtk-devel-list@gnome.org Date: Fri, 9 Jan 2004 14:54:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Christof wrote: > Do you still feel that a custom tree model is unnecessary? My feeling is > that for _massive_ amounts of lines the C++ wrapper imposes too much > overhead (vfunc indirection, iterator conversion etc. sum up once the [] > operator on a Gtk::Tree::Row is used many times to access the columns). > > My std::map based model easily handles sorted insertion/reorganization > of 100k rows into a tree without significant slowdown. I would like to see some proof that it's faster in GTK+ when using normal TreeStores or ListStores. Such proof should be in bugzilla as a gtkmm performance bug. > PS: It seems that because of the > Gtk::TreeModel::add_interface(get_type()); call during type creation I > cannot use the Glib provided custom type infrastructure. I'm not sure what you want to do instead, or can't do. What "Glib provided custom type infrastructure" do you mean? API docs URLS are nicest. > [Try to leave > it out ...] Perhaps it's worth fixing the need for it (IMHO deriving > from Gtk::TreeModel should do the trick as well). But to judge or fix > that I understand too few of the gtkmm type internals (still learning) > and their proposed API. The problem, I think, is that the Gtype must come from the derived type, but you want that type to be registered in the base C++ class, whose constructor runs before the derived part of the class exists. I don't think the add_interface() call is too bad for something that is very rarely done. Murray Cumming www.murrayc.com murrayc@usa.net From christof@petig-baender.de Fri Jan 9 08:56:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id AF61C1872B for ; Fri, 9 Jan 2004 08:56:45 -0500 (EST) Received: (qmail 23017 invoked by uid 4225); 9 Jan 2004 13:56:44 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 13:56:44 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aex7y-0003WH-00; Fri, 09 Jan 2004 14:56:42 +0100 Message-ID: <3FFEB313.1010601@petig-baender.de> Date: Fri, 09 Jan 2004 14:56:35 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, libsigc-list@gnome.org References: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C225A4@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Go for it, even the 'official' _woody_backport_ of gtkmm2 already uses gcc 3.0. [Woody is what I would call a dinosaur system for gtk2] And 2.9x was never an option for me ever since I encountered the dynamic_cast bug (see SIGSEGV with glademm, gtk2 and gcc 2.95) about one year ago. Christof From mike@theoretic.com Fri Jan 9 09:04:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mail.gnome.org (Postfix) with ESMTP id 633AA18469 for ; Fri, 9 Jan 2004 09:04:02 -0500 (EST) Received: from [192.168.0.4] ([81.97.76.53]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040109140402.ROMH1005.mta06-svc.ntlworld.com@[192.168.0.4]>; Fri, 9 Jan 2004 14:04:02 +0000 Subject: RE: [gtkmm] PropertyProxies vs get/set? From: Mike Hearn To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C226CB@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1073657235.3120.5.camel@linux.littlegreen> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 09 Jan 2004 14:07:15 +0000 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 2004-01-09 at 13:46, Murray.Cumming@Comneon.com wrote: > button.property_something() == 2; > is strange and unusual to a lot of people, even if it's obvious to us. Really? It seems the most intuitive syntax to me, I hadn't realise some people found it wierd. I also hadn't realised these were functions. Why not simply have them as member variables that hold the proxies, so you can do "button.something = 2"? > Feel free to document them - our tools/extra_defs_gen programs should be > able to extract the properties documentation for reuse by gmmproc. That > should not be difficult to implement. Heh, well I noticed that often the GTKmm docs for properties in the get/set methods are often better than the plain GTK+ ones.... thanks -mike From Nick.Huxley@barclayscapital.com Fri Jan 9 09:14:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id 598C8187AC; Fri, 9 Jan 2004 09:14:41 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i09ECuof003751; Fri, 9 Jan 2004 09:12:56 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i09ECn67003690; Fri, 9 Jan 2004 09:12:49 -0500 (EST) Received: from NYKPSMEH001.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Fri, 9 Jan 2004 09:14:32 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by NYKPSMEH001.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Fri, 9 Jan 2004 09:14:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Date: Fri, 9 Jan 2004 09:14:31 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Thread-Index: AcPWuTQ4Z1Av0BT6RXSsty3Z3Ac7gwAARp5Q From: "Huxley, Nick: IT (NYK)" To: "Christof Petig" , Cc: , X-OriginalArrivalTime: 09 Jan 2004 14:14:32.0175 (UTC) FILETIME=[E6D907F0:01C3D6BA] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: http://gcc.gnu.org/releases.html Says it all really. 2.9 is 5 years old and sucks for C++. It's not that hard to install two gcc's on one machine for all those *BSD users who want to build gtkmm. At the end of the day gtkmm uses templates and you need a compiler that supports them properly. gcc 3.2 is over 18 months old and it's free. If people are developing they should know enough to install a compiler and all modern Linuces come with at leat gcc 3.2. Do we now the oldest version of gcc 3.x that will compile libsigc++? Nick -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Christof Petig Sent: Friday, January 09, 2004 8:57 AM To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org; libsigc-list@gnome.org Subject: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Murray.Cumming@Comneon.com schrieb: > I'll ask this again, using the correct version number: >=20 > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we=20 > Libsigc++ use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. Go for it, even the 'official' _woody_backport_ of gtkmm2 already uses=20 gcc 3.0. [Woody is what I would call a dinosaur system for gtk2] And=20 2.9x was never an option for me ever since I encountered the=20 dynamic_cast bug (see SIGSEGV with glademm, gtk2 and gcc 2.95) about one year ago. Christof _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ From christof@petig-baender.de Fri Jan 9 09:41:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 501A9185D8 for ; Fri, 9 Jan 2004 09:41:47 -0500 (EST) Received: (qmail 21264 invoked by uid 4225); 9 Jan 2004 14:41:45 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 14:41:45 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AexpX-0003c7-00; Fri, 09 Jan 2004 15:41:43 +0100 Message-ID: <3FFEBDA0.4020305@petig-baender.de> Date: Fri, 09 Jan 2004 15:41:36 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226CF@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > Christof wrote: > >>Do you still feel that a custom tree model is unnecessary? My feeling is >>that for _massive_ amounts of lines the C++ wrapper imposes too much >>overhead (vfunc indirection, iterator conversion etc. sum up once the [] >>operator on a Gtk::Tree::Row is used many times to access the columns). >> >>My std::map based model easily handles sorted insertion/reorganization >>of 100k rows into a tree without significant slowdown. > > > I would like to see some proof that it's faster in GTK+ when using normal > TreeStores or ListStores. Such proof should be in bugzilla as a gtkmm > performance bug. I really have no intention to port a three additional library involving, heavily STL using _example_ program to C (custom smart pointers, custom GValue like with user defined sort order etc.). And to be honest, I really gave up to further research this issue once you told me so, back then. The implementation was using STL's lower_bound on Gtk::TreeStore and performed poorly, now with minimal changes and std::map it flies. Perhaps I might code an trivial example in C++ with Gtk::TreeModel vs. GtkTreeModel. If you _really_ want to analyze this. And if I ever find the time for it. Feel free to ask/confirm. >>PS: It seems that because of the >>Gtk::TreeModel::add_interface(get_type()); call during type creation I >>cannot use the Glib provided custom type infrastructure. > > > I'm not sure what you want to do instead, or can't do. What "Glib provided > custom type infrastructure" do you mean? API docs URLS are nicest. I did not find any API docs when I researched implementing Gtk::Interfaces. While I really like the easy Glib::ObjectBase(typeid(...)) way of getting a GType (e.g. custom cellrenderer), I have to use Glib::ObjectBase("MyTreeModel"), Glib::Object(Glib::ConstructParams(myclass.init(), (char*) 0)), create a custom Class struct: class MyTreeModel_Class : public Glib::Class {public: const Glib::Class& init(); static void class_init_function(void* g_class, void* class_data); }; a custom GTypeInfo and call g_type_register_static and Gtk::TreeModel::add_interface. IMHO it should be possible to just derive from some class (e.g. Gtk::CustomTreeModelBase) and override the vfuncs. Perhaps the key to this overhead is the fact that a TreeModel is not a GObject and there's no way to specify additional things to be done at GType registration "TreeModel::add_interface" (is there?). > The problem, I think, is that the Gtype must come from the derived type, but > you want that type to be registered in the base C++ class, whose constructor > runs before the derived part of the class exists. I don't think the > add_interface() call is too bad for something that is very rarely done. add_interface is ok with me. It's the bulk of lines needed to get a minimal custom TreeModel that bothers me. Christof From christof@petig-baender.de Fri Jan 9 09:48:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id 068A018567 for ; Fri, 9 Jan 2004 09:48:08 -0500 (EST) Received: (qmail 9107 invoked by uid 4225); 9 Jan 2004 14:48:06 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 09 Jan 2004 14:48:06 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aexvg-0003cy-00; Fri, 09 Jan 2004 15:48:04 +0100 Message-ID: <3FFEBF1D.5020403@petig-baender.de> Date: Fri, 09 Jan 2004 15:47:57 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: "Huxley, Nick: IT (NYK)" Cc: Murray.Cumming@Comneon.com, gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: Re: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? References: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> In-Reply-To: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Huxley, Nick: IT (NYK) schrieb: > http://gcc.gnu.org/releases.html > > Says it all really. 2.9 is 5 years old and sucks for C++. It's not that > hard to install two gcc's on one machine for all those *BSD users who > want to build gtkmm. At the end of the day gtkmm uses templates and you > need a compiler that supports them properly. > > gcc 3.2 is over 18 months old and it's free. If people are developing > they should know enough to install a compiler and all modern Linuces > come with at leat gcc 3.2. Using binary incompatible compilers on one machine is a major pain. You have to make sure that each and every C++ library you want to use is compiled with the same compiler. So abandoning the compiler used to compile nearly any other library present on the system is not an easy choice. I simply wanted to say that nowadays g++-3.x-only systems are commonplace. Drop support for 2.9x, but don't tell people that switching to a binary incompatible compiler is a piece of cake. Christof From Murray.Cumming@Comneon.com Fri Jan 9 10:48:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 3BC4B18AFE for ; Fri, 9 Jan 2004 10:48:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i09FiKDb016099; Fri, 9 Jan 2004 16:44:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Jan 2004 16:48:37 +0100 Message-ID: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: christof@petig-baender.de Cc: gtkmm-list@gnome.org Date: Fri, 9 Jan 2004 16:48:18 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > >>Do you still feel that a custom tree model is unnecessary? > My feeling > >>is > >>that for _massive_ amounts of lines the C++ wrapper imposes > too much > >>overhead (vfunc indirection, iterator conversion etc. sum > up once the [] > >>operator on a Gtk::Tree::Row is used many times to access > the columns). > >> > >>My std::map based model easily handles sorted > insertion/reorganization > >>of 100k rows into a tree without significant slowdown. > > > > > > I would like to see some proof that it's faster in GTK+ when using > > normal TreeStores or ListStores. Such proof should be in > bugzilla as a > > gtkmm performance bug. > > I really have no intention to port a three additional library > involving, > heavily STL using _example_ program to C (custom smart > pointers, custom > GValue like with user defined sort order etc.). I don't think a simple test case should be too difficult. But even if you don't put a test case in bugzilla, please report your suspicion to bugzilla and maybe someone else will test the theory with test cases. > And to be honest, I really gave up to further research this > issue once > you told me so, back then. The implementation was using STL's > lower_bound on Gtk::TreeStore and performed poorly, now with minimal > changes and std::map it flies. > > Perhaps I might code an trivial example in C++ with > Gtk::TreeModel vs. > GtkTreeModel. If you _really_ want to analyze this. I do. gtkmm should not require you to write a custom tree model to get better performance, unless GTK+ also requires it. And I won't try to solve such a problem until I know that such a problem exists. > And if I > ever find > the time for it. Feel free to ask/confirm. > > >>PS: It seems that because of the > >>Gtk::TreeModel::add_interface(get_type()); call during type > creation I > >>cannot use the Glib provided custom type infrastructure. > > > > > > I'm not sure what you want to do instead, or can't do. What "Glib > > provided custom type infrastructure" do you mean? API docs URLS are > > nicest. > > I did not find any API docs when I researched implementing > Gtk::Interfaces. > > While I really like the easy Glib::ObjectBase(typeid(...)) way of > getting a GType (e.g. custom cellrenderer), I have to use > Glib::ObjectBase("MyTreeModel"), > Glib::Object(Glib::ConstructParams(myclass.init(), (char*) > 0)), create a > custom Class struct: > > class MyTreeModel_Class : public Glib::Class > {public: > const Glib::Class& init(); > static void class_init_function(void* g_class, void* > class_data); }; > > a custom GTypeInfo > and call g_type_register_static and > Gtk::TreeModel::add_interface. IMHO > it should be possible to just derive from some class (e.g. > Gtk::CustomTreeModelBase) and override the vfuncs. OK, that's horrible. You should never have to create the GCLass yourself, or write those C callbacks. And I don't think we do that in our custom cellrenderer example. Please add your example code here: http://bugzilla.gnome.org/show_bug.cgi?id=124297 and I will try to get around to it later. > Perhaps the key to this overhead is the fact that a TreeModel > is not a > GObject and there's no way to specify additional things to be done at > GType registration "TreeModel::add_interface" (is there?). Yes, that might be relevant - Gtk::CellRenderer is a Gtk::Object already, but Gtk::TreeModel is just a Glib::Interface. > > The problem, I think, is that the Gtype must come from the derived > > type, but you want that type to be registered in the base > C++ class, > > whose constructor runs before the derived part of the class > exists. I > > don't think the > > add_interface() call is too bad for something that is very > rarely done. > > add_interface is ok with me. It's the bulk of lines needed to get a > minimal custom TreeModel that bothers me. Yes, that's surprising and horrible. I'll try to investigate before our 2.4 API freeze. However, as I said above, I don't think this should be necessary for performance. Murray Cumming www.murrayc.com murrayc@usa.net From christof@petig-baender.de Fri Jan 9 11:51:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from a.frontend.um.mediaways.net (a.frontend.um.mediaways.net [62.53.231.6]) by mail.gnome.org (Postfix) with SMTP id 8913B18770 for ; Fri, 9 Jan 2004 11:51:10 -0500 (EST) Received: (qmail 14505 invoked by uid 4225); 9 Jan 2004 16:51:08 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.251) with ESMTP; 09 Jan 2004 16:51:08 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1Aezqk-0003sW-00; Fri, 09 Jan 2004 17:51:06 +0100 Message-ID: <3FFEDBF2.9010704@petig-baender.de> Date: Fri, 09 Jan 2004 17:50:58 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226EC@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Custom TreeModel (was RE: signals versus vfuncs) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com schrieb: > I don't think a simple test case should be too difficult. But even if > you don't put a test case in bugzilla, please report your suspicion > to bugzilla and maybe someone else will test the theory with test > cases. http://bugzilla.gnome.org/show_bug.cgi?id=131019 >> Perhaps I might code an trivial example in C++ with Gtk::TreeModel >> vs. GtkTreeModel. If you _really_ want to analyze this. > > I do. gtkmm should not require you to write a custom tree model to > get better performance, unless GTK+ also requires it. And I won't try > to solve such a problem until I know that such a problem exists. > I'll give it a go. > OK, that's horrible. You should never have to create the GCLass > yourself, or write those C callbacks. And I don't think we do that in > our custom cellrenderer example. Please add your example code here: > http://bugzilla.gnome.org/show_bug.cgi?id=124297 and I will try to > get around to it later. done Christof From ghenriks@rogers.com Fri Jan 9 11:58:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by mail.gnome.org (Postfix) with ESMTP id 919581875D; Fri, 9 Jan 2004 11:58:48 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep01-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040109165633.UCPU23685.fep01-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Fri, 9 Jan 2004 11:56:33 -0500 From: Gerald Henriksen To: Cc: Subject: Re: [gtkmm] Re: [sigc] Abandoning gcc 2.9*? Date: Fri, 09 Jan 2004 11:58:51 -0500 Message-ID: References: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> In-Reply-To: <1F57982AD78201449DBEF729705CFFF5028AF006@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Fri, 9 Jan 2004 11:56:33 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 9 Jan 2004 09:14:31 -0500, you wrote: >Do we now the oldest version of gcc 3.x that will compile libsigc++? gcc 3.2 or better should be sufficient as there was a binary incompatibility introduced with the move from gcc 3.1 to gcc 3.2 From gene@erachampion.com Fri Jan 9 12:31:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 0455B1874B for ; Fri, 9 Jan 2004 12:31:24 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i09HfFG13436 for gtkmm-list@gnome.org; Fri, 9 Jan 2004 09:41:15 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Fri, 9 Jan 2004 09:41:14 -0800 Message-ID: <1073670074.3ffee7bab23a2@realtyroad.com> Date: Fri, 9 Jan 2004 09:41:14 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Two beginners questions to signal handling MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, > > >is there a way to connect the signal handler > > > B::something_in_B_selected() to A::update_values_in_A()? > > > class A : public Gtk::VBox > > > class B : public Gtk::VBox > > Here's an example (someone can step in and tell me if this is the > > preferred way of doing things): > > B::something_in_B_selected() to A::update_values_in_A()? > > class A : public Gtk::VBox > > class B : public Gtk::VBox > > // Example given here > > The key is to pass a MainWindow pointer to the MainMenu constructor. > > You can then use this pointer to MainWindow to connect your signals > > to any signal handler in MainWindow. I've declared MainMenu to be > > a friend of MainWindow in order to allow access to the protected > > signal handlers. > > If anyone has a better way of doing this, please speak up. =) > I CAN'T MAKE THE LETTERS ANY BIGGER; but ... > If the goal is just to get your program working, this is as good > a way as any - but it defeats the whole purpose of classes. > One way would be - > Provide class A with a register() interface function so > that if an event in B occurs, it is left to A to decide upon > the necessary action - maybe postpone it! The main thing is > to act through interfaces so that instances don't become classes! > e.g. > class A > { > typedef enum { E1, E2, E3 } ACTION; > class_B b; > void register( ACTION now ) { if( can_do_it( now ) ) do_it(); } > } Can you elaborate (or point me to some online resources) on how this register() interface function works. In the example above, is the register() function in class A acting as a signal handler for a signal emitted in class B, thus resulting in a connection as follows? b.some_signal().connect( SigC::slot(*this, &A::register) ); If this is the case, what about when class A and class B are two separate classes (ie. class_A does not encapsulate class_B). Can you still use the register method above, or at that point, is the most logical approach to use multiple inheritance to make class_C which inherits from both class_A and class_B? I always thought that passing pointers (as in the original example) was not the best way of doing things. > Hope this is useful. Yes, it is very useful. Thank You for your help! Sorry for all the questions. I'm fairly new to gtkmm and GUI programming in C++ in general. -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From Sarah.Leitner@ngc.com Fri Jan 9 13:10:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from xcgtx812.ngxcgtxr1.com (xcgtx812.northgrum.com [208.20.220.60]) by mail.gnome.org (Postfix) with ESMTP id CF1CC185EA for ; Fri, 9 Jan 2004 13:10:26 -0500 (EST) Received: by xcgtx812.northgrum.com with Internet Mail Service (5.5.2656.59) id ; Fri, 9 Jan 2004 10:10:16 -0800 Message-ID: <727B82C682D8E8409BD807B361874F410147EB6E@xcgmd050.northgrum.com> From: "Leitner, Sarah" To: "'gtkmm-list@gnome.org'" Date: Fri, 9 Jan 2004 10:10:01 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain Subject: [gtkmm] losing signals Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've got a GUI that I will be using several places in the code, so I decided to make it into a class and called it daemonGUI. So the code that is using it (I called in the stub) inherits from it. So, all the GUI code is in daemonGUI, and all the file opening, closing, etc, is in the stub. So far, it all works, EXCEPT that I am losing all the signals. They aren't working automatically. Anyone have any ideas? Thanks! Sarah From cjnygard@fast.net Fri Jan 9 14:50:28 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from newmx3.fast.net (newmx3.fast.net [209.92.1.33]) by mail.gnome.org (Postfix) with SMTP id C4E651817F for ; Fri, 9 Jan 2004 14:50:28 -0500 (EST) Received: (qmail 624 invoked from network); 9 Jan 2004 19:50:27 -0000 Received: from unknown (HELO ?192.168.1.19?) ([209.92.60.87]) (envelope-sender ) by newmx3.fast.net (qmail-ldap-1.03) with SMTP for ; 9 Jan 2004 19:50:27 -0000 From: Carl Nygard To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1073649030.25100.47.camel@traveler> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 09 Jan 2004 06:50:30 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Probably a stupid Gtk+ question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Like I said, this is probably stupid. I've had this question rattling around in my skull for a while, and instead of actually researching it, I'm taking the easy way out and just asking: If Gtk+ is built on an object model, why did those folks go to such (rumored to be) herculean lengths to build one in C, instead of just using C++? I can think perhaps language bindings had something to do, but the only problem that jumps out there would be scheme/lisp binding. Perl/python/ruby are already OO themselves. I'm sure theres a good reason, just curious... and not looking to start a language war. From ssalter@sympatico.ca Fri Jan 9 15:14:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tomts13-srv.bellnexxia.net (tomts13-srv.bellnexxia.net [209.226.175.34]) by mail.gnome.org (Postfix) with ESMTP id 9AB8618BC2 for ; Fri, 9 Jan 2004 15:14:03 -0500 (EST) Received: from [192.168.1.103] ([65.93.92.119]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040109201402.DBEE23150.tomts13-srv.bellnexxia.net@[192.168.1.103]> for ; Fri, 9 Jan 2004 15:14:02 -0500 From: Steven Salter Reply-To: ssalter@sympatico.ca To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Salter Programming Services Message-Id: <1073678905.28724.551.camel@zeus.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 09 Jan 2004 15:08:25 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Compilation problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I get the following error when trying to compile gtkmm 2.2.8: g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -MT convert.lo -MD -MP -MF .deps/convert.Tpo -c convert.cc -fPIC -DPIC -o .libs/convert.o In file included from ../../glib/glibmm/exception.h:25, from ../../glib/glibmm/error.h:28, from ../../glib/glibmm/convert.h:29, from convert.cc:3: ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:548: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:554: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:560: error: within this context ../../glib/glibmm/ustring.h:532: error: `template::value_type> struct Glib::ustring::SequenceToString' is private ../../glib/glibmm/ustring.h:566: error: within this context make[5]: *** [convert.lo] Error 1 The compiler: gcc -v Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc version 3.3 20030226 (prerelease) (SuSE Linux) Any suggestions or requests for further information gratefully received. Steve From paul@linuxaudiosystems.com Fri Jan 9 16:41:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mail.gnome.org (Postfix) with ESMTP id CE368189AF for ; Fri, 9 Jan 2004 16:41:05 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040109214102.YEBX18505.out010.verizon.net@dhin.linuxaudiosystems.com>; Fri, 9 Jan 2004 15:41:02 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i09Lf2gG002453; Fri, 9 Jan 2004 16:41:02 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i09Lf2Qb002449; Fri, 9 Jan 2004 16:41:02 -0500 Message-Id: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> To: Carl Nygard Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question In-reply-to: Your message of "Fri, 09 Jan 2004 06:50:30 EST." <1073649030.25100.47.camel@traveler> Date: Fri, 09 Jan 2004 16:41:02 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [141.151.15.227] at Fri, 9 Jan 2004 15:41:02 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >If Gtk+ is built on an object model, why did those folks go to such >(rumored to be) herculean lengths to build one in C, instead of just >using C++? I can think perhaps language bindings had something to do, a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is to all effects and purposes so hard as to be impractical. when you add in the instability of the C++ ABI, even if you loved C++, its a pretty clear choice. --p From julian@jabber.org Fri Jan 9 16:48:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 7B7F818675 for ; Fri, 9 Jan 2004 16:48:31 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id E546F6C2F1; Fri, 9 Jan 2004 15:48:30 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02019-04; Fri, 9 Jan 2004 15:48:30 -0600 (CST) Received: from [192.168.0.194] (pcp05178369pcs.swedsb01.nj.comcast.net [68.46.15.3]) by mail.aspect.net (Postfix) with ESMTP id 3E1996B9A4; Fri, 9 Jan 2004 15:48:27 -0600 (CST) In-Reply-To: <1073649030.25100.47.camel@traveler> References: <1073649030.25100.47.camel@traveler> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8CB79196-42ED-11D8-B13E-000393B4C928@jabber.org> Content-Transfer-Encoding: 7bit Cc: gtkmm-list@gnome.org From: Julian Missig Subject: Re: [gtkmm] Probably a stupid Gtk+ question Date: Fri, 9 Jan 2004 16:48:24 -0500 To: Carl Nygard X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 9 Jan, 2004, at 6:50, Carl Nygard wrote: > > > Like I said, this is probably stupid. I've had this question rattling > around in my skull for a while, and instead of actually researching it, > I'm taking the easy way out and just asking: > > If Gtk+ is built on an object model, why did those folks go to such > (rumored to be) herculean lengths to build one in C, instead of just > using C++? I can think perhaps language bindings had something to do, > but the only problem that jumps out there would be scheme/lisp binding. > Perl/python/ruby are already OO themselves. > > I'm sure theres a good reason, just curious... and not looking to start > a language war. C++ has a history of particularly poor support on Linux. C has been the favored language for development on Linux for a long time. g++ had poor support for STL and has always been rather slow to compile C++. Not to mention the fact that ABI compatibility was broken with every g++ release and that different architectures supported different parts of STL! So basically, when Gtk+ started, C++ was a rather poor choice if you wanted to build a well-supported cross-architecture library. And yes, language bindings are another part of the argument. Supposedly it's much easier to make language bindings to various other languages if the core library is in C than if it were in C++. Also, a lot of the Gtk+ and/or Gnome developers feel that C++ is a crummy language and it makes more sense to build the OO features they need into C. Or something like that. Julian From gtkmm-forge-admin@lists.sourceforge.net Fri Jan 9 23:04:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 38E67183D4 for ; Fri, 9 Jan 2004 23:04:22 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AfAMH-0004yV-7p for gtkmm-list@gnome.org; Fri, 09 Jan 2004 20:04:21 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AfAMH-0007fw-2H for gtkmm-list@gnome.org; Fri, 09 Jan 2004 20:04:21 -0800 Date: Fri, 09 Jan 2004 20:01:57 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #593 - 5 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 2. [Bug 131019] New - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 3. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 4. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 5. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Fri, 9 Jan 2004 11:06:46 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by christof@petig-baender.de. --- shadow/124297 Fri Oct 10 11:07:25 2003 +++ shadow/124297.tmp.22337 Fri Jan 9 11:06:46 2004 @@ -14,6 +14,11 @@ URL: Summary: Need a custom TreeModel example Some people have managed to implement custom Gtk::TreeModels, but they seem to be using strange hacky techniques. It needs to register a GType, but that should be similar to the custom cell renderer. + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:06 ------- +Created an attachment (id=23167) +Feel free to simplify the GObject related stuff + --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:15:16 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] New - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:15:16 2004 +++ shadow/131019.tmp.28018 Fri Jan 9 11:15:16 2004 @@ -0,0 +1,24 @@ +Bug#: 131019 +Product: gtkmm +Version: 2.2 +OS: Linux +OS Details: +Status: NEW +Resolution: +Severity: enhancement +Priority: Normal +Component: TreeView +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: christof@petig-baender.de +TargetMilestone: --- +URL: +Summary: TreeStore has no decent performance on massive inserts + +As reported by several people on the net there seems to be a performance +problem with Gtk::TreeStore insertions. + +I personally have seen more than 30seconds for inserting 10k lines when +generating a tree out of a linear multi-columned list. My std::map based +custom model manages 100k in less than 2 seconds (300MHz G3 powerpc). + +I'm going to simplify my example down to one file. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:37:02 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:15:16 2004 +++ shadow/131019.tmp.9200 Fri Jan 9 11:37:02 2004 @@ -19,6 +19,11 @@ I personally have seen more than 30seconds for inserting 10k lines when generating a tree out of a linear multi-columned list. My std::map based custom model manages 100k in less than 2 seconds (300MHz G3 powerpc). I'm going to simplify my example down to one file. + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:37 ------- +Created an attachment (id=23168) +reported at http://mail.gnome.org/archives/gtk-list/2003-March/msg00361.html + --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Fri, 9 Jan 2004 11:48:12 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by christof@petig-baender.de. --- shadow/131019 Fri Jan 9 11:37:02 2004 +++ shadow/131019.tmp.17553 Fri Jan 9 11:48:12 2004 @@ -24,6 +24,14 @@ I'm going to simplify my example down to one file. ------- Additional Comments From christof@petig-baender.de 2004-01-09 11:37 ------- Created an attachment (id=23168) reported at http://mail.gnome.org/archives/gtk-list/2003-March/msg00361.html + +------- Additional Comments From christof@petig-baender.de 2004-01-09 11:48 ------- +See also the mailing list thread at +http://mail.gnome.org/archives/gtkmm-list/2003-October/msg00090.html + +[I admit that I do no longer remember the exect timings but it was +simply too much and more O(N^2+) than O(N logN).] + --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Fri, 9 Jan 2004 12:23:25 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Wed Jan 7 14:45:38 2004 +++ shadow/129210.tmp.5563 Fri Jan 9 12:23:25 2004 @@ -215,6 +215,22 @@ Well, that's a lot of babbling. :-> I guess it could all be summarized with this: Go ahead and require modern C++ features, but try to catch support for them up front with autoconf. + +------- Additional Comments From murrayc@usa.net 2004-01-09 12:23 ------- +> if there was NNTP interface available, I'd use it + +Apparently these people have a newsgroup gateway: +http://marc.theaimsgroup.com/?l=gtkmm&r=1&w=2#gtkmm + +Thanks. So, you seem to need gcc 2.9* becuase your need it to build +your kernel. Other mainstream distros don't have this problem - I +guess that they either use 2 compilers or they can compile the kernel +and user space apps with the same compiler. So I believe that it is +not a real problem. Of course, I also believe that linuxfromscratch +people actually enjoy having these problems. + +So, I guess we'll drop the gcc 2.9* support. But thanks for showing us +that we needed to think about it. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From ghenriks@rogers.com Fri Jan 9 23:48:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep04-mail.bloor.is.net.cable.rogers.com (fep04-mail.bloor.is.net.cable.rogers.com [66.185.86.74]) by mail.gnome.org (Postfix) with ESMTP id B19D218BD8 for ; Fri, 9 Jan 2004 23:48:14 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep04-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040110044542.UWXZ430912.fep04-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com> for ; Fri, 9 Jan 2004 23:45:42 -0500 From: Gerald Henriksen To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question Date: Fri, 09 Jan 2004 23:48:23 -0500 Message-ID: References: <1073649030.25100.47.camel@traveler> In-Reply-To: <1073649030.25100.47.camel@traveler> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep04-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Fri, 9 Jan 2004 23:45:42 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 09 Jan 2004 06:50:30 -0500, you wrote: >If Gtk+ is built on an object model, why did those folks go to such >(rumored to be) herculean lengths to build one in C, instead of just >using C++? I can think perhaps language bindings had something to do, Gtk+ is quite old and C++ compiler support back then was a nightmare as each compiler vendor implemented different parts of the standard at any given time. Thus any cross-platform code in C++ quickly either became a mess of compiler specific code or you had to code to a very poor lowest common denominator version of C++. C++ compilers also had a reputation for producing bloated, slow code compared to C. It is only recently that all the major compilers have finally come close to fully implementing the C++ standard, and the peformance issues have disappeared. The other major reason is that many open source programmers first pick up C and never move beyond it. It is typically much easier to pick up procedural programming, and easier to site down and start coding without doing any planning. From billyoc@gnuyork.org Sat Jan 10 00:18:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 0E57518444 for ; Sat, 10 Jan 2004 00:18:03 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AfBTM-0007nV-KV; Sat, 10 Jan 2004 00:15:44 -0500 To: Gerald Henriksen Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <1073649030.25100.47.camel@traveler> From: Billy O'Connor Date: Sat, 10 Jan 2004 00:15:44 -0500 In-Reply-To: (Gerald Henriksen's message of "Fri, 09 Jan 2004 23:48:23 -0500") Message-ID: <87d69s4c5b.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Gerald Henriksen writes: > On Fri, 09 Jan 2004 06:50:30 -0500, you wrote: > >>If Gtk+ is built on an object model, why did those folks go to such >>(rumored to be) herculean lengths to build one in C, instead of just >>using C++? I can think perhaps language bindings had something to do, > > Gtk+ is quite old and C++ compiler support back then was a nightmare > as each compiler vendor implemented different parts of the standard at > any given time. Thus any cross-platform code in C++ quickly either > became a mess of compiler specific code or you had to code to a very > poor lowest common denominator version of C++. C++ compilers also had > a reputation for producing bloated, slow code compared to C. > > It is only recently that all the major compilers have finally come > close to fully implementing the C++ standard, and the peformance > issues have disappeared. > > The other major reason is that many open source programmers first pick > up C and never move beyond it. It is typically much easier to pick up > procedural programming, and easier to site down and start coding > without doing any planning. And the number 1 reason Gtk+ is written in C(drumroll)... It's UNIX, for God's sake! :) From Murray.Cumming@Comneon.com Sat Jan 10 02:36:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6F75718200 for ; Sat, 10 Jan 2004 02:36:51 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0A7WoDb022399; Sat, 10 Jan 2004 08:32:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Sat, 10 Jan 2004 08:37:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22705@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Compilation problem Date: Sat, 10 Jan 2004 08:36:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: SUSE shipped an unofficial version of gcc, and it's broken. Apparently they have an update. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Steven Salter > Sent: Freitag, 9. Januar 2004 21:08 > To: gtkmm-list@gnome.org > Subject: [gtkmm] Compilation problem > > > I get the following error when trying to compile gtkmm 2.2.8: > > g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION > -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED > -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED > -I../../glib -I../../glib -I../../pango -I../../pango > -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk > -I../../gtk -I/usr/local/lib/sigc++-1.2/include > -I/usr/local/include/sigc++-1.2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -g -O2 -Wall -MT convert.lo -MD > -MP -MF .deps/convert.Tpo -c convert.cc > -fPIC -DPIC -o .libs/convert.o > In file included from ../../glib/glibmm/exception.h:25, > from ../../glib/glibmm/error.h:28, > from ../../glib/glibmm/convert.h:29, > from convert.cc:3: > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:548: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:554: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:560: error: within this context > ../../glib/glibmm/ustring.h:532: error: `template class ValueType = > typename std::iterator_traits<_Iterator>::value_type> struct > Glib::ustring::SequenceToString' is private > ../../glib/glibmm/ustring.h:566: error: within this context > make[5]: *** [convert.lo] Error 1 > > The compiler: > > gcc -v > Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs > Configured with: ../configure --enable-threads=posix > --prefix=/usr --with-local-prefix=/usr/local > --infodir=/usr/share/info --mandir=/usr/share/man > --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada > --disable-checking --enable-libgcj > --with-gxx-include-dir=/usr/include/g++ > --with-slibdir=/lib --with-system-zlib --enable-shared > --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc > version 3.3 20030226 (prerelease) (SuSE Linux) > > Any suggestions or requests for further information > gratefully received. > > Steve > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From abt@gmx.de Sat Jan 10 04:21:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7895A18CB1 for ; Sat, 10 Jan 2004 04:21:17 -0500 (EST) Received: (qmail 4487 invoked by uid 65534); 10 Jan 2004 09:21:13 -0000 Received: from dialin-212-144-078-225.arcor-ip.net (EHLO gmx.de) (212.144.78.225) by mail.gmx.net (mp021) with SMTP; 10 Jan 2004 10:21:13 +0100 X-Authenticated: #109577 Message-ID: <3FFFC3FE.10206@gmx.de> Date: Sat, 10 Jan 2004 10:21:02 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: Re: [gtkmm] Compilation problem References: <258B0164D480D5118D900800062B385801C22705@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > SUSE shipped an unofficial version of gcc, and it's broken. Apparently they > have an update. Go for SuSE Linux 9.0 or download the new rmp package gcc from www.suse.de Andi From njh@hawthorn.csse.monash.edu.au Fri Jan 9 19:36:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail015.syd.optusnet.com.au (mail015.syd.optusnet.com.au [211.29.132.161]) by mail.gnome.org (Postfix) with ESMTP id D287818758 for ; Fri, 9 Jan 2004 19:36:27 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail015.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0A0aHO05157; Sat, 10 Jan 2004 11:36:18 +1100 Message-ID: <3FFF4900.5010200@hawthorn.csse.monash.edu.au> Date: Sat, 10 Jan 2004 11:36:16 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Paul Davis Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> In-Reply-To: <200401092141.i09Lf2Qb002449@dhin.linuxaudiosystems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Paul Davis wrote: >>If Gtk+ is built on an object model, why did those folks go to such >>(rumored to be) herculean lengths to build one in C, instead of just >>using C++? I can think perhaps language bindings had something to do, >> >> > >a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >to all effects and purposes so hard as to be impractical. when you add >in the instability of the C++ ABI, even if you loved C++, its a pretty >clear choice. > This is not particularly true. I've written python interfaces to pure C++ libraries without trauma. I don't think even FuzzyBaseClass isn't the problem that people claim it is. njh From m.barinskis@apollo.lv Sat Jan 10 09:16:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.apollo.lv (smtp1.apollo.lv [80.232.168.211]) by mail.gnome.org (Postfix) with ESMTP id E0094181A2 for ; Sat, 10 Jan 2004 09:16:49 -0500 (EST) Received: from [81.198.145.45] (HELO apollo.lv) by smtp1.apollo.lv (CommuniGate Pro SMTP 4.1) with ESMTP id 4960642 for gtkmm-list@gnome.org; Sat, 10 Jan 2004 16:09:48 +0200 Message-ID: <4000097B.5000608@apollo.lv> Date: Sat, 10 Jan 2004 16:17:31 +0200 From: Martins Barinskis User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040105 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] 'GLIBMM_CHECK_PERL(5.6.0)' configure error Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've already successfully installed the glibmm and libsigc++ but now, compiling a fresh cvs copy of gtkmm after invoking ./autogen.sh, the configure script fails with error: ./configure: line 8021: syntax error near unexpected token `5.6.0' ./configure: line 8021: `GLIBMM_CHECK_PERL(5.6.0)' According to error text, there's something to do with perl: perl -v This is perl, v5.8.0 built for i486-linux Yes, i've got Perl 5.8.0 (I'm using Slackware 9.1, btw). Does gtkmm need _exactly_ perl 5.6.0, not _at least_ perl 5.6.0? Or maybe i've glibmm compiled incorrectly (./autogen.sh --prefix=/usr/devgnome2 , all paths and ld.so.conf are updateded accordingly) ? Thanks in advance, Martins. From paul@linuxaudiosystems.com Sat Jan 10 11:44:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mail.gnome.org (Postfix) with ESMTP id 18F431875A for ; Sat, 10 Jan 2004 11:44:41 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.15.227]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040110164438.XJY38.out012.verizon.net@dhin.linuxaudiosystems.com>; Sat, 10 Jan 2004 10:44:38 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0AGibgG003808; Sat, 10 Jan 2004 11:44:37 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i0AGibcW003804; Sat, 10 Jan 2004 11:44:37 -0500 Message-Id: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> To: Nathan Hurst Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question In-reply-to: Your message of "Sat, 10 Jan 2004 11:36:16 +1100." <3FFF4900.5010200@hawthorn.csse.monash.edu.au> Date: Sat, 10 Jan 2004 11:44:37 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [141.151.15.227] at Sat, 10 Jan 2004 10:44:38 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >>a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >>to all effects and purposes so hard as to be impractical. when you add >>in the instability of the C++ ABI, even if you loved C++, its a pretty >>clear choice. >> >This is not particularly true. I've written python interfaces to pure >C++ libraries without trauma. I don't think even FuzzyBaseClass isn't >the problem that people claim it is. you either to have export "extern C" static functions, or you have to know how names are mangled. you can't call a C++ function unless one of those two things has been done. either one of them is pretty problematic. --p From js8582003@yahoo.com Sat Jan 10 13:41:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60910.mail.yahoo.com (web60910.mail.yahoo.com [216.155.196.86]) by mail.gnome.org (Postfix) with SMTP id 58A251876F for ; Sat, 10 Jan 2004 13:41:45 -0500 (EST) Message-ID: <20040110184141.67996.qmail@web60910.mail.yahoo.com> Received: from [65.33.238.55] by web60910.mail.yahoo.com via HTTP; Sat, 10 Jan 2004 10:41:41 PST Date: Sat, 10 Jan 2004 10:41:41 -0800 (PST) From: Jerry Stahl To: Gtkmm list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] IPC between Gtkmm objects Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, As part of a larger application, I currently have a Gtkmm 2.2 "main" display dialog that uses my .bashrc file to launch it after the GNOME desktop is loaded. I intend to use this main display to show time from an external source, the currently logged in user and group the user belongs to. I would like to use a separately launched dialog to be able to change the user at any time for the purposes of controlling allowed operations. Initially, it seems that the best approach is to have the main display, login dialog and time source all running their own process ID. I need to have execution of the main display to be non-blocking since I would like to have no interruption of the time display when the user name updates. I'm not an IPC expert but have thought about using signals for this application. Does anyone know if the Gtkmm libraries have any IPC APIs or if there is any other better way to handle the needed IPC calls between PIDs. Any help on this would be appreciated. Thanks in advance, Jerry Stahl __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From billyoc@gnuyork.org Sat Jan 10 14:05:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 22A8A1849B for ; Sat, 10 Jan 2004 14:05:30 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AfOO5-0007K2-Co; Sat, 10 Jan 2004 14:03:09 -0500 To: Jerry Stahl Cc: Gtkmm list Subject: Re: [gtkmm] IPC between Gtkmm objects References: <20040110184141.67996.qmail@web60910.mail.yahoo.com> From: Billy O'Connor Date: Sat, 10 Jan 2004 14:03:09 -0500 In-Reply-To: <20040110184141.67996.qmail@web60910.mail.yahoo.com> (Jerry Stahl's message of "Sat, 10 Jan 2004 10:41:41 -0800 (PST)") Message-ID: <877jzzk4nm.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Jerry Stahl writes: > updates. I'm not an IPC expert but have thought about > using signals for this application. Does anyone know > if the Gtkmm libraries have any IPC APIs or if there > is > any other better way to handle the needed IPC calls > between PIDs. Any help on this would be appreciated. Check out dbus. From chris@cvine.freeserve.co.uk Sat Jan 10 17:13:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailm5.svr.pol.co.uk (cmailm5.svr.pol.co.uk [195.92.193.21]) by mail.gnome.org (Postfix) with ESMTP id 31B63183F9 for ; Sat, 10 Jan 2004 17:13:37 -0500 (EST) Received: from modem-1925.jaguar.dialup.pol.co.uk ([81.76.183.133] helo=boulder.localdomain) by cmailm5.svr.pol.co.uk with esmtp (Exim 4.14) id 1AfRM2-00071o-0V; Sat, 10 Jan 2004 22:13:14 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0AMDZot011725; Sat, 10 Jan 2004 22:13:35 GMT From: Chris Vine To: ssalter@sympatico.ca, gtkmm-list@gnome.org Subject: Re: [gtkmm] Compilation problem Date: Sat, 10 Jan 2004 22:13:34 +0000 User-Agent: KMail/1.5.4 References: <1073678905.28724.551.camel@zeus.local> In-Reply-To: <1073678905.28724.551.camel@zeus.local> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200401102213.34958.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Friday 09 January 2004 8:08 pm, Steven Salter wrote: > I get the following error when trying to compile gtkmm 2.2.8: [snip] You are using a pre-release of gcc 3.3. Try getting a stable release of either gcc-3.2 or gcc-3.3 (I think I recall seeing similar reports from others using the Suse pre-release you are using). Chris. From ssalter@sympatico.ca Sat Jan 10 20:32:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tomts36-srv.bellnexxia.net (tomts36-srv.bellnexxia.net [209.226.175.93]) by mail.gnome.org (Postfix) with ESMTP id AF21218566 for ; Sat, 10 Jan 2004 20:32:30 -0500 (EST) Received: from [192.168.1.103] ([65.93.71.21]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040111013226.RRHP11804.tomts36-srv.bellnexxia.net@[192.168.1.103]> for ; Sat, 10 Jan 2004 20:32:26 -0500 Subject: Re: [gtkmm] Compilation problem From: Steven Salter Reply-To: ssalter@sympatico.ca To: gtkmm-list@gnome.org In-Reply-To: <200401102213.34958.chris@cvine.freeserve.co.uk> References: <1073678905.28724.551.camel@zeus.local> <200401102213.34958.chris@cvine.freeserve.co.uk> Content-Type: text/plain Organization: Salter Programming Services Message-Id: <1073784399.2169.558.camel@zeus.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 10 Jan 2004 20:26:48 -0500 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sat, 2004-01-10 at 17:13, Chris Vine wrote: > On Friday 09 January 2004 8:08 pm, Steven Salter wrote: > > I get the following error when trying to compile gtkmm 2.2.8: > > [snip] > > You are using a pre-release of gcc 3.3. Try getting a stable release of > either gcc-3.2 or gcc-3.3 (I think I recall seeing similar reports from > others using the Suse pre-release you are using). Yes, that solved the problem. Thanks to Murray, Andi and Chris. Steve From gcgg-gtkmm-list@m.gmane.org Sun Jan 11 07:56:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 54A6D18154 for ; Sun, 11 Jan 2004 07:56:52 -0500 (EST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aff99-0007SQ-00 for ; Sun, 11 Jan 2004 13:56:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aff98-0007SI-00 for ; Sun, 11 Jan 2004 13:56:50 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aff97-0000Zi-00 for ; Sun, 11 Jan 2004 13:56:49 +0100 From: Mike Hearn Date: Sun, 11 Jan 2004 13:00:08 +0000 Lines: 13 Message-ID: References: <727B82C682D8E8409BD807B361874F410147EB6E@xcgmd050.northgrum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] Re: losing signals Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 09 Jan 2004 10:10:01 -0800, Leitner, Sarah wrote: > I've got a GUI that I will be using several places in the code, so I decided > to make it into a class and called it daemonGUI. So the code that is using > it (I called in the stub) inherits from it. So, all the GUI code is in > daemonGUI, and all the file opening, closing, etc, is in the stub. So far, > it all works, EXCEPT that I am losing all the signals. They aren't working > automatically. Anyone have any ideas? Thanks! I think you'd have to explain what exactly is going wrong a bit better. I'm having a hard time understanding the problem. When you say you are "losing" the signals, does that mean you are connecting them without error but the signal handlers are never invoked? From abt@gmx.de Sun Jan 11 11:00:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id B3889184F7 for ; Sun, 11 Jan 2004 11:00:41 -0500 (EST) Received: (qmail 29999 invoked by uid 65534); 11 Jan 2004 16:00:38 -0000 Received: from pD9E95095.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.80.149) by mail.gmx.net (mp009) with SMTP; 11 Jan 2004 17:00:38 +0100 X-Authenticated: #109577 Message-ID: <40017327.4080505@gmx.de> Date: Sun, 11 Jan 2004 17:00:39 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a selected row in a tree view highlighted References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> <3FFE689B.3020805@gmx.de> In-Reply-To: <3FFE689B.3020805@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I have not found the solution yet. No idea, someone? TIA, Andi > I select a row with: > m_tree_sel_ref->select(row); > > Can somebody throw light on this? The row > is selected ( I can get the value ) but > the selected row is not highlighted in the GUI. From njh@hawthorn.csse.monash.edu.au Sat Jan 10 17:46:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail007.syd.optusnet.com.au (mail007.syd.optusnet.com.au [211.29.132.55]) by mail.gnome.org (Postfix) with ESMTP id 11DA8181B9 for ; Sat, 10 Jan 2004 17:46:00 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail007.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0AMjlH26504; Sun, 11 Jan 2004 09:45:47 +1100 Message-ID: <4000809A.5090700@hawthorn.csse.monash.edu.au> Date: Sun, 11 Jan 2004 09:45:46 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Paul Davis Cc: Carl Nygard , gtkmm-list@gnome.org Subject: Re: [gtkmm] Probably a stupid Gtk+ question References: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> In-Reply-To: <200401101644.i0AGibcW003804@dhin.linuxaudiosystems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Paul Davis wrote: >>>a *lot* to do with it. binding scheme/perl/ruby/php/python to C++ is >>>to all effects and purposes so hard as to be impractical. when you add >>>in the instability of the C++ ABI, even if you loved C++, its a pretty >>>clear choice. >>> >>> >>> >>This is not particularly true. I've written python interfaces to pure >>C++ libraries without trauma. I don't think even FuzzyBaseClass isn't >>the problem that people claim it is. >> >> > >you either to have export "extern C" static functions, or you have to >know how names are mangled. you can't call a C++ function unless >one of those two things has been done. either one of them is pretty >problematic. > Sure, but that's no worse than having to call functions things like gtk_window_new() Your main implementation can still be done in a clear and simple manner. The interface could even be automatically generated. njh From arvind@acarlab.com Sun Jan 11 18:02:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.96.162]) by mail.gnome.org (Postfix) with SMTP id 9A6FE189A3 for ; Sun, 11 Jan 2004 18:02:01 -0500 (EST) Received: (qmail 8657 invoked by uid 1000); 11 Jan 2004 23:01:10 -0000 Date: Mon, 12 Jan 2004 04:31:09 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Cc: js8582003@yahoo.com Subject: [gtkmm] IPC between Gtkmm objects Message-ID: <20040111230109.GA8645@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, On Sat, 10 Jan 2004 Jerry Stahl wrote : > As part of a larger application, I currently have a > Gtkmm 2.2 "main" display dialog that uses my .bashrc > > Does anyone know if the Gtkmm libraries have any IPC > APIs or if there is any other better way to handle > the needed IPC calls between PIDs. Being in land of limited bit-rates and scarce CD-images I'm not sure if bleeding-edge Gtkmm has preserved its links with the out-of-date gtkmm-1.2.8; but gtkmm-1.2 has the Gtk::Plug and Gtk::Socket, which together with the standard IPC socket ( a STREAMS pipe would have been generally easier, but linux doesn't seem to favour it too much ) is probably what you are looking for. You will find such an implementation in the 'qtstu' app. from http://www.acarlab.com in which a device specific extensions ( for the philips web-cam ) are packaged into a seperate process gtkmm- window but realized in the main app window. - arvind From gtkmm-forge-admin@lists.sourceforge.net Sun Jan 11 23:04:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 7130E182D9 for ; Sun, 11 Jan 2004 23:04:08 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AftJ8-00049w-Nd for gtkmm-list@gnome.org; Sun, 11 Jan 2004 20:04:06 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AftJ8-0004tF-KH for gtkmm-list@gnome.org; Sun, 11 Jan 2004 20:04:06 -0800 Date: Sun, 11 Jan 2004 20:01:55 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #594 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting (bugzilla-daemon@widget.gnome.org) 2. [Bug 131172] New - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) 3. [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, roger@whinlatter.uklinux.net Cc: Date: Sun, 11 Jan 2004 13:41:34 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129846] Changed - libglademm: Gtk::MenuItem accelerators lost during reparenting Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129846 Changed by murrayc@usa.net. --- shadow/129846 Mon Jan 5 10:22:31 2004 +++ shadow/129846.tmp.9726 Sun Jan 11 13:41:34 2004 @@ -58,6 +58,10 @@ This works with the normal gnomemm/libglademm/examples/menus/example program. Regards, Roger + +------- Additional Comments From murrayc@usa.net 2004-01-11 13:41 ------- +So, the problem seems to be only with _stock_ accelerators. I still +have not found any example of this in C, however. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Sun, 11 Jan 2004 14:52:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] New - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by takekawa@users.sourceforge.jp. --- shadow/131172 Sun Jan 11 14:52:17 2004 +++ shadow/131172.tmp.24196 Sun Jan 11 14:52:17 2004 @@ -0,0 +1,49 @@ +Bug#: 131172 +Product: gtkmm +Version: 2.2 +OS: Linux +OS Details: +Status: NEW +Resolution: +Severity: normal +Priority: Normal +Component: build +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: takekawa@users.sourceforge.jp +TargetMilestone: --- +URL: +Summary: duplicate namespace in atkmm/text.h and gtkmm/enums.h + +Intel compiler (both version 7 and 8) can not compile atk/atkmm/text.cc and +gtk/gtkmm/enums.cc because of the duplicate namespace definitions such as +`namespace Glib { class Glib::XXX; }`. + +../../atk/atkmm/text.h(181): error: qualified name is not allowed in +namespace member declaration + class Glib::Value : public +Glib::Value_Enum + ^ + +../../atk/atkmm/text.h(181): error: class "Glib::" is not an entity +that can be explicitly specialized + class Glib::Value : public +Glib::Value_Enum + ^ + +text.cc(33): error: incomplete type is not allowed + GType Glib::Value::value_type() + ^ + +../../gtk/gtkmm/enums.h(1321): error: qualified name is not allowed in +namespace member declaration + class Glib::Value : public Glib::Value_Enum + ^ + +../../gtk/gtkmm/enums.h(1321): error: class "Glib::" is not an +entity that can be explicitly specialized + class Glib::Value : public Glib::Value_Enum + ^ + +enums.cc(32): error: incomplete type is not allowed + GType Glib::Value::value_type() + ^ --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Sun, 11 Jan 2004 14:55:55 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by takekawa@users.sourceforge.jp. --- shadow/131172 Sun Jan 11 14:52:17 2004 +++ shadow/131172.tmp.26142 Sun Jan 11 14:55:55 2004 @@ -44,6 +44,11 @@ class Glib::Value : public Glib::Value_Enum ^ enums.cc(32): error: incomplete type is not allowed GType Glib::Value::value_type() ^ + +------- Additional Comments From takekawa@users.sourceforge.jp 2004-01-11 14:55 ------- +Created an attachment (id=23239) +patch to fix duplicate namespace + --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From Murray.Cumming@Comneon.com Mon Jan 12 03:26:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id EFA3618144 for ; Mon, 12 Jan 2004 03:26:52 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0C8MlDb003611; Mon, 12 Jan 2004 09:22:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 09:27:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22766@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: m.barinskis@apollo.lv, gtkmm-list@gnome.org Subject: RE: [gtkmm] 'GLIBMM_CHECK_PERL(5.6.0)' configure error Date: Mon, 12 Jan 2004 09:26:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've already successfully installed the glibmm and libsigc++ but now, > compiling a fresh cvs copy of gtkmm after invoking ./autogen.sh, the > configure script fails with error: > > > ./configure: line 8021: syntax error near unexpected token `5.6.0' > ./configure: line 8021: `GLIBMM_CHECK_PERL(5.6.0)' > Did you install glibmm from cvs as well? This is a new .m4 macro that I added recently. It should be installed from glibmm/scripts to /share/aclocal/glibmm_check_perl.m4. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Mon Jan 12 04:08:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id DDFD0181E2 for ; Mon, 12 Jan 2004 04:08:49 -0500 (EST) Received: (qmail 22752 invoked by uid 65534); 12 Jan 2004 09:08:46 -0000 Received: from pD9E9459B.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.69.155) by mail.gmx.net (mp010) with SMTP; 12 Jan 2004 10:08:46 +0100 X-Authenticated: #109577 Message-ID: <4002641B.1090107@gmx.de> Date: Mon, 12 Jan 2004 10:08:43 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: "Darren W." , gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a selected row in a tree view highlighted References: <3FFC018E.5080606@anvil.co.uk> <3FFD69C6.6060802@gmx.de> <3FFD7243.3010206@gmx.de> <3FFE689B.3020805@gmx.de> <40017327.4080505@gmx.de> <40018292.BC784CE6@ntlworld.com> In-Reply-To: <40018292.BC784CE6@ntlworld.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Same thing. The selection is not visible in the tree view. I guess something is not right with my code?! void ConstraintTable::onNextClicked() { Gtk::TreeModel::iterator curr_iter = m_tree_sel_ref->get_selected(); Gtk::TreeModel::Row curr_row = *curr_iter; // selected row typedef Gtk::TreeModel::Children type_children; type_children children = m_list_store_ref->children(); for(type_children::iterator iter = children.begin(); iter != children.end(); ++iter) { Gtk::TreeModel::Row row = *iter; if(row) { m_tree_sel_ref->select(row); // selection is ok but invisible selection_made_cb(); // my callback for a selected row } } } ... m_tree_sel_ref = m_tree_view.get_selection(); m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); m_tree_sel_ref->signal_changed ().connect ( SigC::slot (*this, &ConstraintTable::selection_made_cb)); > What happens if for testing you try > > m_tree_sel_ref->set_mode(Gtk::SELECTION_MULTIPLE); > m_tree_sel_ref->select_all(); > > > I'm afraid I'm fairly new to Gtk, so am not an expert. From Murray.Cumming@Comneon.com Mon Jan 12 07:15:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C253F18106; Mon, 12 Jan 2004 07:15:15 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CCBDDb017513; Mon, 12 Jan 2004 13:11:13 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 13:15:33 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227BF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, libsigc-list@gnome.org Subject: RE: [gtkmm] Abandoning gcc 2.9*? Date: Mon, 12 Jan 2004 13:15:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So, we will abandon gcc 2.9* support in libsigc++ 2 and gtkmm 2.4. Of course we will apply any reasonable patches [1] that people provide to support any compilers, but nobody should expect core developers to waste time on gcc 2.9*. [1] So far, there are only unfinished gcc 2.9* patches in gtkmm's bugzilla. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cumming > Murray (CN L External) > Sent: Mittwoch, 7. Januar 2004 19:29 > To: gtkmm-list@gnome.org; libsigc-list@gnome.org > Subject: [gtkmm] Abandoning gcc 2.9*? > > > I'll ask this again, using the correct version number: > > Libsigc++ 2 does not build with gcc 2.95 (or even gcc <3.2). So if we > Libsigc++ use it > in gtkmm 2.4, gtkmm will also not be able to use gcc 2.9*. > > Who needs gcc 2.9* and why? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Mon Jan 12 08:53:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 96F7D1852F for ; Mon, 12 Jan 2004 08:53:49 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CDnlDb028355; Mon, 12 Jan 2004 14:49:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 14:54:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: palm@nogui.se Cc: gtkmm-list@gnome.org Subject: RE: [[gtkmm] Alternate libglademm interface] Date: Mon, 12 Jan 2004 14:53:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: We must freeze the libglademm 2.4 API on February 16th http://www.gnome.org/start/2.5/bindings/#ApiFreeze Are you likely to have a patch for me to look at soon? Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Christer Palm [mailto:palm@nogui.se] > Sent: Dienstag, 7. Oktober 2003 20:54 > To: Murray Cumming > Cc: gtkmm-list@gnome.org > Subject: Re: [[gtkmm] Alternate libglademm interface] > > > Hi! > > Murray Cumming wrote: > >> > >> - Allow arbitrary constructor arguments for derived > widget classes. > > > > > > This could be nice. Obviously it would be impractical to typedef an > > Adapter for every possible class, so I think that the example code > > should use the Adapter template without a typedef. > > > > The typedef's are just there for convenience, of course. > The Adapter should stay visible to enable it to be used directly for > other classes. And yes, the example could be much better. > > > > >> - Straightforward creation of derived widgets, no Xml::create(), > >>get_derived_widget(), etc. > > > > > > By putting the glade filename in the constructor, yes. But > would this > > allow us to have 2 derived child-widgets that have been > layed out in > > the same container widget in a .glade file. I think the existing > > get_widget_derived() method allows us to reuse an existing > > Gnome::Glade::Xml instance, but this one creates a new one for each > > class. > > > > This could quite easily be fixed by adding additional XmlWidget::Base > constructors for building the widget from an existing > Gnome::Glade::Xml > instance. > > The other way around, the internal Xml instance should > probably also be > made accessable in some way. > > A version intended for general use should probably also have > constructors for building from a memory buffer, specifying the root, > etc., just as with Gnome::Glade::Xml. > > I didn't put it in there because I didn't need it personally... > > > > >> - Hides more (most) glade stuff from the user. > > > > > > See above. This might be a problem if the top-most class is > not one of > > your derived classes. Maybe that is not a common case. > > > > It appears that it is not. Most gtkmm code I've seen so far > only derives > top-level widgets such as windows and dialogs. > > > > >> - Makes it easy to catch runtime errors when, for > example, making a > >>bunch of get_widget() calls by using exceptions. > > > > > > I don't see a need to create a new exception class. > > Gnome::Glade::Xml::Error should be enough. Also, I don't > think we use > > throw() declarations in our *mm stuff. > > > > Well, I wasn't planning on throwing the actual > XmlWidget::Exception, but > more detailed exceptions derived from it, but I got a little > lazy on the > way and just put in throw(Exception):s for now. > > The idea is to give the user a flexible choice of what level > he (she?) > wants to provide error handling. If you just want to know if > _anything_ > went wrong, catch Glib::Exception. If you want to know if > something went > wrong with XmlWidget, catch XmlWidget::Exception. If you specifically > want to know when a widget is missing from the glade file, catch > XmlWidget::MissingWidgetException. You get the idea... > > throw specifiers are actually used in Glib, so they shouldn't > cause any > porting issues that are not already there. Personally I love > them - they > definitely help to improve your code quality. > > Both mechanisms are practically free from a runtime resource > perspective. Just too bad that they aren't very frequently used, in > gtkmm or elsewhere. > > All this of course subject matter to each and everyones > personal taste > and level on conservativism :-) > > > > >>Please keep in mind that this is a quick proof-of-concept hack. I'd > >>like > >>to hear your comments, as I suspect that the approach I'm > using may not > >>be 100% flawless. > > > > > > I don't see where you are instantiating the gtkmm GTypes. This code > > just seems to instantiate the GTK+ Gtype: > > > > :-) > > The instantiation is well hidden inside libglademm thanks to the fact > that I pass xml->gobj() to glade_xml_get_widget(), and xml is a > Gnome::Glade::Xml instance (providing the virtual function > for looking > up the proper GType). > > > > > In general, I would prefer patches (although new files > generally need > > to be tarballed up separately) in bugzilla. You can put the URL in > > emails. > > > > Yes, of course. As I wrote, this wasn't meant to be an "official" > submission to libglademm in any way (at least not at this stage), but > merely a simple way to demonstrate the concept and gain some > comments on it. > > > This is interesting. I particularly don't like that the > classes used > > with the current get_widget_derived() are forced to all > have the same > > constructor parameters. > > > > Yes. That's actually the main reason to why I cooked this up. > It was a > showstopper in my case. > > -- > Christer Palm > > From Murray.Cumming@Comneon.com Mon Jan 12 08:55:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 63FC718320 for ; Mon, 12 Jan 2004 08:55:49 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CDplDb029042 for ; Mon, 12 Jan 2004 14:51:47 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 14:56:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Mon, 12 Jan 2004 14:55:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: So, are there no volunteers for this? It's starting to bother me that we have had almost no patches for gtkmm 2.4 so far. Don't expect me do everything myself. Murray Cumming www.murrayc.com murrayc@usa.net > I added quite a lot of API documentation to the TreeView and > TextView classes and associated classes, in gtkmm 2.4. For > instance: > http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/group__TreeView.html > > I think that 100% API documentation should be possible, and it's an easy way to help. > > Undocumented class methods are probably undocumented because > - They are hand-coded because they use a different parameter order compared to the underlying C function. In this case you should look > at the C docs and modify it accordingly. Look at the generated html of the C docs because not everything is in the .c files: > http://www.gtk.org/api/ > - They are _MEMBER_GET() or _MEMBER_SET() accessors for struct fields. These needs little "Get the something" descriptions if there is > nothing else to say. > > All classes should also have documentation for the class itself. Again, you can usually rephrase the C documentation for these. > > If you run "make doxygen-warnings" in gtkmm/docs/reference/, it will generate a text file with warnings about undocumented methods and > classes. I'm not sure how complete that will be, but it's a start. > > I think we can reach 100%. That would be good. From abt@gmx.de Mon Jan 12 09:27:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3B7E818526 for ; Mon, 12 Jan 2004 09:27:33 -0500 (EST) Received: (qmail 776 invoked by uid 65534); 12 Jan 2004 14:27:31 -0000 Received: from pD9E940BA.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.64.186) by mail.gmx.net (mp001) with SMTP; 12 Jan 2004 15:27:31 +0100 X-Authenticated: #109577 Message-ID: <4002AED1.2060808@gmx.de> Date: Mon, 12 Jan 2004 15:27:29 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] CheckMenuItem editable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, how do I make the Item editable? I´ve created a CheckMenuItem but I cannot change the value with my mouse and I found no "make_editable()" or something like it. Gtk::CheckMenuItem m_checkItem; TIA, Andi From js8582003@yahoo.com Mon Jan 12 10:56:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60902.mail.yahoo.com (web60902.mail.yahoo.com [216.155.196.78]) by mail.gnome.org (Postfix) with SMTP id 32D3318294 for ; Mon, 12 Jan 2004 10:56:33 -0500 (EST) Message-ID: <20040112155627.79118.qmail@web60902.mail.yahoo.com> Received: from [128.217.80.107] by web60902.mail.yahoo.com via HTTP; Mon, 12 Jan 2004 07:56:27 PST Date: Mon, 12 Jan 2004 07:56:27 -0800 (PST) From: Jerry Stahl Subject: Re: [gtkmm] IPC between Gtkmm objects To: "Arvind R." Cc: Gtkmm list In-Reply-To: <20040111230109.GA8645@mail.acarlab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Arvind, Thanks for the response. I'll take a look at the example you mentioned. Jerry --- "Arvind R." wrote: > Hi, > On Sat, 10 Jan 2004 Jerry Stahl wrote : > > > As part of a larger application, I currently have > a > > Gtkmm 2.2 "main" display dialog that uses my > .bashrc > > > > Does anyone know if the Gtkmm libraries have any > IPC > > APIs or if there is any other better way to > handle > > the needed IPC calls between PIDs. > > Being in land of limited bit-rates and scarce > CD-images > I'm not sure if bleeding-edge Gtkmm has preserved > its > links with the out-of-date gtkmm-1.2.8; but > gtkmm-1.2 > has the Gtk::Plug and Gtk::Socket, which together > with > the standard IPC socket ( a STREAMS pipe would have > been generally easier, but linux doesn't seem to > favour > it too much ) is probably what you are looking for. > > You will find such an implementation in the 'qtstu' > app. > from http://www.acarlab.com in which a device > specific > extensions ( for the philips web-cam ) are packaged > into > a seperate process gtkmm- window but realized in the > main app window. > > - arvind > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From matthew@alledora.co.uk Mon Jan 12 11:03:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 6E5E41865D for ; Mon, 12 Jan 2004 11:03:31 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Ag4Ut-0007fp-Fb for gtkmm-list@gnome.org; Mon, 12 Jan 2004 16:00:59 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Ag4Us-0007fb-D8; Mon, 12 Jan 2004 16:00:58 +0000 Message-ID: <4002C58B.1070501@alledora.co.uk> Date: Mon, 12 Jan 2004 16:04:27 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: > So, are there no volunteers for this? It's starting to bother me that we > have had almost no patches for gtkmm 2.4 so far. Don't expect me do > everything myself. I don't think I got this e-mail originally, or if I did I didn't see it. I'll see if I can find the time to do anything along these lines. From billyoc@gnuyork.org Mon Jan 12 11:16:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 2931018152 for ; Mon, 12 Jan 2004 11:16:06 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Ag4h8-0007l8-2G; Mon, 12 Jan 2004 11:13:38 -0500 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Mon, 12 Jan 2004 11:13:37 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C227E8@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Mon, 12 Jan 2004 14:55:47 +0100") Message-ID: <873cal16xa.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > So, are there no volunteers for this? It's starting to bother me that we > have had almost no patches for gtkmm 2.4 so far. Don't expect me do > everything myself. I'm working on this, I'll have some patches in this week. Billy From Murray.Cumming@Comneon.com Mon Jan 12 11:17:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 58A1018521 for ; Mon, 12 Jan 2004 11:17:56 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CGDrDb018427; Mon, 12 Jan 2004 17:13:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 17:18:14 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: billyoc@gnuyork.org Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Mon, 12 Jan 2004 17:17:49 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > So, are there no volunteers for this? It's starting to > bother me that > > we have had almost no patches for gtkmm 2.4 so far. Don't > expect me do > > everything myself. > > I'm working on this, I'll have some patches in this week. Excellent. To avoid duplication of effort, it might help people to know what parts you expect to work on. (There is plenty for everybody). Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Mon Jan 12 13:39:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DD25B18415 for ; Mon, 12 Jan 2004 13:38:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0CIYvDb017285; Mon, 12 Jan 2004 19:34:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Jan 2004 19:39:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Mon, 12 Jan 2004 19:38:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > Well, anyway, I'll be leaving campus soon and no longer have this > > bandwidth. > > > > The packages are at > > http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > > I have downloaded them for safety. I am a bit reluctant to > put binary packages on gtkmm.org until > - I am sure that they will be maintained in future. Isn't > there some central repository for things like this? > - The build process is documented. I would like a > README.MacOSX, like our current README.win32 and README.SUN > - I see that you have at least tried to get libtool fixed > instead of patching it locally. > > I do appreciate your efforts, but I don't want them to be wasted. If anybody wants this file, I can provide it on request, but 27Mb is a bit too much for me to host. And I won't put it on sourceforge until it's documented and there is a maintainer and we know that we can't put it somewhere more central. Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Mon Jan 12 13:41:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 18BF3187B0 for ; Mon, 12 Jan 2004 13:41:54 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Ag6yE-0001wy-2s for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:39:26 -0500 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Mon, 12 Jan 2004 13:39:26 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22811@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Mon, 12 Jan 2004 17:17:49 +0100") Message-ID: <877jzxypsx.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: >> I'm working on this, I'll have some patches in this week. > > Excellent. To avoid duplication of effort, it might help people to know what > parts you expect to work on. (There is plenty for everybody). I'm working on Gtk:TextBuffer and Gtk::Tree* Billy From julian@jabber.org Mon Jan 12 13:54:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 0992F18366 for ; Mon, 12 Jan 2004 13:54:58 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id 5670B43597; Mon, 12 Jan 2004 12:54:57 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16490-05; Mon, 12 Jan 2004 12:54:56 -0600 (CST) Received: from [128.2.74.52] (SKADI.WV.CC.cmu.edu [128.2.74.52]) by mail.aspect.net (Postfix) with ESMTP id 3E35B404A6; Mon, 12 Jan 2004 12:54:55 -0600 (CST) In-Reply-To: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: gtkmm-list@gnome.org, Thomas Muldowney From: Julian Missig Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Mon, 12 Jan 2004 13:54:53 -0500 To: Murray.Cumming@Comneon.com X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: >>> Well, anyway, I'll be leaving campus soon and no longer have this >>> bandwidth. >>> >>> The packages are at >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg >> >> I have downloaded them for safety. I am a bit reluctant to >> put binary packages on gtkmm.org until >> - I am sure that they will be maintained in future. Isn't >> there some central repository for things like this? DarwinPorts does not host binary packages. Fink hosts binary versions of their packages... eventually... but these were generated using DarwinPorts, which uses a different path prefix from Fink. Fink also does not use these double-clickable installers like DarwinPorts can produce. osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but I'm not sure whether they'd host something generated by DarwinPorts. >> - The build process is documented. I would like a >> README.MacOSX, like our current README.win32 and README.SUN >> - I see that you have at least tried to get libtool fixed >> instead of patching it locally. What more do you want me to do? I've contacted all the people I can and no one seems to know why it works like that or give a shit. >> >> I do appreciate your efforts, but I don't want them to be wasted. Whatever. I made these so that my users could get gtkmm installed. I've battled with this stuff for so long with so many unhelpful people I honestly don't care whether they're "officially" distributed anywhere. I have something which works, so that's good enough to get Gabber2 on OS X. I'm done as far as I'm concerned. Julian From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 12 16:22:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 1A0E218380 for ; Mon, 12 Jan 2004 16:22:03 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Ag9Va-0005Bp-0o for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:22:02 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1Ag9VZ-0007VK-Sw for gtkmm-list@gnome.org; Mon, 12 Jan 2004 13:22:01 -0800 Date: Mon, 12 Jan 2004 13:21:03 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #595 - 17 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 131200] New - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 2. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 3. [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h (bugzilla-daemon@widget.gnome.org) 4. [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc (bugzilla-daemon@widget.gnome.org) 5. [Bug 128932] Changed - gnome-vfsmm-1.3.4 won't build with gcc-2.95.x (bugzilla-daemon@widget.gnome.org) 6. [Bug 121646] Changed - won't build with older gcc (bugzilla-daemon@widget.gnome.org) 7. [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc (bugzilla-daemon@widget.gnome.org) 8. [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 (bugzilla-daemon@widget.gnome.org) 9. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 10. [Bug 97036] Changed - Gdk::Drawable::draw_glyphs() uses a C type. (bugzilla-daemon@widget.gnome.org) 11. [Bug 125969] Changed - Scale button_pressed_event needs connect_notify() (bugzilla-daemon@widget.gnome.org) 12. [Bug 89780] Changed - Treeview: signal_button_press_event needs connect_notify() (bugzilla-daemon@widget.gnome.org) 13. [Bug 123082] Changed - directfb build (bugzilla-daemon@widget.gnome.org) 14. [Bug 131019] Changed - TreeStore has no decent performance on massive inserts (bugzilla-daemon@widget.gnome.org) 15. [Bug 126324] Changed - gtkmm 2.2 doesn't build with GTK+ 2.3 (bugzilla-daemon@widget.gnome.org) 16. [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. (bugzilla-daemon@widget.gnome.org) 17. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 00:07:13 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] New - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by billyoc@gnuyork.org. --- shadow/131200 Mon Jan 12 00:07:13 2004 +++ shadow/131200.tmp.4773 Mon Jan 12 00:07:13 2004 @@ -0,0 +1,17 @@ +Bug#: 131200 +Product: gtkmm +Version: 2.4 +OS: Linux +OS Details: Debian Sid +Status: NEW +Resolution: +Severity: normal +Priority: Normal +Component: build +AssignedTo: gtkmm-forge@lists.sourceforge.net +ReportedBy: billyoc@gnuyork.org +TargetMilestone: --- +URL: +Summary: gtkmm/demo syntax error, breaks build. + +Syntax error in HEAD, just a stray comma. --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 00:07:52 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by billyoc@gnuyork.org. --- shadow/131200 Mon Jan 12 00:07:13 2004 +++ shadow/131200.tmp.4978 Mon Jan 12 00:07:52 2004 @@ -12,6 +12,11 @@ ReportedBy: billyoc@gnuyork.org TargetMilestone: --- URL: Summary: gtkmm/demo syntax error, breaks build. Syntax error in HEAD, just a stray comma. + +------- Additional Comments From billyoc@gnuyork.org 2004-01-12 00:07 ------- +Created an attachment (id=23249) +removes stray comma + --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, takekawa@users.sourceforge.jp Cc: Date: Mon, 12 Jan 2004 03:15:00 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131172] Changed - duplicate namespace in atkmm/text.h and gtkmm/enums.h Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131172 Changed by murrayc@usa.net. --- shadow/131172 Sun Jan 11 14:55:55 2004 +++ shadow/131172.tmp.26313 Mon Jan 12 03:15:00 2004 @@ -49,6 +49,15 @@ ^ ------- Additional Comments From takekawa@users.sourceforge.jp 2004-01-11 14:55 ------- Created an attachment (id=23239) patch to fix duplicate namespace + +------- Additional Comments From murrayc@usa.net 2004-01-12 03:14 ------- +Thanks. I will investigate. + +Please see +http://www.gtkmm.org/bugs.shtml +about creating patches. This patch patches generated files, and has no +ChangeLog entry. + --__--__-- Message: 4 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:22:51 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129396] Changed - libpanelappletmm-1.3.1 does not compile with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129396 Changed by murrayc@usa.net. --- shadow/129396 Mon Jan 5 13:06:16 2004 +++ shadow/129396.tmp.22913 Mon Jan 12 07:22:51 2004 @@ -1,13 +1,13 @@ Bug#: 129396 Product: gnomemm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -43,6 +43,11 @@ Fortunately, this seems restricted to the examples directory. ------- Additional Comments From murrayc@usa.net 2003-12-19 10:24 ------- Not many people are using this compiler anymore, but patches are welcome. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:22 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 5 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:24:46 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 128932] Changed - gnome-vfsmm-1.3.4 won't build with gcc-2.95.x Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=128932 Changed by murrayc@usa.net. --- shadow/128932 Fri Dec 12 11:46:41 2003 +++ shadow/128932.tmp.23792 Mon Jan 12 07:24:46 2004 @@ -1,13 +1,13 @@ Bug#: 128932 Product: gnomemm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: gnome-vfsmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -469,6 +469,15 @@ } ------- Additional Comments From murrayc@usa.net 2003-12-12 11:46 ------- Thanks, but please _attach_ your patch and patch the ChangeLog. In general, please see: http://www.gtkmm.org/bugs.shtml + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:24 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. + +This bug has a patch, but there isn't much point in applying it until +gtkmm 2.4 builds with gcc 2.9*. That will be even less likely when +gtkmm 2.4 uses libsigc++ 2, as it soon will. --__--__-- Message: 6 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: p@kapcoweb.com Date: Mon, 12 Jan 2004 07:25:27 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 121646] Changed - won't build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=121646 Changed by murrayc@usa.net. --- shadow/121646 Sun Oct 12 06:05:50 2003 +++ shadow/121646.tmp.24203 Mon Jan 12 07:25:27 2004 @@ -1,13 +1,13 @@ Bug#: 121646 Product: gnomemm Version: 2.0 OS: other OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: libgnomeuimm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -98,6 +98,11 @@ ------- Additional Comments From murrayc@usa.net 2003-10-12 06:05 ------- You have patched generated files, so this is not actually a patch. Please see http://www.gtkmm.org/bugs.shtml about making patches. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:25 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 7 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:26:20 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129719] Changed - libgnomeprintmm-2.5.0 fails to build with older gcc Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129719 Changed by murrayc@usa.net. --- shadow/129719 Mon Jan 5 10:24:56 2004 +++ shadow/129719.tmp.24718 Mon Jan 12 07:26:20 2004 @@ -1,13 +1,13 @@ Bug#: 129719 Product: gnomemm Version: unspecified OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: libgnomeprintmm AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -114,6 +114,12 @@ project. There is definite precedence for it and I think it would fall under "least surprise" to have the ability to regen them by default. ------- Additional Comments From murrayc@usa.net 2003-12-22 12:39 ------- Of course generated files should be regenerated if the source file has changed. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:26 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. + --__--__-- Message: 8 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, dalgoda@ix.netcom.com Cc: Date: Mon, 12 Jan 2004 07:27:51 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 129210] Changed - gtkmm-2.3.1 does not build with gcc 2.95 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=129210 Changed by murrayc@usa.net. --- shadow/129210 Fri Jan 9 12:23:25 2004 +++ shadow/129210.tmp.25666 Mon Jan 12 07:27:51 2004 @@ -1,13 +1,13 @@ Bug#: 129210 Product: gtkmm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: dalgoda@ix.netcom.com TargetMilestone: --- @@ -231,6 +231,11 @@ and user space apps with the same compiler. So I believe that it is not a real problem. Of course, I also believe that linuxfromscratch people actually enjoy having these problems. So, I guess we'll drop the gcc 2.9* support. But thanks for showing us that we needed to think about it. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:27 ------- +We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily +apply patches that anyone provides. Please reopen this bug if you have +a patch that fixes this for you. --__--__-- Message: 9 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, billyoc@gnuyork.org Cc: Date: Mon, 12 Jan 2004 07:29:17 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by murrayc@usa.net. --- shadow/131200 Mon Jan 12 00:07:52 2004 +++ shadow/131200.tmp.26856 Mon Jan 12 07:29:17 2004 @@ -17,6 +17,9 @@ Syntax error in HEAD, just a stray comma. ------- Additional Comments From billyoc@gnuyork.org 2004-01-12 00:07 ------- Created an attachment (id=23249) removes stray comma + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:29 ------- +Thanks. Someone please commit this. --__--__-- Message: 10 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, morus.walter@xipolis.net Cc: Date: Mon, 12 Jan 2004 07:30:45 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 97036] Changed - Gdk::Drawable::draw_glyphs() uses a C type. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=97036 Changed by murrayc@usa.net. --- shadow/97036 Thu May 22 06:22:48 2003 +++ shadow/97036.tmp.28600 Mon Jan 12 07:30:45 2004 @@ -92,6 +92,9 @@ --Daniel ------- Additional Comments From murrayc@usa.net 2002-10-31 06:58 ------- OK, thanks for the explanation. Awaiting a patch for a future API-break maybe 2.2. or 2.4. + +------- Additional Comments From murrayc@usa.net 2004-01-12 07:30 ------- +Now would be a good time to submit a patch. We must freeze the API soon. --__--__-- Message: 11 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, chalil@boun.edu.tr Cc: Date: Mon, 12 Jan 2004 08:02:59 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 125969] Changed - Scale button_pressed_event needs connect_notify() Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=125969 Changed by murrayc@usa.net. --- shadow/125969 Wed Nov 5 07:10:46 2003 +++ shadow/125969.tmp.15003 Mon Jan 12 08:02:59 2004 @@ -1,9 +1,9 @@ Bug#: 125969 Product: gtkmm -Version: 2.2 +Version: 2.4 OS: Linux OS Details: Status: NEW Resolution: Severity: normal Priority: Normal --__--__-- Message: 12 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, steve@przepiora.org Cc: Date: Mon, 12 Jan 2004 08:03:30 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 89780] Changed - Treeview: signal_button_press_event needs connect_notify() Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=89780 Changed by murrayc@usa.net. --- shadow/89780 Wed Nov 5 07:09:47 2003 +++ shadow/89780.tmp.15315 Mon Jan 12 08:03:29 2004 @@ -1,9 +1,9 @@ Bug#: 89780 Product: gtkmm -Version: 2.0 +Version: 2.4 OS: Linux OS Details: Status: REOPENED Resolution: Severity: minor Priority: Normal --__--__-- Message: 13 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pgasper@designadvantage.com Cc: Date: Mon, 12 Jan 2004 08:04:32 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 123082] Changed - directfb build Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=123082 Changed by murrayc@usa.net. --- shadow/123082 Tue Nov 25 11:44:11 2003 +++ shadow/123082.tmp.15782 Mon Jan 12 08:04:32 2004 @@ -4,13 +4,13 @@ OS: Linux OS Details: Mandrake 9.1 Status: NEW Resolution: Severity: normal Priority: Normal -Component: general +Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pgasper@designadvantage.com TargetMilestone: --- URL: Summary: directfb build --__--__-- Message: 14 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, christof@petig-baender.de Cc: Date: Mon, 12 Jan 2004 08:05:34 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131019] Changed - TreeStore has no decent performance on massive inserts Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131019 Changed by murrayc@usa.net. --- shadow/131019 Fri Jan 9 11:48:12 2004 +++ shadow/131019.tmp.16360 Mon Jan 12 08:05:34 2004 @@ -2,13 +2,13 @@ Product: gtkmm Version: 2.2 OS: Linux OS Details: Status: NEW Resolution: -Severity: enhancement +Severity: normal Priority: Normal Component: TreeView AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: christof@petig-baender.de TargetMilestone: --- URL: --__--__-- Message: 15 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, pierre42d@9online.fr Cc: Date: Mon, 12 Jan 2004 08:13:05 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 126324] Changed - gtkmm 2.2 doesn't build with GTK+ 2.3 Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=126324 Changed by murrayc@usa.net. --- shadow/126324 Tue Dec 23 03:19:34 2003 +++ shadow/126324.tmp.19618 Mon Jan 12 08:13:05 2004 @@ -1,13 +1,13 @@ Bug#: 126324 Product: gtkmm Version: 2.2 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: pierre42d@9online.fr TargetMilestone: --- @@ -102,6 +102,11 @@ ------- Additional Comments From murrayc@usa.net 2003-11-12 10:34 ------- I would like you to check whether gtkmm 2.2 from cvs builds without error. ------- Additional Comments From pierre42d@9online.fr 2003-12-23 03:19 ------- could you put a cvs snapshot somewhere? would be easier for me. + +------- Additional Comments From murrayc@usa.net 2004-01-12 08:12 ------- +Hmm, this build error had nothing to do with the API change - it was +just because we disabled deprecations before. Closing. I'll release a +new gtkmm 2.2.x version soon. --__--__-- Message: 16 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, billyoc@gnuyork.org Cc: Date: Mon, 12 Jan 2004 15:13:49 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 131200] Changed - gtkmm/demo syntax error, breaks build. Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=131200 Changed by murrayc@usa.net. --- shadow/131200 Mon Jan 12 07:29:17 2004 +++ shadow/131200.tmp.19023 Mon Jan 12 15:13:49 2004 @@ -1,13 +1,13 @@ Bug#: 131200 Product: gtkmm Version: 2.4 OS: Linux OS Details: Debian Sid -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: normal Priority: Normal Component: build AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: billyoc@gnuyork.org TargetMilestone: --- --__--__-- Message: 17 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 16:20:36 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Fri Jan 9 11:06:46 2004 +++ shadow/124297.tmp.24398 Mon Jan 12 16:20:36 2004 @@ -19,6 +19,17 @@ that should be similar to the custom cell renderer. ------- Additional Comments From christof@petig-baender.de 2004-01-09 11:06 ------- Created an attachment (id=23167) Feel free to simplify the GObject related stuff + +------- Additional Comments From murrayc@usa.net 2004-01-12 16:20 ------- +So, the question is, why do need the awful C GClass stuff. Here +(gtkmm_custom_treemodel2.cc) is a version that is more like what we +would expect. Ignore the first warning. But it gives this bizarre warning: + +(a.out:24508): GLib-GObject-WARNING **: cannot add interface type +`GtkTreeModel' to type `GObject', since type `GtkListStore' already +conforms to interface + +But we don't mention ListStore anywhere in the example. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From palm@nogui.se Mon Jan 12 17:29:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.g.bonet.se (mail.g.bonet.se [212.181.52.4]) by mail.gnome.org (Postfix) with ESMTP id 7B52318413 for ; Mon, 12 Jan 2004 17:29:46 -0500 (EST) Received: from nogui.se (1-1-2-12a.sbi.sth.bostream.se [213.238.209.61]) by mail.g.bonet.se (8.12.10/8.12.10) with ESMTP id i0CMTd07005775; Mon, 12 Jan 2004 23:29:40 +0100 (CET) (envelope-from palm@nogui.se) Message-ID: <40032E07.4090101@nogui.se> Date: Tue, 13 Jan 2004 00:30:15 +0100 From: Christer Palm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [[gtkmm] Alternate libglademm interface] References: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C227E7@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes. As a matter of fact I finished up all the suggested changes a couple of weeks ago - still need to do some more testing and wrap it up as a patch, but I should be able to do that in the upcoming weekend. Murray.Cumming@Comneon.com wrote: > We must freeze the libglademm 2.4 API on February 16th > http://www.gnome.org/start/2.5/bindings/#ApiFreeze > > Are you likely to have a patch for me to look at soon? > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > >>-----Original Message----- >>From: Christer Palm [mailto:palm@nogui.se] >>Sent: Dienstag, 7. Oktober 2003 20:54 >>To: Murray Cumming >>Cc: gtkmm-list@gnome.org >>Subject: Re: [[gtkmm] Alternate libglademm interface] >> >> >>Hi! >> >>Murray Cumming wrote: >> >>>> - Allow arbitrary constructor arguments for derived >> >>widget classes. >> >>> >>>This could be nice. Obviously it would be impractical to typedef an >>>Adapter for every possible class, so I think that the example code >>>should use the Adapter template without a typedef. >>> >> >>The typedef's are just there for convenience, of course. >>The Adapter should stay visible to enable it to be used directly for >>other classes. And yes, the example could be much better. >> >> >>>> - Straightforward creation of derived widgets, no Xml::create(), >>>>get_derived_widget(), etc. >>> >>> >>>By putting the glade filename in the constructor, yes. But >> >>would this >> >>>allow us to have 2 derived child-widgets that have been >> >>layed out in >> >>>the same container widget in a .glade file. I think the existing >>>get_widget_derived() method allows us to reuse an existing >>>Gnome::Glade::Xml instance, but this one creates a new one for each >>>class. >>> >> >>This could quite easily be fixed by adding additional XmlWidget::Base >>constructors for building the widget from an existing >>Gnome::Glade::Xml >>instance. >> >>The other way around, the internal Xml instance should >>probably also be >>made accessable in some way. >> >>A version intended for general use should probably also have >>constructors for building from a memory buffer, specifying the root, >>etc., just as with Gnome::Glade::Xml. >> >>I didn't put it in there because I didn't need it personally... >> >> >>>> - Hides more (most) glade stuff from the user. >>> >>> >>>See above. This might be a problem if the top-most class is >> >>not one of >> >>>your derived classes. Maybe that is not a common case. >>> >> >>It appears that it is not. Most gtkmm code I've seen so far >>only derives >>top-level widgets such as windows and dialogs. >> >> >>>> - Makes it easy to catch runtime errors when, for >> >>example, making a >> >>>>bunch of get_widget() calls by using exceptions. >>> >>> >>>I don't see a need to create a new exception class. >>>Gnome::Glade::Xml::Error should be enough. Also, I don't >> >>think we use >> >>>throw() declarations in our *mm stuff. >>> >> >>Well, I wasn't planning on throwing the actual >>XmlWidget::Exception, but >>more detailed exceptions derived from it, but I got a little >>lazy on the >>way and just put in throw(Exception):s for now. >> >>The idea is to give the user a flexible choice of what level >>he (she?) >>wants to provide error handling. If you just want to know if >>_anything_ >>went wrong, catch Glib::Exception. If you want to know if >>something went >>wrong with XmlWidget, catch XmlWidget::Exception. If you specifically >>want to know when a widget is missing from the glade file, catch >>XmlWidget::MissingWidgetException. You get the idea... >> >>throw specifiers are actually used in Glib, so they shouldn't >>cause any >>porting issues that are not already there. Personally I love >>them - they >>definitely help to improve your code quality. >> >>Both mechanisms are practically free from a runtime resource >>perspective. Just too bad that they aren't very frequently used, in >>gtkmm or elsewhere. >> >>All this of course subject matter to each and everyones >>personal taste >>and level on conservativism :-) >> >> >>>>Please keep in mind that this is a quick proof-of-concept hack. I'd >>>>like >>>>to hear your comments, as I suspect that the approach I'm >> >>using may not >> >>>>be 100% flawless. >>> >>> >>>I don't see where you are instantiating the gtkmm GTypes. This code >>>just seems to instantiate the GTK+ Gtype: >>> >> >>:-) >> >>The instantiation is well hidden inside libglademm thanks to the fact >>that I pass xml->gobj() to glade_xml_get_widget(), and xml is a >>Gnome::Glade::Xml instance (providing the virtual function >>for looking >>up the proper GType). >> >> >>>In general, I would prefer patches (although new files >> >>generally need >> >>>to be tarballed up separately) in bugzilla. You can put the URL in >>>emails. >>> >> >>Yes, of course. As I wrote, this wasn't meant to be an "official" >>submission to libglademm in any way (at least not at this stage), but >>merely a simple way to demonstrate the concept and gain some >>comments on it. >> >> >>>This is interesting. I particularly don't like that the >> >>classes used >> >>>with the current get_widget_derived() are forced to all >> >>have the same >> >>>constructor parameters. >>> >> >>Yes. That's actually the main reason to why I cooked this up. >>It was a >>showstopper in my case. >> >>-- >>Christer Palm >> >> > > From tor.arvid.lund@idi.ntnu.no Mon Jan 12 17:50:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from totto.homelinux.net (119.80-202-31.nextgentel.com [80.202.31.119]) by mail.gnome.org (Postfix) with ESMTP id E027918323 for ; Mon, 12 Jan 2004 17:50:26 -0500 (EST) Received: from totto.homelinux.net ([127.0.0.1] helo=idi.ntnu.no) by totto.homelinux.net with esmtp (Exim 3.36 #1 (Debian)) id 1AgAu4-0005tC-00 for ; Mon, 12 Jan 2004 23:51:24 +0100 Message-ID: <400324EC.2050006@idi.ntnu.no> Date: Mon, 12 Jan 2004 23:51:24 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] How to make a column in a TreeView a ProgressBar? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. I am new to gtkmm (and this list), and have been going through the tutorials on gtkmm.org. I am trying to make a TreeView with one column showing a ProgessBar (think DC++ in Windows). I gather from the Documentation that I need to make my own CellRenderer, but that part of the Documentation seemed somewhat unfinished. Can I find information regarding this somewhere else (maybe some of you on this list has experience...?) Any pointers would be helpful. Thanks. - -- Tor Arvid Lund -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAAyTs8CJw6vM17R4RAicFAJ9FeUPdJsbNZmu8qFtWwNRVbzQebgCeI/EX GEDU7YOUKPe/IbGkgPQdqvw= =Xr+s -----END PGP SIGNATURE----- From abhatnag@mda.ca Mon Jan 12 19:50:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 93DD01865D for ; Mon, 12 Jan 2004 19:50:51 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0D0onW08771 for ; Mon, 12 Jan 2004 16:50:49 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 12 Jan 2004 16:50:48 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Mon, 12 Jan 2004 16:50:44 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Subject: [gtkmm] Examples of libglademm in action? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I'm looking for example source of applications using libglademm. I don't find the "basic" example that comes with the libglademm tarball that usefull. Does anyone know where I can find such examples? thanks. From gtkmm-forge-admin@lists.sourceforge.net Mon Jan 12 23:05:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mail.gnome.org (Postfix) with ESMTP id 4C2BC182E3 for ; Mon, 12 Jan 2004 23:05:42 -0500 (EST) Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AgFoD-0002JF-21 for gtkmm-list@gnome.org; Mon, 12 Jan 2004 20:05:41 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.24) id 1AgFoC-00025B-Q9 for gtkmm-list@gnome.org; Mon, 12 Jan 2004 20:05:40 -0800 Date: Mon, 12 Jan 2004 20:02:37 -0800 From: gtkmm-forge-request@lists.sourceforge.net Reply-To: gtkmm-forge@lists.sourceforge.net X-Mailer: Mailman v2.0.9-sf.net MIME-version: 1.0 Content-type: text/plain To: gtkmm-forge@lists.sourceforge.net X-BeenThere: gtkmm-forge@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #596 - 3 msgs Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Send Gtkmm-forge mailing list submissions to gtkmm-forge@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to gtkmm-forge-request@lists.sourceforge.net You can reach the person managing the list at gtkmm-forge-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gtkmm-forge digest..." gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Today's Topics: 1. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 2. [Bug 124297] Changed - Need a custom TreeModel example (bugzilla-daemon@widget.gnome.org) 3. [Bug 108971] Changed - Deriving from Glib::Object produces debug spew (bugzilla-daemon@widget.gnome.org) --__--__-- Message: 1 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 16:21:18 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Mon Jan 12 16:20:36 2004 +++ shadow/124297.tmp.25018 Mon Jan 12 16:21:18 2004 @@ -30,6 +30,11 @@ (a.out:24508): GLib-GObject-WARNING **: cannot add interface type `GtkTreeModel' to type `GObject', since type `GtkListStore' already conforms to interface But we don't mention ListStore anywhere in the example. + +------- Additional Comments From murrayc@usa.net 2004-01-12 16:21 ------- +Created an attachment (id=23281) +gtkmm_custom_treemodel2.cc + --__--__-- Message: 2 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net, murrayc@usa.net Cc: Date: Mon, 12 Jan 2004 17:10:50 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 124297] Changed - Need a custom TreeModel example Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=124297 Changed by murrayc@usa.net. --- shadow/124297 Mon Jan 12 16:21:18 2004 +++ shadow/124297.tmp.26846 Mon Jan 12 17:10:50 2004 @@ -35,6 +35,17 @@ But we don't mention ListStore anywhere in the example. ------- Additional Comments From murrayc@usa.net 2004-01-12 16:21 ------- Created an attachment (id=23281) gtkmm_custom_treemodel2.cc + +------- Additional Comments From murrayc@usa.net 2004-01-12 17:10 ------- +I just checked in a fix to both branches that makes +gtkmm_custom_treemodel2.cc work. It properly implements the +Glib::Object default constructor so that it generates a custom +on-the-fly derived GType (derived from GObject) when you have already +called teh ObjectBase(typeid(MyCustomClass)) constructor. + +So, now the nasty GType stuff is gone, and we just need to tidy this +example up (Separate files for each class. No method implementation in +a .h file.) and add some comments. --__--__-- Message: 3 From: bugzilla-daemon@widget.gnome.org To: gtkmm-forge@lists.sourceforge.net Cc: Date: Mon, 12 Jan 2004 17:15:41 -0500 (EST) Subject: [gtkmm bugzilla] [Bug 108971] Changed - Deriving from Glib::Object produces debug spew Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=108971 Changed by murrayc@usa.net. --- shadow/108971 Wed Jul 16 11:29:57 2003 +++ shadow/108971.tmp.30420 Mon Jan 12 17:15:41 2004 @@ -1,13 +1,13 @@ Bug#: 108971 Product: gtkmm Version: 2.4 OS: Linux OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: trivial Priority: Low Component: general AssignedTo: gtkmm-forge@lists.sourceforge.net ReportedBy: seth@gnome.org TargetMilestone: --- @@ -46,6 +46,11 @@ opinion about this. ------- Additional Comments From murrayc@usa.net 2003-07-16 11:29 ------- At the least we should put a bit more information in that warning, such as "You probably have no reason to derive directly from Glib::Object." + +------- Additional Comments From murrayc@usa.net 2004-01-12 17:15 ------- +This has been fixed as part of bug #124297. The Glib::Object default +constructor is now known to be useful for implementing custom +TreeModels, because they need a GType. --__--__-- _______________________________________________ Gtkmm-forge mailing list Gtkmm-forge@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkmm-forge End of Gtkmm-forge Digest From Murray.Cumming@Comneon.com Tue Jan 13 04:38:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 14FBA1843F for ; Tue, 13 Jan 2004 04:38:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0D9YgDc012481 for ; Tue, 13 Jan 2004 10:34:43 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 10:39:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22866@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtkmm-forge@lists.sourceforge.net mailing list remind er Date: Tue, 13 Jan 2004 10:38:36 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry about this. I don't know why it started sending this password reminder to the list. Please ignore it (and don't use the password to change anythign). This is the gtkmm-list digest subscription for gtkmm-forge, not your own subscription to gtkmm-forge. Gtkmm-forge receives bugzilla notifications and then sends a digest of them to the list. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of > gtkmm-forge-request@lists.sourceforge.net > Sent: Montag, 12. Januar 2004 22:39 > To: gtkmm-list@gnome.org > Subject: [gtkmm] Gtkmm-forge@lists.sourceforge.net mailing > list reminder > > > This is a reminder of how to unsubscribe or change your > configuration for the address "gtkmm-list@gnome.org" on the > mailing list Gtkmm-forge. You need to have your password for > these things. YOUR Gtkmm-forge PASSWORD IS: > > panuar > > To make changes to your subscription, use the password on > your options World Wide Web page: > https://lists.sourceforge.net/lists/options/gtkmm-forge/gtkmm-list%40gnome.o rg You can also make such changes via email - send a message to: gtkmm-forge-request@lists.sourceforge.net with the text "help" in the subject or body, and you will be emailed instructions. Questions or comments? Please send them to gtkmm-forge-admin@lists.sourceforge.net. _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list From Murray.Cumming@Comneon.com Tue Jan 13 05:43:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id A9B83183D2 for ; Tue, 13 Jan 2004 05:43:19 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DAcmDb001460; Tue, 13 Jan 2004 11:38:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 11:43:09 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22880@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org, temas@box5.net Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 13 Jan 2004 11:42:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I think that this is very recent, but it looks good. Could you try it please?: http://fink.sourceforge.net/pdb/package.php/gtkmm2 Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Julian Missig [mailto:julian@jabber.org] > Sent: Montag, 12. Januar 2004 19:55 > To: Cumming Murray (CN L External) > Cc: gtkmm-list@gnome.org; Thomas Muldowney > Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer > for Mac OS X > > > On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > > >>> Well, anyway, I'll be leaving campus soon and no longer have this > >>> bandwidth. > >>> > >>> The packages are at > >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >> > >> I have downloaded them for safety. I am a bit reluctant to > put binary > >> packages on gtkmm.org until > >> - I am sure that they will be maintained in future. Isn't > there some > >> central repository for things like this? > > DarwinPorts does not host binary packages. Fink hosts binary versions > of their packages... eventually... but these were generated using > DarwinPorts, which uses a different path prefix from Fink. Fink also > does not use these double-clickable installers like DarwinPorts can > produce. osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but > I'm not sure whether they'd host something generated by DarwinPorts. > > >> - The build process is documented. I would like a > README.MacOSX, like > >> our current README.win32 and README.SUN > >> - I see that you have at least tried to get libtool fixed > instead of > >> patching it locally. > > What more do you want me to do? I've contacted all the people > I can and > no one seems to know why it works like that or give a shit. > > >> > >> I do appreciate your efforts, but I don't want them to be wasted. > > Whatever. I made these so that my users could get gtkmm > installed. I've > battled with this stuff for so long with so many unhelpful people I > honestly don't care whether they're "officially" distributed > anywhere. > I have something which works, so that's good enough to get Gabber2 on > OS X. I'm done as far as I'm concerned. > > Julian > From roger@whinlatter.uklinux.net Tue Jan 13 07:45:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by mail.gnome.org (Postfix) with ESMTP id 9EE9018960 for ; Tue, 13 Jan 2004 07:45:29 -0500 (EST) Received: from wrynose.whinlatter.uklinux.net (unknown [213.162.108.80]) by mail.metronet.co.uk (MetroNet Mail) with ESMTP id 8120A407290 for ; Tue, 13 Jan 2004 12:45:19 +0000 (GMT) Received: from roger by wrynose.whinlatter.uklinux.net with local (Exim 3.36 #1 (Debian)) id 1AgL93-0001ma-00; Tue, 13 Jan 2004 09:47:33 +0000 To: Amit BHATNAGAR Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Examples of libglademm in action? References: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> From: Roger Leigh Date: Tue, 13 Jan 2004 09:47:33 +0000 In-Reply-To: <76596DCD4C61EF4982AFF5EB01F1A26942847A@msxyvr5.mda.ca> (Amit BHATNAGAR's message of "Mon, 12 Jan 2004 16:50:44 -0800") Message-ID: <87k73wrxhm.fsf@wrynose.whinlatter.uklinux.net> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Amit BHATNAGAR writes: > I'm looking for example source of applications using libglademm. > I don't find the "basic" example that comes with the libglademm > tarball that usefull. Does anyone know where I can find such examples? http://people.debian.org/~rleigh/gtk/ogcalc/ HTH, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. From roger@whinlatter.uklinux.net Tue Jan 13 07:45:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by mail.gnome.org (Postfix) with ESMTP id A0B721897C for ; Tue, 13 Jan 2004 07:45:29 -0500 (EST) Received: from wrynose.whinlatter.uklinux.net (unknown [213.162.108.80]) by mail.metronet.co.uk (MetroNet Mail) with ESMTP id A1013408E5E; Tue, 13 Jan 2004 12:45:18 +0000 (GMT) Received: from roger by wrynose.whinlatter.uklinux.net with local (Exim 3.36 #1 (Debian)) id 1Ag84P-00009x-00; Mon, 12 Jan 2004 19:49:53 +0000 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> From: Roger Leigh Date: Mon, 12 Jan 2004 19:49:53 +0000 In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Fri, 9 Jan 2004 14:29:29 +0100") Message-ID: <87vfnht09q.fsf@wrynose.whinlatter.uklinux.net> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > I think that 100% API documentation should be possible, and it's an easy way > to help. I'm familiar with Doxygen, but not with the way Gtkmm preprocesses its source--where should the documentation be placed? Would it be OK for non-developers to contribute patches? I've checked out Gtkmm from CVS. Is the mainline the right place to be working from? I don't have a huge amount of free time, so this would probably be on an "as I find something undocumented that I need" basis. Regards, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. From Murray.Cumming@Comneon.com Tue Jan 13 07:50:32 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id AC99B1899C for ; Tue, 13 Jan 2004 07:50:31 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DCkSDb028591; Tue, 13 Jan 2004 13:46:28 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 13:50:49 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22893@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: roger@whinlatter.uklinux.net, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Tue, 13 Jan 2004 13:50:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > I think that 100% API documentation should be possible, and it's an > > easy way to help. > > I'm familiar with Doxygen, but not with the way Gtkmm > preprocesses its source--where should the documentation be > placed? Most .h and .cc files are generated from .hg and .ccg files. Doxygen documentation should be placed above the method declarations in the .hg files. Methods that are generated by _WRAP_METHOD() will almost always have generated documentation automatically, so you don't need to worry about them. You can read more about gmmproc in glibmm/docs/internals/ > Would it be OK for non-developers to contribute patches? It's always OK for anyone to submit patches: http://www.gtkmm.org/bugs.shtml > I've checked out Gtkmm from CVS. Is the mainline the right > place to be working from? Yes: http://www.gtkmm.org/cvs.shtml > I don't have a huge amount of free time, so this would > probably be on an "as I find something undocumented that I > need" basis. OK, but this should not take much time. It's just a case of - looking at part of the C++ docs - finding undocmented methods or classes - looking at the C docs. - Writing C++ docs based on those C docs. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 13 07:51:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7B338189AA for ; Tue, 13 Jan 2004 07:51:14 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0DClBDb028807; Tue, 13 Jan 2004 13:47:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Jan 2004 13:51:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22894@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: abhatnag@mda.ca, gtkmm-list@gnome.org Subject: RE: [gtkmm] Examples of libglademm in action? Date: Tue, 13 Jan 2004 13:51:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm looking for example source of applications using > libglademm. I don't find the "basic" example that comes with > the libglademm tarball that usefull. Does anyone know where I > can find such examples? If there is anything particular that you would like the libglademm examples to show, then please do tell us. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 13 12:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 52F0B18A44 for ; Tue, 13 Jan 2004 12:04:58 -0500 (EST) Received: (qmail 3734 invoked by uid 65534); 13 Jan 2004 17:04:54 -0000 Received: from pD9E948EC.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.72.236) by mail.gmx.net (mp021) with SMTP; 13 Jan 2004 18:04:54 +0100 X-Authenticated: #109577 Message-ID: <4004253B.40805@gmx.de> Date: Tue, 13 Jan 2004 18:04:59 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] example for TextView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! Can somebody please provide a small example how to fill the widget with text? TIA, Andi From billyoc@gnuyork.org Tue Jan 13 13:49:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id B762D18516 for ; Tue, 13 Jan 2004 13:49:16 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AgTYq-000288-M0; Tue, 13 Jan 2004 13:46:44 -0500 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] example for TextView References: <4004253B.40805@gmx.de> From: Billy O'Connor Date: Tue, 13 Jan 2004 13:46:44 -0500 In-Reply-To: <4004253B.40805@gmx.de> (Andreas B. Thun's message of "Tue, 13 Jan 2004 18:04:59 +0100") Message-ID: <87u12zit4b.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > Hi! > > Can somebody please provide a small example how to fill > the widget with text? > The code in gtkmm/examples/book/textview should show everything you need. From ramachandrap@dpsl.net Wed Jan 14 01:26:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id DDE2118368 for ; Wed, 14 Jan 2004 01:26:36 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 12:08:42 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZXZK0; Wed, 14 Jan 2004 12:08:32 +0530 Received: FROM comp448 BY khyber.enigma ; Wed Jan 14 12:08:30 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <008b01c3da68$0fafa890$5f0210ac@enigma> References: <20040112214048.28318.55929.Mailman@moniker.gnome.org> Date: Wed, 14 Jan 2004 12:01:37 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Re: API documentation: aiming for 100% Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi In response to your call for documentation of GTKmm classes, below are the classes for which we can do the API documentaion. NAMESPACE - GDK CLASSES- GC Pixbuf Pixmap NAMESPACE - GLIB CLASSES- Thread Thread::Exit Thread::Error Mutex Mutex::Lock NAMESPACE - GTK CLASSES - Window Widget FileSelection NAMESPACE- Gnome::Canvas CLASSES- Canvas CanvasAA Pixbuf and the format we can use for the documentation is- API NAME INPUT PARAMETERS DESCRIPTION OUTPUT Please guide me. Regards, Ramachandra From alberto@paro.homeunix.org Wed Jan 14 03:13:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep03-svc.flexmail.it (fep03.tuttopmi.it [212.131.248.106]) by mail.gnome.org (Postfix) with ESMTP id 9DA0B18441 for ; Wed, 14 Jan 2004 03:13:14 -0500 (EST) Received: from paro.homeunix.org ([82.88.53.142]) by fep03-svc.flexmail.it with ESMTP id <20040114081329.PZQW12265.fep03-svc.flexmail.it@paro.homeunix.org> for ; Wed, 14 Jan 2004 09:13:29 +0100 Message-ID: <4004FA68.3040201@paro.homeunix.org> Date: Wed, 14 Jan 2004 09:14:32 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >I think that 100% API documentation should be possible, and it's an easy way >to help. > > > I'm checking doc for glibmm, but last cvs was unable to merge the doc. I've genered the docs XML file with docgen of pygtk. Something was changed in gtkmmproc and it does not recognize the --mergedocs options. Some ideas? Thanks, Alberto From Murray.Cumming@Comneon.com Wed Jan 14 05:56:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0FA061827D for ; Wed, 14 Jan 2004 05:56:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EAqqDb020919; Wed, 14 Jan 2004 11:52:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 11:57:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228E2@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: alberto@paro.homeunix.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Wed, 14 Jan 2004 11:56:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm checking doc for glibmm, but last cvs was unable to merge > the doc. I've genered the docs XML file with docgen of pygtk. Yes, there is currently no glibmm_docs.xml in glibmm. Please do add it if would be useful. > Something was changed in gtkmmproc It's now "gmmproc" > and it does not recognize the > --mergedocs options. > Some ideas? Yes, I removed the option in glibmm in cvs. It now _always_ merges the docs. Please report any actual build errors with the code in cvs. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 14 05:59:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D8EC31857E for ; Wed, 14 Jan 2004 05:59:22 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EAtADb021769; Wed, 14 Jan 2004 11:55:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 11:59:34 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228E3@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] Re: API documentation: aiming for 100% Date: Wed, 14 Jan 2004 11:59:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Hi > In response to your call for documentation of GTKmm classes, > below are the classes for which we can do the API documentaion. > > NAMESPACE - GDK > CLASSES- > GC > Pixbuf > Pixmap > > NAMESPACE - GLIB > CLASSES- > Thread > Thread::Exit > Thread::Error > Mutex > Mutex::Lock > > NAMESPACE - GTK > CLASSES - > Window > Widget > FileSelection > > NAMESPACE- Gnome::Canvas > CLASSES- > Canvas > CanvasAA > Pixbuf Great. > and the format we can use for the documentation is- > API NAME > INPUT PARAMETERS > DESCRIPTION > OUTPUT > > Please guide me. I am not quite sure what specific help you need. Are you familiar with the doxygen/javadoc format that we use? Are you not familiar with the way that gmmproc merges the C docs to generate some doxygen comments automatically? Murray Cumming www.murrayc.com murrayc@usa.net From jvilarroig@terra.es Wed Jan 14 06:33:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from tsmtp6.mail.isp (smtp.terra.es [213.4.129.129]) by mail.gnome.org (Postfix) with ESMTP id 42AC5183C8 for ; Wed, 14 Jan 2004 06:33:55 -0500 (EST) Received: from 62-151-131-24.tp24.ya.com ([62.151.131.24]) by tsmtp6.mail.isp (terra.es) with ESMTP id HRH9G502.4FS for ; Wed, 14 Jan 2004 12:33:41 +0100 From: Javier Vilarroig To: Gtkmm e-list Content-Type: text/plain Message-Id: <1074078978.4605.16.camel@javor.vilarroig.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 14 Jan 2004 12:16:18 +0100 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Newbie libglademm question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi. Excuse me if this is not the right place for this question. I'm starting to write my first serious app with gtkmm/libglademm, and I'm having a strange problem, at least to me :). I'm creating a separate .glade file for every dialog on the app, and I load it on the class constructor in order to be able to open multiple instances of them. I do that because , to my understanding, when the .glade file is opened only one instance for every dialog is created and I need to be able to open multiple instances. Also I understand that whe the .glade file is loaded, all and every dialog are created, so it seems a memory waste to have only one .glade file. Correct me if I missunderstood that. I open the main app window without problem, but when I create the first independent dialog I got a lot of errors on stderr, there is a sample at mail end. The dialog opens correctly and it seems it's working correctly, but I'm affraid I have misunderstood something on the libglademm "filosofy" and that it can lead to unespected failures later. Any help would be apreciated. Thanks in advance Javor PS. Pls, excuse my bad english. It's not my native tonge. Error listing: -------------------------------- (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GConf-CRITICAL **: file gconf-client.c: line 546 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 869 (gnome_program_locate_file): assertion `program != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 869 (gnome_program_locate_file): assertion `program != NULL' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 (gnome_program_get_app_id): assertion `program != NULL' failed (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 (g_string_prepend): assertion `val != NULL' failed (sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135 (gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid (accel_path)' failed (sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937 (gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid (accel_path)' failed -------------- From Murray.Cumming@Comneon.com Wed Jan 14 09:15:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6C286188FB for ; Wed, 14 Jan 2004 09:15:06 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0EEArDb002025; Wed, 14 Jan 2004 15:10:55 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Jan 2004 15:15:18 +0100 Message-ID: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Re: API documentation: aiming for 100% Date: Wed, 14 Jan 2004 15:14:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I would like to clarify whether documentation should commence > on all the below mentioned classes in order to avoid > duplication of the work if someone is already o the same job. Yes, please go ahead. I am not aware of anybody who is working on the documentation of the same classes. Everybody is announcing their work on the list, so it should be easy to avoid conflicts. > Further, is the format as mentioned below is acceptable to > you? You have not really described a format precisely here: > > > and the format we can use for the documentation is- > > > API NAME > > > INPUT PARAMETERS > > > DESCRIPTION > > > OUTPUT but I am confident that you can look at the existing doxygen comments and do the same for new documentation. > Do you need us to give more headers in .h file? I don't understand that sentence, but again, I don't see any way to be confused about the task. > We are fully conversant with Doxygen. Great. Murray Cumming www.murrayc.com murrayc@usa.net > > > In response to your call for documentation of GTKmm > classes, below > > > are the classes for which we can do the API documentaion. > > > > > > NAMESPACE - GDK > > > CLASSES- > > > GC > > > Pixbuf > > > Pixmap > > > > > > NAMESPACE - GLIB > > > CLASSES- > > > Thread > > > Thread::Exit > > > Thread::Error > > > Mutex > > > Mutex::Lock > > > > > > NAMESPACE - GTK > > > CLASSES - > > > Window > > > Widget > > > FileSelection > > > > > > NAMESPACE- Gnome::Canvas > > > CLASSES- > > > Canvas > > > CanvasAA > > > Pixbuf > > > > Great. > > > > > and the format we can use for the documentation is- > > > API NAME > > > INPUT PARAMETERS > > > DESCRIPTION > > > OUTPUT > > > > > > Please guide me. > > > > I am not quite sure what specific help you need. Are you > familiar with > > the doxygen/javadoc format that we use? Are you not > familiar with the > > way that gmmproc merges the C docs to generate some doxygen > comments > > automatically? > > > > Murray Cumming > > www.murrayc.com > > murrayc@usa.net > From abhatnag@mda.ca Wed Jan 14 15:50:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id B07E818A8B for ; Wed, 14 Jan 2004 15:50:30 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0EKoOW10104; Wed, 14 Jan 2004 12:50:25 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 14 Jan 2004 12:50:24 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A26942848B@msxyvr5.mda.ca> From: Amit BHATNAGAR To: "'Roger Leigh'" Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] Examples of libglademm in action? Date: Wed, 14 Jan 2004 12:50:24 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thank you! This is exactly what I needed, an excellent tutorial on GTK+, C++ and glade! amit. > -----Original Message----- > From: Roger Leigh [mailto:roger@whinlatter.uklinux.net] > Sent: January 13, 2004 1:48 AM > To: Amit BHATNAGAR > Cc: gtkmm-list@gnome.org > Subject: Re: [gtkmm] Examples of libglademm in action? > > > Amit BHATNAGAR writes: > > > I'm looking for example source of applications using libglademm. > > I don't find the "basic" example that comes with the libglademm > > tarball that usefull. Does anyone know where I can find > such examples? > > http://people.debian.org/~rleigh/gtk/ogcalc/ > > > HTH, > Roger > > -- > Roger Leigh > > Printing on GNU/Linux? > http://gimp-print.sourceforge.net/ > GPG Public Key: 0x25BFB848. Please sign and > encrypt your mail. > > From gene@erachampion.com Wed Jan 14 18:03:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from realtyroad.com (adsl-63-196-157-98.dsl.lsan03.pacbell.net [63.196.157.98]) by mail.gnome.org (Postfix) with ESMTP id 0A886182C9 for ; Wed, 14 Jan 2004 18:03:07 -0500 (EST) Received: (from apache@localhost) by realtyroad.com (8.11.6/8.11.6) id i0ENDHF10205; Wed, 14 Jan 2004 15:13:17 -0800 X-Authentication-Warning: realtyroad.com: apache set sender to gene@erachampion.com using -f Received: from 204.137.52.201 ( [204.137.52.201]) as user gene@localhost by realtyroad.com with HTTP; Wed, 14 Jan 2004 15:13:16 -0800 Message-ID: <1074121996.4005cd0c72c01@realtyroad.com> Date: Wed, 14 Jan 2004 15:13:16 -0800 From: Gene Ruebsamen To: gtkmm-list@gnome.org Cc: roger.whinlatter@uklinux.net Subject: [gtkmm] Gtkmm Tutorials (was: Re: Examples of libglademm in action?) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Roger Leigh writes: > > I'm looking for example source of applications using libglademm. > > I don't find the "basic" example that comes with the libglademm > > tarball that usefull. Does anyone know where I can find such examples? > http://people.debian.org/~rleigh/gtk/ogcalc/ This is exactly what gtkmm needs (ie. more documentation/tutorials). This is an excellent tutorial on gtk+/gtkmm & glade. I think a 'Tutorials' link should be created on the main gtkmm webpage with links to all gtkmm tutorials. Anyone aware of any other gtkmm tutorials out there? -- Gene Ruebsamen ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From Stefan.Andressen@t-online.de Thu Jan 15 00:35:16 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mail.gnome.org (Postfix) with ESMTP id A436118696 for ; Thu, 15 Jan 2004 00:35:16 -0500 (EST) Received: from fwd08.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1Ah09z-0003eQ-00; Thu, 15 Jan 2004 06:35:15 +0100 Received: from stefanxp1800 (E2KvA+Za8eHYyz20QAvuB3CuNv2Jfa397P4iFNpnjO1S5ESOkTr04s@[62.224.224.223]) by fwd08.sul.t-online.com with smtp id 1Ah09j-05QquW0; Thu, 15 Jan 2004 06:34:59 +0100 Message-ID: <002201c3db29$5000fd10$dfe0e03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: Date: Thu, 15 Jan 2004 06:34:56 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01C3DB31.B13D7060" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: E2KvA+Za8eHYyz20QAvuB3CuNv2Jfa397P4iFNpnjO1S5ESOkTr04s Subject: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C3DB31.B13D7060 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! Can i compile and run gtkmm applications with gcc 3.3/gcc 3.4, or are = there known problems? I would like to use this newer versions, because they are faster and = more ansi.=20 I did it with gcc 3.3 and it worked fine, at least for me. What about = gcc 3.4 (would be a great advantages, because of the precompiled = headers)? Bye, Stedan ------=_NextPart_000_001F_01C3DB31.B13D7060 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I would like to use this newer = versions,=20 because they are faster and more ansi.
I did it with gcc 3.3 and it worked = fine, at least=20 for me. What about gcc 3.4 (would be a great advantages, because of the=20 precompiled headers)?
 
Bye,
Stedan
------=_NextPart_000_001F_01C3DB31.B13D7060-- From Nathan.Hurst@infotech.monash.edu.au Wed Jan 14 22:47:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ALPHA9.ITS.MONASH.EDU.AU (alpha9.its.monash.edu.au [130.194.1.9]) by mail.gnome.org (Postfix) with ESMTP id 8483618394 for ; Wed, 14 Jan 2004 22:47:11 -0500 (EST) Received: from localhost ([130.194.13.84]) by vaxh.its.monash.edu.au (PMDF V5.2-31 #39306) with ESMTP id <01L5FIFBTYBS9004FK@vaxh.its.monash.edu.au> for gtkmm-list@gnome.org; Thu, 15 Jan 2004 14:10:00 +1100 Received: from blammo.its.monash.edu.au (localhost.its.monash.edu.au [127.0.0.1]) by localhost (Postfix) with ESMTP id 3F74839C004; Thu, 15 Jan 2004 14:10:00 +1100 (EST) Received: from nexus.csse.monash.edu.au (nexus.csse.monash.edu.au [130.194.64.4]) by blammo.its.monash.edu.au (Postfix) with ESMTP id 258BE2DC010; Thu, 15 Jan 2004 14:10:00 +1100 (EST) Received: from mail.csse.monash.edu.au (nudibranch.csse.monash.edu.au [130.194.67.14]) by nexus.csse.monash.edu.au (8.12.8+Sun/8.12.8) with ESMTP id i0F39vsQ024040; Thu, 15 Jan 2004 14:09:59 +1100 (EST) Date: Thu, 15 Jan 2004 14:06:49 +1100 From: Nathan Hurst In-reply-to: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Message-id: <400603C9.5080008@mail.csse.monash.edu.au> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en References: <258B0164D480D5118D900800062B385801C228FD@vihsx09a.vih.infineon.com> Subject: [gtkmm] tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: In the Appendix B of the tutorial there is this example: void on_button_clicked(); class some_class { void on_button_clicked(); }; some_class some_object; main() { Gtk::Button button; button.signal_clicked().connect( SigC::slot(&on_button_clicked) ); button.signal_clicked().connect( SigC::slot(some_object, &some_class::on_button_clicked) ); } After much frustration I finally found out that some_class needs to be derived from SigC::Object. Could something to this effect be added please? njh From abt@gmx.de Thu Jan 15 05:38:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id ACB4818513 for ; Thu, 15 Jan 2004 05:38:51 -0500 (EST) Received: (qmail 4704 invoked by uid 65534); 15 Jan 2004 10:38:47 -0000 Received: from port-213-61-210-205.muc.dial.de.colt.net (EHLO gmx.de) (213.61.210.205) by mail.gmx.net (mp003) with SMTP; 15 Jan 2004 11:38:47 +0100 X-Authenticated: #109577 Message-ID: <40066DA9.7080900@gmx.de> Date: Thu, 15 Jan 2004 11:38:33 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] I am stuck with a C++ problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi members, I have a C++ problem I just cannot solve. I am new to C++ so maybe you can help easily: I want to create 10 ParameterLines holding 4 widgets within class ParameterLine. ParameterLine is derived from HBox. class Parameters is calling ParameterLine to create those boxes. Parameters is derived from VBox, holding all objects of ParameterLine. My problem is I cannot see any widget in my table! Something is wrong with creation of my objects. When I create the widgets directly in main.cpp without classes involved it works.... main.h Parameters m_Parameters; main.cpp: myTable->attach(m_Parameters, 0, 6, 1, 2); Parameters.h: ------------- class Parameters : public Gtk::VBox { public: Parameters(); virtual ~Parameters(); }; Parameters.cpp: --------------- // An object of this class represents all ParameterLines in a VBox Parameters::Parameters() { // Generate ParameterLines for (int i=0; i<10; i++) { ParameterLine pLine; pack_start(pLine); } } ParameterLine.h: ---------------- class ParameterLine : public Gtk::HBox { public: ParameterLine(); virtual ~ParameterLine(); protected: Gtk::Label m_paramNameLabel; Gtk::Entry m_paramValEntry; Gtk::Label m_paramTypeLabel; Gtk::Button m_descButton; }; ParameterLine.cpp: ------------------ ParameterLine::ParameterLine() : m_descButton("Help") { // View Name of Parameter as Label m_paramNameLabel.set_alignment(Gtk::ALIGN_LEFT); m_paramNameLabel.set_text("m_name"); // View Value of Parameter in an entry m_paramValEntry.set_text(m_value); m_paramValEntry.set_editable("true"); // View Type of Parameter as Label m_paramTypeLabel.set_text("m_type"); // Pack all widgets into this object pack_start(m_paramNameLabel); pack_start(m_paramValEntry); pack_start(m_paramTypeLabel); pack_start(m_descButton); } TIA, Andi From matthew@alledora.co.uk Thu Jan 15 05:54:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id C6AC518775 for ; Thu, 15 Jan 2004 05:54:55 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Ah56h-0007Wh-S2 for gtkmm-list@gnome.org; Thu, 15 Jan 2004 10:52:11 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Ah56g-0007WS-Qt; Thu, 15 Jan 2004 10:52:10 +0000 Message-ID: <400671BD.60007@alledora.co.uk> Date: Thu, 15 Jan 2004 10:55:57 +0000 From: Matthew Walton User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> In-Reply-To: <40066DA9.7080900@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Are you calling show_all() on your Parameters object? show_all() causes a widget and all its children to be displayed, and I didn't see any calls to it or to show() in your code. From Murray.Cumming@Comneon.com Thu Jan 15 06:04:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 1211818C6B for ; Thu, 15 Jan 2004 06:04:58 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FB0pDb022125; Thu, 15 Jan 2004 12:00:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 12:05:17 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Nathan.Hurst@infotech.monash.edu.au, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Date: Thu, 15 Jan 2004 12:04:55 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes. Thanks for noticing that. Feel free to submit a patch. It should explain it and also explain that Gtk widgets do this automatically. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Nathan Hurst [mailto:Nathan.Hurst@infotech.monash.edu.au] > Sent: Donnerstag, 15. Januar 2004 04:07 > To: Murray.Cumming@Comneon.com > Cc: gtkmm-list@gnome.org > Subject: tutorial appendix B on signals misleading > > > In the Appendix B of the tutorial there is this example: > > void on_button_clicked(); > > class some_class > { > void on_button_clicked(); > }; > > some_class some_object; > > main() > { > Gtk::Button button; > button.signal_clicked().connect( SigC::slot(&on_button_clicked) ); > button.signal_clicked().connect( SigC::slot(some_object, > &some_class::on_button_clicked) ); } > > After much frustration I finally found out that some_class > needs to be > derived from SigC::Object. Could something to this effect be > added please? > > njh > From Murray.Cumming@Comneon.com Thu Jan 15 06:09:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D5A2418185 for ; Thu, 15 Jan 2004 06:09:28 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FB5MDb023808; Thu, 15 Jan 2004 12:05:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 12:09:48 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2293D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Stefan.Andressen@t-online.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 12:09:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Can i compile and run gtkmm applications with gcc 3.3 Yes, as you have discovered. >/gcc 3.4 I am not sure what "gcc 3.4" means. Is there a stable release already?: http://gcc.gnu.org/releases.html >, or are there known problems? No, all known problems are either - in bugzilla: http://www.gtkmm.org/bugs.shtml or - listed as fixed in the ChangeLog in cvs. or - in the FAQ Of course we would like to here about any problems, even with prerelease versions of gcc. > I would like to use this newer versions, because they are faster and more ansi. > I did it with gcc 3.3 and it worked fine, at least for me. What about gcc 3.4 (would be a great advantages, because of the precompiled > headers)? Please do try, and tell us about the results. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Thu Jan 15 06:36:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id EFAC418C82 for ; Thu, 15 Jan 2004 06:36:22 -0500 (EST) Received: (qmail 21787 invoked by uid 65534); 15 Jan 2004 11:36:21 -0000 Received: from pD902B4DF.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.223) by mail.gmx.net (mp012) with SMTP; 15 Jan 2004 12:36:21 +0100 X-Authenticated: #109577 Message-ID: <40067B23.6030804@gmx.de> Date: Thu, 15 Jan 2004 12:36:03 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> <400671BD.60007@alledora.co.uk> In-Reply-To: <400671BD.60007@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yes, I do. All other widgets in my table are visible. When I create the widgets in main() it works... :-/ > Are you calling show_all() on your Parameters object? show_all() causes a widget and all its children to be displayed, and I didn't see any calls to it or to show() in your code. From ramachandrap@dpsl.net Thu Jan 15 07:03:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id 0960618C93 for ; Thu, 15 Jan 2004 07:03:01 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 17:45:12 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YDCZX02M; Thu, 15 Jan 2004 17:45:06 +0530 Received: FROM comp448 BY khyber.enigma ; Thu Jan 15 17:45:04 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Message-ID: <014b01c3db60$3cf13550$5f0210ac@enigma> Date: Thu, 15 Jan 2004 17:38:08 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0148_01C3DB8E.569BB5B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Change Mouse cursor Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0148_01C3DB8E.569BB5B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, here i have small code snipet, my main intention is to change the mouse = cursor, but refptr_gdkwindow is NULL, i.e. line if(refptr_gdkwindow) is = never true. any help or suggestions would greatly be appreaciated. i am using gtkmm-2.0.1 Thanx. Regards Ramachandra =20 ------=_NextPart_000_0148_01C3DB8E.569BB5B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,

here i have small code snipet, my main intention is to = change the=20 mouse
cursor, but refptr_gdkwindow is NULL, i.e. line = if(refptr_gdkwindow)=20 is
never true. any help or suggestions would greatly be=20 appreaciated.

i am using=20 gtkmm-2.0.1

Thanx.

Regards


Ramachandra
 
------=_NextPart_000_0148_01C3DB8E.569BB5B0-- From Murray.Cumming@Comneon.com Thu Jan 15 07:48:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E98AE181B3 for ; Thu, 15 Jan 2004 07:48:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FChrDb011211; Thu, 15 Jan 2004 13:43:53 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 13:48:19 +0100 Message-ID: <258B0164D480D5118D900800062B385801C2294D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: njh@hawthorn.csse.monash.edu.au Cc: Nathan.Hurst@infotech.monash.edu.au, gtkmm-list@gnome.org Date: Thu, 15 Jan 2004 13:47:58 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks, but please see www.gtkmm.org/bugs.shtml about creating patches. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Nathan Hurst [mailto:njh@hawthorn.csse.monash.edu.au] > Sent: Donnerstag, 15. Januar 2004 13:10 > To: Murray.Cumming@Comneon.com > Cc: Nathan.Hurst@infotech.monash.edu.au; gtkmm-list@gnome.org > Subject: Re: tutorial appendix B on signals misleading > > > Murray.Cumming@Comneon.com wrote: > > >Yes. Thanks for noticing that. Feel free to submit a patch. > It should > >explain it and also explain that Gtk widgets do this automatically. > > > >Murray Cumming > >www.murrayc.com > >murrayc@usa.net > > > > > > --- docs/tutorial/gtkmm-tut-with-examples.xml 2004-01-15 > 22:22:35.000000000 +1100 > +++ docs/tutorial/gtkmm-tut-with-examples-njh.xml 2004-01-15 > 23:08:25.000000000 +1100 > @@ -11005,7 +11005,7 @@ > > void on_button_clicked(); > > -class some_class > +class some_class : public SigC::Object > { > void on_button_clicked(); > }; > @@ -11029,7 +11029,7 @@ > second argument is a pointer to one of its methods. This > particular version of slot() creates a > slot which will, when > "called", call > the pointed-to method of the specified object, in this case > -some_object.on_button_clicked(). > +some_object.on_button_clicked(). Note that some_class must > be derived > from SigC::Object - most classes will be > derived from > a Gtk::Widget which includes SigC::Object > as an ancestor. > > > > From bevis@anvil.com Thu Jan 15 08:45:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 765B618887 for ; Thu, 15 Jan 2004 08:45:27 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 62AF4224; Thu, 15 Jan 2004 13:41:35 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 8148221F for ; Thu, 15 Jan 2004 13:41:34 +0000 (GMT) Message-ID: <40069964.5080108@anvil.co.uk> Date: Thu, 15 Jan 2004 13:45:08 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] simple window size question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I want to get the size of a maximised window. I do something like: C_Mywindow mc_mywindow; (inherits Gtk::Window) mc_mywindow.move(0, 0); mc_mywindow.maximize(); int w, h; mc_mywindow.get_size(w, h); (or w=mc_mywindow.get_width(); etc) but the size I get back is not it's maximised size. if i put in a mc_mywindow.set_size_request(400, 400); before the maximize, i actually get back a size of 620x620. what have i missed? bevis From abt@gmx.de Thu Jan 15 08:48:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 699E218887 for ; Thu, 15 Jan 2004 08:48:09 -0500 (EST) Received: (qmail 15021 invoked by uid 65534); 15 Jan 2004 13:48:06 -0000 Received: from pD902B4D4.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.212) by mail.gmx.net (mp012) with SMTP; 15 Jan 2004 14:48:06 +0100 X-Authenticated: #109577 Message-ID: <400699AB.5070309@gmx.de> Date: Thu, 15 Jan 2004 14:46:19 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I am stuck with a C++ problem References: <40066DA9.7080900@gmx.de> In-Reply-To: <40066DA9.7080900@gmx.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I solved it! I must allocate objects dynamically: for (int i=0; i<10; i++) { ParameterLine *pLine; Pline = new(ParameterLine); pack_start(pLine); } Andreas B. Thun wrote: > Hi members, > > I have a C++ problem I just cannot solve. > I am new to C++ so maybe you can help easily: > > I want to create 10 ParameterLines holding > 4 widgets within class ParameterLine. > ParameterLine is derived from HBox. > > class Parameters is calling ParameterLine > to create those boxes. Parameters is > derived from VBox, holding all objects > of ParameterLine. > > My problem is I cannot see any widget > in my table! Something is wrong with > creation of my objects. > When I create the widgets directly in > main.cpp without classes involved it works.... > > > main.h > Parameters m_Parameters; > > main.cpp: > myTable->attach(m_Parameters, 0, 6, 1, 2); > > > Parameters.h: > ------------- > class Parameters : public Gtk::VBox { > public: > Parameters(); > virtual ~Parameters(); > }; > > > Parameters.cpp: > --------------- > // An object of this class represents all ParameterLines in a VBox > Parameters::Parameters() > { > // Generate ParameterLines > for (int i=0; i<10; i++) > { > ParameterLine pLine; > pack_start(pLine); > } > } > > > ParameterLine.h: > ---------------- > class ParameterLine : public Gtk::HBox { > public: > ParameterLine(); > virtual ~ParameterLine(); > > protected: > Gtk::Label m_paramNameLabel; > Gtk::Entry m_paramValEntry; > Gtk::Label m_paramTypeLabel; > Gtk::Button m_descButton; > }; > > > ParameterLine.cpp: > ------------------ > ParameterLine::ParameterLine() : m_descButton("Help") > { > // View Name of Parameter as Label > m_paramNameLabel.set_alignment(Gtk::ALIGN_LEFT); > m_paramNameLabel.set_text("m_name"); > > // View Value of Parameter in an entry > m_paramValEntry.set_text(m_value); > m_paramValEntry.set_editable("true"); > > // View Type of Parameter as Label > m_paramTypeLabel.set_text("m_type"); > > // Pack all widgets into this object > pack_start(m_paramNameLabel); > pack_start(m_paramValEntry); > pack_start(m_paramTypeLabel); > pack_start(m_descButton); > } > > > > TIA, > Andi > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From bevis@anvil.com Thu Jan 15 08:53:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id C063D18140 for ; Thu, 15 Jan 2004 08:53:14 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 8D100231; Thu, 15 Jan 2004 13:49:23 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id B9DB522C for ; Thu, 15 Jan 2004 13:49:22 +0000 (GMT) Message-ID: <40069B39.80706@anvil.co.uk> Date: Thu, 15 Jan 2004 13:52:57 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: gtkmm-list@gnome.org References: <40069964.5080108@anvil.co.uk> In-Reply-To: <40069964.5080108@anvil.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] simple window size question part 2 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: OK, let me clarify that a bit. This code: mc_image_window.set_size_request(400, 400); mc_image_window.move(0, 0); mc_image_window.maximize(); int w=0, h=0; mc_image_window.get_size(w, h); cout << w<<", "< I want to get the size of a maximised window. I do something like: > > C_Mywindow mc_mywindow; (inherits Gtk::Window) > mc_mywindow.move(0, 0); > mc_mywindow.maximize(); > int w, h; > mc_mywindow.get_size(w, h); > (or w=mc_mywindow.get_width(); etc) > > but the size I get back is not it's maximised size. > > if i put in a > mc_mywindow.set_size_request(400, 400); > before the maximize, i actually get back a size of 620x620. > > what have i missed? > > > > bevis > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From Stefan.Andressen@t-online.de Thu Jan 15 08:54:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mail.gnome.org (Postfix) with ESMTP id 294E7183B4 for ; Thu, 15 Jan 2004 08:54:29 -0500 (EST) Received: from fwd09.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1Ah7x5-0002yB-00; Thu, 15 Jan 2004 14:54:27 +0100 Received: from stefanxp1800 (Z2D9t6ZAreCpPbdFdRUaqdJsHWrAVPe1oPB4jlY393xIZHRqTd+HUE@[62.224.223.57]) by fwd09.sul.t-online.com with smtp id 1Ah7wq-1e0arw0; Thu, 15 Jan 2004 14:54:12 +0100 Message-ID: <001201c3db6f$0d5876a0$39dfe03e@stefanxp1800> From: Stefan.Andressen@t-online.de (=?iso-8859-1?Q?Stefan_Andre=DFen?=) To: References: <258B0164D480D5118D900800062B385801C2293D@vihsx09a.vih.infineon.com> Subject: Re: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 14:54:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Seen: false X-ID: Z2D9t6ZAreCpPbdFdRUaqdJsHWrAVPe1oPB4jlY393xIZHRqTd+HUE Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: No, gcc 3.4 is still in stage 3 and therefore not a stable release version. But it looks very promising:). Thanks for your answer. Bye, Stefan ----- Original Message ----- From: To: ; Sent: Thursday, January 15, 2004 12:09 PM Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm > > Can i compile and run gtkmm applications with gcc 3.3 > > Yes, as you have discovered. > > >/gcc 3.4 > > I am not sure what "gcc 3.4" means. Is there a stable release already?: > http://gcc.gnu.org/releases.html > > >, or are there known problems? > > No, all known problems are either > - in bugzilla: > http://www.gtkmm.org/bugs.shtml > or > - listed as fixed in the ChangeLog in cvs. > or > - in the FAQ > > Of course we would like to here about any problems, even with prerelease > versions of gcc. > > > I would like to use this newer versions, because they are faster and more > ansi. > > I did it with gcc 3.3 and it worked fine, at least for me. What about gcc > 3.4 (would be a great advantages, because of the precompiled > headers)? > > Please do try, and tell us about the results. > > Murray Cumming > www.murrayc.com > murrayc@usa.net From njh@hawthorn.csse.monash.edu.au Thu Jan 15 07:10:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail019.syd.optusnet.com.au (mail019.syd.optusnet.com.au [211.29.132.73]) by mail.gnome.org (Postfix) with ESMTP id 18B0818C93 for ; Thu, 15 Jan 2004 07:10:03 -0500 (EST) Received: from hawthorn.csse.monash.edu.au (c211-28-241-215.eburwd5.vic.optusnet.com.au [211.28.241.215]) by mail019.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i0FC9pB10347; Thu, 15 Jan 2004 23:09:52 +1100 Message-ID: <4006830E.3080509@hawthorn.csse.monash.edu.au> Date: Thu, 15 Jan 2004 23:09:50 +1100 From: Nathan Hurst User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: Nathan.Hurst@infotech.monash.edu.au, gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C2293C@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: tutorial appendix B on signals misleading Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >Yes. Thanks for noticing that. Feel free to submit a patch. It should >explain it and also explain that Gtk widgets do this automatically. > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > --- docs/tutorial/gtkmm-tut-with-examples.xml 2004-01-15 22:22:35.000000000 +1100 +++ docs/tutorial/gtkmm-tut-with-examples-njh.xml 2004-01-15 23:08:25.000000000 +1100 @@ -11005,7 +11005,7 @@ void on_button_clicked(); -class some_class +class some_class : public SigC::Object { void on_button_clicked(); }; @@ -11029,7 +11029,7 @@ second argument is a pointer to one of its methods. This particular version of slot() creates a slot which will, when "called", call the pointed-to method of the specified object, in this case -some_object.on_button_clicked(). +some_object.on_button_clicked(). Note that some_class must be derived from SigC::Object - most classes will be derived from a Gtk::Widget which includes SigC::Object as an ancestor. From Nick.Huxley@barclayscapital.com Thu Jan 15 08:42:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id 5FAF618C9C for ; Thu, 15 Jan 2004 08:42:02 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0FDe8VQ007976 for ; Thu, 15 Jan 2004 08:40:08 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0FDe5lc007970 for ; Thu, 15 Jan 2004 08:40:06 -0500 (EST) Received: from nykpsmeh003.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Thu, 15 Jan 2004 08:41:58 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by nykpsmeh003.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Thu, 15 Jan 2004 08:41:58 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3DB6D.58A5373C" content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Date: Thu, 15 Jan 2004 08:41:58 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF054@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm Thread-Index: AcPbKjclchAac/kzQ/u210OF1aUHfgAQvCTQ From: "Huxley, Nick: IT (NYK)" To: , X-OriginalArrivalTime: 15 Jan 2004 13:41:58.0551 (UTC) FILETIME=[58E02A70:01C3DB6D] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C3DB6D.58A5373C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 3.4 is still in a development phase and _not_ stable. I really wouldn't use it unless you want to use gtkmm as a test case for the compiler. They've just improved the template look up code for example but other stuff is mid re-write. =20 Nick -----Original Message----- From: Stefan.Andressen@t-online.de [mailto:Stefan.Andressen@t-online.de]=20 Sent: Thursday, January 15, 2004 12:35 AM To: gtkmm-list@gnome.org Subject: [gtkmm] gcc 3.3/gcc 3.4 with Gtkmm =09 =09 Hi! =20 Can i compile and run gtkmm applications with gcc 3.3/gcc 3.4, or are there known problems? I would like to use this newer versions, because they are faster and more ansi.=20 I did it with gcc 3.3 and it worked fine, at least for me. What about gcc 3.4 (would be a great advantages, because of the precompiled headers)? =20 Bye, Stedan ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ ------_=_NextPart_001_01C3DB6D.58A5373C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
3.4 is=20 still in a development phase and _not_ stable. I really wouldn't use it unl= ess=20 you want to use gtkmm as a test case for the compiler.
They've just improved the template look up code for example but ot= her=20 stuff is mid re-write.
 
Nick
-----Original Message-----
From:=20 Stefan.Andressen@t-online.de [mailto:Stefan.Andressen@t-online.de]=20
Sent: Thursday, January 15, 2004 12:35 AM
To:=20 gtkmm-list@gnome.org
Subject: [gtkmm] gcc 3.3/gcc 3.4 with=20 Gtkmm

Hi!
 
Can i compile and run gtkmm applications= with=20 gcc 3.3/gcc 3.4, or are there known problems?
I would like to use this newer vers= ions,=20 because they are faster and more ansi.
I did it with gcc 3.3 and it worked fine= , at=20 least for me. What about gcc 3.4 (would be a great advantages, because of= the=20 precompiled headers)?
 
Bye,
Stedan


------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays
Group does not accept legal responsibility for the contents of this
message. Although the Barclays Group operates anti-virus programmes,
it does not accept responsibility for any damage whatsoever that is
caused by viruses being passed. Any views or opinions presented are
solely those of the author and do not necessarily represent those of the Barclays Group. Replies to this email may be monitored by the Barclays
Group for operational or business reasons.

------------------------------------------------------------------------
=00 ------_=_NextPart_001_01C3DB6D.58A5373C-- From ufk2003@yahoo.com Thu Jan 15 08:56:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx-in-01.simplementehosting.net (mx-in-01.simplementehosting.net [66.216.79.177]) by mail.gnome.org (Postfix) with ESMTP id B119918140 for ; Thu, 15 Jan 2004 08:56:48 -0500 (EST) Received: from tux-in (CBL62-0-171-41.bb.netvision.net.il [62.0.171.41]) by mx-in-01.simplementehosting.net (Postfix) with ESMTP id A2AF4234048 for ; Thu, 15 Jan 2004 07:56:47 -0600 (CST) Received: from tux-in (localhost [127.0.0.1]) by tux-in (Postfix) with ESMTP id 1C3046C09DB for ; Wed, 14 Jan 2004 16:55:13 +0200 (IST) Date: Sat, 27 Sep 2003 18:19:31 +0300 From: Kfir Ozer To: gtkmm-list@gnome.org Message-ID: <20030927151931.GA24606@tux-in> Mime-Version: 1.0 Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: Balsa 2.0.14 Lines: 27 Subject: [gtkmm] (no subject) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: i have a small project that i did a few months ago that used to compile just fine. now when i compile it this is what i get: In file included from /usr/include/gtkmm-2.0/gtkmm.h:85, from common.hh:4, from callback.cc:1: /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const Gtk::Notebook_Helpers::Page& Gtk::Notebook_Helpers::PageIterator::operator*() const': /usr/include/gtkmm-2.0/gtkmm/notebook.h:822: error: ` Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` Gtk::Notebook_Helpers::Page' /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const Gtk::Notebook_Helpers::Page* Gtk::Notebook_Helpers::PageIterator::operator->() const': /usr/include/gtkmm-2.0/gtkmm/notebook.h:828: error: ` Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` Gtk::Notebook_Helpers::Page' make[2]: *** [callback.o] Error 1 make[2]: Leaving directory `/home/ufk/Projects/gebuilder/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ufk/Projects/gebuilder' make: *** [all-recursive-am] Error 2 ufk@tux-in gebuilder $ any ideas? thanks From Murray.Cumming@Comneon.com Thu Jan 15 09:56:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 25806187C6 for ; Thu, 15 Jan 2004 09:56:35 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0FEqSDb008482; Thu, 15 Jan 2004 15:52:28 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Jan 2004 15:56:54 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22964@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ufk2003@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] (no subject) Date: Thu, 15 Jan 2004 15:56:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: You are maybe using a new compiler. This might require an update version of gtkmm 2.2, or you might need to update your compiler (SUSE's gcc in SUSE 8.2 was broken, for instance). Details will help us. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Kfir Ozer > Sent: Samstag, 27. September 2003 17:20 > To: gtkmm-list@gnome.org > Subject: [gtkmm] (no subject) > > > i have a small project that i did a few months ago that used > to compile just fine. now when i compile it this is what i get: > > In file included from /usr/include/gtkmm-2.0/gtkmm.h:85, > from common.hh:4, > from callback.cc:1: > /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const > Gtk::Notebook_Helpers::Page& > Gtk::Notebook_Helpers::PageIterator::operator*() const': > /usr/include/gtkmm-2.0/gtkmm/notebook.h:822: error: ` > Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` > Gtk::Notebook_Helpers::Page' > /usr/include/gtkmm-2.0/gtkmm/notebook.h: In member function `const > Gtk::Notebook_Helpers::Page* > Gtk::Notebook_Helpers::PageIterator::operator->() const': > /usr/include/gtkmm-2.0/gtkmm/notebook.h:828: error: ` > Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of ` > Gtk::Notebook_Helpers::Page' > make[2]: *** [callback.o] Error 1 > make[2]: Leaving directory `/home/ufk/Projects/gebuilder/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/ufk/Projects/gebuilder' > make: *** [all-recursive-am] Error 2 > ufk@tux-in gebuilder $ > > > any ideas? thanks _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From abas@aix.meng.auth.gr Thu Jan 15 10:24:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id 46390180D9 for ; Thu, 15 Jan 2004 10:24:04 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1Ah9LR-00032k-00; Thu, 15 Jan 2004 17:23:41 +0200 Subject: Re: [gtkmm] simple window size question part 2 From: Anastasios Bassoukos To: Bevis Peters Cc: gtkmm-list@gnome.org In-Reply-To: <40069B39.80706@anvil.co.uk> References: <40069964.5080108@anvil.co.uk> <40069B39.80706@anvil.co.uk> Content-Type: multipart/alternative; boundary="=-874lnvL2TPnNexFYg4Eu" Organization: LHTEE, AUTh Message-Id: <1074180221.25593.7.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 15 Jan 2004 17:23:41 +0200 X-Scanner: exiscan *1Ah9LR-00032k-00*BsVFtVGOCR.* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-874lnvL2TPnNexFYg4Eu Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, 2004-01-15 at 15:52, Bevis Peters wrote: > OK, let me clarify that a bit. This code: > > mc_image_window.set_size_request(400, 400); > mc_image_window.move(0, 0); > mc_image_window.maximize(); > int w=0, h=0; > mc_image_window.get_size(w, h); > cout << w<<", "< > gets back 400x400, not the windows true maximised size. > > what have i missed? By the time you get to the get_size(), the resize request has not even been sent to the window manager. You will need to add a slot to the "size-allocate" signal , and only then will your window be maximized. Also read the documentation on that method. Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri --=-874lnvL2TPnNexFYg4Eu Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit On Thu, 2004-01-15 at 15:52, Bevis Peters wrote:
OK, let me clarify that a bit.  This code:

  mc_image_window.set_size_request(400, 400);
  mc_image_window.move(0, 0);
  mc_image_window.maximize();
  int w=0, h=0;
  mc_image_window.get_size(w, h);
  cout << w<<", "<<h<<endl;

gets back 400x400, not the windows true maximised size.

what have i missed?

By the time you get to the get_size(), the resize request has not even been sent to the window manager. You will need to add a slot to the "size-allocate" signal , and only then will your window be maximized. Also read the documentation on that method.

Tassos

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master." 
	-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri
--=-874lnvL2TPnNexFYg4Eu-- From lupv@gmv.es Thu Jan 15 10:54:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 8100E18735 for ; Thu, 15 Jan 2004 10:54:35 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0FFrO78027690 for ; Thu, 15 Jan 2004 16:53:24 +0100 Received: from gmvmailhost.gmv.es (gmvmailhost.gmv.es [172.22.2.4]) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) with ESMTP id i0FFrlZ09255 for ; Thu, 15 Jan 2004 16:53:47 +0100 (MET) Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0FFsXiO000440 for ; Thu, 15 Jan 2004 16:54:33 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Thu, 15 Jan 2004 17:04:14 +0100 Message-ID: <4006B7E0.2030201@gmv.es> Date: Thu, 15 Jan 2004 16:55:12 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] gtkmm resources Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm new using gtkmm and I would like to know how to configure the properties of a customized class, e.g. MyLabel that derives from Gtk::Label, to change its default font, font size, background, etc, from a resource file. I don't know how to apply themes for a simple gtkmm application (not gnome application). I'm first using gtkmm without knowing anything about GTK+ and perhaps this is my problem. I've reviewed the gtkmm documentation and I haven't found any clue. Thank you for your help, Luis From jonnyyu@online.sh.cn Thu Jan 15 11:26:13 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep2.online.sh.cn (unknown [202.96.209.41]) by mail.gnome.org (Postfix) with ESMTP id 0614318DEC for ; Thu, 15 Jan 2004 11:26:13 -0500 (EST) Received: from STARDUSTS ([218.80.108.37]) by fep2.online.sh.cn with ESMTP id <20040115162608.IRWJ5474.fep2.online.sh.cn@STARDUSTS> for ; Fri, 16 Jan 2004 00:26:08 +0800 Reply-To: From: "Jonny Yu" To: Date: Fri, 16 Jan 2004 00:27:42 +0800 Organization: Microsoft Message-ID: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: [gtkmm] Link problem using gtkmm with MSVC 7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I'm trying to build the example code of gtkmm with MSVC 7.1, Although I got several warnings ,such as e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: 'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via dominance e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning C4181: qualifier applied to reference type; ignored the sample did compiled through, the problem is I don't have the lib file (in .lib format). I downloaded the win32 port of http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ however the lib format is in .dll.a format, which could not be recognized by VC linker. Where can I find the .lib format gtkmm lib file? If not, can I build the .lib file from source or convert the .dll.a to .lib format? Any suggestions are grealy appreciated! Best Regards, Ying-Shen Yu From cedric.gustin@swing.be Fri Jan 16 04:17:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id CEBFA187EA for ; Fri, 16 Jan 2004 04:16:59 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0G9Ajte019688; Fri, 16 Jan 2004 10:10:53 +0100 (MET) Message-Id: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Fri, 16 Jan 2004 10:16:26 +0100 To: , From: Cedric Gustin Subject: Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 In-Reply-To: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> References: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:27 PM 1/15/2004, Jonny Yu wrote: >I'm trying to build the example code of gtkmm with MSVC 7.1, >Although I got several warnings ,such as > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: >'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via >dominance > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning >C4181: qualifier applied to reference type; ignored > >the sample did compiled through, the problem is I don't have the lib >file (in .lib format). I downloaded the win32 port of >http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ >however the lib format is in .dll.a format, which could not be >recognized by VC linker. Right, because of the different C++ name mangling schemes used by gcc and MSVC, their import libraries are incompatible. You cannot simply rename the .dll.a files to .lib (unlike their C counterparts, in most cases). >Where can I find the .lib format gtkmm lib file? >If not, can I build the .lib file from source or convert the .dll.a to >.lib format? I only support mingw32-gcc on my page but the projects files for MSVC 7.1 are in the MSVC_NET2003 directory. Don't know if they are up to date and/or if somebody provides binaries. Cedric From fnaumann@cs.uni-magdeburg.de Fri Jan 16 04:28:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10]) by mail.gnome.org (Postfix) with ESMTP id A484C1822D for ; Fri, 16 Jan 2004 04:28:00 -0500 (EST) Received: from wh58-508.st.uni-magdeburg.de ([141.44.198.58]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.30) id 1AhQGf-0004zj-J4; Fri, 16 Jan 2004 10:27:53 +0100 Date: Fri, 16 Jan 2004 10:27:50 +0100 (CET) From: Frank Naumann X-X-Sender: fnaumann@wh58-508.st.uni-magdeburg.de To: jonnyyu@online.sh.cn Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 In-Reply-To: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> Message-ID: References: <047701c3db84$800d57f0$0800a8c0@STARDUSTS> <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: ---- Start SpamAssassin results -4.9 points, 5.0 required; -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] ---- End of SpamAssassin results X-Scan-Signature: a6013c0e33abd25698719c75475606ab Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello! > >Where can I find the .lib format gtkmm lib file? > >If not, can I build the .lib file from source or convert the .dll.a to > >.lib format? There is no binary distribution of gtkmm for MSVC 7.1 yet. You need to compile the library itself (I can also send you the .lib files). > I only support mingw32-gcc on my page but the projects files for MSVC 7.1 > are in the MSVC_NET2003 directory. Don't know if they are up to date and/or > if somebody provides binaries. They are uptodate for gtkmm 2.2. I don't found any time to look at 2.4 yet :-( Regards, Frank Naumann From bevis@anvil.com Fri Jan 16 06:28:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 225611819D for ; Fri, 16 Jan 2004 06:28:55 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 6542D346; Fri, 16 Jan 2004 11:24:59 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id A7DFB342; Fri, 16 Jan 2004 11:24:58 +0000 (GMT) Message-ID: <4007CAE0.9060109@anvil.co.uk> Date: Fri, 16 Jan 2004 11:28:32 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Anastasios Bassoukos Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] simple window size question part 2 References: <40069964.5080108@anvil.co.uk> <40069B39.80706@anvil.co.uk> <1074180221.25593.7.camel@lhtee912.meng.auth.gr> In-Reply-To: <1074180221.25593.7.camel@lhtee912.meng.auth.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > By the time you get to the get_size(), the resize request has not even > been sent to the window manager. You will need to add a slot to the > "size-allocate" signal , and only then will your window be maximized. > Also read the documentation on that method. marvellous! that worked. bevis From lupv@gmv.es Fri Jan 16 06:36:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 598FD182A1 for ; Fri, 16 Jan 2004 06:36:27 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0GBZFfb021264 for ; Fri, 16 Jan 2004 12:35:15 +0100 Received: from gmvmailhost.gmv.es (gmvmailhost.gmv.es [172.22.2.4]) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) with ESMTP id i0GBZdZ18351 for ; Fri, 16 Jan 2004 12:35:39 +0100 (MET) Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0GBaPiO020963; Fri, 16 Jan 2004 12:36:25 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Fri, 16 Jan 2004 12:46:08 +0100 Message-ID: <4007CCE1.6090507@gmv.es> Date: Fri, 16 Jan 2004 12:37:05 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm resources References: <4006B7E0.2030201@gmv.es> In-Reply-To: <4006B7E0.2030201@gmv.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Luis Pastor Vegas wrote: > Hi, > > I'm new using gtkmm and I would like to know how to configure the > properties of a customized class, e.g. MyLabel that derives from > Gtk::Label, to change its default font, font size, background, etc, > from a resource file. I don't know how to apply themes for a simple > gtkmm application (not gnome application). I'm first using gtkmm > without knowing anything about GTK+ and perhaps this is my problem. > I've reviewed the gtkmm documentation and I haven't found any clue. > > Thank you for your help, > Luis Ok. I have already learnt that I have to use the Gtk::RC class, and reading the GTK+ documentation I am somewhat familiar to the resource file format. I have created two styles in the gtkrc file, but only the "default" style works. This is my gtkrc file: ---- style "default" { font_name = "Sans 14" } class "*" style "default" style "my-label" { font_name = "Sans Italic 10" } class "MyLabel" style "my-label" ---- In the "MyLabel" constructor there is a call to set_name("MyLabel"). What's wrong? I don't know how is the class path format that must be specified in a gtkmm application, since the only documentation I have found is for GTK+ applications. Can anybody send me a gtkrc example file? Thank you very much. From abas@aix.meng.auth.gr Fri Jan 16 07:09:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id D740B18120 for ; Fri, 16 Jan 2004 07:09:33 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1AhSmc-0007sW-00; Fri, 16 Jan 2004 14:09:02 +0200 Subject: Re: [gtkmm] gtkmm resources From: Anastasios Bassoukos To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org In-Reply-To: <4007CCE1.6090507@gmv.es> References: <4006B7E0.2030201@gmv.es> <4007CCE1.6090507@gmv.es> Content-Type: text/plain Organization: LHTEE, AUTh Message-Id: <1074254941.27735.14.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 16 Jan 2004 14:09:01 +0200 Content-Transfer-Encoding: 7bit X-Scanner: exiscan *1AhSmc-0007sW-00*lwOEDbw04ws* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Fri, 2004-01-16 at 13:37, Luis Pastor Vegas wrote: [snip] > Ok. I have already learnt that I have to use the Gtk::RC class, and > reading the GTK+ documentation I am somewhat familiar to the resource > file format. I have created two styles in the gtkrc file, but only the > "default" style works. This is my gtkrc file: > ---- > style "default" { > font_name = "Sans 14" > } > class "*" style "default" > > style "my-label" { > font_name = "Sans Italic 10" > } > class "MyLabel" style "my-label" ^^^^^ > ---- > In the "MyLabel" constructor there is a call to set_name("MyLabel"). ^^^^ > What's wrong? I don't know how is the class path format that must be > specified in a gtkmm application, since the only documentation I have > found is for GTK+ applications. Can anybody send me a gtkrc example file? > > Thank you very much. In the RC file, you should use widget "*.MyLabel" style "my-label" as the "widget" declaration sets styles by widget *names*. HTH, Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri From abt@gmx.de Fri Jan 16 08:27:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id A14C818622 for ; Fri, 16 Jan 2004 08:27:46 -0500 (EST) Received: (qmail 25301 invoked by uid 65534); 16 Jan 2004 13:27:44 -0000 Received: from pD902B4D2.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.210) by mail.gmx.net (mp011) with SMTP; 16 Jan 2004 14:27:44 +0100 X-Authenticated: #109577 Message-ID: <4007E6BC.1040705@gmx.de> Date: Fri, 16 Jan 2004 14:27:24 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Strange behaviour of my Gtk::Notebook. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, I've created a Notebook with some widgets arranged in a table on it. On "button click" I create another table and append it to the notebook pages. New tab appears .... .. when I click the append-Button size of my current notebook window #1 doubles in size!! Any hints for me? TIA, Andi From jonnyyu@online.sh.cn Fri Jan 16 11:16:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep1.online.sh.cn (unknown [202.96.209.39]) by mail.gnome.org (Postfix) with ESMTP id 5CC391852C for ; Fri, 16 Jan 2004 11:16:30 -0500 (EST) Received: from STARDUSTS ([127.0.0.1]) by fep1.online.sh.cn with ESMTP id <20040116161745.JCZM11001.fep1.online.sh.cn@STARDUSTS>; Sat, 17 Jan 2004 00:17:45 +0800 Reply-To: From: "Jonny Yu" To: "'Cedric Gustin'" , Date: Sat, 17 Jan 2004 00:17:59 +0800 Organization: Microsoft Message-ID: <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> Subject: [gtkmm] =?gb2312?B?tPC4tDogW290aGVyXSBSZTogW2d0a21tXSBMaW5rIHByb2JsZW0gdQ==?= =?gb2312?B?c2luZyBndGttbSB3aXRoIE1TVkMgNy4x?= Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi Cedric, Thanks for your reply! Thanks for your help, I'd like to try the project file, however I couldn't find the MSVC_NET2003 directory in the installed files. Do you mean a web directory on your homepage? Could you give me a link to it? Thanks a lot! Best Regards, Ying-Shen Yu -----=D3=CA=BC=FE=D4=AD=BC=FE----- =B7=A2=BC=FE=C8=CB: Cedric Gustin [mailto:cedric.gustin@swing.be]=20 =B7=A2=CB=CD=CA=B1=BC=E4: Friday, January 16, 2004 5:16 PM =CA=D5=BC=FE=C8=CB: jonnyyu@online.sh.cn; gtkmm-list@gnome.org =D6=F7=CC=E2: [other] Re: [gtkmm] Link problem using gtkmm with MSVC 7.1 At 05:27 PM 1/15/2004, Jonny Yu wrote: >I'm trying to build the example code of gtkmm with MSVC 7.1, >Although I got several warnings ,such as > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250: >'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via >dominance > >e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning >C4181: qualifier applied to reference type; ignored > >the sample did compiled through, the problem is I don't have the lib >file (in .lib format). I downloaded the win32 port of >http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ >however the lib format is in .dll.a format, which could not be >recognized by VC linker. Right, because of the different C++ name mangling schemes used by gcc and=20 MSVC, their import libraries are incompatible. You cannot simply rename the=20 .dll.a files to .lib (unlike their C counterparts, in most cases). >Where can I find the .lib format gtkmm lib file? >If not, can I build the .lib file from source or convert the .dll.a to >.lib format? I only support mingw32-gcc on my page but the projects files for MSVC 7. 1=20 are in the MSVC_NET2003 directory. Don't know if they are up to date and/or=20 if somebody provides binaries. Cedric=20 From kmilo@softhome.net Fri Jan 16 11:42:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id B7586187D4 for ; Fri, 16 Jan 2004 11:42:51 -0500 (EST) Received: (qmail 27983 invoked by uid 417); 16 Jan 2004 16:42:51 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 16 Jan 2004 16:42:51 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Fri, 16 Jan 2004 09:42:51 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Fri, 16 Jan 2004 09:42:51 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.163] Message-ID: Subject: [gtkmm] how close the console gtkmm app's open in windows? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: every gtkmm app that run(in windows XP) open a console, there is any form to close it? anybody know a multiplataform compression library? there is support for html in any widget of gtkmm? From kickvb@touva.be Fri Jan 16 12:59:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from moses.all2all.org (sys2.all2all.org [62.58.108.3]) by mail.gnome.org (Postfix) with ESMTP id 045FA180EF for ; Fri, 16 Jan 2004 12:59:11 -0500 (EST) Received: from buddha.all2all.org ([62.58.108.9] helo=all2all.org) by moses.all2all.org with smtp (ALL2ALL.ORG The Independent Network) id 1AhYFV-0007KC-00; Fri, 16 Jan 2004 18:59:14 +0100 Date: Fri, 16 Jan 2004 17:59:09 -0000 To: "Tor Arvid Lund" , Subject: Re: [gtkmm] How to make a column in a TreeView a ProgressBar? From: X-Mailer: TWIG 2.7.7 Message-ID: In-Reply-To: <400324EC.2050006@idi.ntnu.no> X-Client-IP: 81.11.157.116 Reply-To: kickvb@touva.be MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--------part4008266d49517" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ----------part4008266d49517 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > I am trying to make a TreeView with one column showing a ProgessBar > (think DC++ in Windows). I gather from the Documentation that I need to > make my own CellRenderer, but that part of the Documentation seemed > somewhat unfinished. Can I find information regarding this somewhere > else (maybe some of you on this list has experience...?) I have a made a class an a test program for a progress bar in a treeview (class ProgressCellRenderer, extending Gtk::CellRenderer). The files are in attachment. This progress bar is somewhat advanced as the foreground is drawn from an image file, allowing to have some nice look. I think this is a cool example to be added to the gtkmm package as it is somewhat common and can save lot of time for other programmers. Murray or anybody else, can I add a patch to the CVS? Can I put it in examples\book\treeview\progresscellrenderer? Regards, Christian Van Brussel ----------part4008266d49517 Content-Type: application/x-zip-compressed; name="progresscellrenderer.zip" Content-Transfer-Encoding: base64 UEsDBBQAAAAIAFp3LjAQS6YGXAYAACkUAAAsAAAAcHJvZ3Jlc3NjZWxscmVuZGVyZXIvUHJvZ3Jl c3NDZWxsUmVuZGVyZXIuY2O9WG1v2zYQ/p5fcc3QTu4cvyTYhtmpN8dxUgNOYthOg2AYBFqiLC6y KFCUba3YfvuOFO34RYrToZ1QIDJ199zxuYdHstX33/CpHlXNG3zVJwf+IyXz9IYH9LD3wScHvsOj VLCpL8HqlOC0VqsB9CvQDiVnIYVzkr3MfgtYmCxnhAUVLqat18LnPZ0KfCIhTEQSxzSA8yfmPM0n hwO8Ev6/PjnwY5/FEAk+FWQG+OoJSiHmnlwQQZuQ8gQcnImgLoulYJNEUmASSOhWuTgMP+Mu81Ll kYQuFSB9CpKKWQzc0z+ub+/hmoZUkAAGySRgDvSZQ8N4Xww58ARzV06xT12YpBrxSs1gZGYAVxwD E8l42ATK8LuAORUx/obTg/AmR5NQGXDGFpGKFAE8UqAlZCKFgMhn3Mpe4kXwX/PJgd8t7XMFXWCh npnPI6yHj3PCCi1YEMCEQhJTLwnKh+ARCB56449392No3z7CQ3s4bN+OH5sIJH2OX+mcZmHYLAoY RsWKCFxtqSL2EPxNd9j5iHjti16/N35U3F/1xrfd0Qiu7obQhkF7OO517vvtIQzuh4O7UReZH1Gq Ix6Ef0F3HoaacdSOSyWu1bigoC/Cf80nB/4Rl2WMHAcu+GROcXk6lM2RYQIOdrsvWlw58CTg4VSX EWGeRdQE5kHIZRkWgmEfkDxnwb0i++c1WYZe6FTK8OMvMKYoEgqDgDgUTmCUqAhnZ7UyXPBYKtOb NkDttF6vn9TPaj+X4X7Urvzv3H+Tp3p09B0LnSBx1XaEW4aQFb+1MXg8UBWgcdyhQTCkqpVSUfH9 46OjvC+NRt6oVYLGESo/YJNG427yJ3XkBYmpJdOIMtfKcymVyspDPjUa20hqGFURYaapHRlPe06C hNpgvVeqKcPx9ofjMtQKHCOG22KU55l9OS4dfd50xG2F4nQ+mNS6/b497N5edofdoX1zd9m1e7fd 4bi56bKMiKtdalvD6cbw30Vs/lNA52flkvE5MID4d5nailfIx7LXoYUeI5OAaijAVSwTERbxapWa BeHOWShbBeEKwV4R0a5MqVRjy/SF4EZQQ+oNpDi/drEgA7acJF4LXp9UVuZDWRmZ7KU158wtCKVM Y/YXtedeEjqW1ssDc3H4HTY49beMLTOMJejMh7goSDgN6DtwEMfGjkbKuFui9dLmnhcre/0z3f6J WNI37z5Vp81sLsXk7MwKJVhMi57xWgWQRcs8Ng1PWspOf8zsskyKDLOvhznMhGoYNGTtTeuBhS5f tBQT6qUMX0D1hDhPU6F2BUP4wYrkG9BlxGNqTPa61kjiMQ28gEzjrDbVKmBSgMA+dZ5AGDuIlSF+ x2I+E6fZzy2SqctujbI+bu0AtLDTwLt3u7jnH6Beq2m/b6MYk82bHcMKi+0wCQKrhFYZJQ6fReqU jywInD+Pmdqp1ZGCzch0xYv+ai8xh3VVdMglruEfwNoeNIrEbf0lwZaqcNrcgk/34FMNX1/l6qHW wEkElk6uy6YLr4s9xp0tG15tFaNxe9y1b++GN+2+juWBZWlJoAxyNpNRt9/tjLuXJXiDhSsdqTPB CtDKRF3xSWx73ElinAL8uhln5Q2NzdF2Z9z71F1NQSlwNYPrzvdxrgKuOy2YTO2pg2FNVN3YZKo2 D8OijycmNMnqjcj66BaoK66FJ9oFnvLxQC7wcBdwB09feMIjEFNcSW5+xJK++TlIPU5XmU49kgSr mxwu87PTwmQlXcqX0zUWlmZzLT5XkIU6gNOsHehWp9rJSUt9UarBlWBpKsq7YsLjhf5npLl6Scs7 i23Pcbsblk1bub6wL/F6gyLI5JLBl5pKAibbSNBInXkj7D8cb4GpuvXoYzOuSjxnS1wvmopdngbK odHoa4/WyvMDbI03Ghn31gaFOpKNNVOoetECdi8iIHJ+r//0h/oZRwJXkGdFyNDxW/ft2+NdArRX FvOkFZtaoP3euIdxbJfGjmD6tmsVFVMZ5rQQhbvuIGZlZ/g2bhDmzTdy9TgKc6FkqZOMQTGr7hdq +1YXViwWDdb/caCxCWrX3IMm6hZEXPAEn2kDQyrXB931xOwF0nxae56prfbR+tmq8chl1tWslzoV NrIVWgmwa1Vqm+5poftKYs/+/tp/Q/9GMVvKz+wts2rWIsdmqDNei90MpCt69eb+L1BLAwQUAAAA CABady4wHMbxVnUDAABlCwAALAAAAHByb2dyZXNzY2VsbHJlbmRlcmVyL1Byb2dyZXNzQ2VsbFJl bmRlcmVyLmhovVVtb+JGEP7Orxgp0impfEASVVUhQnUoSZAIQQYa5ZO1tsd4xdpr7a4d3Kr97Z01 VnNtnMCdct0v3vXsPPPM6/Z++I6r1+k1O/jQ1QJ/h6ys7qVAuErsNqXtL0YWJesGODoM+eVqgR/L vFJ8kxg4HZ/BRb/fB5h1wc2M5BnZZPtNeozJI4Mz7sJvLINAFVqjgKstD7dlcNjAkfDfulrgVwnX kCu5USwF2sYKEbSMzTNTOIRKFhCSJwojro3iQWEQuAGWRT2pDsOnMuJxZTWKLEIFJkEwqFINMq4P t/M13GKGiglYFIHgIcx4iJnGY9gz4m6VdIIRBFWNeGM9WDYewI0kw8xwmQ0BOckVlKg0neHiIHzD sSHkAHl8yowNigKZW9AzikQFgpkX3O4r4m/Bf+Rqgf9val8yGAHPas8SmVM+EvKJMvTMhYAAodAY F8I5BE9A8Dhd3T2sV+DOn+DR9Tx3vnoaEpBJJEmxxL0ZnuaCk1XKiKJuq2xgD8HfT7zxHeG519PZ dPVkY38zXc0nyyXcPHjgwsL1VtPxeuZ6sFh7i4flhCK/RKwtHoR/p+5iMpVKqp0IDeNCv5HQd+E/ crXAP1FbaoqxiCBhJVJ7hshLijCDkKbdVzVXCzwTMtvUaSSYlyIaAo8hk8aBZ8VpDhjZ0nBHsH/p SQemWdh14MefYYVUJAgLwUKEz7AsrIXLy74D11Ibe/XeBehfnJ+ffz6/7P/kwHrpdv/32H+X1et0 TnhMAzIGf+E93HpU5ePJbOZN5r9OvInXOSGRfavapaSchaKI6C3bmG2adpNRpxMKpjUsbOZQ6zEK 4aEdwTSoBvuhGcKt2Q4GX4o6f3T2okEHWnVPz4YkKbkyBdXUX29dsXckj2CDxtf8d/TLuMjC09re I4/o9ycqL/t1qGAzbeA2IpGHoWHZRuAnCAnRp3piDs0qur3zZRxre78+Vv8+EpZJmn2C9q3f87Qc VM2rYdAYEzyw1uKFUVe15UeeRfJ5ZJHsxoGvoBqwcLtRtqYbwgc9ar+Au1xqbK68Ss3S0CMDsWAb 3QS4ScLeGcpEjspU9N1V/jWjFvfz5p+/DwELBO7z16JyRbEbwT8aeZNYv2SieEerJZQLvguKeARt aDnfpSyvK4T+GfIdo8Er6He5+K+pfBsLAvqTeJxQbGis9XpvNNffUEsDBBQAAAAIAEmSLjAneDQM CAQAAAYOAAAwAAAAcHJvZ3Jlc3NjZWxscmVuZGVyZXIvUHJvZ3Jlc3NDZWxsUmVuZGVyZXJUZXN0 LmNj7Vdbb+I4FH7PrzhlNJXTUhaotg+hRRqh3VGl6U7VsrtazY4ikxiw6sSR40C7qP99j20SQpsy UO3jvoA51+/Y58YHnkaiiBlczvRDkvyUUJ525kPvQ0XPteLpbOhtSK1bJWeK5fmICXHH0pgppjrz ecvzIkHzHMYs12PF2IKzJQSQFRPBI/isH4LAkP9AsrfyHDnwPNhSID4ESAJYUFEw0vXb9hfNI/RE tCqYj4SVJX4WfBIEd2x6q9Wltf+F5/peS8WGIPCYmyNcwTYvCCLFqGYkCUdSFEma+wNrL2c6TGTM BKmUkeNYOg4Cdxcw5YKlNDGGW9n6LnqdxyxpOTNaPcEq44+TYtozzmN0fmt/lp7DqZJJaOyQ0pg/ eLbKEdXRHIgL7Vdk/qKUVMB8WME0Q/96ShAMU6oNrd+kBZPDVBZpDDyFj/nfaatdQexEIYImvj8A 9sg16eFh288G3C5H1yk+B0cPCZ0xa31vZ9Zb05X1m6+s//+VuYzPMsz4MLIZSlr1YhuzR41GqvTt JEYsLC821MgvE7epWOFElacrSGiKAEmKtdoka7C5YqvXr3MMJ+h220SDFGlsGIi/QlG62A7ZGF8z 8HQ2pHEcUo0lOCmwdkvdsyGGnTGlnzbxu9bh77ghK/E+45ilCc12Wnci5QsouTRt4KTqKejNBkrW AIzAt52P+d3UDZ0o2tpHwwZnVLr7SDuwRnzdsjaw+z+C3d8DdkTjGuwdGhXs8/N9xF/i7m9wn/8I 9/keuCeySI5a+6hUwC8u9hF/68Jd/8r5LKUi1DxhstDE70QyTVmkyT2fjZAtpCYnes7zNhzX52YQ FFls+mTpBxP0564N2TaUicRSfSGCs9YNUj4F4iYsHB+7yQtXV9DrdkuJcgIj6iN3Gqzph2VXv6Z2 wOP2amoHXO3a27qjmiiPGsL8z4PsvS/I/vuC7L0K0mH3XYSnp47PRM4c5eys1pn2SGt7OKiCibvb UyxlHz6aPDqojir1i4ua+jOAge12zBuzpq3tNOyYlh0ETuCORVLF9o3LpdOAqZsgtRSIY9I8T9/k 16dJo0A1ENxDmc9tqA7GZW3LHEIDiMHbqrh8vFKpPVyjzosFerPXDOGVLReCfQebPVsPUD2pZb1t dZ2w7XrCV8ju5NJmZNtmmf20gwAj26SgbWNlbRokhmv+tRBzoGoWtSGaU1xx8Lz49t33VqWPG5SC B1yynJThuxG99X9FLypQf/I0RkxL+1VR7yMlhWDxhmtY+NUxfx8yifn1RKzk7dcv16O/wk+/j7/e fBpfj9rQSPZLfZM4elH+ROOWgsc6yTiJ2ZQWQoc5/4eRfrfbtp26LjSXy5AK4UZeFX0QqCIlLmjF dKFSsyI8e/8CUEsDBBQAAAAIAPiWMDDucnF7WgwAACUnAAAiAAAAcHJvZ3Jlc3NjZWxscmVuZGVy ZXIvcHJvZ3Jlc3MyLnhwbc2YWVPeuBZFn29X9X8QbWaB+OzPI1PJIxDCDGEqphCmJAwBkhCm396y jvbJ801uVW7zlFW0ra11tmw8Niy2lhfE8Njff93dH91fHIvj86NbMSxubq/Pbk/u7oKDh5vL3T0x JZ7+/usfv9MRfiTCTiSCf0YMEOI/x2Lx+urE/ku1//KapmP+s0ASqP3IAU2g6uI3PAJFWDjQSyCP Ewf6HEhKB/oJZGnowDBA5cCUAxluO0ogzWoHJhzIcZdpAkneODDiQJE6MOBA6TswRCAuMwd6HKgC B14BcgeeCER114E9AITbJ9BtcI0xC+rSAN+CQQKRAV0LDiyoGgNCC8YJpAZEFkwS8A2ILdi1oCwM SC14IRAakFnwbEFRG5Bb4BNIDCgtCAh0mm6nsqBrQZ4bUFsQEug2XZ+yRBZkpQGUJSYQG0DzlFiQ NgZQuJRAagBlyQgEBlCWjgWJbwAt/ciCqG5Cnxb23oKwbMKAbntsQTczgHbsgwVBYgDtx4kFfthE QWHBqQWd0gC66BmJqn2oPCdQBZixCwJlCPsfCeQxxvKTAwmG/zOBLMU4XBJIM4z2lQN57MA1AAb3 hkBSYLS/OFCic7cE4gqTfEcgqjF09wBY2FcL6oqn8BuB2AAy992CKuOheyAQ8ND9sKCMeMYeLSh8 nqDcgnZgOo0FBc1HxQNTkv2Mx6Ei+wHbry2IO2y/IfuVcUtZZsh+wfZnyX7K9ufIfsz230A2dmwe siHqLWTjuFggUMSYj0XIxjgsQTZ+Y9mBDAfbCtxiYFYBMGNrkA3765CNdWxANk6pdwRCPmE2SWWH z48tElXy6bBNotoDhfZjh0QVXPVDAiGbE8qaS7jZikCHmy0tSLtcZG1BErJKz4LYNyrpyOm1IGxY ZZ8F3ZJV9lsQ5AYkFgxb4CesckqRyg52bFQ5lfAyoZxKVGxaOZWwP6KcOWzhAAD6MkQgzTAfPQ7k KPKrcuZwlycHSvR2Tzlz6O0+gajGOsYAsPRBC+qEW3lgQZVzK8cJdLmVk4pl047tEoi5pi8WFA0/ Cp4JBNxbn9zWXNOA3JpHgU9euuQ2YrchuQ3YbWRB1GG3Mblte0sDk5Dbgt2m5DZltxncYpM7cIs2 HMEtKvbeuY0wDscE8gR9+QC32OQTBzL09hRucdEzuEVvzwH42eDclrjtR8jGSj85wLI/QzYWdukA F/mK7Nd8SF8T8PlV4YbcViz7C6nMuNm3FuQRF/nup1u6yz2BlJv9lYDPzf5G9kNu9ney3z7m6UB5 IPsh2/9B9tuq020fyX7D9nOyX7L9guznxj6NZQn7KGEF+6hYDfvYsQb2MTAzsA8Ns7APDXOwj2u8 cfYz3HYe48DPBtjHXRYcKLGwRdhH95dgH91fhmysY4Xcplz1VQuqkJu9RrITLvI6gQ4XeYPst89b 0vCO7Jd8rm+S24btb5Hbgpu9TW5TdrtDbiN2e0huu+xWyBaEHXarLAjMG1tAS5cW+AW71dK5xfB7 0rlFxXqlc4sd65POLbz0S+cWuz4snVv8L1MAuMuodG752eBAju5PS+cW3R8hEJeo+oADFao+RCCq MWM9FtQN9/aVQMC9fbKgKvgY37OgrLnI+5Jlk4YxC4qcmz1oQR5zsw8syALu7bgFacQvV5MWJBm7 3bUgjo1KuuiLBVHIbp/Jrc9ufXLbsNuA3Jbstgu3GP4QbrHJkXPbxZ7GcAtRCdxCQwqV2OTMgQwF 6kAlinwEgIF5D7co8rEDJYbuA9xipE7gFllOHWgwY2fkNuPenv90S426IBBxkT+SW597+4nchtzb z+S24t5eEuhwb69IdsaP6GuSXXKRb0h2+8x2zwaSnbLsW5Idsew7km2aHVCWewu6HZb9lWTXLPsb ZGMLv0M2vDxANnb9B2RjTx8hG+Zy5zZBxQrIxq6Xzm2GgakgG82uIRtD10A2RmrGyS5xjM/CPsZy DvaxjjcEOvyInif7XW72W5Jdsv0Fkt1wsxcJpNzsJbJfcLOXf9qn97EVAglXfZXsd7nqayS7ZNnr JDtj2Rsk2/xJ7NNIvSPZIcveJNkBy94i2Y2RTQ+cbcjGnu442T426BCyoUFoJxvzobSTzd+UCGQp xkFrpxIT5GmnErveC4Bm92mnkr8pOVDhtsPaqUSzpyyoc+7tqAVVzDWdsKAM+Hk7bUHRPpGppiMW 5DWLGiDgc02HLMhyrmmPBWnFNX0lEPMh/WRBUrHKPQvinFXuWxClrHLMgjBilYMWdNsi00UPLAg6 rHLcgk7N3z8mtXOLXd/Vzi3q8aKdWxzBz3CLcfCd2xjjEDi3CRrVhWz8RuhkZ7hoBPtodgzZGKnE gRK3TSEbzc4A+O8G2Mc6jgj4XOT3NA4hF/mYxqHiIn/4OR+0pycEOtzsUwvKjJt9ZkFRcrPPCUQ8 QRcW5Ck3+6MFWchv459oHGoeh880DubF2acj+JLGIeNxuKJxSHgcrmkcQh6HGxqHgMfhC41DW3Va 2C3so2J3sI8C3cM+BuYr7GPXv8E+wHfYxzUeYB/d/wH7OB0eYR93yWEf5gonu8RKS9jHYVDBPg6D mmQX/ILWkMqE3c6Qyi53f5ZENVz1uZ/maNffEAi4+/OksuDuv7Ugrbn7CwQS7v4igQ7/pbVEstvD gGQvk+yCZa+Q7JQ/hq6S7Ihlr5HsLstet8DvsOwNyOZvSpCNRm062SF6uwXZ2PVtB1j2DmRj1w8B UELhOfu4qHIgx2EgPWcfC9Oek43DwHOgwmHQ6znZWHofABbWTyDg7g9bUNVc9SkCPjd71IIy52ZP WFBU3OxpAvHPZ4MFecbzMWBBFnGzhyxIfZbdY0Fcs+xXC6KSv30+WRBmLHvPgm7CsvctCNoP3e7v Bgv8gGUPUvzaR+cOPCcb+zHuOdnYsUnPyYaGXZhDkV8gCr19hhfMh/9zxyhcQPEbbkPXgqTD8UOK X3H8iOIXHD+m+Cl/L0wofsyfflOK3+X4Svx3P1Jo4Yle0Sf6xbCYEqNiQkyLETEghkSPeBVPYk/s izExKA7EuJgUu+JFPAtfBKIrQhGJWCQiFZnoiCPxXhyLD+JEnP4Pfn4pzJk4Fxfio/hkwnw2YS7F lbgWN+KLCXNrwtyJexPmq/hmwnwXDybMDxvm0YTJRWHDlCZMJWrRiBkxK+Z+O0j780th3oh58VYs iEWxZMIsmzArYtWEWRPrJsyGDfPOhtm0YbZsmG0TZkccmjBCKVUKqbTyVK/qU/1qWP1+lF8MM6VG 1YSaVotiRA2oZTGkVkSPelVr4kntqQ2xr8ZUG2ZQbYoDNa4m1a56UdviWbVhfNWGCZRUXRWqSMUq UemfC5OpjjpS79WxGlEf1IkaUqeqR52pc/WkLtRH9Ul9VpfqSg2qa9WGubFhvqg2zK26U/fqqwnz TX1XD+qHelS5Kv5cmFJVqlaNmlGzJsycemPCzJswb9WCCbOolkyYZRNmxYZZNWHW1LoJs6HeqVu1 acNsmTDbakcdmvNESSl/P8ovhtHSk72yT/bLYTkl59SonJDzalq2YUbkohqQQ3JZ9cgV9Sqf5Kra k/tyXY3JNsygbMMcyC01LiflrnyRz9KXwZ8L05WhjGQsExMmlZkclR15JKfle3ksR+QHOSBP5Kns kWfyVZ7LC9mG+SjH5Cf5WQ7KS3klD+S1HJc38ou8lXfyXn79c2G+ye/yQf6QjzI3YQpZmjCVrE2Y Rs6YMLMmzJx8Y8LMy7cmzIJcNGGWTJhluWLDrNowa3Jdbsh3clNu/bkw23JHHponp9K5lLoNo3Ul Pd2rG9mn+/WsHNZtmCndhhnVbZgJvSSn9YhekQN6SK/KHv2qn/Se3tdjelAf6HH9h8JM6l39op+1 rwMtdVeHWutIezrWie7Tqc70sO7oIz2l3+tj/UGf6FM9oc/0uQlzodswH3Ub5pP+rC/1lb7WN/qL /t0ovxhGiVt9p+/1V/1NfzdhHvQPE+bRhMl1YcKUurJhahum0ScmzIwNM6vn9Bs9b8K81Qt6US/p Zb2iV/WaXte/G+WXw2zod3pTb+ltvaMPTRjhKe/RHHK51p7nlbrX6/P6vTbMsNfoKW/Um9ET3rQ3 q0e8NsyA14YZ8nq8V+/J2/P2vTHvj4UZ9A68cW/S6xM7eljsesKbEC+e9AaE9nrEs9fr7Yl+r33V HPbGRRvmRfgmTCDaMJEY8AIvFUNe1wu9yIu9xEv/XJj/z/fmf14m/v7rX1BLAwQUAAAACAD0ljAw rMXwbyAGAABFGAAAIgAAAHByb2dyZXNzY2VsbHJlbmRlcmVyL3Byb2dyZXNzMS54cG29l9dSFVsQ QJ+vVf5DK0i2mRxUKCYSBCQKSgEikiUekiJ++9107+6jXhPXg8UTq9gzvTrtob8HFqcmoKf//r3G 6drpzjqsb6+dQA8cnRxunWw0Gu7q5dH+0jIMwNX9ew9dxwE3BDdxwXvYZwDAP+sweXiwQb/hzW9t TlGHXkmgl0GlYIiAmxqQEWgj4IV14CUE2gn4rgERgUcMSgN8Ah0EgtQAl0APgdA8w60JDBCIHAP4 tY8ZFAbwa58SiJPad/m1gwQSzwB+bR+DyICQQCeDzICAQDeD2gAO7AGB1FfwmUFsAKfrikFuAIe+ TCBzDHAIrDAIat9hl34GiYIuBoUBFYFVArlrANs+YRDWnlMQeMYgNSAnsMSgNIDzcU2g8BR8YhAZ kBJwGWQGcMY8BpUBMQGfQOkbwCkMGMQGcApDBrmCiEFtAOc0JlAFBnAKEwaJAZzClEFhAKfQIVA7 BnAK1xiECt5aUBUWrAuILXgnwLVgg0FUypFNAZEFWwLkyLYFRW7BDoO4kCO7AhwL9izI5ch7AaEF +wLkyAGDJMssOBQgR44sSGsLjgXIkRMGaRpY0LAgkSOnAlILzgT4FpxbEFcWXDDI4sSCSwsiSfIH BnkokX5kUAQSR2aBL5XLGZSeJLlgcFMnBiUDE7gFFQGn1JVTE6D9wT02TCAMdF2MEKBB5r8YFVsJ bExCl1I+l0glH+MEgkSX0gQ/tNKHThJIax31FwRyR+d2ikDh6hBOEyg9nagZApWv4zHLcYRVaeOY kzJI5eYlhZLTlwRoBfMyWCBgVnBoV/AiZ6zQjL3iZwQ6Ua/ltQLeMIhKKTagrb60A6IttlS/l4DZ arLohwjEse7kNj4SFTKE7QziQtrhkX2oL4XqQNsf8hc9BNxEbQcIeIHaPiYQ5c27wb4ll2IPMkgy GdM+tO0gtp0EwlovnG4CiavXyQMCqde8Gwhkvu71KwJ5oFt7mUAR6gpeIVBGuj77CVSxLscuiVSm YZVBmkrWn1iQyDJ4JnUR2yUGpSetfW1zqiP2iW19HSDXPjSW/eFJ9aULfS52ri0VEAhinZdQSimR RlJK6bGYK1drwyTNynFtUz4SVtJ0DoOolPFYE6B3g5RSjqyLrXTQO36trw2z0Qyds75JII60cbe4 +qF+O2xz9SP9ENjh6sda/V2ufqJX9B5XP9X79j1XP9Pq73P1c70JDzj0uJC2PLQglwE6kmLLXxxL sWWATgi4sc5Lg4tdaWufctYzzfoZP8PROM7ltZLCCwZJJj12Kf0hXfhBii1N97GZdW7+jOPwtOly zlipGSs4QZFuy9K+NpW5rRikqXRyLdWXPh22CfIl0hEudqTFHuXK+brGxziOmy82ntvn9i2JdPK4 tY3FdsLaOtKFkwT8TMfjBQFzh0sHTRFIM/1ynOY4cv0MnOE4Cs3HLIGi1A+0OU5QpV9b8wSqWiv3 kgMLK7nVF2w+AhmPRQalJ3II3//phSFog3Z4BB3m34kBeAxPYRD6oBO64QF8hitYhhXohy5YhSfw DJbgGj6B+b8CfAgghAhiSCAFB9bgLazDO9iATdiCbdiBXdiD97APB3AIR3AMJ9CAUziDc7iAS/gA HyGDHAoob/HzU5nKytRGZvgrmZE7khm1MmNG5vldyYx/IzNhZSatzAsrM2Vlpq3MjMrM/rbMnMrM t1bmJSwYmcU/lnlFMq+NzJvfkAEcA8Q7kenFpswQtkKmDXegHX8l8wjnoQNbKNODA/iFDLZW5inu wyB+T6YPWy6DX8l04o1MN1oZZJnPyDJXyDLLyDIryDL9+GuZLjyGVWzAE2zKPDMyS9iB17fQ+W2Z T/h3ZFycA+8uZXwM8O/LhEYmarVMrDLJH8mk+BocfANr+GuZtyqz3kqZdySzYWU2jcwWssw2sswO sswusswessx7ZJl9/K/MAbbjIf5M5sjIHLdW5uQLmQae/k+ZM/yRzDkO4gV+K3OpMh9aK/PRymS/ IZNjU6a4lUyJq1hhU6Y2MsN3JTPyQ5lRKzPWEpnn6OI4fikz0WqZyW9kXiDLTCHLTCPLzFiZWWSZ OWSZeSPzEm8ns2BkFm8rc/30/r1/AVBLAwQKAAAAAABJki4wAAAAAAAAAAAAAAAAFQAAAHByb2dy ZXNzY2VsbHJlbmRlcmVyL1BLAQIUABQAAAAIAFp3LjAQS6YGXAYAACkUAAAsAAAAAAAAAAEAIAC2 gQAAAABwcm9ncmVzc2NlbGxyZW5kZXJlci9Qcm9ncmVzc0NlbGxSZW5kZXJlci5jY1BLAQIUABQA AAAIAFp3LjAcxvFWdQMAAGULAAAsAAAAAAAAAAEAIAC2gaYGAABwcm9ncmVzc2NlbGxyZW5kZXJl ci9Qcm9ncmVzc0NlbGxSZW5kZXJlci5oaFBLAQIUABQAAAAIAEmSLjAneDQMCAQAAAYOAAAwAAAA AAAAAAEAIAC2gWUKAABwcm9ncmVzc2NlbGxyZW5kZXJlci9Qcm9ncmVzc0NlbGxSZW5kZXJlclRl c3QuY2NQSwECFAAUAAAACAD4ljAw7nJxe1oMAAAlJwAAIgAAAAAAAAABACAAtoG7DgAAcHJvZ3Jl c3NjZWxscmVuZGVyZXIvcHJvZ3Jlc3MyLnhwbVBLAQIUABQAAAAIAPSWMDCsxfBvIAYAAEUYAAAi AAAAAAAAAAEAIAC2gVUbAABwcm9ncmVzc2NlbGxyZW5kZXJlci9wcm9ncmVzczEueHBtUEsBAhQA CgAAAAAASZIuMAAAAAAAAAAAAAAAABUAAAAAAAAAAAAQAP9BtSEAAHByb2dyZXNzY2VsbHJlbmRl cmVyL1BLBQYAAAAABgAGAPUBAADoIQAAAAA= ----------part4008266d49517-- From tor.arvid.lund@idi.ntnu.no Fri Jan 16 16:57:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from totto.homelinux.net (119.80-202-31.nextgentel.com [80.202.31.119]) by mail.gnome.org (Postfix) with ESMTP id 44F1418201 for ; Fri, 16 Jan 2004 16:57:53 -0500 (EST) Received: from totto.homelinux.net ([127.0.0.1] helo=idi.ntnu.no) by totto.homelinux.net with esmtp (Exim 3.36 #1 (Debian)) id 1AhbzP-0007rU-00; Fri, 16 Jan 2004 22:58:51 +0100 Message-ID: <40085E97.50605@idi.ntnu.no> Date: Fri, 16 Jan 2004 22:58:47 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: kickvb@touva.be Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] How to make a column in a TreeView a ProgressBar? References: In-Reply-To: X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: kickvb@touva.be wrote (amongst other things): >I have a made a class an a test program for a progress bar in a treeview >(class ProgressCellRenderer, extending Gtk::CellRenderer). The files are in attachment. > > Thank you for responding. It sure is the best solution I've seen so far. Still, I was hoping to find a way to draw (and use) the existing Gtk::ProgressBar widget. Actually, it would really be nice to be able to put any widget inside a treeview column. Then one could also use the functions already implemented in that widget. I just looked briefly at the code, but it seemed unfortunate that it might segfault on Win32 (but there may be an easy workaround... I'll look into it later). Thanks again. regards, Tor Arvid Lund From kmilo@softhome.net Fri Jan 16 18:52:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id 5EF33182D7 for ; Fri, 16 Jan 2004 18:52:44 -0500 (EST) Received: (qmail 24449 invoked by uid 417); 16 Jan 2004 23:52:43 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 16 Jan 2004 23:52:43 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Fri, 16 Jan 2004 16:52:43 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Fri, 16 Jan 2004 16:52:43 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.162] Message-ID: Subject: [gtkmm] Subject: possible bug in Gtk::Main kit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: the first time the function ayudar run fine, but the second time (after Gtk::Main kit) ayudar print bad the file #include #include #include void ayudar(){ char* buffer=NULL; int tamanoBytesFname=0; std::ifstream file ("help.txt"); file.seekg (0, std::ios::end); tamanoBytesFname = file.tellg();// obtiene el tamano del archivo file.seekg (0, std::ios::beg); buffer = new char [tamanoBytesFname]; file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda file.close(); std::cout << buffer << std::endl << std::endl; delete[] buffer; } int main(int argc, char *argv[]) { ayudar(); Gtk::Main kit(argc, argv); ayudar(); std::cin.get(); return 0; } I'm ussing gtkmm in windows following the instructions from here: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ape.html From arvind@acarlab.com Fri Jan 16 22:52:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.acarlab.com (unknown [219.65.117.31]) by mail.gnome.org (Postfix) with SMTP id 6476B1850F for ; Fri, 16 Jan 2004 22:52:17 -0500 (EST) Received: (qmail 1882 invoked by uid 1000); 17 Jan 2004 03:51:39 -0000 Date: Sat, 17 Jan 2004 09:21:39 +0530 From: "Arvind R." To: gtkmm-list@gnome.org Cc: abt@gmx.de Subject: Re: [gtkmm] I am stuck with a C++ problem Message-ID: <20040117035139.GA1875@mail.acarlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Thu, 15 Jan 2004, Andreas B. Thun wrote: > Parameters::Parameters() > { > // Generate ParameterLines > for (int i=0; i<10; i++) > { > ParameterLine pLine; > pack_start(pLine); Change to // create and manage storage ParameterLine * pLine = manage( new pLine ); pack_start( *pLine ); > } > } Would like to know : How come no runtime errors? Does the new gtkmm exception handlers neatly, quietly trap them? - arvind r. From abt@gmx.de Sat Jan 17 10:01:13 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 3AE5D185C7 for ; Sat, 17 Jan 2004 10:01:13 -0500 (EST) Received: (qmail 28179 invoked by uid 65534); 17 Jan 2004 15:01:07 -0000 Received: from dialin-212-144-000-156.arcor-ip.net (EHLO gmx.de) (212.144.0.156) by mail.gmx.net (mp017) with SMTP; 17 Jan 2004 16:01:07 +0100 X-Authenticated: #109577 Message-ID: <40094E23.6060008@gmx.de> Date: Sat, 17 Jan 2004 16:00:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] ever tried a Gtk::HandleBox? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've experimented with HandleBoxes, but nothing happens in my GUI. A horizontal bar is drawn but I cannot drag it with the mouse?! Any hints would be appreciated. TIA, Andi ... // Add the Button Box and the ScrolledWindow with the TreeView to a VBox Gtk::VBox *VBox = Gtk::manage(new Gtk::VBox()); VBox->pack_start(*ButtonBox); VBox->pack_start(m_ScrolledWindow); // Add a HandleBox at the bottom of the VBox Gtk::HandleBox *TabHandleBox = Gtk::manage(new Gtk::HandleBox()); TabHandleBox->set_snap_edge(Gtk::POS_BOTTOM); VBox->pack_start(*TabHandleBox); // Add VBox to frame (a frame can only hold one widget) m_Frame.add(*VBox); // Pack frame into this object pack_start(m_Frame); show_all(); ... From billyoc@gnuyork.org Sat Jan 17 11:34:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 3978D181E7 for ; Sat, 17 Jan 2004 11:34:11 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AhtM3-0002rk-Ct; Sat, 17 Jan 2004 11:31:23 -0500 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] ever tried a Gtk::HandleBox? References: <40094E23.6060008@gmx.de> From: Billy O'Connor Date: Sat, 17 Jan 2004 11:31:20 -0500 In-Reply-To: <40094E23.6060008@gmx.de> (Andreas B. Thun's message of "Sat, 17 Jan 2004 16:00:51 +0100") Message-ID: <87ptdi8rl3.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Andreas B. Thun" writes: > Hi! > > I've experimented with HandleBoxes, but > nothing happens in my GUI. A horizontal > bar is drawn but I cannot drag it with > the mouse?! > Any hints would be appreciated. > As a sanity check, make sure this compiles, and that you can drag the entry out of the frame window. If you need further help with this, try to post the smallest example that will actually compile. #include int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Gtk::Window window; Gtk::HandleBox hbox; Gtk::Entry entry1; entry1.show(); hbox.add(entry1); hbox.show(); window.add(hbox); window.show(); Gtk::Main::run(window); return 0; } -- Billy O'Connor From olau@hardworking.dk Sat Jan 17 12:14:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 546D818562 for ; Sat, 17 Jan 2004 12:14:04 -0500 (EST) Received: from bach.composers (122.ppp1-1.abc.worldonline.dk [213.237.21.122]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0HHE17x014231 for ; Sat, 17 Jan 2004 18:14:02 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AhsFz-0000HI-TG for gtkmm-list@gnome.org; Sat, 17 Jan 2004 16:21:03 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Subject: possible bug in Gtk::Main kit References: From: Ole Laursen Date: Sat, 17 Jan 2004 16:21:03 +0100 In-Reply-To: (kmilo@softhome.net's message of "Fri, 16 Jan 2004 16:52:43 -0700") Message-ID: <87oet21u00.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: kmilo@softhome.net writes: > the first time the function ayudar run fine, but the second time (after > Gtk::Main kit) ayudar print bad the file > > #include > #include > #include > > void ayudar(){ > char* buffer=NULL; > int tamanoBytesFname=0; > std::ifstream file ("help.txt"); > file.seekg (0, std::ios::end); > tamanoBytesFname = file.tellg();// obtiene el tamano del archivo > file.seekg (0, std::ios::beg); > buffer = new char [tamanoBytesFname]; > file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda > file.close(); > std::cout << buffer << std::endl << std::endl; > delete[] buffer; > } Your function is buggy. The call to 'std::cout <<' expects buffer to be a null-terminated C string, which it is not. Try something like: buffer = new char [tamanoBytesFname + 1]; // extra space for '\0' file.read(buffer,tamanoBytesFname); // lee el archivo de ayuda file.close(); buffer[tamanoBytesFname] = '\0'; std::cout << buffer << std::endl << std::endl; -- Ole Laursen http://www.cs.auc.dk/~olau/ From olau@hardworking.dk Sat Jan 17 12:14:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp030.tiscali.dk (smtp030.tiscali.dk [212.54.64.105]) by mail.gnome.org (Postfix) with ESMTP id 4E1451849E for ; Sat, 17 Jan 2004 12:14:07 -0500 (EST) Received: from bach.composers (122.ppp1-1.abc.worldonline.dk [213.237.21.122]) by smtp030.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0HHE181014231 for ; Sat, 17 Jan 2004 18:14:05 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1AgrOw-0000Ht-Tb for gtkmm-list@gnome.org; Wed, 14 Jan 2004 21:14:06 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Newbie libglademm question References: <1074078978.4605.16.camel@javor.vilarroig.com> From: Ole Laursen Date: Wed, 14 Jan 2004 21:14:06 +0100 In-Reply-To: <1074078978.4605.16.camel@javor.vilarroig.com> (Javier Vilarroig's message of "Wed, 14 Jan 2004 12:16:18 +0100") Message-ID: <873cainv8x.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Javier Vilarroig writes: > I'm creating a separate .glade file for every dialog on the app, and I > load it on the class constructor in order to be able to open multiple > instances of them. I do that because , to my understanding, when the > .glade file is opened only one instance for every dialog is created and > I need to be able to open multiple instances. Also I understand that whe > the .glade file is loaded, all and every dialog are created, so it seems > a memory waste to have only one .glade file. Correct me if I > missunderstood that. Perhaps that is correct. I really don't know - it would very interesting to experiment with. I asked James Henstridge about this stuff a couple of months ago, but never got a reply. > I open the main app window without problem, but when I create the first > independent dialog I got a lot of errors on stderr, there is a sample at > mail end. The dialog opens correctly and it seems it's working > correctly, but I'm affraid I have misunderstood something on the > libglademm "filosofy" and that it can lead to unespected failures later. As far as I can tell, you've understood it correctly. Unfortunately, your listings don't really help without the code. > Error listing: > -------------------------------- > (sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738 > (gnome_program_get_app_id): assertion `program != NULL' failed > > (sencora:11708): GLib-CRITICAL **: file gstring.c: line 479 > (g_string_prepend): assertion `val != NULL' failed [...] Probably, you have a simple bug somewhere. You need to show us some code (the minimal code, please) exhibiting the problem. -- Ole Laursen http://www.cs.auc.dk/~olau/ From drink_n_park@hotmail.com Sun Jan 18 08:36:14 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (law10-f97.law10.hotmail.com [64.4.15.97]) by mail.gnome.org (Postfix) with ESMTP id 4946D18392 for ; Sun, 18 Jan 2004 08:36:14 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 Jan 2004 05:36:13 -0800 Received: from 203.217.38.178 by lw10fd.law10.hotmail.msn.com with HTTP; Sun, 18 Jan 2004 13:36:13 GMT X-Originating-IP: [203.217.38.178] X-Originating-Email: [drink_n_park@hotmail.com] X-Sender: drink_n_park@hotmail.com From: "Drinkin Park" To: gtkmm-list@gnome.org Date: Sun, 18 Jan 2004 13:36:13 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Jan 2004 13:36:13.0478 (UTC) FILETIME=[0A6F7460:01C3DDC8] Subject: [gtkmm] Function pointers question (gtkmm related) Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I am having a small problem implementing the callback functions for menu items, toolbar buttons, etc: My current code looks like this: ------------------------------------------------------------ class MyToolbar:Gtk::Toolbar { public: MyToolbar(); private: AnotherClass* anotherObject; }; class OtherClass { public: doStuff(); }; MyToolbar::MyToolbar() { ... push_back(StockElem(Gtk::Stock::NEW, SigC::slot(*this, &MyToolbar::newButtonClicked), "New")); ... } //callback function MyToolbar::newButtonClicked() { //do stuff otherObject->doStuff(); } ------------------------------------------------------------ What I'm after, is to be able to pass a method belonging to another object, in a similar method to this (which doesn't compile): ------------------------------------------ MyToolbar::MyToolbar() { ... push_back(StockElem(Gtk::Stock::NEW, SigC::slot(*this, &OtherClass::newButtonClicked), "New")); ... } --------------------------------------------- Is this possible, or will I have to stick with the method that I am currently using? Thanks in advance. _________________________________________________________________ Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp From pierric@descamps.net Sun Jan 18 09:53:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.insa-lyon.fr (csiges9.insa-lyon.fr [134.214.79.200]) by mail.gnome.org (Postfix) with ESMTP id B24AA18596 for ; Sun, 18 Jan 2004 09:53:05 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.insa-lyon.fr (Postfix) with ESMTP id 638234B4C1 for ; Sun, 18 Jan 2004 15:53:02 +0100 (CET) Received: from J534-a.resJ.insa-lyon.fr (J534-a.resJ.insa-lyon.fr [134.214.166.190]) by mail.insa-lyon.fr (Postfix) with SMTP id 15E1E4B48B for ; Sun, 18 Jan 2004 15:53:01 +0100 (CET) Date: Sun, 18 Jan 2004 15:54:27 +0000 From: Pierric Descamps To: gtkmm-list@gnome.org Message-Id: <20040118155427.35a424cd.pierric@descamps.net> Organization: X-Mailer: Sylpheed version 0.9.4-gtk2-20030802 (GTK+ 2.2.2; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd 0.1 Subject: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview.cc Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, 2.0.2, and 2.2.8. In any case, I get the following error: --- g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -Dgtkmm_COMPILATION -DG_DISABLE_DEP RECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_D EPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I.. /../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/gnome2/include/gt k-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gno me2/include/pango-1.0 -I/opt/gnome2//include/glib-2.0 -I/opt/gnome2//lib/glib-2. 0/include -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -p thread -I/opt/gnome2//include/glib-2.0 -I/opt/gnome2//lib/glib-2.0/include -g -O 2 -Wall -c treeview.cc -fPIC -DPIC -o treeview.lo treeview.cc: In function `static void Gtk::TreeView_Class::class_init_function(void *, void *)': treeview.cc:891: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:892: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:893: assignment to `gboolean (*)(_GtkTreeView *, int)' from `void (*)(GtkTreeView *, int)' treeview.cc:894: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:895: assignment to `gboolean (*)(_GtkTreeView *, int, int, int)' from `void (*)(GtkTreeView *, int, int, int)' treeview.cc:896: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' treeview.cc:897: assignment to `gboolean (*)(_GtkTreeView *)' from `void (*)(GtkTreeView *)' make[5]: *** [treeview.lo] Error 1 --- Note (if it's of any help) that everything concerning Gnome2 on my system has been compiled from the sources, no package here. Of course I tried some research and the only piece of information I found was this message, for someone who had the same problem with Gtk 2.2.0 and gtkmm 2.0.2: --- Please see the gtkmm 2.1.2 release notes. GTK+ broke its API slightly. gtkmm2 was one of the few projects affected. You could use gtkmm 2.2 or GTK+ 2.0, but not both. --- I wasn't sure of the meaning of the last sentence: should I install a new Gtk version, or a new gtkmm version? As for gtkmm, I had already tried 2.0 and 2.2. Concerning Gtk+, I decided to install the unstable, 2.3 version. But it looks like I need Xft for that, and my X server is too old, so I'll have to do without. To be honest, I'm quite lost here. My goal is too be able to generate a gtkmm2 project with the Anjuta2 IDE, use glade to build the interface, and then compile the program correctly. Can you help me? If I forgot any useful information, please tell me, I'll try to be fast at answering. Thanks in advance, Pierric Descamps. From alberto@paro.homeunix.org Sun Jan 18 11:36:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx-in-01.simplementehosting.net (mx-in-01.simplementehosting.net [66.216.79.177]) by mail.gnome.org (Postfix) with ESMTP id 51C39180F5 for ; Sun, 18 Jan 2004 11:36:39 -0500 (EST) Received: from fep04-svc.flexmail.it (fep04.tuttopmi.it [212.131.248.107]) by mx-in-01.simplementehosting.net (Postfix) with ESMTP id EE08523406C for ; Sun, 18 Jan 2004 10:36:37 -0600 (CST) Received: from paro.homeunix.org ([82.88.53.142]) by fep04-svc.flexmail.it with ESMTP id <20040118163610.NMHR26403.fep04-svc.flexmail.it@paro.homeunix.org> for ; Sun, 18 Jan 2004 17:36:10 +0100 Message-ID: <400AB660.60406@paro.homeunix.org> Date: Sun, 18 Jan 2004 17:37:52 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] API documentation: aiming for 100% References: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C226C8@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've fixed some undocumentated functions in glibmm. I've posted the result on Bugzilla http://bugzilla.gnome.org/show_bug.cgi?id=131841 Now I think that I'll look to fix some documentation on gnomemm. (Lots of people are working on gtkmm docs) I'll propose an API add in calendar widget that return a Glib::Date of the date selected. Do I need to post the API change on Bugzilla or we have to discuss this API change? Hi, Alberto From chris@cvine.freeserve.co.uk Sun Jan 18 13:01:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailg6.svr.pol.co.uk (cmailg6.svr.pol.co.uk [195.92.195.176]) by mail.gnome.org (Postfix) with ESMTP id 388CA185D6 for ; Sun, 18 Jan 2004 13:01:53 -0500 (EST) Received: from modem-598.putangitangi.dialup.pol.co.uk ([81.78.194.86] helo=boulder.localdomain) by cmailg6.svr.pol.co.uk with esmtp (Exim 4.14) id 1AiHEl-0007mV-Li; Sun, 18 Jan 2004 18:01:28 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0IHxl8l002831; Sun, 18 Jan 2004 17:59:47 GMT From: Chris Vine To: "Andreas B. Thun" , gtkmm-list@gnome.org Subject: Re: [gtkmm] ever tried a Gtk::HandleBox? Date: Sun, 18 Jan 2004 17:59:47 +0000 User-Agent: KMail/1.5.4 References: <40094E23.6060008@gmx.de> In-Reply-To: <40094E23.6060008@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181759.47340.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Saturday 17 January 2004 3:00 pm, Andreas B. Thun wrote: > Hi! > > I've experimented with HandleBoxes, but > nothing happens in my GUI. A horizontal > bar is drawn but I cannot drag it with > the mouse?! > Any hints would be appreciated. [snip] You don't seem to have added anything to the HandleBox. What widget have you put in it? Chris From chris@cvine.freeserve.co.uk Sun Jan 18 13:11:57 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailg4.svr.pol.co.uk (cmailg4.svr.pol.co.uk [195.92.195.174]) by mail.gnome.org (Postfix) with ESMTP id C8857186EB for ; Sun, 18 Jan 2004 13:11:56 -0500 (EST) Received: from modem-598.putangitangi.dialup.pol.co.uk ([81.78.194.86] helo=boulder.localdomain) by cmailg4.svr.pol.co.uk with esmtp (Exim 4.14) id 1AiHOs-0005NY-PF; Sun, 18 Jan 2004 18:11:55 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0IIBp8l003001; Sun, 18 Jan 2004 18:11:51 GMT From: Chris Vine To: "Drinkin Park" , gtkmm-list@gnome.org Subject: Re: [gtkmm] Function pointers question (gtkmm related) Date: Sun, 18 Jan 2004 18:11:50 +0000 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181811.50771.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sunday 18 January 2004 1:36 pm, Drinkin Park wrote: [snip] > MyToolbar::MyToolbar() { > ... > push_back(StockElem(Gtk::Stock::NEW, > SigC::slot(*this, &OtherClass::newButtonClicked), "New")); ^^^^^^ You are not passing the right object to the slot. You need to pass an object of type OtherClass. Chris. From cedric.gustin@swing.be Sun Jan 18 16:44:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 6EA4F183E0 for ; Sun, 18 Jan 2004 16:44:36 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0ILcDte008058; Sun, 18 Jan 2004 22:38:19 +0100 (MET) Message-Id: <6.0.1.1.2.20040118103944.01be84c0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 18 Jan 2004 10:44:55 +0100 To: , From: Cedric Gustin In-Reply-To: <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> References: <6.0.1.1.2.20040116101029.01bd2140@pop.swing.be> <064001c3dc4c$4f612e60$0800a8c0@STARDUSTS> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Subject: [gtkmm] Re: [gtkmm] =?gb2312?B?tPC4tDogW290aGVyXSBSZTogW2d0a21tXSBMaW5rIHByb2JsZW0gdQ==?= =?gb2312?B?c2luZyBndGttbSB3aXRoIE1TVkMgNy4x?= Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 05:17 PM 1/16/2004, Jonny Yu wrote: >Hi Cedric, > >Thanks for your reply! >Thanks for your help, I'd like to try the project file, however I >couldn't find the MSVC_NET2003 directory in the installed files. It's in the source tarball. Download it from http://www.gtkmm.org. Cedric P.S. : Could you check please the text encoding you're using for sending messages to mailing lists ? The subject of this thread has been somewhat messed up , which is bad for the browsing/searching of the mailinglist archives. I suppose the mailing list engine is not unicode-compliant yet ! From mxpxfifws@yahoo.com Sun Jan 18 22:49:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web13805.mail.yahoo.com (web13805.mail.yahoo.com [216.136.175.15]) by mail.gnome.org (Postfix) with SMTP id C3BEA18115 for ; Sun, 18 Jan 2004 22:49:58 -0500 (EST) Message-ID: <20040119034958.58723.qmail@web13805.mail.yahoo.com> Received: from [65.243.233.2] by web13805.mail.yahoo.com via HTTP; Sun, 18 Jan 2004 19:49:58 PST Date: Sun, 18 Jan 2004 19:49:58 -0800 (PST) From: Bryan Forbes To: Gtkmm List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] Convert Enum to GType Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is there a way to take a typedef'd enum and turn it into a GType? The reason I ask is I'm deriving a class from Gtk::TreeStore, but my derived TreeModel uses an enum I made up. here are the classes: class DataColumns : public Gtk::TreeModel::ColumnRecord { public: DataColumns() { add(m_col_name); add(m_col_size); add(m_col_uri); add(m_col_entity_type); } Gtk::TreeModelColumn m_col_name; Gtk::TreeModelColumn m_col_size; Gtk::TreeModelColumn m_col_uri; Gtk::TreeModelColumn m_col_entity_type; // cstr_EntityType is my enum }; class cstr_TreeStoreDnd : public Gtk::TreeStore { protected: explicit cstr_TreeStoreDnd(const Gtk::TreeModelColumnRecord& columns); public: static DataColumns m_modelColumns; static Glib::RefPtr create(); protected: // Overridden virtual functions virtual bool row_draggable_vfunc(const Gtk::TreeModel::Path& path); }; When I run the program with these two classes compiled in, I get this warning: (process:760): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function And when I actually use the TreeStore class, I get these warnings: (process:2315): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function (coaster:2315): Gtk-WARNING **: gtktreestore.c:384: Invalid type (null) passed to gtk_tree_store_set_column_types and it segfaults when I try to add things to the treestore. I figure it's because I'm using that custom enum value. I've even tried using Glib::ObjectBase(typeid(cstr_TreeStoreDnd)) in the constructor, and I still get those warnings. Is there any easy way to register that enum as a GType? Thanks in advance! -Bryan __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From pks@timing.com Sun Jan 18 23:50:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by mail.gnome.org (Postfix) with ESMTP id 9610718307 for ; Sun, 18 Jan 2004 23:50:46 -0500 (EST) Received: from jester.timing.com (root@jester.timing.com [206.168.13.216]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i0J4ojDf006826; Sun, 18 Jan 2004 21:50:45 -0700 (MST) (envelope-from pks@timing.com) Received: from jester.timing.com (pks@localhost.timing.com [127.0.0.1]) by jester.timing.com (8.12.6/8.12.6) with ESMTP id i0J4ojvx081592; Sun, 18 Jan 2004 21:50:45 -0700 (MST) (envelope-from pks@jester.timing.com) Received: (from pks@localhost) by jester.timing.com (8.12.6/8.12.6/Submit) id i0J4ojBx081589; Sun, 18 Jan 2004 21:50:45 -0700 (MST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16395.25125.213863.500622@jester.timing.com> Date: Sun, 18 Jan 2004 21:50:45 -0700 From: pks@timing.com To: Bryan Forbes Cc: Gtkmm List Subject: Re: [gtkmm] Convert Enum to GType In-Reply-To: <20040119034958.58723.qmail@web13805.mail.yahoo.com> References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> X-Mailer: VM 7.00 under Emacs 20.7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Bryan Forbes writes: > > class DataColumns : public Gtk::TreeModel::ColumnRecord > { > public: > Gtk::TreeModelColumn m_col_entity_type; // cstr_EntityType is my enum > }; > > class cstr_TreeStoreDnd : public Gtk::TreeStore > { > public: > static DataColumns m_modelColumns; > }; > When I run the program with these two classes compiled in, I get this warning: > (process:760): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, > use g_type_init() prior to this function > and it segfaults when I try to add things to the treestore. I figure it's because I'm > using that custom enum value. At the first glance, this doesn't seem related to your enum at all. This variation on the simplest gtkmm application will cause you the same grief! #include int main(int argc, char *argv[]) { Gtk::Window win; Gtk::Main kit(argc, argv); kit.run(win); return 0; } When win is created it checks if its type is registered with glib, and will register its type if it hasn't been. Well, the glib type database is not initialized until kit (the Gtk::Main object) is created ... My guess is that *static* DataColumns is the culprit (with or without the TreeModelColumn instantiated on your enum). That is m_modelColumns behaves as Gtk::Window does in the example above, before main(), where you presumably create a Gtk::Main object, has a chance to initialize the type registration database ... I assume that making m_modelColumn non static will eliminate the runtime errors. You will be using redundant copies thereof ... You could consider making it a pointer, and creating it the first time you need it, after :) Gtk::Main has been instantiated, then reusing that instance ... An alternative would be to follow the error message's advice: > use g_type_init() prior to this function but can't give advice on how to ensure it's called before your static object is created, and won't investigate that either, the singleton method has worked well enough for me. From pks@timing.com Mon Jan 19 00:07:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from Daffy.timing.com (smtp.timing.com [206.168.13.218]) by mail.gnome.org (Postfix) with ESMTP id 92112182CF for ; Mon, 19 Jan 2004 00:07:55 -0500 (EST) Received: from jester.timing.com (root@jester.timing.com [206.168.13.216]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i0J57sDf007262 for ; Sun, 18 Jan 2004 22:07:54 -0700 (MST) (envelope-from pks@timing.com) Received: from jester.timing.com (pks@localhost.timing.com [127.0.0.1]) by jester.timing.com (8.12.6/8.12.6) with ESMTP id i0J57svx081614 for ; Sun, 18 Jan 2004 22:07:54 -0700 (MST) (envelope-from pks@jester.timing.com) Received: (from pks@localhost) by jester.timing.com (8.12.6/8.12.6/Submit) id i0J57sbZ081611; Sun, 18 Jan 2004 22:07:54 -0700 (MST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16395.26154.771085.413384@jester.timing.com> Date: Sun, 18 Jan 2004 22:07:54 -0700 From: pks@timing.com To: Gtkmm List Subject: Re: [gtkmm] Convert Enum to GType In-Reply-To: <16395.25125.213863.500622@jester.timing.com> References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> <16395.25125.213863.500622@jester.timing.com> X-Mailer: VM 7.00 under Emacs 20.7.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: pks@timing.com writes: > An alternative would be to follow the error message's advice: > > use g_type_init() prior to this function this does raise a question, which may well have been asked before. Please blow me off if you've dealt with it one too many times, and forgive me for adding another copy! why do we determine that the type system is uninitialized, complain, then crash and burn, instead of just initializing it? From murrayc@usa.net Mon Jan 19 05:34:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmsrelay02.mx.net (cmsrelay02.mx.net [165.212.11.111]) by mail.gnome.org (Postfix) with SMTP id 03853183BA for ; Mon, 19 Jan 2004 05:34:43 -0500 (EST) Received: from uadvg129.cms.usa.net (165.212.11.129) by cmsoutbound.mx.net with SMTP; 19 Jan 2004 10:34:35 -0000 Received: from uwdvg017.cms.usa.net [165.212.8.17] by uadvg129.cms.usa.net (ASMTP/) via mtad (C8.MAIN.3.11E) with ESMTP id 462iaskIh0493M29; Mon, 19 Jan 2004 10:34:33 GMT X-USANET-Auth: 165.212.8.17 AUTO murrayc@usa.net uwdvg017.cms.usa.net Received: from 194.175.117.85 [194.175.117.85] by uwdvg017.cms.usa.net (USANET web-mailer CM.0402.7.03); Mon, 19 Jan 2004 10:34:32 -0000 Date: Mon, 19 Jan 2004 11:34:32 +0100 From: Murray Cumming To: Bryan Forbes , Gtkmm List Subject: Re: [[gtkmm] Convert Enum to GType] X-Mailer: USANET web-mailer (CM.0402.7.03) Mime-Version: 1.0 Message-ID: <516iaskIG5648S17.1074508472@uwdvg017.cms.usa.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Bryan Forbes wrote: > Is there a way to take a typedef'd enum and turn it into a GType? = The reason I ask > is I'm deriving a class from Gtk::TreeStore, but my derived TreeModel u= ses an enum I made > up. By the way, I will check in some derived-treemodel changes today, to gtkm= m 2.4. It's a lot more C++-like. It should help here, because it uses Glib::Value instead of GValue, and Glib::Value does all that enum/whatever-GType stuff for you. Murray Cumming murrayc@usa.net www.murrayc.com From kgergely@mlabdial.hit.bme.hu Mon Jan 19 07:46:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id CD5641864B for ; Mon, 19 Jan 2004 07:46:54 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JCksg21866 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 13:46:54 +0100 Date: Mon, 19 Jan 2004 13:46:54 +0100 From: KONTRA Gergely To: gtkmm-list@gnome.org Message-ID: <20040119124654.GB21675@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] ItemFactory Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I've seen nice Gtk code (ruby bindings), and started to learn it. During menu creation, I've come into a so called ItemFactory class. Is this widget part of gtk2? I cannot find any useful info, and I cannot find it in /usr/include. thx Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From abt@gmx.de Mon Jan 19 08:09:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 99177185E9 for ; Mon, 19 Jan 2004 08:09:38 -0500 (EST) Received: (qmail 31590 invoked by uid 65534); 19 Jan 2004 13:09:36 -0000 Received: from pD9E9473E.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.71.62) by mail.gmx.net (mp007) with SMTP; 19 Jan 2004 14:09:36 +0100 X-Authenticated: #109577 Message-ID: <400BD718.7030700@gmx.de> Date: Mon, 19 Jan 2004 14:09:44 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] Size of a TextView window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I wonder how I can set the size of my TextView window within a scrolled window. Per default six lines are displayed but I only want one. I´ve tried with set_border_window_size but it has no effect... // Scrolled Window that holds text view for description m_scrolledDescWindow.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); m_DescriptionBuffer = Gtk::TextBuffer::create(); m_DescriptionBuffer->set_text("This is my text"); m_textViewDesc.set_buffer(m_DescriptionBuffer); m_textViewDesc.set_border_window_size(Gtk::TEXT_WINDOW_TOP, 2); m_scrolledDescWindow.add(m_textViewDesc); From kgergely@mlabdial.hit.bme.hu Mon Jan 19 08:40:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id 511F1188A9 for ; Mon, 19 Jan 2004 08:40:00 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JDdxj22418 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 14:39:59 +0100 Date: Mon, 19 Jan 2004 14:39:59 +0100 From: KONTRA Gergely To: gtkmm mailing list Message-ID: <20040119133958.GA22071@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [gtkmm] widget for displaying icons Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! Can I easily set up a widget, which will show me thumbnail images? I have a LOT of images, I want a multicolumn-multirow solution, where the number of columns depends on the widget size. thx Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From gcgg-gtkmm-list@m.gmane.org Mon Jan 19 09:06:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id 175E2187CE for ; Mon, 19 Jan 2004 09:06:46 -0500 (EST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aia3B-0001bd-00 for ; Mon, 19 Jan 2004 15:06:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gtkmm-list@gnome.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aia39-0001bV-00 for ; Mon, 19 Jan 2004 15:06:43 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aia39-0002nc-00 for ; Mon, 19 Jan 2004 15:06:43 +0100 From: Mike Hearn Date: Mon, 19 Jan 2004 14:10:17 +0000 Lines: 5 Message-ID: References: <20040119034958.58723.qmail@web13805.mail.yahoo.com> <16395.25125.213863.500622@jester.timing.com> <16395.26154.771085.413384@jester.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Subject: [gtkmm] Re: Convert Enum to GType Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sun, 18 Jan 2004 22:07:54 -0700, pks wrote: > why do we determine that the type system is uninitialized, complain, > then crash and burn, instead of just initializing it? That probably wouldn't be thread safe. From drink_n_park@hotmail.com Mon Jan 19 09:12:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (law10-f78.law10.hotmail.com [64.4.15.78]) by mail.gnome.org (Postfix) with ESMTP id 3BC3D18903 for ; Mon, 19 Jan 2004 09:12:24 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 19 Jan 2004 06:12:23 -0800 Received: from 203.217.38.178 by lw10fd.law10.hotmail.msn.com with HTTP; Mon, 19 Jan 2004 14:12:23 GMT X-Originating-IP: [203.217.38.178] X-Originating-Email: [drink_n_park@hotmail.com] X-Sender: drink_n_park@hotmail.com From: "Drinkin Park" To: chris@cvine.freeserve.co.uk, gtkmm-list@gnome.org Subject: Re: [gtkmm] Function pointers question (gtkmm related) Date: Mon, 19 Jan 2004 14:12:23 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Jan 2004 14:12:23.0352 (UTC) FILETIME=[4231B380:01C3DE96] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks for the help :) >From: Chris Vine >To: "Drinkin Park" , gtkmm-list@gnome.org >Subject: Re: [gtkmm] Function pointers question (gtkmm related) >Date: Sun, 18 Jan 2004 18:11:50 +0000 > >On Sunday 18 January 2004 1:36 pm, Drinkin Park wrote: > >[snip] > > > MyToolbar::MyToolbar() { > > ... > > push_back(StockElem(Gtk::Stock::NEW, > > SigC::slot(*this, &OtherClass::newButtonClicked), "New")); > ^^^^^^ > >You are not passing the right object to the slot. You need to pass an >object >of type OtherClass. > >Chris. > > _________________________________________________________________ Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp From yzine_zjdt@yahoo.com Mon Jan 19 10:39:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web20726.mail.yahoo.com (web20726.mail.yahoo.com [216.136.226.109]) by mail.gnome.org (Postfix) with SMTP id 6600C18270 for ; Mon, 19 Jan 2004 10:39:49 -0500 (EST) Message-ID: <20040119153945.14882.qmail@web20726.mail.yahoo.com> Received: from [156.56.116.58] by web20726.mail.yahoo.com via HTTP; Mon, 19 Jan 2004 07:39:45 PST Date: Mon, 19 Jan 2004 07:39:45 -0800 (PST) From: L Yang To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-697103962-1074526785=:14281" Subject: [gtkmm] Set a unicode string as the label of button Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --0-697103962-1074526785=:14281 Content-Type: text/plain; charset=us-ascii Dear all, I have a txt file, coded with unicode (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian. gedit told me it's Unicode UTF-16) How to search " Lingyun Yang ..... Thank you in advance! #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;Lingyun Yang #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;yzine@etang.com #12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;#12288;2004-01-19 --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-697103962-1074526785=:14281 Content-Type: text/html; charset=us-ascii
Dear all,
  I have a txt file, coded with unicode
(MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian.
gedit told me it's Unicode UTF-16)
How to search "<!" in it and how to make it the caption or label of a button
(I am using set_label() from gtkmm and glib::ustring seems doesn't work
and I'm working with dev-c++ under windows)
or even better, could you give me a hint or help to parse this txt file?
it's orgnized like XML format:
<RECORD>
  <FIRST NAME>Lingyun<FIRST NAME>
  <LAST NAME>Yang</LAST NAME>
</RECORD>
<RECORD>
.....
</RECORD>
     
Thank you in advance!
        Lingyun Yang
        yzine@etang.com
          2004-01-19


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-697103962-1074526785=:14281-- From abas@aix.meng.auth.gr Mon Jan 19 11:57:15 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from aix.meng.auth.gr (aix.meng.auth.gr [155.207.20.106]) by mail.gnome.org (Postfix) with ESMTP id 0DDA718431 for ; Mon, 19 Jan 2004 11:57:15 -0500 (EST) Received: from lhtee912.meng.auth.gr ([155.207.29.12] ident=abas) by aix.meng.auth.gr with esmtp (Exim 3.36 #1 (Debian)) id 1Aichx-0001P5-00; Mon, 19 Jan 2004 18:57:01 +0200 Subject: Re: [gtkmm] Set a unicode string as the label of button From: Anastasios Bassoukos To: L Yang Cc: gtkmm-list@gnome.org In-Reply-To: <20040119153945.14882.qmail@web20726.mail.yahoo.com> References: <20040119153945.14882.qmail@web20726.mail.yahoo.com> Content-Type: multipart/alternative; boundary="=-s0dNXruK0qvWbL7ne2Fw" Organization: LHTEE, AUTh Message-Id: <1074531420.3765.1.camel@lhtee912.meng.auth.gr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 19 Jan 2004 18:57:00 +0200 X-Scanner: exiscan *1Aichx-0001P5-00*lfhfBnxbB9I* Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-s0dNXruK0qvWbL7ne2Fw Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2004-01-19 at 17:39, L Yang wrote: > Dear all, > I have a txt file, coded with unicode > (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or > Big-Endian. > gedit told me it's Unicode UTF-16) > How to search " button > (I am using set_label() from gtkmm and glib::ustring seems doesn't > work > and I'm working with dev-c++ under windows) > or even better, could you give me a hint or help to parse this txt > file? > it's orgnized like XML format: > > Lingyun > Yang > > > ..... > > > Thank you in advance! Use the iconv command to transcode the file to UTF-8 and the use standard XML parsing techniques. HTH, Tassos -- Beware of he who would deny you access to information, for in his heart he dreams himself your master." -- Commissioner Pravin Lal, Sid Meier's Alpha Centauri --=-s0dNXruK0qvWbL7ne2Fw Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit On Mon, 2004-01-19 at 17:39, L Yang wrote:
Dear all,
  I have a txt file, coded with unicode
(MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian.
gedit told me it's Unicode UTF-16)
How to search "<!" in it and how to make it the caption or label of a button
(I am using set_label() from gtkmm and glib::ustring seems doesn't work
and I'm working with dev-c++ under windows)
or even better, could you give me a hint or help to parse this txt file?
it's orgnized like XML format:
<RECORD>
  <FIRST NAME>Lingyun<FIRST NAME>
  <LAST NAME>Yang</LAST NAME>
</RECORD>
<RECORD>
.....
</RECORD>
     
Thank you in advance!

Use the iconv command to transcode the file to UTF-8 and the use standard XML parsing techniques.

HTH,
Tassos

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master." 
	-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri
--=-s0dNXruK0qvWbL7ne2Fw-- From Murray.Cumming@Comneon.com Mon Jan 19 12:42:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 7072F185E6 for ; Mon, 19 Jan 2004 12:42:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JHcZDb002938; Mon, 19 Jan 2004 18:38:35 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 18:43:07 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A7D@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: yzine_zjdt@yahoo.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Set a unicode string as the label of button Date: Mon, 19 Jan 2004 18:42:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-2022-jp" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Glib::convert() can convert between text encodings: http://www.gtkmm.org/gtkmm2/docs/reference/html/group__CharsetConv.html You might wish to use libxml++ for XML parsing in C++: http://libxmlplusplus.sourceforge.net/ Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of L Yang Sent: Montag, 19. Januar 2004 16:40 To: gtkmm-list@gnome.org Subject: [gtkmm] Set a unicode string as the label of button Dear all, I have a txt file, coded with unicode (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or Big-Endian. gedit told me it's Unicode UTF-16) How to search " Lingyun Yang ..... Thank you in advance! $B!!!!!!!!!!!!!!!!(JLingyun Yang $B!!!!!!!!!!!!!!!!(Jyzine@etang.com $B!!!!!!!!!!!!!!!!!!!!(J2004-01-19 Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes From kgergely@mlabdial.hit.bme.hu Mon Jan 19 13:00:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by mail.gnome.org (Postfix) with ESMTP id AD5DD184B2 for ; Mon, 19 Jan 2004 13:00:03 -0500 (EST) Received: (from kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) id i0JI02g25116 for gtkmm-list@gnome.org; Mon, 19 Jan 2004 19:00:02 +0100 Date: Mon, 19 Jan 2004 19:00:02 +0100 From: KONTRA Gergely To: gtkmm mailing list Subject: Re: [gtkmm] Set a unicode string as the label of button Message-ID: <20040119180002.GA25094@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On 0119, L Yang wrote: > I have a txt file, coded with unicode > (MS WORD told me it's Unicode, but not Unicode UTF-7 or 8 or > Big-Endian. > gedit told me it's Unicode UTF-16) > or even better, could you give me a hint or help to parse this txt > file? > it's orgnized like XML format: Give vim a try. I can handle extreme character sets, knows utf-8, and so on... official: ftp://ftp.vim.org/pub/vim/pc/gvim62.exe unofficial (patched): http://cream.sourceforge.net/gvim-6-2-170.exe If you don't know vim, you can use it, as a notepad, just click on the created vim easy icon. It behaves almost like notepad. But it's a great text editor, and you can use it for compiling gtk project as well... Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ ----- End forwarded message ----- -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ From Murray.Cumming@Comneon.com Mon Jan 19 12:46:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 3006018612 for ; Mon, 19 Jan 2004 12:46:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JHflDb016397; Mon, 19 Jan 2004 18:41:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 18:46:19 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pierric@descamps.net, gtkmm-list@gnome.org Subject: RE: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview .cc Date: Mon, 19 Jan 2004 18:45:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an > old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, > 2.0.2, and 2.2.8. In any case, I get the following error: gtkmm 2.0 does not build with GTK+ 2.2. gtkmm 2.2 should have no such problems - please check again. Murray Cumming www.murrayc.com murrayc@usa.net From DonScorgie@Blueyonder.co.uk Mon Jan 19 13:30:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp-out7.blueyonder.co.uk (smtp-out7.blueyonder.co.uk [195.188.213.10]) by mail.gnome.org (Postfix) with ESMTP id A6B8318406 for ; Mon, 19 Jan 2004 13:30:37 -0500 (EST) Received: from 82-41-53-103.cable.ubr07.edin.blueyonder.co.uk ([82.41.53.103]) by smtp-out7.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Mon, 19 Jan 2004 18:30:56 +0000 From: Donald To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1074537036.2594.8.camel@Madaline.mydomain.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 19 Jan 2004 18:30:36 +0000 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jan 2004 18:30:56.0622 (UTC) FILETIME=[60D2D8E0:01C3DEBA] Subject: [gtkmm] Gtk::Image and Eventbox Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: hi, I'm new here, so don't be too hard. I've been using gtkmm for a while, but run across a problem. I have a window containing a Gtk::Image which is set with a Gdk::Image / Gdk::Pixmap. I need to recieve events on this, so I proceeded to put it in an eventbox. The problem arises when I try to connect a signal up to it. With no signal (i.e. the eventbox is doing nothing), it is fine and the image displays properly. But when a signal is connected up, the Image / eventbox is displayed as grey. I've check this on the archives and Google, and the nearest I come was a posting saying that the background color of the eventbox can be changed, but nothing else relavent. So, my question after all this rambling is, can I get my Image to display with signals, or do I have to go look for another way to do this? Cheers Don From Murray.Cumming@Comneon.com Mon Jan 19 16:26:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id C46C418673 for ; Mon, 19 Jan 2004 16:26:05 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0JLLnDb009247; Mon, 19 Jan 2004 22:21:49 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jan 2004 22:26:21 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: DonScorgie@Blueyonder.co.uk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::Image and Eventbox Date: Mon, 19 Jan 2004 22:25:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've been using gtkmm for a while, but run across a problem. > > I have a window containing a Gtk::Image which is set with a > Gdk::Image / Gdk::Pixmap. > > I need to recieve events on this, so I proceeded to put it in > an eventbox. > > The problem arises when I try to connect a signal up to it. > > With no signal (i.e. the eventbox is doing nothing), it is > fine and the image displays properly. But when a signal is > connected up, the Image / eventbox is displayed as grey. You should probably tell us exactly what signal you are talking about. But I guess that you probably just need to use the correct return type in your event signal handler: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/apbs06.html Murray Cumming www.murrayc.com murrayc@usa.net From pierric@descamps.net Mon Jan 19 16:03:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.insa-lyon.fr (csiges9.insa-lyon.fr [134.214.79.200]) by mail.gnome.org (Postfix) with ESMTP id 132E9189AD for ; Mon, 19 Jan 2004 16:03:47 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.insa-lyon.fr (Postfix) with ESMTP id D10254B4E4 for ; Mon, 19 Jan 2004 22:03:38 +0100 (CET) Received: from J534-a.resJ.insa-lyon.fr (J534-a.resJ.insa-lyon.fr [134.214.166.190]) by mail.insa-lyon.fr (Postfix) with SMTP id DB2174B5F9 for ; Mon, 19 Jan 2004 22:03:36 +0100 (CET) Date: Mon, 19 Jan 2004 22:05:10 +0000 From: Pierric Descamps To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm compilation problem: gboolean stuff in treeview .cc Message-Id: <20040119220510.48f22caa.pierric@descamps.net> In-Reply-To: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22A7E@vihsx09a.vih.infineon.com> Organization: X-Mailer: Sylpheed version 0.9.4-gtk2-20030802 (GTK+ 2.2.2; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd 0.1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm really sorry. Why is it that every time I post a message, I forget to double-check? Version 2.2.8 actually compiled, though I was completly sure it once failed. Maybe the fact that I updated glib from 2.1.something to 2.2.something helped. I don't know. But it now works, thanks a lot. You might hear from me for stupid newbie questions in the near future. :-) Pierric. On Mon, 19 Jan 2004 18:45:56 +0100 Murray.Cumming@Comneon.com wrote: > > I didn't succeed in compiling gtkmm. I have Gtk+ 2.2.2 on an > > old Slackware 8.0 and I've tried to compile gtkmm 2.0.0, > > 2.0.2, and 2.2.8. In any case, I get the following error: > > gtkmm 2.0 does not build with GTK+ 2.2. gtkmm 2.2 should have no such > problems - please check again. > > Murray Cumming > www.murrayc.com > murrayc@usa.net > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From hellish@comcast.net Mon Jan 19 19:33:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mail.gnome.org (Postfix) with ESMTP id DE52418283 for ; Mon, 19 Jan 2004 19:33:26 -0500 (EST) Received: from osiris (c-24-20-76-138.client.comcast.net[24.20.76.138]) by comcast.net (sccrmhc12) with SMTP id <20040120003325012001sdm0e> (Authid: hellish); Tue, 20 Jan 2004 00:33:25 +0000 Date: Mon, 19 Jan 2004 16:33:18 -0800 From: Nick Nolan To: gtkmm-list Message-Id: <20040119163318.0eaba60a.hellish@comcast.net> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; powerpc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j" Subject: [gtkmm] libglademm problem... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit I can compile my extremely simple program fine, but when I run it I get: hellish@Osiris:~/hacking/space-battle/src$ ./a.out (a.out:28347): libglade-WARNING **: Expected . Got . (a.out:28347): libglade-WARNING **: did not finish in PARSER_FINISH state Aborted anyone know what that means? google and list archives turn up nothing. code: #include #include int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Glib::RefPtr refXml = Gnome::Glade::Xml::create("space-battle.glade"); return 0; } The .glade is attached if it's of any interest. Thanks in advance, Nick Nolan --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFADHdUpa1ZoSmkxrkRAi+HAJ95j9aXR+fK3T857EHPdOfhz5W6+ACeLbKT vegTejoGoCFQV8GvbYDb3co= =pyK2 -----END PGP SIGNATURE----- --Signature=_Mon__19_Jan_2004_16_33_18_-0800_m7APQr65Wr1ZRs0j-- From hellish@comcast.net Mon Jan 19 19:51:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mail.gnome.org (Postfix) with ESMTP id 74D121815B for ; Mon, 19 Jan 2004 19:51:54 -0500 (EST) Received: from osiris (c-24-20-76-138.client.comcast.net[24.20.76.138]) by comcast.net (rwcrmhc11) with SMTP id <20040120005149013007u9l0e> (Authid: hellish); Tue, 20 Jan 2004 00:51:50 +0000 Date: Mon, 19 Jan 2004 16:51:31 -0800 From: Nick Nolan To: gtkmm-list@gnome.org Subject: Re: [gtkmm] libglademm problem... Message-Id: <20040119165131.636fd793.hellish@comcast.net> In-Reply-To: <20040119163318.0eaba60a.hellish@comcast.net> References: <20040119163318.0eaba60a.hellish@comcast.net> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; powerpc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn Content-Type: multipart/mixed; boundary="Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD" --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Mon, 19 Jan 2004 16:33:18 -0800 Nick Nolan wrote: > The .glade is attached if it's of any interest. oops... anyway here's the glade --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD Content-Type: application/octet-stream; name="space-battle.glade" Content-Disposition: attachment; filename="space-battle.glade" Content-Transfer-Encoding: base64 PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxHVEstSW50ZXJmYWNlPgoKPHByb2plY3Q+CiAgPG5hbWU+ c3BhY2UtYmF0dGxlPC9uYW1lPgogIDxwcm9ncmFtX25hbWU+c3BhY2UtYmF0dGxlPC9wcm9ncmFt X25hbWU+CiAgPGRpcmVjdG9yeT48L2RpcmVjdG9yeT4KICA8c291cmNlX2RpcmVjdG9yeT5zcmM8 L3NvdXJjZV9kaXJlY3Rvcnk+CiAgPHBpeG1hcHNfZGlyZWN0b3J5PnBpeG1hcHM8L3BpeG1hcHNf ZGlyZWN0b3J5PgogIDxsYW5ndWFnZT5DKys8L2xhbmd1YWdlPgogIDxnbm9tZV9zdXBwb3J0PkZh bHNlPC9nbm9tZV9zdXBwb3J0PgogIDxnZXR0ZXh0X3N1cHBvcnQ+VHJ1ZTwvZ2V0dGV4dF9zdXBw b3J0PgogIDxvdXRwdXRfbWFpbl9maWxlPkZhbHNlPC9vdXRwdXRfbWFpbl9maWxlPgogIDxvdXRw dXRfc3VwcG9ydF9maWxlcz5GYWxzZTwvb3V0cHV0X3N1cHBvcnRfZmlsZXM+CiAgPG91dHB1dF9i dWlsZF9maWxlcz5GYWxzZTwvb3V0cHV0X2J1aWxkX2ZpbGVzPgogIDxiYWNrdXBfc291cmNlX2Zp bGVzPkZhbHNlPC9iYWNrdXBfc291cmNlX2ZpbGVzPgo8L3Byb2plY3Q+Cgo8d2lkZ2V0PgogIDxj bGFzcz5HdGtXaW5kb3c8L2NsYXNzPgogIDxuYW1lPk1haW5XaW5kb3c8L25hbWU+CiAgPHRpdGxl PlNwYWNlIEJhdHRsZSE8L3RpdGxlPgogIDx0eXBlPkdUS19XSU5ET1dfVE9QTEVWRUw8L3R5cGU+ CiAgPHBvc2l0aW9uPkdUS19XSU5fUE9TX05PTkU8L3Bvc2l0aW9uPgogIDxtb2RhbD5GYWxzZTwv bW9kYWw+CiAgPGFsbG93X3Nocmluaz5GYWxzZTwvYWxsb3dfc2hyaW5rPgogIDxhbGxvd19ncm93 PlRydWU8L2FsbG93X2dyb3c+CiAgPGF1dG9fc2hyaW5rPkZhbHNlPC9hdXRvX3Nocmluaz4KCiAg PHdpZGdldD4KICAgIDxjbGFzcz5HdGtWQm94PC9jbGFzcz4KICAgIDxuYW1lPnZib3gxPC9uYW1l PgogICAgPGhvbW9nZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAgIDxzcGFjaW5nPjA8L3Nw YWNpbmc+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0ltYWdlPC9jbGFzcz4KICAgICAg PG5hbWU+aW1hZ2UxPC9uYW1lPgogICAgICA8eGFsaWduPjAuNTwveGFsaWduPgogICAgICA8eWFs aWduPjAuNTwveWFsaWduPgogICAgICA8eHBhZD4wPC94cGFkPgogICAgICA8eXBhZD4wPC95cGFk PgogICAgICA8aW1hZ2Vfd2lkdGg+NTEyPC9pbWFnZV93aWR0aD4KICAgICAgPGltYWdlX2hlaWdo dD4yNTY8L2ltYWdlX2hlaWdodD4KICAgICAgPGltYWdlX3R5cGU+R0RLX0lNQUdFX05PUk1BTDwv aW1hZ2VfdHlwZT4KICAgICAgPGltYWdlX3Zpc3VhbD5HREtfVklTVUFMX1NZU1RFTTwvaW1hZ2Vf dmlzdWFsPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5UcnVl PC9leHBhbmQ+Cgk8ZmlsbD5UcnVlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRnZXQ+ CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1l PkNvbmZpZ3VyZVNlcnZlckJ1dHRvbjwvbmFtZT4KICAgICAgPGNhbl9mb2N1cz5UcnVlPC9jYW5f Zm9jdXM+CiAgICAgIDxsYWJlbD5TdGFydCBhIG5ldyBnYW1lIChsYXVuY2ggc2VydmVyKTwvbGFi ZWw+CiAgICAgIDxyZWxpZWY+R1RLX1JFTElFRl9OT1JNQUw8L3JlbGllZj4KICAgICAgPGNoaWxk PgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+RmFsc2U8L2V4cGFuZD4KCTxmaWxsPkZh bHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAg ICAgPGNsYXNzPkd0a0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1lPkNvbm5lY3RCdXR0b248L25h bWU+CiAgICAgIDxjYW5fZm9jdXM+VHJ1ZTwvY2FuX2ZvY3VzPgogICAgICA8bGFiZWw+Q29ubmVj dCB0byBhIGN1cnJlbnQgZ2FtZTwvbGFiZWw+CiAgICAgIDxyZWxpZWY+R1RLX1JFTElFRl9OT1JN QUw8L3JlbGllZj4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+ RmFsc2U8L2V4cGFuZD4KCTxmaWxsPkZhbHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93 aWRnZXQ+CiAgPC93aWRnZXQ+Cjwvd2lkZ2V0PgoKPHdpZGdldD4KICA8Y2xhc3M+R3RrV2luZG93 PC9jbGFzcz4KICA8bmFtZT5TdGFydFNlcnZlcldpbmRvdzwvbmFtZT4KICA8dGl0bGU+U3RhcnRp bmcgYSBnYW1lLi4uPC90aXRsZT4KICA8dHlwZT5HVEtfV0lORE9XX1RPUExFVkVMPC90eXBlPgog IDxwb3NpdGlvbj5HVEtfV0lOX1BPU19OT05FPC9wb3NpdGlvbj4KICA8bW9kYWw+RmFsc2U8L21v ZGFsPgogIDxhbGxvd19zaHJpbms+RmFsc2U8L2FsbG93X3Nocmluaz4KICA8YWxsb3dfZ3Jvdz5U cnVlPC9hbGxvd19ncm93PgogIDxhdXRvX3Nocmluaz5GYWxzZTwvYXV0b19zaHJpbms+CgogIDx3 aWRnZXQ+CiAgICA8Y2xhc3M+R3RrVkJveDwvY2xhc3M+CiAgICA8bmFtZT52Ym94MjwvbmFtZT4K ICAgIDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICA8c3BhY2luZz4wPC9zcGFj aW5nPgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtMYWJlbDwvY2xhc3M+CiAgICAgIDxu YW1lPmxhYmVsMTwvbmFtZT4KICAgICAgPGxhYmVsPlN0YXJ0aW5nIGEgbmV3IFNwYWNlIEJhdHRs ZSBnYW1lPC9sYWJlbD4KICAgICAgPGp1c3RpZnk+R1RLX0pVU1RJRllfQ0VOVEVSPC9qdXN0aWZ5 PgogICAgICA8d3JhcD5GYWxzZTwvd3JhcD4KICAgICAgPHhhbGlnbj4wLjU8L3hhbGlnbj4KICAg ICAgPHlhbGlnbj4wLjU8L3lhbGlnbj4KICAgICAgPHhwYWQ+MDwveHBhZD4KICAgICAgPHlwYWQ+ MDwveXBhZD4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+RmFs c2U8L2V4cGFuZD4KCTxmaWxsPkZhbHNlPC9maWxsPgogICAgICA8L2NoaWxkPgogICAgPC93aWRn ZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0hCb3g8L2NsYXNzPgogICAgICA8bmFt ZT5oYm94MTwvbmFtZT4KICAgICAgPGhvbW9nZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAg ICAgPHNwYWNpbmc+MDwvc3BhY2luZz4KICAgICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGlu Zz4KCTxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJPGZpbGw+VHJ1ZTwvZmlsbD4KICAgICAgPC9jaGls ZD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+R3RrTGFiZWw8L2NsYXNzPgoJPG5hbWU+bGFiZWwy PC9uYW1lPgoJPGxhYmVsPlBvcnQ/PC9sYWJlbD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZX0NFTlRF UjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGlnbj4KCTx5 YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4wPC94cGFkPgoJPHlwYWQ+MDwveXBhZD4KCTxjaGls ZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJICA8 ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgoKICAgICAgPHdpZGdl dD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+Cgk8bmFtZT5Qb3J0RW50cnk8L25hbWU+Cgk8Y2Fu X2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxlZGl0YWJsZT5UcnVlPC9lZGl0YWJsZT4KCTx0ZXh0 X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxlPgoJPHRleHRfbWF4X2xlbmd0aD4wPC90ZXh0X21h eF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+ CgkgIDxleHBhbmQ+RmFsc2U8L2V4cGFuZD4KCSAgPGZpbGw+RmFsc2U8L2ZpbGw+Cgk8L2NoaWxk PgogICAgICA8L3dpZGdldD4KICAgIDwvd2lkZ2V0PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFz cz5HdGtDaGVja0J1dHRvbjwvY2xhc3M+CiAgICAgIDxuYW1lPlBsYXlJblRoaXNHYW1lPC9uYW1l PgogICAgICA8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KICAgICAgPGxhYmVsPlBsYXkgaW4g dGhpcyBnYW1lPzwvbGFiZWw+CiAgICAgIDxhY3RpdmU+RmFsc2U8L2FjdGl2ZT4KICAgICAgPGRy YXdfaW5kaWNhdG9yPlRydWU8L2RyYXdfaW5kaWNhdG9yPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGlu Zz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+ CiAgICAgIDwvY2hpbGQ+CiAgICA8L3dpZGdldD4KCiAgICA8d2lkZ2V0PgogICAgICA8Y2xhc3M+ R3RrSEJveDwvY2xhc3M+CiAgICAgIDxuYW1lPmhib3gyPC9uYW1lPgogICAgICA8aG9tb2dlbmVv dXM+RmFsc2U8L2hvbW9nZW5lb3VzPgogICAgICA8c3BhY2luZz4wPC9zcGFjaW5nPgogICAgICA8 Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZp bGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0 a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVsMzwvbmFtZT4KCTxsYWJlbD5UdXJucyBwZXIgaG91 cj88L2xhYmVsPgoJPGp1c3RpZnk+R1RLX0pVU1RJRllfQ0VOVEVSPC9qdXN0aWZ5PgoJPHdyYXA+ RmFsc2U8L3dyYXA+Cgk8eGFsaWduPjAuNTwveGFsaWduPgoJPHlhbGlnbj4wLjU8L3lhbGlnbj4K CTx4cGFkPjA8L3hwYWQ+Cgk8eXBhZD4wPC95cGFkPgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9w YWRkaW5nPgoJICA8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+CgkgIDxmaWxsPkZhbHNlPC9maWxsPgoJ PC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0VudHJ5 PC9jbGFzcz4KCTxuYW1lPlRQSEVudHJ5PC9uYW1lPgoJPGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9j dXM+Cgk8ZWRpdGFibGU+VHJ1ZTwvZWRpdGFibGU+Cgk8dGV4dF92aXNpYmxlPlRydWU8L3RleHRf dmlzaWJsZT4KCTx0ZXh0X21heF9sZW5ndGg+MDwvdGV4dF9tYXhfbGVuZ3RoPgoJPHRleHQ+PC90 ZXh0PgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRkaW5nPgoJICA8ZXhwYW5kPlRydWU8L2V4 cGFuZD4KCSAgPGZpbGw+VHJ1ZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgogICAg PC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNsYXNzPkd0a0NoZWNrQnV0dG9uPC9jbGFz cz4KICAgICAgPG5hbWU+Y2hlY2tidXR0b24xPC9uYW1lPgogICAgICA8Y2FuX2ZvY3VzPlRydWU8 L2Nhbl9mb2N1cz4KICAgICAgPGxhYmVsPkxhdW5jaCBsb2cgdmlld2VyPyBsb2dzIGFyZSBhdCB+ Ly5zcGFjZS1iYXR0bGUvbG9nPC9sYWJlbD4KICAgICAgPGFjdGl2ZT5GYWxzZTwvYWN0aXZlPgog ICAgICA8ZHJhd19pbmRpY2F0b3I+VHJ1ZTwvZHJhd19pbmRpY2F0b3I+CiAgICAgIDxjaGlsZD4K CTxwYWRkaW5nPjA8L3BhZGRpbmc+Cgk8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+Cgk8ZmlsbD5GYWxz ZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KICAgIDwvd2lkZ2V0PgoKICAgIDx3aWRnZXQ+CiAgICAg IDxjbGFzcz5HdGtCdXR0b248L2NsYXNzPgogICAgICA8bmFtZT5TdGFydFNlcnZlckJ1dHRvbjwv bmFtZT4KICAgICAgPGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9jdXM+CiAgICAgIDxsYWJlbD5MZXQg dGhlIGdhbWUgYmVnaW4hPC9sYWJlbD4KICAgICAgPHJlbGllZj5HVEtfUkVMSUVGX05PUk1BTDwv cmVsaWVmPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5nPgoJPGV4cGFuZD5GYWxz ZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+CiAgICA8L3dpZGdl dD4KICA8L3dpZGdldD4KPC93aWRnZXQ+Cgo8d2lkZ2V0PgogIDxjbGFzcz5HdGtXaW5kb3c8L2Ns YXNzPgogIDxuYW1lPkNvbm5lY3RXaW5kb3c8L25hbWU+CiAgPHRpdGxlPkNvbm5lY3RpbmcgdG8g YSBnYW1lLi4uPC90aXRsZT4KICA8dHlwZT5HVEtfV0lORE9XX1RPUExFVkVMPC90eXBlPgogIDxw b3NpdGlvbj5HVEtfV0lOX1BPU19OT05FPC9wb3NpdGlvbj4KICA8bW9kYWw+RmFsc2U8L21vZGFs PgogIDxhbGxvd19zaHJpbms+RmFsc2U8L2FsbG93X3Nocmluaz4KICA8YWxsb3dfZ3Jvdz5UcnVl PC9hbGxvd19ncm93PgogIDxhdXRvX3Nocmluaz5GYWxzZTwvYXV0b19zaHJpbms+CgogIDx3aWRn ZXQ+CiAgICA8Y2xhc3M+R3RrVkJveDwvY2xhc3M+CiAgICA8bmFtZT52Ym94MzwvbmFtZT4KICAg IDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICA8c3BhY2luZz4wPC9zcGFjaW5n PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtIQm94PC9jbGFzcz4KICAgICAgPG5hbWU+ aGJveDM8L25hbWU+CiAgICAgIDxob21vZ2VuZW91cz5GYWxzZTwvaG9tb2dlbmVvdXM+CiAgICAg IDxzcGFjaW5nPjA8L3NwYWNpbmc+CiAgICAgIDxjaGlsZD4KCTxwYWRkaW5nPjA8L3BhZGRpbmc+ Cgk8ZXhwYW5kPlRydWU8L2V4cGFuZD4KCTxmaWxsPlRydWU8L2ZpbGw+CiAgICAgIDwvY2hpbGQ+ CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVsNDwv bmFtZT4KCTxsYWJlbD5JUCBvZiBzZXJ2ZXI/PC9sYWJlbD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZ X0NFTlRFUjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGln bj4KCTx5YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4wPC94cGFkPgoJPHlwYWQ+MDwveXBhZD4K CTxjaGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5k PgoJICA8ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+CiAgICAgIDwvd2lkZ2V0PgoKICAgICAg PHdpZGdldD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+Cgk8bmFtZT5JUEVudHJ5PC9uYW1lPgoJ PGNhbl9mb2N1cz5UcnVlPC9jYW5fZm9jdXM+Cgk8ZWRpdGFibGU+VHJ1ZTwvZWRpdGFibGU+Cgk8 dGV4dF92aXNpYmxlPlRydWU8L3RleHRfdmlzaWJsZT4KCTx0ZXh0X21heF9sZW5ndGg+MDwvdGV4 dF9tYXhfbGVuZ3RoPgoJPHRleHQ+PC90ZXh0PgoJPGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRk aW5nPgoJICA8ZXhwYW5kPlRydWU8L2V4cGFuZD4KCSAgPGZpbGw+VHJ1ZTwvZmlsbD4KCTwvY2hp bGQ+CiAgICAgIDwvd2lkZ2V0PgogICAgPC93aWRnZXQ+CgogICAgPHdpZGdldD4KICAgICAgPGNs YXNzPkd0a0hCb3g8L2NsYXNzPgogICAgICA8bmFtZT5oYm94NDwvbmFtZT4KICAgICAgPGhvbW9n ZW5lb3VzPkZhbHNlPC9ob21vZ2VuZW91cz4KICAgICAgPHNwYWNpbmc+MDwvc3BhY2luZz4KICAg ICAgPGNoaWxkPgoJPHBhZGRpbmc+MDwvcGFkZGluZz4KCTxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJ PGZpbGw+VHJ1ZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+ R3RrTGFiZWw8L2NsYXNzPgoJPG5hbWU+bGFiZWw1PC9uYW1lPgoJPGxhYmVsPlBvcnQ/PC9sYWJl bD4KCTxqdXN0aWZ5PkdUS19KVVNUSUZZX0NFTlRFUjwvanVzdGlmeT4KCTx3cmFwPkZhbHNlPC93 cmFwPgoJPHhhbGlnbj4wLjU8L3hhbGlnbj4KCTx5YWxpZ24+MC41PC95YWxpZ24+Cgk8eHBhZD4w PC94cGFkPgoJPHlwYWQ+MDwveXBhZD4KCTxjaGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4K CSAgPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJICA8ZmlsbD5GYWxzZTwvZmlsbD4KCTwvY2hpbGQ+ CiAgICAgIDwvd2lkZ2V0PgoKICAgICAgPHdpZGdldD4KCTxjbGFzcz5HdGtFbnRyeTwvY2xhc3M+ Cgk8bmFtZT5Qb3J0RW50cnk8L25hbWU+Cgk8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxl ZGl0YWJsZT5UcnVlPC9lZGl0YWJsZT4KCTx0ZXh0X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxl PgoJPHRleHRfbWF4X2xlbmd0aD4wPC90ZXh0X21heF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8 Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+CgkgIDxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJ ICA8ZmlsbD5UcnVlPC9maWxsPgoJPC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CiAgICA8L3dpZGdl dD4KCiAgICA8d2lkZ2V0PgogICAgICA8Y2xhc3M+R3RrSEJveDwvY2xhc3M+CiAgICAgIDxuYW1l Pmhib3g1PC9uYW1lPgogICAgICA8aG9tb2dlbmVvdXM+RmFsc2U8L2hvbW9nZW5lb3VzPgogICAg ICA8c3BhY2luZz4wPC9zcGFjaW5nPgogICAgICA8Y2hpbGQ+Cgk8cGFkZGluZz4wPC9wYWRkaW5n PgoJPGV4cGFuZD5GYWxzZTwvZXhwYW5kPgoJPGZpbGw+RmFsc2U8L2ZpbGw+CiAgICAgIDwvY2hp bGQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVsPC9jbGFzcz4KCTxuYW1lPmxhYmVs NzwvbmFtZT4KCTxsYWJlbD5Vc2VybmFtZT88L2xhYmVsPgoJPGp1c3RpZnk+R1RLX0pVU1RJRllf Q0VOVEVSPC9qdXN0aWZ5PgoJPHdyYXA+RmFsc2U8L3dyYXA+Cgk8eGFsaWduPjAuNTwveGFsaWdu PgoJPHlhbGlnbj4wLjU8L3lhbGlnbj4KCTx4cGFkPjA8L3hwYWQ+Cgk8eXBhZD4wPC95cGFkPgoJ PGNoaWxkPgoJICA8cGFkZGluZz4wPC9wYWRkaW5nPgoJICA8ZXhwYW5kPkZhbHNlPC9leHBhbmQ+ CgkgIDxmaWxsPkZhbHNlPC9maWxsPgoJPC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8 d2lkZ2V0PgoJPGNsYXNzPkd0a0VudHJ5PC9jbGFzcz4KCTxuYW1lPlVzZXJuYW1lRW50cnk8L25h bWU+Cgk8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KCTxlZGl0YWJsZT5UcnVlPC9lZGl0YWJs ZT4KCTx0ZXh0X3Zpc2libGU+VHJ1ZTwvdGV4dF92aXNpYmxlPgoJPHRleHRfbWF4X2xlbmd0aD4w PC90ZXh0X21heF9sZW5ndGg+Cgk8dGV4dD48L3RleHQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8 L3BhZGRpbmc+CgkgIDxleHBhbmQ+VHJ1ZTwvZXhwYW5kPgoJICA8ZmlsbD5UcnVlPC9maWxsPgoJ PC9jaGlsZD4KICAgICAgPC93aWRnZXQ+CgogICAgICA8d2lkZ2V0PgoJPGNsYXNzPkd0a0xhYmVs PC9jbGFzcz4KCTxuYW1lPmxhYmVsODwvbmFtZT4KCTxsYWJlbD5QYXNzd29yZDwvbGFiZWw+Cgk8 anVzdGlmeT5HVEtfSlVTVElGWV9DRU5URVI8L2p1c3RpZnk+Cgk8d3JhcD5GYWxzZTwvd3JhcD4K CTx4YWxpZ24+MC41PC94YWxpZ24+Cgk8eWFsaWduPjAuNTwveWFsaWduPgoJPHhwYWQ+MDwveHBh ZD4KCTx5cGFkPjA8L3lwYWQ+Cgk8Y2hpbGQ+CgkgIDxwYWRkaW5nPjA8L3BhZGRpbmc+CgkgIDxl eHBhbmQ+RmFsc2U8L2V4cGFuZD4KCSAgPGZpbGw+RmFsc2U8L2ZpbGw+Cgk8L2NoaWxkPgogICAg ICA8L3dpZGdldD4KCiAgICAgIDx3aWRnZXQ+Cgk8Y2xhc3M+R3RrRW50cnk8L2NsYXNzPgoJPG5h bWU+UGFzc3dvcmRFbnRyeTwvbmFtZT4KCTxjYW5fZm9jdXM+VHJ1ZTwvY2FuX2ZvY3VzPgoJPGVk aXRhYmxlPlRydWU8L2VkaXRhYmxlPgoJPHRleHRfdmlzaWJsZT5UcnVlPC90ZXh0X3Zpc2libGU+ Cgk8dGV4dF9tYXhfbGVuZ3RoPjA8L3RleHRfbWF4X2xlbmd0aD4KCTx0ZXh0PjwvdGV4dD4KCTxj aGlsZD4KCSAgPHBhZGRpbmc+MDwvcGFkZGluZz4KCSAgPGV4cGFuZD5UcnVlPC9leHBhbmQ+Cgkg IDxmaWxsPlRydWU8L2ZpbGw+Cgk8L2NoaWxkPgogICAgICA8L3dpZGdldD4KICAgIDwvd2lkZ2V0 PgoKICAgIDx3aWRnZXQ+CiAgICAgIDxjbGFzcz5HdGtCdXR0b248L2NsYXNzPgogICAgICA8bmFt ZT5Kb2luQnV0dG9uPC9uYW1lPgogICAgICA8Y2FuX2ZvY3VzPlRydWU8L2Nhbl9mb2N1cz4KICAg ICAgPGxhYmVsPkpvaW48L2xhYmVsPgogICAgICA8cmVsaWVmPkdUS19SRUxJRUZfTk9STUFMPC9y ZWxpZWY+CiAgICAgIDxjaGlsZD4KCTxwYWRkaW5nPjA8L3BhZGRpbmc+Cgk8ZXhwYW5kPkZhbHNl PC9leHBhbmQ+Cgk8ZmlsbD5GYWxzZTwvZmlsbD4KICAgICAgPC9jaGlsZD4KICAgIDwvd2lkZ2V0 PgogIDwvd2lkZ2V0Pgo8L3dpZGdldD4KCjwvR1RLLUludGVyZmFjZT4K --Multipart=_Mon__19_Jan_2004_16_51_31_-0800_qbmrpKvvf5mbOMzD-- --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFADHukpa1ZoSmkxrkRAvfiAKCMb9d++rvGHbxDhONPw69IhvRhZQCfV4Yr 3PctZWP2ZTmMh/Yq5vQU3cg= =e9Qq -----END PGP SIGNATURE----- --Signature=_Mon__19_Jan_2004_16_51_31_-0800_dRCMvg4jKdRCoTYn-- From billyoc@gnuyork.org Mon Jan 19 20:40:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 9BD731819A for ; Mon, 19 Jan 2004 20:40:44 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1Aikpy-0001In-62; Mon, 19 Jan 2004 20:37:50 -0500 To: Nick Nolan Cc: gtkmm-list Subject: Re: [gtkmm] libglademm problem... References: <20040119163318.0eaba60a.hellish@comcast.net> From: Billy O'Connor Date: Mon, 19 Jan 2004 20:37:49 -0500 In-Reply-To: <20040119163318.0eaba60a.hellish@comcast.net> (Nick Nolan's message of "Mon, 19 Jan 2004 16:33:18 -0800") Message-ID: <87d69ftn6a.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Nick Nolan writes: > I can compile my extremely simple program fine, but when I run it I get: > > hellish@Osiris:~/hacking/space-battle/src$ ./a.out > > (a.out:28347): libglade-WARNING **: Expected . Got . > > (a.out:28347): libglade-WARNING **: did not finish in PARSER_FINISH state > Aborted > > > anyone know what that means? google and list archives turn up nothing. > > code: > #include > #include > int main(int argc, char *argv[]) > { > Gtk::Main kit(argc, argv); > > > Glib::RefPtr refXml = Gnome::Glade::Xml::create("space-battle.glade"); > return 0; > } There's something wrong with that glade file, did you use an older version of glade to produce it? It's not the correct syntax at all, and glade itself wouldn't even load it here. From yzine_zjdt@yahoo.com Tue Jan 20 00:41:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web20723.mail.yahoo.com (web20723.mail.yahoo.com [216.136.226.77]) by mail.gnome.org (Postfix) with SMTP id 72EF61849C for ; Tue, 20 Jan 2004 00:41:58 -0500 (EST) Message-ID: <20040120054157.14110.qmail@web20723.mail.yahoo.com> Received: from [156.56.123.49] by web20723.mail.yahoo.com via HTTP; Mon, 19 Jan 2004 21:41:57 PST Date: Mon, 19 Jan 2004 21:41:57 -0800 (PST) From: L Yang Subject: Re: Re: [gtkmm] Set a unicode string as the label of button To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1164928020-1074577317=:11787" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --0-1164928020-1074577317=:11787 Content-Type: text/plain; charset=us-ascii I used the Glib::convert(s,"GBK","UTF-16"); but it says: unhandled exception (type Glib::Error) in signal handler: domain: g_convert_error code :3 what : Partial character sequence at end of input does it mean it's not coded by UTF-16 ? here is the strings from the file I want to transfer I'm using Chinese Windows XP, so I want to convert them to GBK format, anyone can help me with this ? orginal: ---------------------------------------------------- < US#34540;WW> < US#34540;#37520;#34156;WW> < #40378;,g#34540;IN> < US#34540;y? < US#34540;#28923;#23169;> < ! [ C D A T A [ C ] ] > < / US#34540;#28923;#23169;> < US#34540;#39676;h> < #34540;xQ#39676;h> < ! [ C D A T A [ s i : ] ] > < / #34540;xQ#39676;h> < / US#34540;#39676;h> < #37520;#34156;y? < ! [ C D A T A [ n . W[#34489;C ] ] > < / #37520;#34156;y? < vQ#35570;> < ! [ C D A T A [ 3 , 0 , 2 0 0 3 / 1 2 / 1 9 2 1 : 2 4 : 3 5 ] ] > < / vQ#35570;> < / US#34540;y? < / #40378;,g#34540;IN> < / US#34540;#37520;#34156;WW> < / US#34540;WW> < US#34540;WW> < US#34540;#37520;#34156;WW> < #40378;,g#34540;IN> < US#34540;y? < US#34540;#28923;#23169;> < ! [ C D A T A [ C ] ] > < / US#34540;#28923;#23169;> < US#34540;#39676;h> < #34540;xQ#39676;h> < ! [ C D A T A [ s i : ] ] > < / #34540;xQ#39676;h> < / US#34540;#39676;h> < #37520;#34156;y? < ! [ C D A T A [ n . W[#34489;C ] ] > < / #37520;#34156;y? < vQ#35570;> < ! [ C D A T A [ 3 , 1 , 2 0 0 3 / 1 2 / 1 9 2 1 : 2 4 : 3 5 ] ] > < / vQ#35570;> < / US#34540;y? < / #40378;,g#34540;IN> < / US#34540;#37520;#34156;WW> < / US#34540;WW> converteded manually with MS WORD XP ----------------------------------------------- <#21333;#35789;#22359;> <#21333;#35789;#35299;#37322;#22359;> <#22522;#26412;#35789;#20041;> <#21333;#35789;#39033;> <#21333;#35789;#21407;#22411;> <#21333;#35789;#38899;#26631;> <#35789;#20856;#38899;#26631;> <#35299;#37322;#39033;> <#20854;#20182;> <#21333;#35789;#22359;> <#21333;#35789;#35299;#37322;#22359;> <#22522;#26412;#35789;#20041;> <#21333;#35789;#39033;> <#21333;#35789;#21407;#22411;> <#21333;#35789;#38899;#26631;> <#35789;#20856;#38899;#26631;> <#35299;#37322;#39033;> <#20854;#20182;> --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-1164928020-1074577317=:11787 Content-Type: text/html; charset=us-ascii
I used the Glib::convert(s,"GBK","UTF-16");
but it says:
unhandled exception (type Glib::Error) in signal handler:
domain: g_convert_error
code  :3
what  : Partial character sequence at end of input
does it mean it's not coded by UTF-16 ?
here is the strings from the file I want to transfer
I'm using Chinese Windows XP, so I want to convert them
to GBK format, anyone can help me with this ?
orginal:
----------------------------------------------------
 
 < US蛬WW>
 
   < US蛬銐蕬WW>
 
     < 鶺,g蛬IN>
 
       < US蛬y?
 
         < US蛬烻媁> < ! [ C D A T A [ C ] ] > < / US蛬烻媁>
 
         < US蛬髼h>
 
           < 蛬xQ髼h> < ! [ C D A T A [ s i : ] ] > < / 蛬xQ髼h>
 
         < / US蛬髼h>
 
         < 銐蕬y? < ! [ C D A T A [ n . W[蚹C ] ] > < / 銐蕬y?
 
         < vQ諲> < ! [ C D A T A [ 3 , 0 , 2 0 0 3 / 1 2 / 1 9   2 1 : 2 4 : 3 5 ] ] > < / vQ諲>
 
       < / US蛬y?
 
     < / 鶺,g蛬IN>
 
   < / US蛬銐蕬WW>
 
 < / US蛬WW>
 
 < US蛬WW>
 
   < US蛬銐蕬WW>
 
     < 鶺,g蛬IN>
 
       < US蛬y?
 
         < US蛬烻媁> < ! [ C D A T A [ C ] ] > < / US蛬烻媁>
 
         < US蛬髼h>
 
           < 蛬xQ髼h> < ! [ C D A T A [ s i : ] ] > < / 蛬xQ髼h>
 
         < / US蛬髼h>
 
         < 銐蕬y? < ! [ C D A T A [ n . W[蚹C ] ] > < / 銐蕬y?
 
         < vQ諲> < ! [ C D A T A [ 3 , 1 , 2 0 0 3 / 1 2 / 1 9   2 1 : 2 4 : 3 5 ] ] > < / vQ諲>
 
       < / US蛬y?
 
     < / 鶺,g蛬IN>
 
   < / US蛬銐蕬WW>
 
 < / US蛬WW>
 

converteded manually with MS WORD XP
-----------------------------------------------
<单词块>
 <单词解释块>
  <基本词义>
   <单词项>
    <单词原型><![CDATA[C]]></单词原型>
    <单词音标>
     <词典音标><![CDATA[si:]]></词典音标>
    </单词音标>
    <解释项><![CDATA[n.字母C]]></解释项>
    <其他><![CDATA[3,0,2003/12/19 21:24:35]]></其他>
   </单词项>
  </基本词义>
 </单词解释块>
</单词块>
<单词块>
 <单词解释块>
  <基本词义>
   <单词项>
    <单词原型><![CDATA[C]]></单词原型>
    <单词音标>
     <词典音标><![CDATA[si:]]></词典音标>
    </单词音标>
    <解释项><![CDATA[n.字母C]]></解释项>
    <其他><![CDATA[3,1,2003/12/19 21:24:35]]></其他>
   </单词项>
  </基本词义>
 </单词解释块>
</单词块>


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --0-1164928020-1074577317=:11787-- From lupv@gmv.es Tue Jan 20 05:37:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id 2E06B187FD for ; Tue, 20 Jan 2004 05:37:29 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0KAaAee010080 for ; Tue, 20 Jan 2004 11:36:10 +0100 Received: (from uucp@localhost) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) id i0KAad412621 for ; Tue, 20 Jan 2004 11:36:39 +0100 (MET) Received: from gmvmailhost.gmv.es(172.22.2.4) by caronte.gmv.es via csmap (V6.0) id srcAAAYzaGPy; Tue, 20 Jan 04 11:36:37 +0100 Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0KAbOBL016075 for ; Tue, 20 Jan 2004 11:37:25 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Tue, 20 Jan 2004 11:47:15 +0100 Message-ID: <400D050C.5060707@gmv.es> Date: Tue, 20 Jan 2004 11:38:04 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] MDI on gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I'm trying to develop the MDI concept on gtkmm. We don't want to use the gnome libraries because we are evaluating only the gtkmm toolkit (we don't even use direct calls to gtk+ functions). Using Gtk::Layout as container it has been easy to emulate the MDI behaviour. The problem is that when a MDIchild contains a Gtk::ScrolledWindow, the scrollbars seem to be in a lower z-level than other widgets. So, when a MDIchild (mdiChild1) is over another MDIchild (mdiChild2), all the widgets comprised in mdiChild1 are over any widget comprised in mdiChild2, except the scrollbars, that are below and seem to disappear under mdiChild2. Has anyone had a similar problem? What's wrong? What can I do? Thank you very much, Luis From dss@home.se Tue Jan 20 05:51:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gepetto.dc.luth.se (gepetto.dc.luth.se [130.240.42.40]) by mail.gnome.org (Postfix) with ESMTP id C2D821864A for ; Tue, 20 Jan 2004 05:51:47 -0500 (EST) Received: from sumpan (sumpan.campus.luth.se [130.240.194.33]) by gepetto.dc.luth.se (8.12.5/8.12.5) with SMTP id i0KApegC011280; Tue, 20 Jan 2004 11:51:40 +0100 (MET) Date: Tue, 20 Jan 2004 11:51:40 +0100 From: Daniel Sundberg To: Luis Pastor Vegas Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] MDI on gtkmm Message-Id: <20040120115140.27905010.dss@home.se> In-Reply-To: <400D050C.5060707@gmv.es> References: <400D050C.5060707@gmv.es> X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, 20 Jan 2004 11:38:04 +0100 Luis Pastor Vegas wrote: > Hi, > > I'm trying to develop the MDI concept on gtkmm. We don't want to use the > gnome libraries because we are evaluating only the gtkmm toolkit (we > don't even use direct calls to gtk+ functions). Using Gtk::Layout as > container it has been easy to emulate the MDI behaviour. The problem is > that when a MDIchild contains a Gtk::ScrolledWindow, the scrollbars seem > to be in a lower z-level than other widgets. So, when a MDIchild > (mdiChild1) is over another MDIchild (mdiChild2), all the widgets > comprised in mdiChild1 are over any widget comprised in mdiChild2, > except the scrollbars, that are below and seem to disappear under mdiChild2. > > Has anyone had a similar problem? What's wrong? What can I do? > In Gtk/Gnome the common MDI approach is to use tabs in a notebook instead of separate windows. Take a look at galeon, x-chat or gedit if you don't know what i mean. If you have to use multiple windows the standard is to use a single window interface like gimp does. However, this does not answer your question but if you want to be integrated with gnome i believe this is the way to go. Daniel Sundberg -- http://sumpan.com sumpan@sumpan.com > Thank you very much, > Luis > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Tue Jan 20 06:05:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 951AA18795 for ; Tue, 20 Jan 2004 06:05:55 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KB1eDb017481; Tue, 20 Jan 2004 12:01:40 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:06:12 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lupv@gmv.es, gtkmm-list@gnome.org Subject: RE: [gtkmm] MDI on gtkmm Date: Tue, 20 Jan 2004 12:05:49 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I'm trying to develop the MDI concept on gtkmm. We don't want > to use the > gnome libraries because we are evaluating only the gtkmm toolkit (we > don't even use direct calls to gtk+ functions). Using Gtk::Layout as > container it has been easy to emulate the MDI behaviour. The > problem is > that when a MDIchild contains a Gtk::ScrolledWindow, the > scrollbars seem > to be in a lower z-level than other widgets. So, when a MDIchild > (mdiChild1) is over another MDIchild (mdiChild2), all the widgets > comprised in mdiChild1 are over any widget comprised in mdiChild2, > except the scrollbars, that are below and seem to disappear > under mdiChild2. > > Has anyone had a similar problem? What's wrong? What can I do? I don't think that Gtk::Layout or any other GTK+ container is meant to support overlapping widgets. I'm sure that some other people have tried to implement window-in-window MDI. You might ask on gtk-list@gnome.org if you do not find discussion in the archives. You might also ask there about overlapping widgets in general. But most people will tell you that window-in-window MDI is a bad UI design. Please read the archives about why it is a bad UI design rather than discussing again why it is a bad UI design. Tabbed-window MDI, as in gedit or mozilla or epiphany, does not seem so bad. But maybe you just want "window-in-window" and not any MDI at all, just so you can show more than one window at a time. In this case, maybe you do not really need the child windows to be in a parent window. Maybe it is enough for the child windows to _belong_ to the parent window. Gimp, with it's toolboxes, might be a example of this. Murray Cumming www.murrayc.com murrayc@usa.net From lupv@gmv.es Tue Jan 20 06:28:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.gmv.es (mx1.gmv.es [212.0.110.25]) by mail.gnome.org (Postfix) with ESMTP id C4C7D18649 for ; Tue, 20 Jan 2004 06:28:05 -0500 (EST) Received: from caronte.gmv.es (caronte.gmv.es [212.0.110.2]) by mx1.gmv.es (8.12.10/8.12.10) with ESMTP id i0KBQhee013514; Tue, 20 Jan 2004 12:26:43 +0100 Received: (from uucp@localhost) by caronte.gmv.es (8.11.7p1+Sun/8.11.7) id i0KBRBj15426; Tue, 20 Jan 2004 12:27:11 +0100 (MET) Received: from gmvmailhost.gmv.es(172.22.2.4) by caronte.gmv.es via csmap (V6.0) id srcAAAZ2aiiE; Tue, 20 Jan 04 12:27:10 +0100 Received: from scanmail (scanmail [172.22.2.37]) by gmvmailhost.gmv.es (8.12.10+Sun/8.12.10) with SMTP id i0KBRwBL024827; Tue, 20 Jan 2004 12:27:58 +0100 (CET) Received: from 172.22.99.181 by scanmail (InterScan E-Mail VirusWall NT); Tue, 20 Jan 2004 12:37:48 +0100 Message-ID: <400D10E4.3070502@gmv.es> Date: Tue, 20 Jan 2004 12:28:36 +0100 From: Luis Pastor Vegas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: es-es, en, en-us, fr-fr MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] MDI on gtkmm References: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22AFB@vihsx09a.vih.infineon.com> Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote:
I'm trying to develop the MDI concept on gtkmm. We don't want 
to use the 
gnome libraries because we are evaluating only the gtkmm toolkit (we 
don't even use direct calls to gtk+ functions). Using Gtk::Layout as 
container it has been easy to emulate the MDI behaviour. The 
problem is 
that when a MDIchild contains a Gtk::ScrolledWindow, the 
scrollbars seem 
to be in a lower z-level than other widgets. So, when a MDIchild 
(mdiChild1) is over another MDIchild (mdiChild2), all the widgets 
comprised in mdiChild1 are over any widget comprised in mdiChild2, 
except the scrollbars, that are below and seem to disappear 
under mdiChild2.

Has anyone had a similar problem? What's wrong? What can I do?
    

I don't think that Gtk::Layout or any other GTK+ container is meant to
support overlapping widgets. I'm sure that some other people have tried to
implement window-in-window MDI. You might ask on gtk-list@gnome.org if you
do not find discussion in the archives. You might also ask there about
overlapping widgets in general.

But most people will tell you that window-in-window MDI is a bad UI design.
Please read the archives about why it is a bad UI design rather than
discussing again why it is a bad UI design. Tabbed-window MDI, as in gedit
or mozilla or epiphany, does not seem so bad.

But maybe you just want "window-in-window" and not any MDI at all, just so
you can show more than one window at a time. In this case, maybe you do not
really need the child windows to be in a parent window. Maybe it is enough
for the child windows to _belong_ to the parent window. Gimp, with it's
toolboxes, might be a example of this.

Murray Cumming
www.murrayc.com
murrayc@usa.net 



  
You are right about the window-in-window MDI concept. I read the discussions about this subject, but anyway I tried to emulate this behaviour to demonstrate the feasibility, or not, of doing it with gtkmm. This is one among other features that we are evaluating. On this case, all that we can do is to set forth the rationale of this impossibility to our client in order to explain them why the window-in-window MDI is a bad UI design.

Thank you very much for your prompt answer,
Luis
From Murray.Cumming@Comneon.com Tue Jan 20 06:31:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 286C818484 for ; Tue, 20 Jan 2004 06:31:07 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBQqDb028025; Tue, 20 Jan 2004 12:26:52 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:31:24 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22AFE@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: lupv@gmv.es Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] MDI on gtkmm Date: Tue, 20 Jan 2004 12:31:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > You are right about the window-in-window MDI concept. I read the discussions about this subject, but anyway I tried to emulate this > behaviour to demonstrate the feasibility, or not, of doing it with gtkmm. This is one among other features that we are evaluating. On > this case, all that we can do is to set forth the rationale of this impossibility to our client in order to explain them why the > window-in-window MDI is a bad UI design. And you can also ask on the lists, and check the archives, as I suggested. Even if it's a bad idea, people have tried it. Murray Cumming www.murrayc.com murrayc@usa.net From susumu@yt.com Tue Jan 20 06:44:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id 6593418484 for ; Tue, 20 Jan 2004 06:44:29 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0KBiaP6006442 for ; Tue, 20 Jan 2004 20:44:36 +0900 Date: Tue, 20 Jan 2004 20:44:36 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Message-Id: <20040120204436.7c7e304c.susumu@yt.com> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::TreeView on gtkmm Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I am coding a software on glademm and gtkmm. If there is someone with knowledge, I would like you to help me. I got a problem when I tried to use a Gtk::TreeView. I would like to code as below. Suppose there is a TreeView like ... item1 | item2 | item3 --------------------------- entry11 | entry12 | entry13 entry21 | entry22 | entry23 entry31 | entry32 | entry33 I would like to distinguish between single-click and double-click. When you single-click "entry11", for example , the first row should be just high-lit (not selected, nothing happens but being high-lit). When you double-click "entry11", the first row should be selected and some operation should be done. What signal should I connect? And what code should I add? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From matthew@alledora.co.uk Tue Jan 20 06:55:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id B6BB818305 for ; Tue, 20 Jan 2004 06:55:29 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AiuQc-0003qi-1O for gtkmm-list@gnome.org; Tue, 20 Jan 2004 11:52:18 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AiuQa-0003qU-Un; Tue, 20 Jan 2004 11:52:16 +0000 Message-ID: <400D1772.5000008@alledora.co.uk> Date: Tue, 20 Jan 2004 11:56:34 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: susumu@yt.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> In-Reply-To: <20040120204436.7c7e304c.susumu@yt.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Susumu Yoshida wrote: > Hi all, > > I am coding a software on glademm and gtkmm. > If there is someone with knowledge, I would like you to help me. > I got a problem when I tried to use a Gtk::TreeView. > I would like to code as below. > Suppose there is a TreeView like ... > > item1 | item2 | item3 > --------------------------- > entry11 | entry12 | entry13 > entry21 | entry22 | entry23 > entry31 | entry32 | entry33 > > I would like to distinguish between single-click and double-click. > When you single-click "entry11", for example , the first row should be > just high-lit (not selected, nothing happens but being high-lit). > When you double-click "entry11", the first row should be selected > and some operation should be done. > > What signal should I connect? > And what code should I add? > If you connect a signal handler to Gtk::TreeView::signal_row_activated() you will catch double-clicks on rows, and also the user pressing enter when a row is highlighted. Single click to highlight the row is built in behaviour in a Treeview. The signal handler to connect to signal_row_activated should have a prototype like void handler(const Gtk::TreeModel::Path &, Gtk::TreeViewColumn*) The TreeModel::Path is a path to the row that was activated (use TreeModel::get_iter to get an iterator from that if you need one), and the TreeViewColumn is a pointer to the column which was activated (at least, I assume so, I've not had cause to use that particular functionality before). From Murray.Cumming@Comneon.com Tue Jan 20 06:57:05 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id ADEEB18305 for ; Tue, 20 Jan 2004 06:57:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBqoDb025477; Tue, 20 Jan 2004 12:52:51 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:57:23 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B03@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: susumu@yt.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 12:57:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I am coding a software on glademm and gtkmm. > If there is someone with knowledge, I would like you to help > me. I got a problem when I tried to use a Gtk::TreeView. I > would like to code as below. Suppose there is a TreeView like ... > > item1 | item2 | item3 > --------------------------- > entry11 | entry12 | entry13 > entry21 | entry22 | entry23 > entry31 | entry32 | entry33 > > I would like to distinguish between single-click and > double-click. When you single-click "entry11", for example , > the first row should be > just high-lit (not selected, nothing happens but being > high-lit). So "high-lit" and "selected" would look exactly the same to the user. I think that's a bad, confused, idea. > When you double-click "entry11", the first row > should be selected and some operation should be done. That should be easy. You need to handle signal_button_press_event. If you have problems, then this bug should help you: http://bugzilla.gnome.org/show_bug.cgi?id=89780 Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 20 06:59:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 34FAC18305 for ; Tue, 20 Jan 2004 06:59:23 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KBtBDb026359; Tue, 20 Jan 2004 12:55:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 12:59:43 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B04@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Murray.Cumming@Comneon.com, susumu@yt.com, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 12:59:19 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > That should be easy. You need to handle > signal_button_press_event. If you have problems, then this > bug should help you: http://bugzilla.gnome.org/show_bug.cgi?id=89780 As Matthew says, signal_row_activated() would be better. Murray Cumming www.murrayc.com murrayc@usa.net From susumu@yt.com Tue Jan 20 07:31:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id AF76B181EA for ; Tue, 20 Jan 2004 07:31:34 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0KCVZP6008709; Tue, 20 Jan 2004 21:31:36 +0900 Date: Tue, 20 Jan 2004 21:31:35 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Cc: Matthew Walton Subject: Re: [gtkmm] Gtk::TreeView on gtkmm Message-Id: <20040120213135.6e368362.susumu@yt.com> In-Reply-To: <400D1772.5000008@alledora.co.uk> References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thank you for your quick and detailed response. On Tue, 20 Jan 2004 11:56:34 +0000 Matthew Walton wrote: > If you connect a signal handler to Gtk::TreeView::signal_row_activated() > you will catch double-clicks on rows, and also the user pressing enter > when a row is highlighted. Single click to highlight the row is built in > behaviour in a Treeview. I already tried to experiment that signal handler many times but I got the same error (which I can't understand) every time. nana:~/2004/XHercules/exp-tree_view5/src$ make source='exp.cc' object='exp.o' libtool=no \ depfile='.deps/exp.Po' tmpdepfile='.deps/exp.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -c -o exp.o `test -f 'exp.cc' || echo './'`exp.cc in the file included from window1.hh:13 from exp.cc:10: window1_glade.hh:48: there is a syntax error before the token `::' in the file included from exp.cc:10 window1.hh:43: there is a syntax error before the token `::' window.hh:13 is .. # include "window1_glade.hh" window1_glade.hh is ... // generated 2004/1/20 21:14:26 JST by susumu@nana.michael-net.(none) // using glademm V2.0.0 // // DO NOT EDIT THIS FILE ! It was created using // glade-- /home/susumu/2004/XHercules/exp-tree_view5/exp.glade // for gtk 2.2.1 and gtkmm 2.2.8 // // Please modify the corresponding derived classes in ./src/window1.hh and./src/ window1.cc #ifndef _WINDOW1_GLADE_HH # define _WINDOW1_GLADE_HH #if !defined(GLADEMM_DATA) #define GLADEMM_DATA #include class GlademmData { Glib::RefPtr accgrp; public: GlademmData(Glib::RefPtr ag) : accgrp(ag) { } Glib::RefPtr getAccelGroup() { return accgrp; } }; #endif //GLADEMM_DATA #include #include class GlademmData { Glib::RefPtr accgrp; public: GlademmData(Glib::RefPtr ag) : accgrp(ag) { } Glib::RefPtr getAccelGroup() { return accgrp; } }; #endif //GLADEMM_DATA #include #include class window1_glade : public Gtk::Window { GlademmData *gmm_data; protected: class Gtk::TreeView *treeview1; window1_glade(); ~window1_glade(); private: virtual void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column) = 0; // THIS IS LINE 48 -------RIGHT HERE-------- virtual void on_treeview1_cursor_changed() = 0; }; #endif window1.hh:43 is ... void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column); They are generated by glademm. Is there anything wrong? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From christof@petig-baender.de Tue Jan 20 07:47:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from b.frontend.um.mediaways.net (b.frontend.um.mediaways.net [62.53.231.7]) by mail.gnome.org (Postfix) with SMTP id 81A0918138 for ; Tue, 20 Jan 2004 07:47:18 -0500 (EST) Received: (qmail 28970 invoked by uid 4225); 20 Jan 2004 12:47:16 -0000 Received: from unknown (195.71.51.141) by smtp.um.mediaways.net (10.232.15.250) with ESMTP; 20 Jan 2004 12:47:16 -0000 Received: from puck.petig-baender.de ([192.168.234.11] helo=petig-baender.de ident=christof) by gateway.petig-baender.de with esmtp (Exim 3.35 #1 (Debian)) id 1AivHl-00017J-00; Tue, 20 Jan 2004 13:47:14 +0100 Message-ID: <400D234D.8050404@petig-baender.de> Date: Tue, 20 Jan 2004 13:47:09 +0100 From: Christof Petig Organization: Adolf Petig GmbH & Co. KG User-Agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.5) Gecko/20031110 Debian/1.5-3 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: susumu@yt.com Cc: gtkmm-list@gnome.org, Matthew Walton , glademm-list Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <20040120213135.6e368362.susumu@yt.com> In-Reply-To: <20040120213135.6e368362.susumu@yt.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Susumu Yoshida schrieb: > Thank you for your quick and detailed response. most probably you hit the wrong list, again. This time the glademm-list would have been 1st choice. The glademm generated code contains a wrong signature for the callback ;-/ > in the file included from window1.hh:13 > from exp.cc:10: > window1_glade.hh:48: there is a syntax error before the token `::' > in the file included from exp.cc:10 > window1.hh:43: there is a syntax error before the token `::' > virtual void on_treeview1_row_activated(const TreeModel::Path& path, TreeViewColumn* column) = 0; // THIS IS LINE 48 -------RIGHT HERE-------- Gtk:: is missing. That's all. > They are generated by glademm. > Is there anything wrong? see above. Could you please try the CVS version of glademm (I think I fixed that bug already). Christof From Murray.Cumming@Comneon.com Tue Jan 20 07:47:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 69B9218138 for ; Tue, 20 Jan 2004 07:47:28 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KChCDb002639; Tue, 20 Jan 2004 13:43:12 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 13:47:45 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B10@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: susumu@yt.com, gtkmm-list@gnome.org Cc: matthew@alledora.co.uk Subject: RE: [gtkmm] Gtk::TreeView on gtkmm Date: Tue, 20 Jan 2004 13:47:21 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > window1_glade.hh:48: there is a syntax error before the token > `::' in the file included from exp.cc:10 > window1.hh:43: there is a syntax error before the token `::' This looks like glademm-generated code, so I therefore think you should ask on glademm-list@gnome.org. We are not responsible for the code that glademm generates. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Tue Jan 20 08:08:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 4CB8D18138; Tue, 20 Jan 2004 08:08:02 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KD3oDb010512; Tue, 20 Jan 2004 14:03:50 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 14:08:22 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: otaylor@redhat.com Cc: gtk-devel-list@gnome.org, gtkmm-list@gnome.org Date: Tue, 20 Jan 2004 14:07:59 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: GTK+ release soon? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > > On Tue, 2004-01-06 at 03:38, Murray.Cumming@Comneon.com wrote: > > > Is there likely to be a GTK+ release in the next couple > of days? It > > > would be nice for our imminent GNOME Platform Bindings > > 2.5.2 release. > > > > It would be nice, but I doubt it will happen. API issues are > > my first priority this week. > > OK. A release for the GNOME Platform Bindings 2.5.3 instead > (scheduled for February 17th) would be very nice. I am > worried that gtkmm API will not get enough scrutiny if I > can't make frequent releases. > > Please please ask someone to help you roll releases if you > don't have time - it should be a simple task. Thank you for asking for volunteers to roll 2.2.x releases. That's seems like a good move. I wish I had the extra time to set up my system to do that for you. But the lack of GTK+ 2.3.x release has caused gtkmm to miss yet another Platform Bindings release schedule date. There has never been a GTK+ 2.3.x release that is usable with gtkmm, though the GTK+ in cvs has been usable with gtkmm for over a month. So I fear that not enough people are testing new gtkmm API, although we are late in the schedule, with Platform Bindings API freeze 1 month away: http://www.gnome.org/start/2.5/bindings/ I will repeat my earlier dire warnings from a release-team email: One thing that the GTK+ people can certainly do to help is to release regular tarballs (ideally one for each GNOME 2.5 release), so that we have a good chance of getting it tested. It disturbs me greatly that you seem to be waiting for stuff to get into GTK+ before doing tarballs - please just push it out into the world regularly. If we can't be sure when a GTK+ tarball will appear then I fear a great deal more delayed GNOME 2.5 test releases. Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 20 09:21:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 1474318462 for ; Tue, 20 Jan 2004 09:21:54 -0500 (EST) Received: (qmail 12524 invoked by uid 65534); 20 Jan 2004 14:21:50 -0000 Received: from pD9E94B45.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.75.69) by mail.gmx.net (mp013) with SMTP; 20 Jan 2004 15:21:50 +0100 X-Authenticated: #109577 Message-ID: <400D3987.5060408@gmx.de> Date: Tue, 20 Jan 2004 15:21:59 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Matthew Walton , gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> In-Reply-To: <400D1772.5000008@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Now it is me who is completely confused. I do it this way: m_tree_sel_ref->signal_changed () Ok, I have major problems because I still cannot make a selection highlighted :-( Andi // Build ListStore/TreeView m_list_store_ref = Gtk::ListStore::create(m_columns); m_tree_view.set_model(m_list_store_ref); m_tree_view.set_rules_hint(); m_tree_view.set_size_request(); // Handle selection m_tree_sel_ref = m_tree_view.get_selection(); m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); m_tree_sel_ref->signal_changed ().connect( <<<<<<<<<<<<<<<<< SigC::slot(*this, &ConstraintTable::selection_made_cb)); > If you connect a signal handler to Gtk::TreeView::signal_row_activated() > you will catch double-clicks on rows, and also the user pressing enter > when a row is highlighted. Single click to highlight the row is built in > behaviour in a Treeview. > > The signal handler to connect to signal_row_activated should have a > prototype like > > void handler(const Gtk::TreeModel::Path &, Gtk::TreeViewColumn*) From matthew@alledora.co.uk Tue Jan 20 09:44:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 6074618824 for ; Tue, 20 Jan 2004 09:44:47 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Aix4T-0004G0-1U for gtkmm-list@gnome.org; Tue, 20 Jan 2004 14:41:37 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Aix4R-0004Fl-Us; Tue, 20 Jan 2004 14:41:35 +0000 Message-ID: <400D3F21.7020002@alledora.co.uk> Date: Tue, 20 Jan 2004 14:45:53 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <400D3987.5060408@gmx.de> In-Reply-To: <400D3987.5060408@gmx.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Andreas B. Thun wrote: > Now it is me who is completely confused. > I do it this way: m_tree_sel_ref->signal_changed () > > Ok, I have major problems > because I still cannot make a selection highlighted :-( > > Andi > > // Build ListStore/TreeView > m_list_store_ref = Gtk::ListStore::create(m_columns); > m_tree_view.set_model(m_list_store_ref); > m_tree_view.set_rules_hint(); > m_tree_view.set_size_request(); > > // Handle selection > m_tree_sel_ref = m_tree_view.get_selection(); > m_tree_sel_ref->set_mode (Gtk::SELECTION_SINGLE); > m_tree_sel_ref->signal_changed ().connect( <<<<<<<<<<<<<<<<< > SigC::slot(*this, &ConstraintTable::selection_made_cb)); So what exactly is the problem? That code should give you a handler for when the selection for that treeview changes. What do you mean by making a selection 'highlighted'? From abt@gmx.de Tue Jan 20 09:51:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 95D681892D for ; Tue, 20 Jan 2004 09:51:48 -0500 (EST) Received: (qmail 1202 invoked by uid 65534); 20 Jan 2004 14:51:46 -0000 Received: from pD9E94B45.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.75.69) by mail.gmx.net (mp007) with SMTP; 20 Jan 2004 15:51:46 +0100 X-Authenticated: #109577 Message-ID: <400D4087.3010108@gmx.de> Date: Tue, 20 Jan 2004 15:51:51 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: Matthew Walton Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView on gtkmm References: <20040120204436.7c7e304c.susumu@yt.com> <400D1772.5000008@alledora.co.uk> <400D3987.5060408@gmx.de> <400D3F21.7020002@alledora.co.uk> In-Reply-To: <400D3F21.7020002@alledora.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I trigger a row selection with a "next" button to walk the rows and select a row with: m_tree_sel_ref->select(row); The row is selected ( I can get the value ) but the selected row is not highlighted in the GUI. > So what exactly is the problem? That code should give you a handler for > when the selection for that treeview changes. What do you mean by making > a selection 'highlighted'? From bevis@anvil.com Tue Jan 20 10:15:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id A035118705 for ; Tue, 20 Jan 2004 10:14:59 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id 2D274259; Tue, 20 Jan 2004 15:14:38 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 5E8D2250 for ; Tue, 20 Jan 2004 15:14:37 +0000 (GMT) Message-ID: <400D45E2.6030205@anvil.co.uk> Date: Tue, 20 Jan 2004 15:14:42 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] GDK_space not getting passed? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This may not be a gtkmm problem, but I've noticed that if I attach a signal: mc_image_window.signal_key_press_event().connect(slot(*this, &C_PicV::cb_keypress)); then in the callback: bool C_PicV::cb_keypress(GdkEventKey* ke) { gint key = ke->keyval; ... 'key' is never GDK_space, even if you press space. All other keys I've used work OK. Can't see any reference to it in the list archives, but found someone on google who reported the same thing. bevis From murrayc@usa.net Tue Jan 20 12:27:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from localhost.localdomain (unknown [80.121.222.26]) by mail.gnome.org (Postfix) with SMTP id 1920B18A39 for ; Tue, 20 Jan 2004 12:27:30 -0500 (EST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i0K9qVlm030917; Tue, 20 Jan 2004 10:52:32 +0100 Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X From: Murray Cumming Reply-To: murrayc@usa.net To: Julian Missig Cc: Murray.Cumming@Comneon.com, gtkmm-list , Thomas Muldowney In-Reply-To: References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1073938828.28458.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 10:52:31 +0100 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-12 at 19:54, Julian Missig wrote: > On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > > >>> Well, anyway, I'll be leaving campus soon and no longer have this > >>> bandwidth. > >>> > >>> The packages are at > >>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >> > >> I have downloaded them for safety. I am a bit reluctant to > >> put binary packages on gtkmm.org until > >> - I am sure that they will be maintained in future. Isn't > >> there some central repository for things like this? > > DarwinPorts does not host binary packages. Fink hosts binary versions > of their packages... eventually... I do want to see the discussion in which the Fink people apparently refused to help you to package gtkmm for Fink. So far I have heard nothing specific, so I have nothing to tell the people who want gtkmm in Fink. > but these were generated using > DarwinPorts, which uses a different path prefix from Fink. Fink also > does not use these double-clickable installers like DarwinPorts can > produce. That sounds like a nice feature. > osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but > I'm not sure whether they'd host something generated by DarwinPorts. > > >> - The build process is documented. I would like a > >> README.MacOSX, like our current README.win32 and README.SUN > >> - I see that you have at least tried to get libtool fixed > >> instead of patching it locally. > > What more do you want me to do? Like I say, I would like the build process to be documented, just as it is for our other unusual platforms. > I've contacted all the people I can and > no one seems to know why it works like that or give a shit. For the libtool thing, you could point me to the email discussion in an archive or a bug report. Then I could take it further if you don't want to. At least we would have something to point to in our documentation. > >> I do appreciate your efforts, but I don't want them to be wasted. > > Whatever. I made these so that my users could get gtkmm installed. I've > battled with this stuff for so long with so many unhelpful people I > honestly don't care whether they're "officially" distributed anywhere. > I have something which works, so that's good enough to get Gabber2 on > OS X. I'm done as far as I'm concerned. If gtkmm.org hosts them, then we'd need someone who will package future gtkmm releases as well. Sorry, but you can't expect anything else. -- Murray Cumming murrayc@usa.net www.murrayc.com From epenharbel@yahoo.com.br Tue Jan 20 12:41:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp103.mail.sc5.yahoo.com (smtp103.mail.sc5.yahoo.com [66.163.169.222]) by mail.gnome.org (Postfix) with SMTP id 9E2B018A21 for ; Tue, 20 Jan 2004 12:41:43 -0500 (EST) Received: from unknown (HELO 200-171-128-203.dsl.telesp.net.br) (epenharbel@200.171.128.203 with plain) by smtp103.mail.sc5.yahoo.com with SMTP; 20 Jan 2004 17:41:38 -0000 From: =?ISO-8859-1?Q?=C9der?= Augusto Penharbel To: gtkmm-list Content-Type: text/plain Message-Id: <1074620608.308.192.camel@lobo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 15:43:28 -0200 Content-Transfer-Encoding: 7bit Subject: [gtkmm] draw images... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello I need to draw a image from a BGR ( Blue green red ) buffer. To draw a rgb buffer i can use this: get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); but how do i do this with the bgr buffer ( rgb in LSBFirst byte order ) without swap the bytes on a loop??? Using the Xlib i'd use the XPutImage with a XImage in the LSBFirst byte_order, but in gtkmm or gtk??? can I use the Xlib to draw a image in a Gtk::Window? or are there other way to do this? thanks... From donscorgie@blueyonder.co.uk Tue Jan 20 13:43:58 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp-out6.blueyonder.co.uk (smtp-out6.blueyonder.co.uk [195.188.213.9]) by mail.gnome.org (Postfix) with ESMTP id BFE371878B for ; Tue, 20 Jan 2004 13:43:57 -0500 (EST) Received: from 82-41-53-103.cable.ubr07.edin.blueyonder.co.uk ([82.41.53.103]) by smtp-out6.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Tue, 20 Jan 2004 18:44:17 +0000 Subject: RE: [gtkmm] Gtk::Image and Eventbox From: Donald To: gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22A85@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1074624237.930.5.camel@Madaline.mydomain.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 18:43:57 +0000 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jan 2004 18:44:17.0148 (UTC) FILETIME=[68632BC0:01C3DF85] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Mon, 2004-01-19 at 21:25, Murray.Cumming@Comneon.com wrote: > > I've been using gtkmm for a while, but run across a problem. > > > > I have a window containing a Gtk::Image which is set with a > > Gdk::Image / Gdk::Pixmap. > > > > I need to recieve events on this, so I proceeded to put it in > > an eventbox. > > > > The problem arises when I try to connect a signal up to it. > > > > With no signal (i.e. the eventbox is doing nothing), it is > > fine and the image displays properly. But when a signal is > > connected up, the Image / eventbox is displayed as grey. > > You should probably tell us exactly what signal you are talking about. But I > guess that you probably just need to use the correct return type in your > event signal handler: > http://www.gtkmm.org/gtkmm2/docs/tutorial/html/apbs06.html > > Murray Cumming > www.murrayc.com > murrayc@usa.net > > Bingo! Thanks. I was using a signal_motion_notify_event. I was returning true (the event is handled), but when I change that to false it seems to work. Thanks for the help Don From julian@jabber.org Tue Jan 20 13:58:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.aspect.net (host221-193.discord.birch.net [65.16.221.193]) by mail.gnome.org (Postfix) with ESMTP id 66174181D3 for ; Tue, 20 Jan 2004 13:58:33 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.aspect.net (Postfix) with ESMTP id C671E6F733; Tue, 20 Jan 2004 12:58:30 -0600 (CST) Received: from mail.aspect.net ([127.0.0.1]) by localhost (pavia [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16695-03; Tue, 20 Jan 2004 12:58:30 -0600 (CST) Received: from [128.2.76.12] (SKADI.WV.CC.cmu.edu [128.2.76.12]) by mail.aspect.net (Postfix) with ESMTP id B64D86F6F9; Tue, 20 Jan 2004 12:58:26 -0600 (CST) In-Reply-To: <1073938828.28458.9.camel@localhost.localdomain> References: <258B0164D480D5118D900800062B385801C2281E@vihsx09a.vih.infineon.com> <1073938828.28458.9.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: gtkmm-list , Murray.Cumming@Comneon.com, Thomas Muldowney From: Julian Missig Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 20 Jan 2004 13:58:25 -0500 To: murrayc@usa.net X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at aspect.net Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok, here's how I built it. Grab DarwinPorts. I have Panther with X11 and X11 SDK. The gtk+ dependencies I installed are: atk, expat, fontconfig, freetype, gettext, glib2, gtk2, jpeg, libpng, libungif, pango, pkgconfig, tiff, Xft2, xrender For libglade2, I modified the portfile to not depend on gnome, so my libglade2 does not depend on gnome, but it also cannot use gnome widgets. libxml2 is required. Gconf needs linc, orbit2, gconf In the Portfiles for libsigc++, gtkmm2, libglademm, and gconfmm, I used these values for configure.env (in other words, these were passed to configure): CPPFLAGS="-L${prefix}/lib -I${prefix}/include" CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" After configure happened, I modified the generated 'libtool' script. I changed CC and LTCC to use 'g++' instead of 'gcc' After that, they build and run fine with the setup I described. And murray, I'm not expecting or asking anything of you. I don't know why you get that idea. I'm just presenting this stuff that I built, that is all. You're under no obligation to do anything at all with it. Julian On 20 Jan, 2004, at 4:52, Murray Cumming wrote: > On Mon, 2004-01-12 at 19:54, Julian Missig wrote: >> On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: >> >>>>> Well, anyway, I'll be leaving campus soon and no longer have this >>>>> bandwidth. >>>>> >>>>> The packages are at >>>>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg >>>> >>>> I have downloaded them for safety. I am a bit reluctant to >>>> put binary packages on gtkmm.org until >>>> - I am sure that they will be maintained in future. Isn't >>>> there some central repository for things like this? >> >> DarwinPorts does not host binary packages. Fink hosts binary versions >> of their packages... eventually... > > I do want to see the discussion in which the Fink people apparently > refused to help you to package gtkmm for Fink. So far I have heard > nothing specific, so I have nothing to tell the people who want gtkmm > in > Fink. > >> but these were generated using >> DarwinPorts, which uses a different path prefix from Fink. Fink also >> does not use these double-clickable installers like DarwinPorts can >> produce. > > That sounds like a nice feature. > >> osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but >> I'm not sure whether they'd host something generated by DarwinPorts. >> >>>> - The build process is documented. I would like a >>>> README.MacOSX, like our current README.win32 and README.SUN >>>> - I see that you have at least tried to get libtool fixed >>>> instead of patching it locally. >> >> What more do you want me to do? > > Like I say, I would like the build process to be documented, just as it > is for our other unusual platforms. > >> I've contacted all the people I can and >> no one seems to know why it works like that or give a shit. > > For the libtool thing, you could point me to the email discussion in an > archive or a bug report. Then I could take it further if you don't want > to. At least we would have something to point to in our documentation. > >>>> I do appreciate your efforts, but I don't want them to be wasted. >> >> Whatever. I made these so that my users could get gtkmm installed. >> I've >> battled with this stuff for so long with so many unhelpful people I >> honestly don't care whether they're "officially" distributed anywhere. >> I have something which works, so that's good enough to get Gabber2 on >> OS X. I'm done as far as I'm concerned. > > If gtkmm.org hosts them, then we'd need someone who will package future > gtkmm releases as well. Sorry, but you can't expect anything else. > > -- > Murray Cumming > murrayc@usa.net > www.murrayc.com > From otaylor@redhat.com Tue Jan 20 14:20:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by mail.gnome.org (Postfix) with ESMTP id 7C65A185DD; Tue, 20 Jan 2004 14:20:41 -0500 (EST) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKdl28011; Tue, 20 Jan 2004 14:20:39 -0500 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKda28628; Tue, 20 Jan 2004 14:20:39 -0500 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i0KJKcY27594; Tue, 20 Jan 2004 14:20:38 -0500 From: Owen Taylor To: Murray.Cumming@Comneon.com Cc: gtk-devel-list@gnome.org, gtkmm-list@gnome.org In-Reply-To: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> References: <258B0164D480D5118D900800062B385801C22B12@vihsx09a.vih.infineon.com> Content-Type: text/plain Message-Id: <1074626334.7297.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Tue, 20 Jan 2004 14:18:55 -0500 Content-Transfer-Encoding: 7bit Subject: [gtkmm] RE: GTK+ release soon? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, 2004-01-20 at 08:07, Murray.Cumming@Comneon.com wrote: > ease-team email: > > One thing that the GTK+ people can certainly do to help is to release > regular tarballs (ideally one for each GNOME 2.5 release), so that we have a > good chance of getting it tested. It disturbs me greatly that you seem to be > waiting for stuff to get into GTK+ before doing tarballs - please just push > it out into the world regularly. If we can't be sure when a GTK+ tarball > will appear then I fear a great deal more delayed GNOME 2.5 test releases. No, I'm waiting to have 5 consecutive minutes to do a release. (Well, actually, a day or so in total.) There are only 3 things on my TODO list for the rest of this week, doing 2.3.2 releases being one of them. By far the most time consuming part of doing a devel series release is writing the NEWS entries. (Especially when one hasn't been done for a while.) If people want to help out, that's a pretty straightforward thing to do, especially for an area that you are familiar with. Regards, Owen From Murray.Cumming@Comneon.com Tue Jan 20 15:55:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 592E118177 for ; Tue, 20 Jan 2004 15:55:35 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0KKotDb017433; Tue, 20 Jan 2004 21:50:55 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Jan 2004 21:55:28 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22B41@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: julian@jabber.org Cc: gtkmm-list@gnome.org, temas@box5.net Subject: RE: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X Date: Tue, 20 Jan 2004 21:55:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Sorry, my SMTP server just sent an old reply. This was either outdated or already dealt with. Still, your reply was interesting. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: Julian Missig [mailto:julian@jabber.org] > Sent: Dienstag, 20. Januar 2004 19:58 > To: murrayc@usa.net > Cc: gtkmm-list; Murray.Cumming@Comneon.com; Thomas Muldowney > Subject: Re: [gtkmm] gtkmm2, gconfmm, libglademm installer > for Mac OS X > > > Ok, here's how I built it. > > Grab DarwinPorts. I have Panther with X11 and X11 SDK. > > The gtk+ dependencies I installed are: atk, expat, fontconfig, > freetype, gettext, glib2, gtk2, jpeg, libpng, libungif, pango, > pkgconfig, tiff, Xft2, xrender > > For libglade2, I modified the portfile to not depend on gnome, so my > libglade2 does not depend on gnome, but it also cannot use gnome > widgets. libxml2 is required. > > Gconf needs linc, orbit2, gconf > > In the Portfiles for libsigc++, gtkmm2, libglademm, and > gconfmm, I used > these values for configure.env (in other words, these were passed to > configure): > CPPFLAGS="-L${prefix}/lib -I${prefix}/include" > CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" > > After configure happened, I modified the generated 'libtool' > script. I > changed CC and LTCC to use 'g++' instead of 'gcc' > > After that, they build and run fine with the setup I described. > > And murray, I'm not expecting or asking anything of you. I don't know > why you get that idea. I'm just presenting this stuff that I built, > that is all. You're under no obligation to do anything at all with it. > > Julian > > On 20 Jan, 2004, at 4:52, Murray Cumming wrote: > > > On Mon, 2004-01-12 at 19:54, Julian Missig wrote: > >> On 12 Jan, 2004, at 13:38, Murray.Cumming@Comneon.com wrote: > >> > >>>>> Well, anyway, I'll be leaving campus soon and no longer > have this > >>>>> bandwidth. > >>>>> > >>>>> The packages are at > >>>>> http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg > >>>> > >>>> I have downloaded them for safety. I am a bit reluctant to put > >>>> binary packages on gtkmm.org until > >>>> - I am sure that they will be maintained in future. Isn't there > >>>> some central repository for things like this? > >> > >> DarwinPorts does not host binary packages. Fink hosts > binary versions > >> of their packages... eventually... > > > > I do want to see the discussion in which the Fink people apparently > > refused to help you to package gtkmm for Fink. So far I have heard > > nothing specific, so I have nothing to tell the people who > want gtkmm > > in Fink. > > > >> but these were generated using > >> DarwinPorts, which uses a different path prefix from Fink. > Fink also > >> does not use these double-clickable installers like > DarwinPorts can > >> produce. > > > > That sounds like a nice feature. > > > >> osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, > but I'm not > >> sure whether they'd host something generated by DarwinPorts. > >> > >>>> - The build process is documented. I would like a README.MacOSX, > >>>> like our current README.win32 and README.SUN > >>>> - I see that you have at least tried to get libtool > fixed instead > >>>> of patching it locally. > >> > >> What more do you want me to do? > > > > Like I say, I would like the build process to be > documented, just as > > it is for our other unusual platforms. > > > >> I've contacted all the people I can and > >> no one seems to know why it works like that or give a shit. > > > > For the libtool thing, you could point me to the email > discussion in > > an archive or a bug report. Then I could take it further if > you don't > > want to. At least we would have something to point to in our > > documentation. > > > >>>> I do appreciate your efforts, but I don't want them to be wasted. > >> > >> Whatever. I made these so that my users could get gtkmm installed. > >> I've > >> battled with this stuff for so long with so many unhelpful people I > >> honestly don't care whether they're "officially" > distributed anywhere. > >> I have something which works, so that's good enough to get > Gabber2 on > >> OS X. I'm done as far as I'm concerned. > > > > If gtkmm.org hosts them, then we'd need someone who will package > > future gtkmm releases as well. Sorry, but you can't expect anything > > else. > > > > -- > > Murray Cumming > > murrayc@usa.net > > www.murrayc.com > > > From kmilo@softhome.net Tue Jan 20 21:57:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mail.gnome.org (Postfix) with SMTP id 9B55A18566 for ; Tue, 20 Jan 2004 21:57:31 -0500 (EST) Received: (qmail 23158 invoked by uid 417); 21 Jan 2004 02:57:30 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 21 Jan 2004 02:57:30 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Tue, 20 Jan 2004 19:57:30 -0700 From: kmilo@softhome.net To: gtkmm-list@gnome.org Date: Tue, 20 Jan 2004 19:57:30 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: kmilo@softhome.net X-Originating-IP: [200.105.93.162] Message-ID: Subject: [gtkmm] how build a statically link program Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: There is a way to build a statically link program in gtkmm under windows (It must works without dll) From cedric.gustin@swing.be Wed Jan 21 02:25:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 77CAB1814F for ; Wed, 21 Jan 2004 02:25:37 -0500 (EST) Received: from [130.104.231.127] (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0L7JOtd014215; Wed, 21 Jan 2004 08:19:25 +0100 (MET) Subject: Re: [gtkmm] how build a statically link program From: Cedric Gustin To: kmilo@softhome.net Cc: gtkmm-list@gnome.org In-Reply-To: References: Content-Type: text/plain Message-Id: <1074669929.3833.17.camel@gandalf> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 21 Jan 2004 08:25:30 +0100 Content-Transfer-Encoding: 7bit X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-21 at 03:57, kmilo@softhome.net wrote: > There is a way to build a statically link program in gtkmm under windows (It > must works without dll) Well yes, you can build static gtkmm libraries if you want (./configure --enable-static --disable-shared in your mingw32+msys environment: see README.win32 for details) but I haven't done that for a long time because : 1. You end up with huge executables (they can be stripped though!) 2. Your gtkmm static library (hence your final executable) still relies on the GTK+ runtime, which is only available as DLLs. So, if you want a nice, standalone gtkmm application, my best advise is to compile it dynamically and provide your own integrated installer for your executable + the GTK+ and gtkmm runtimes. An intermediate solution is to ask your users to install the GTK+ runtime only (from dropline), and to ship you application with the glibmm, atkmm, pangomm, gdkmm and gtkmm DLLs located in the same directory. Cedric > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list -- Cedric Gustin Ph.D. Student _/ _/ _/_/_/_/ _/ _/ _/ _/ _/ mailto:gustin@pcpm.ucl.ac.be _/ _/ _/ _/ PCPM Lab, Univ. Catholique de Louvain _/ _/ _/ _/ Place Croix du Sud, 1 _/_/_/_/ _/_/_/_/ _/_/_/_/ B-1348 Louvain-la-Neuve (Belgium) tel: +32 (0)10/47.33.59 fax: +32 (0)10/47.33.59 From bernardet.karim@wanadoo.fr Wed Jan 21 03:15:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from marocco.in2p3.fr (marocco.in2p3.fr [134.158.16.54]) by mail.gnome.org (Postfix) with ESMTP id DC3BD18212 for ; Wed, 21 Jan 2004 03:15:37 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by marocco.in2p3.fr (Postfix) with ESMTP id 8AFEC380F8 for ; Wed, 21 Jan 2004 09:15:34 +0100 (CET) Received: from wanadoo.fr (marpain.in2p3.fr [134.158.17.186]) by marocco.in2p3.fr (Postfix) with ESMTP id 6AADF38347 for ; Wed, 21 Jan 2004 09:15:27 +0100 (CET) Message-ID: <400E351F.60808@wanadoo.fr> Date: Wed, 21 Jan 2004 09:15:27 +0100 From: Karim Bernardet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 X-Accept-Language: French, fr, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Subject: [gtkmm] treeview and tooltip Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, Few months ago, I asked if it was possible to use tooltips with a treeview and the response was no because of a bug in gtk+. So do you know if it has been corrected ? Cheers, Karim. -- __________________________________________________________________________ | Karim BERNARDET | Phone : (+33){0}4-91-82-72-33 | | C.P.P.M. | Fax : (+33){0}4-91-82-72-99 | | 163, av. de Luminy | Email : bernardet@cppm.in2p3.fr | | Case 902 | Web : http://marwww.in2p3.fr/~kbernard | | F-13288 Marseille CEDEX 09 | Bureau 349 | | FRANCE | | -------------------------------------------------------------------------- From susumu@yt.com Wed Jan 21 07:30:44 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nana.michael-net (YahooBB219030212048.bbtec.net [219.30.212.48]) by mail.gnome.org (Postfix) with ESMTP id 3E4CE1886B for ; Wed, 21 Jan 2004 07:30:43 -0500 (EST) Received: from nana.michael-net (nana.michael-net [127.0.0.1]) by nana.michael-net (8.12.8/8.12.8) with SMTP id i0LCUoMK004350 for ; Wed, 21 Jan 2004 21:30:51 +0900 Date: Wed, 21 Jan 2004 21:30:50 +0900 From: Susumu Yoshida To: gtkmm-list@gnome.org Message-Id: <20040121213050.3803bbb9.susumu@yt.com> Reply-To: susumu@yt.com X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] Ctrl+f on Gtk::TextView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, I even don't know if this is possible on gtkmm,so if it were possible and someone knew how to, I would like you to tell me. I would like to move a cursor on Gtk::TextView as we do on an emacs. Meaning, when I press Ctrl + f, I want the cursor to be moved forward. I want "Ctrl + b" to mean "to move backward",etc. So I would like to control and change the behavior of inputs from a keyboard. Is it possible? -- from Susumu Yoshida(susumu@yt.com) Powered by Red Hat Linux From paul@linuxaudiosystems.com Wed Jan 21 08:33:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mail.gnome.org (Postfix) with ESMTP id 4198D1818C for ; Wed, 21 Jan 2004 08:33:42 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([141.151.92.205]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040121133339.SUFI26012.out010.verizon.net@dhin.linuxaudiosystems.com> for ; Wed, 21 Jan 2004 07:33:39 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0LDXbOS009121 for ; Wed, 21 Jan 2004 08:33:38 -0500 Received: (from paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) id i0LDXbIq009117; Wed, 21 Jan 2004 08:33:37 -0500 Date: Wed, 21 Jan 2004 08:33:37 -0500 Message-Id: <200401211333.i0LDXbIq009117@dhin.linuxaudiosystems.com> From: Paul Davis To: gtkmm-list@gnome.org X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [141.151.92.205] at Wed, 21 Jan 2004 07:33:39 -0600 Subject: [gtkmm] CList rewrap Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: murray has mentioned a few times that it would be possible to rewrap CList for gtkmm2. i have a large app which makes major use of CList and CTree, and although we want to use TreeView for the improved functionality it offers, porting to gtkmm2 will be difficult if we have to do everything in one step. so, we are considering rewrapping CList as a bridge for the port effort. i wanted to check if anybody has done this yet .... --p From toka@freebits.de Wed Jan 21 08:46:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from freebits.de (unknown [62.27.20.5]) by mail.gnome.org (Postfix) with ESMTP id 2E3DC18BD6 for ; Wed, 21 Jan 2004 08:46:37 -0500 (EST) Received: from desktop.tokahome.de (freebits.nod [62.27.20.22]) (authenticated bits=0) by freebits.de (8.12.10/8.12.10) with ESMTP id i0LDlS35008184 for ; Wed, 21 Jan 2004 14:47:30 +0100 Date: Wed, 21 Jan 2004 14:46:33 +0100 From: Marcel Karras To: gtkmm-list@gnome.org Message-Id: <20040121144633.0bf83dce.toka@freebits.de> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gtkmm] OpenSSL related bug - #define set_key des_set_key Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, some time ago I made a bugreport: http://bugzilla.gnome.org/show_bug.cgi?id=126756 I tried to contact the openssl mailinglist but there's a problem subscribing to the list. Thus I request for your help. Could someone post the problem? THe OpenSSL team should not define the macro "set_key". If I compile a gtkmm application it won't compile successfully until I make: #ifdef set_key #undef set_key #endif Thank you - Marcel Karras -- Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource From Murray.Cumming@Comneon.com Wed Jan 21 08:53:12 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DE2C318BD7 for ; Wed, 21 Jan 2004 08:53:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LDmvDb025155; Wed, 21 Jan 2004 14:48:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 14:53:31 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BA7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: epenharbel@yahoo.com.br, gtkmm-list@gnome.org Subject: RE: [gtkmm] draw images... Date: Wed, 21 Jan 2004 14:53:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I suggest that you: - ask on the GTK+ list, with a more specific subject, such as "LSB byte-order RGB immage". - investigate C++ image conversion APIs. Maybe you can convert the = image with a different library and then use it with gtkmm. Murray Cumming www.murrayc.com murrayc@usa.net > -----Original Message----- > From: gtkmm-list-admin@gnome.org=20 > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of =C9der Augusto=20 > Penharbel > Sent: Dienstag, 20. Januar 2004 18:43 > To: gtkmm-list > Subject: [gtkmm] draw images... >=20 >=20 > Hello >=20 > I need to draw a image from a BGR ( Blue green red ) buffer. >=20 > To draw a rgb buffer i can use this: >=20 > get_window()->draw_rgb_image( GCTmp, 0, 0, width, height, > Gdk::RGB_DITHER_NORMAL, imageBuffer, width * 3 ); >=20 > but how do i do this with the bgr buffer ( rgb in LSBFirst=20 > byte order ) without swap the bytes on a loop???=20 >=20 > Using the Xlib i'd use the XPutImage with a XImage in the=20 > LSBFirst byte_order, but in gtkmm or gtk???=20 >=20 > can I use the Xlib to draw a image in a Gtk::Window? or are=20 > there other way to do this? >=20 >=20 > thanks... >=20 >=20 > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org = http://mail.gnome.org/mailman/listinfo/gtkmm-list >=20 From fnaumann@cs.uni-magdeburg.de Wed Jan 21 08:59:17 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10]) by mail.gnome.org (Postfix) with ESMTP id 967E518BF0 for ; Wed, 21 Jan 2004 08:59:17 -0500 (EST) Received: from wh58-508.st.uni-magdeburg.de ([141.44.198.58]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.30) id 1AjIsw-00024F-2F; Wed, 21 Jan 2004 14:59:10 +0100 Date: Wed, 21 Jan 2004 14:59:07 +0100 (CET) From: Frank Naumann X-X-Sender: fnaumann@wh58-508.st.uni-magdeburg.de To: Marcel Karras Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] OpenSSL related bug - #define set_key des_set_key In-Reply-To: <20040121144633.0bf83dce.toka@freebits.de> Message-ID: References: <20040121144633.0bf83dce.toka@freebits.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: ---- Start SpamAssassin results -4.9 points, 5.0 required; -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] ---- End of SpamAssassin results X-Scan-Signature: 8f557e09c6f25d1c731b1614156185f1 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello! > I tried to contact the openssl mailinglist but there's a problem > subscribing to the list. Thus I request for your help. Could someone > post the problem? > THe OpenSSL team should not define the macro "set_key". If I compile a > gtkmm application it won't compile successfully until I make: > > #ifdef set_key > #undef set_key > #endif Due to: ./gdk/gdkmm/device.h: void set_key (guint index_, guint keyval, ModifierType modifiers); Under Windows you have similiar problems if you don't include windows headers at last (as they define tons of [undocumented] macros that conflict in the same way as above). As workaround you can try to include the OpenSSL header files at last. Regards, Frank From toka@freebits.de Wed Jan 21 09:16:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from freebits.de (unknown [62.27.20.5]) by mail.gnome.org (Postfix) with ESMTP id 3509318506 for ; Wed, 21 Jan 2004 09:16:24 -0500 (EST) Received: from desktop.tokahome.de (freebits.nod [62.27.20.22]) (authenticated bits=0) by freebits.de (8.12.10/8.12.10) with ESMTP id i0LEHGSd008680 for ; Wed, 21 Jan 2004 15:17:17 +0100 Date: Wed, 21 Jan 2004 15:16:21 +0100 From: Marcel Karras To: gtkmm-list@gnome.org Subject: Re: [gtkmm] OpenSSL related bug - #define set_key des_set_key Message-Id: <20040121151621.60f17815.toka@freebits.de> In-Reply-To: References: <20040121144633.0bf83dce.toka@freebits.de> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, > Under Windows you have similiar problems if you don't include windows > headers at last (as they define tons of [undocumented] macros that > conflict in the same way as above). > > As workaround you can try to include the OpenSSL header files at last. yes, it seems to work well - thank you. Greetings - Marcel Karras -- Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource From Murray.Cumming@Comneon.com Wed Jan 21 12:30:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 8BC9C18C2F for ; Wed, 21 Jan 2004 12:30:25 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LHQ7Db018300; Wed, 21 Jan 2004 18:26:07 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 18:30:41 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BC6@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: toka@freebits.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Wed, 21 Jan 2004 18:30:18 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > some time ago I made a bugreport: > http://bugzilla.gnome.org/show_bug.cgi?id=126756 > > I tried to contact the openssl mailinglist but there's a > problem subscribing to the list. Thus I request for your > help. Could someone post the problem? I don't think anybody here wants to act as an email relay. I'm sure that you are capable of using their mailing list, or emailing the list admin if there is a problem. Murray Cumming www.murrayc.com murrayc@usa.net From bevis@anvil.com Wed Jan 21 12:58:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 782C318C73 for ; Wed, 21 Jan 2004 12:58:52 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id BCC362C2; Wed, 21 Jan 2004 17:58:27 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id F02A32BF for ; Wed, 21 Jan 2004 17:58:26 +0000 (GMT) Message-ID: <400EBDC6.30802@anvil.co.uk> Date: Wed, 21 Jan 2004 17:58:30 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] saving a TreeView to disk Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I have a program which parses a large directory structure into a tree view. There are several hundred directories to scan for, though, and it's pretty slow. Since the directories don't change very often (just the files within them), I was thinking about saving the tree on disk, and reloading it in when the program starts up. Taking the treeview example in the docs, I thought perhaps I could save the contents of ( Glib::RefPtr ) m_refTreeModel as a binary file, then load it in again - I think this is all that I'd need to recreate the tree. Would this work? I'm not entirely certain how to do it either; get a pointer to the start of the tree store, find the total size of it and do an fwrite kind of thing (which assumes the tree's in contiguous memory)? or would i need to iterate over the whole tree, saving each row in some fashion? I realise I could store on disk some kind of textual structure representing the tree, and recreate the tree from that on startup, but I'm hoping for a more simple solution! bevis PS alternatively, does anyone have a code snippet for recursively scanning directories really quickly? currently i'm using something like: DIR *dirp = opendir(dirname); while ((dirent *dp = readdir(dirp)) != NULL) { temp = dirname+"/"+dp->d_name; stat(temp, &sbuf); int isdir = sbuf.st_mode & S_IFDIR; if (!isdir) continue; ... put in tree ... ... recurse ... } but it's over NFS so that may be the bottleneck. From Murray.Cumming@Comneon.com Wed Jan 21 14:02:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 183EE183F3; Wed, 21 Jan 2004 14:02:37 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LIwLDb025543; Wed, 21 Jan 2004 19:58:21 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 20:02:55 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BCF@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: otaylor@redhat.com Cc: gtk-devel-list@gnome.org, hadess@hadess.net, gtkmm-list@gnome.org Date: Wed, 21 Jan 2004 20:02:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: gtk_tree_model_iter_previous() Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > On Wed, 2004-01-21 at 13:44, Murray.Cumming@Comneon.com wrote: > > As mentioned here: http://bugzilla.gnome.org/show_bug.cgi?id=128058 > > > > It would be nice to have a gtk_tree_model_iter_previous() > as well as > > the current gtk_tree_model_iter_next(). Totem has an > implementation, > > though I guess it's significantly slower than > > gtk_tree_model_iter_next(): > > http://cvs.gnome.org/lxr/source/totem/src/totem-playlist.c#146 > > > > Thoughts? > > > If we add one, Totem will get what it deserves... people - if > you write utility functions, *DO NOT PUT THEM IN THE GTK+ > NAMESPACE I think that's not in any .h file, so it's not _so_ bad. > I've written that function before, and think it would be > useful to have in GTK+. Would need a warning in the docs > about performance. We could potentially add a vtable member > to GtkTreeModel in the > future to allow models to accelerate it when possible with > the model's data structures. > > I've discussed this with Jonathan before, forget what his > response was. > > But post-2.4. OK. Thanks. I'll prepare a patch sometime. And I might add it to gtkmm even before it's in GTK+. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Wed Jan 21 16:35:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id F1E99185C3 for ; Wed, 21 Jan 2004 16:35:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0LLVUDb022134; Wed, 21 Jan 2004 22:31:30 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jan 2004 22:36:04 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BD7@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: alberto@paro.homeunix.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] API documentation: aiming for 100% Date: Wed, 21 Jan 2004 22:35:41 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've fixed some undocumentated functions in glibmm. > I've posted the result on Bugzilla > > http://bugzilla.gnome.org/show_bug.cgi?id=131841 Excellent. Sorry for not noticing this until now. I'll deal with that patch soon. Thanks a lot. Please try to use "true" instead of "TRUE" in the docs. > Now I think that I'll look to fix some documentation on gnomemm. (Lots > of people are working on gtkmm docs) Never quite enough, and it's easier to document gtkmm because the GTK+ C docs are so good. > I'll propose an API add in calendar widget that return a Glib::Date of > the date selected. > Do I need to post the API change on Bugzilla or we have to discuss this > API change? That sounds good. Just post the patch in bugzilla, please. They might like a GTK+ patch for that as well. Murray Cumming www.murrayc.com murrayc@usa.net From Nick.Huxley@barclayscapital.com Wed Jan 21 09:01:51 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nhmx02.barcap.com (nhmx02.barclayscapital.com [167.203.49.8]) by mail.gnome.org (Postfix) with ESMTP id AD55B18759 for ; Wed, 21 Jan 2004 09:01:51 -0500 (EST) Received: from nhmx02.barcap.com (localhost [127.0.0.1]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0LDxlr6019468 for ; Wed, 21 Jan 2004 08:59:47 -0500 (EST) Received: from nykpsmeg013.INTRANET.BARCAPINT.COM (nykpsmeg013.nat.barcapint.com [167.203.47.216]) by nhmx02.barcap.com (8.12.10/8.12.10) with ESMTP id i0LDxief019437 for ; Wed, 21 Jan 2004 08:59:44 -0500 (EST) Received: from NYKPSMEH001.INTRANET.BARCAPINT.COM (unverified) by nykpsmeg013.INTRANET.BARCAPINT.COM (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Wed, 21 Jan 2004 09:01:43 -0500 Received: from nykpsmeu001veua.intranet.barcapint.com ([167.203.58.10]) by NYKPSMEH001.INTRANET.BARCAPINT.COM with Microsoft SMTPSVC (5.0.2195.5329) ; Wed, 21 Jan 2004 08:59:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Wed, 21 Jan 2004 08:59:34 -0500 Message-ID: <1F57982AD78201449DBEF729705CFFF5028AF0C2@NYKPSMEU001VEUA.INTRANET.BARCAPINT.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gtkmm] OpenSSL related bug - #define set_key des_set_key Thread-Index: AcPgJbrQi65K2LasTle79SkoZJL27gAALeEQ From: "Huxley, Nick: IT (NYK)" To: "Marcel Karras" , X-OriginalArrivalTime: 21 Jan 2004 13:59:35.0437 (UTC) FILETIME=[CD4EABD0:01C3E026] Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: What include file is the macro initially being set in? I can see they would argue that more people use SSL than gnomemm so they probably won't change. Also as you've already come up with a work around is it so much of a problem? I hate CPP macros they're evil. Nick=20 -----Original Message----- From: Marcel Karras [mailto:toka@freebits.de]=20 Sent: Wednesday, January 21, 2004 8:47 AM To: gtkmm-list@gnome.org Subject: [gtkmm] OpenSSL related bug - #define set_key des_set_key Hello, some time ago I made a bugreport: http://bugzilla.gnome.org/show_bug.cgi?id=3D126756 I tried to contact the openssl mailinglist but there's a problem subscribing to the list. Thus I request for your help. Could someone post the problem?=20 THe OpenSSL team should not define the macro "set_key". If I compile a gtkmm application it won't compile successfully until I make: #ifdef set_key #undef set_key #endif Thank you - Marcel Karras --=20 Contact: toka@freebits.de http://www.freebits.de Unix, Linux && OpenSource _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons. ------------------------------------------------------------------------ From Murray.Cumming@Comneon.com Thu Jan 22 03:18:35 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 6009318204 for ; Thu, 22 Jan 2004 03:18:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0M8E8Db023707; Thu, 22 Jan 2004 09:14:10 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Jan 2004 09:18:43 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22BE4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Nick.Huxley@barclayscapital.com, toka@freebits.de, gtkmm-list@gnome.org Subject: RE: [gtkmm] OpenSSL related bug - #define set_key des_set_key Date: Thu, 22 Jan 2004 09:18:15 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > What include file is the macro initially being set in? > I can see they would argue that more people use SSL than > gnomemm so they probably won't change. Also as you've already > come up with a work around is it so much of a problem? I hate > CPP macros they're evil. But I doubt that have any good reason to use a macro rather than a function. But somebody must talk to them. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 22 05:22:11 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id DC73E18125 for ; Thu, 22 Jan 2004 05:22:10 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0MAHvDb028342 for ; Thu, 22 Jan 2004 11:17:57 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Jan 2004 11:22:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Thu, 22 Jan 2004 11:22:02 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] gtkmm rpms for Mandrake? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: About a year ago somebody (I forget) at Mandrake told me that gtkmm 2 would definitely be in the next release of the distro. But I don't see it anywhere on the web, though I don't actually have Mandrake installed. Can anybody comment. Is there a status page anywhere? Who should we ask? Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Thu Jan 22 11:26:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id ED6DA18234 for ; Thu, 22 Jan 2004 11:26:54 -0500 (EST) Received: from billyoc by dps11.gnuyork.org with local (Exim 4.30) id 1AjhcT-0002N2-9t; Thu, 22 Jan 2004 11:23:49 -0500 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm rpms for Mandrake? References: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Thu, 22 Jan 2004 11:23:49 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22C5A@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Thu, 22 Jan 2004 11:22:02 +0100") Message-ID: <87llo0kl4a.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > About a year ago somebody (I forget) at Mandrake told me that gtkmm 2 would > definitely be in the next release of the distro. But I don't see it anywhere > on the web, though I don't actually have Mandrake installed. Can anybody > comment. Is there a status page anywhere? Who should we ask? > I'll be at LWE this afternoon, I'll see if anyone there knows anything. From djmaecki@ull.at Fri Jan 23 04:58:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from stud3.tuwien.ac.at (stud3.tuwien.ac.at [193.170.75.13]) by mail.gnome.org (Postfix) with ESMTP id E314E182D2 for ; Fri, 23 Jan 2004 04:58:49 -0500 (EST) Received: from zaphod (v208-157.vps.tuwien.ac.at [128.131.208.157]) by stud3.tuwien.ac.at (8.9.3 (PHNE_28810+JAGae91741+JAGae92668)/8.9.3) with ESMTP id KAA06787 for ; Fri, 23 Jan 2004 10:58:49 +0100 (MET) Received: from marvin.home.srr.ull.at ([10.0.1.2]) by zaphod with smtp (Exim 3.35 #1 (Debian)) id 1Ajy5T-0000yS-00 for ; Fri, 23 Jan 2004 10:58:51 +0100 Received: by marvin.home.srr.ull.at (sSMTP sendmail emulation); Fri, 23 Jan 2004 10:58:45 +0100 To: gtkmm-list@gnome.org X-Face: (AyZfZV"!KH"MTF)t0v,Brpg61vAyl"x9NyDm/gakdi<9.\\aDlytY^1}O.[K_0EEbI9rD6 1CVK9qr7p-v9=5r!Q4eoGAcYQ|c$n)N\@5*`b0%2eS/bt Date: Fri, 23 Jan 2004 10:58:42 +0100 Message-ID: <878yjznfzh.fsf@ull.at> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: [gtkmm] TreeView vs. TreeModel Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-=-= Hi! I wrote a small app which receives requests from another thread and add a new row to a TreeModel upon each request. If I simply add the row like this Glib::Mutex::Lock Lock (_Mutex); SupplyColumns Columns; Gtk::TreeModel::iterator iter = _refTreeModel->append (); Gtk::TreeModel::Row row = *iter; row[Columns._OrderId] = OrderID; row[Columns._State] = "OPEN"; the TreeView doesn't get updated if the mainloop doesn't receive an event. If I move the mouse for example the new row is added. So surfing through the docs leads me to TreeModel::row_inserted(const Path& path, const iterator& iter) which should (I think) signal the TreeView to update it's display. A naive approach was simply adding following line after above code: _refTreeModel->row_inserted (_refTreeModel->get_path (iter), iter); But this leads to following critical message: (supfe:17982): Gtk-CRITICAL **: file gtktreeview.c: line 3353 (gtk_tree_view_bin_expose): assertion `has_next' failed. There is a disparity between the internal view of the GtkTreeView, and the GtkTreeModel. This generally means that the model has changed without letting the view know. Any display from now on is likely to be incorrect. How do I use row_inserted() to signal the TreeView. Or is there a better way to fix this problem? So long Thomas -- .''`. Calm yourself, Tubbs. None shall come... - Edward, Royston Vasey : :' : Thomas Krennwallner `. `'` 1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B `- http://bigfish.ull.at/~djmaecki/ --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD4DBQBAEPBV/1hOWWeh2nsRAoLTAJUcDGsl2B68JbobJvqSzaqC3CePAJ4rsPaZ TNb7rHLZYArM+rhpbkpfwQ== =i3cx -----END PGP SIGNATURE----- --=-=-=-- From find_all@hotmail.com Fri Jan 23 06:55:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f59.sea2.hotmail.com [207.68.165.59]) by mail.gnome.org (Postfix) with ESMTP id 2C39918AD4 for ; Fri, 23 Jan 2004 06:55:39 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 Jan 2004 03:55:38 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Fri, 23 Jan 2004 11:55:38 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Fri, 23 Jan 2004 11:55:38 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 23 Jan 2004 11:55:38.0290 (UTC) FILETIME=[D13F9920:01C3E1A7] Subject: [gtkmm] Indexed image on Gdk::Pixbuf Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm trying to put an indexed image into a Gdk::Pixbuf. I have the image as a buffer in memory of 8 bits per color with the palette also in memory on another buffer of 3 bytes per color (256 colors). The problem is : How do I put this image into a Gdk::Pixbuf without converting it to a 24 or 32 bits format? If I do the conversion I waste a lot of time. If it is imposible to put directly a 8 bits indexed image into a pixbuf , can I put the image to a Gtk::Image or Gdk::Image in 8 bits and then transfer it to the Gdk::Pixbuf? How? The functions from Gdk::Pixbuf to get an image from a file don't suits me because I'm using an encrypted image that I have to decryp before putting it on the Gdk::Pixbuf. I've try to use Gdk::Drawable->draw_indexed_image but I haven't been able to make it work. Can anybody put a simple working example of Gdk::Drawable->draw_indexed_image? I haven't found any example on the net. Thanks in advance _________________________________________________________________ Reserva y planifica tu viaje online. http://www.msn.es/Viajes/ From olau@hardworking.dk Fri Jan 23 13:21:38 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp020.tiscali.dk (smtp020.tiscali.dk [212.54.64.104]) by mail.gnome.org (Postfix) with ESMTP id 98D9D1835B for ; Fri, 23 Jan 2004 13:21:37 -0500 (EST) Received: from bach.composers (8.ppp1-1.abc.worldonline.dk [213.237.21.8]) by smtp020.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0NILUFK007056 for ; Fri, 23 Jan 2004 19:21:31 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1Ak3z5-0000Ho-Ep for gtkmm-list@gnome.org; Fri, 23 Jan 2004 17:16:39 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Indexed image on Gdk::Pixbuf References: From: Ole Laursen Date: Fri, 23 Jan 2004 17:16:39 +0100 In-Reply-To: (Find All's message of "Fri, 23 Jan 2004 11:55:38 +0000") Message-ID: <87zncehc7s.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Find All" writes: > I have the image as a buffer in memory of 8 bits per color with the palette > also in memory on another buffer of 3 bytes per color (256 colors). > The problem is : How do I put this image into a Gdk::Pixbuf without > converting it > to a 24 or 32 bits format? > If I do the conversion I waste a lot of time. I don't know how to solve this inside X, but are you sure it isn't best to just to the conversion yourself? If you are displaying the image on an ordinary screen anyway, someplace in X something is likely to have to convert it to the higher bit depth anyway. So you won't save anything at all. Also, unless you're converting lots of images, you will have plenty of time. Without having timed it, I would bet that you could easily convert 100 images with the resolution 1024x768 in a second. That's plenty of time for most purposes. Premature optimisation is the root of all evil, and all that... :-) > If it is imposible to put directly a 8 bits indexed image into a > pixbuf, can I put the image to a Gtk::Image or Gdk::Image in 8 bits > and then transfer it to the Gdk::Pixbuf? How? I think you are misunderstanding something. As far as I know, the data in Gdk::Pixbufs are always 24 bpp. But I may be wrong. -- Ole Laursen http://www.cs.auc.dk/~olau/ From prencher@prencher.dk Sat Jan 24 09:34:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id 1A87E1847A for ; Sat, 24 Jan 2004 09:34:36 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 0A74D47FEE0 for ; Sat, 24 Jan 2004 15:34:32 +0100 (CET) From: "Thomas Johansson" To: Date: Sat, 24 Jan 2004 15:34:32 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0017_01C3E28F.9013E710" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPihy4nb8fL5SQgT7OnkmdsSCcP0A== Message-Id: <20040124143432.0A74D47FEE0@pfepa.post.tele.dk> Subject: [gtkmm] Auto-import errors with TreeViewColumn on win32 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0017_01C3E28F.9013E710 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Recently I've been working on porting LostIRC to windows. However, while trying to link, I get a bunch of auto import errors, apparently on TreeViewColumn, the output from the linking step is a the buttom of this email. The files in question are these: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .h?rev=1.5 &view=auto http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .cpp?rev=1.10 &view=auto It seems to be errors with exporting from gtkmm, however im not sure, so any help would be appreciated. Here's the output from the linking step, I get no errors during compilation. ---------------------------------------------------------------------------- -------------------------------- /bin/bash ../../libtool --mode=link g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Info: resolving __ZTTN3Gtk14TreeViewColumnE by linking to __imp___ZTTN3Gtk14TreeViewColumnE (auto-import) Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking to __imp___ZTVN3Gtk14TreeViewColumnE (auto-import) kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ---------------------------------------------------------------------------- -------------------------------- Regards, Thomas Johansson, prencher@prencher.dk ------=_NextPart_000_0017_01C3E28F.9013E710 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
 
Recently I've been=20 working on porting LostIRC to windows.
 
However, while=20 trying to link, I get a bunch of auto import errors, apparently on=20 TreeViewColumn, the output from the linking step is a the buttom of this = email.
 
The files in=20 question are these:
http://cvs.sourceforge.net/viewc= vs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=3D1.5&view=3Dauto<= /A>
http://cvs.sourceforge.net/vi= ewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=3D1.10&view=3D= auto
 
It = seems to be=20 errors with exporting from gtkmm, however im not sure, so any help would = be appreciated.
 
Here's = the output=20 from the linking step, I get no errors during = compilation.
 
----------------------------------------------= --------------------------------------------------------------
 
/bin/bash=20 ../../libtool --mode=3Dlink g++  -g -O2 -Wall   -o=20 lostirc.exe  main.o MainWindow.o MainNotebook.o Tab.o Prefs.o=20 ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 = -lgdkmm-2.0=20 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 = -lsigc-1.2=20 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 = -lpango-1.0=20 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 
g++ -g = -O2 -Wall=20 -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o = ServerWindow.o=20 GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o =20 ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 = -latkmm-1.0=20 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 = -lgdk-win32-2.0=20 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 = -lgobject-2.0=20 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
Info: resolving=20 __ZTTN3Gtk14TreeViewColumnE by linking to = __imp___ZTTN3Gtk14TreeViewColumnE=20 (auto-import)
Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking = to=20 __imp___ZTVN3Gtk14TreeViewColumnE=20 (auto-import)
kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for=20 Gtk::TreeViewColumn' can't be auto-imported. Please read the = documentation for=20 ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for = details.
ServerWindow.o
(.text$_ZN3Gtk14TreeViewColumnC1IN4Gli= b7ustringEEERKS3_RKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/inclu= de/gtkmm-2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for = details.
 
----------------------------------------------= --------------------------------------------------------------
 
Regards,
Thomas Johansson, prencher@prencher.dk
 
= ------=_NextPart_000_0017_01C3E28F.9013E710-- From prencher@prencher.dk Sat Jan 24 09:27:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id B7EE0181B8 for ; Sat, 24 Jan 2004 09:27:40 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 251B647FF3C for ; Sat, 24 Jan 2004 15:27:34 +0100 (CET) From: "Thomas Johansson" To: Date: Sat, 24 Jan 2004 15:27:34 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C3E28E.97061EE0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPihjTudHJ1qir+QraJNDjIGEkEhQ== Message-Id: <20040124142734.251B647FF3C@pfepa.post.tele.dk> Subject: [gtkmm] Auto-import errors with TreeViewColumn on win32 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C3E28E.97061EE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Recently I've been working on porting LostIRC to windows. However, while trying to link, I get a bunch of auto import errors, apparently on TreeViewColumn, the output from the linking step is a the buttom of this email. The files in question are these: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .h?rev=1.5 &view=auto http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow .cpp?rev=1.10 &view=auto It seems to be errors with exporting from gtkmm, however im not sure, so any help would be appreciated. Here's the output from the linking step, I get no errors during compilation. ---------------------------------------------------------------------------- -------------------------------- /bin/bash ../../libtool --mode=link g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv g++ -g -O2 -Wall -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Info: resolving __ZTTN3Gtk14TreeViewColumnE by linking to __imp___ZTTN3Gtk14TreeViewColumnE (auto-import) Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking to __imp___ZTVN3Gtk14TreeViewColumnE (auto-import) kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propert yproxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertyp roxy.h: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15 TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/property proxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15Tr eeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0/glibmm/propertypr oxy.h: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. ---------------------------------------------------------------------------- -------------------------------- Regards, Thomas Johansson, prencher@prencher.dk ------=_NextPart_000_0013_01C3E28E.97061EE0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
 
Recently I've been=20 working on porting LostIRC to windows.
 
However, while=20 trying to link, I get a bunch of auto import errors, apparently on=20 TreeViewColumn, the output from the linking step is a the buttom of this = email.
 
The files in=20 question are these:
http://cvs.sourceforge.net/viewc= vs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=3D1.5&view=3Dauto<= /A>
http://cvs.sourceforge.net/vi= ewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=3D1.10&view=3D= auto
Can i compile and run gtkmm = applications with gcc 3.3/gcc 3.4, or are there known = problems?
 
It = seems to be=20 errors with exporting from gtkmm, however im not sure, so any help would = be appreciated.
 
Here's = the output=20 from the linking step, I get no errors during = compilation.
 
----------------------------------------------= --------------------------------------------------------------
 
/bin/bash=20 ../../libtool --mode=3Dlink g++  -g -O2 -Wall   -o=20 lostirc.exe  main.o MainWindow.o MainNotebook.o Tab.o Prefs.o=20 ServerWindow.o GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 = -lgdkmm-2.0=20 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 = -lsigc-1.2=20 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 = -lpango-1.0=20 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 
g++ -g = -O2 -Wall=20 -o lostirc.exe main.o MainWindow.o MainNotebook.o Tab.o Prefs.o = ServerWindow.o=20 GuiCommands.o Entry.o StatusBar.o TextWidget.o NickList.o = DCCList.o =20 ../libirc/libirc.a -LD:/linux/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 = -latkmm-1.0=20 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lws2_32 -lsigc-1.2 = -lgdk-win32-2.0=20 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 = -lgobject-2.0=20 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
Info: resolving=20 __ZTTN3Gtk14TreeViewColumnE by linking to = __imp___ZTTN3Gtk14TreeViewColumnE=20 (auto-import)
Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking = to=20 __imp___ZTVN3Gtk14TreeViewColumnE=20 (auto-import)
kmm-2.0/glibmm/propertyproxy.h: variable 'VTT for=20 Gtk::TreeViewColumn' can't be auto-imported. Please read the = documentation for=20 ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-= 2.0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x58):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xaf):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x144):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0x1a5):D:/linux/cygwin/include/gtkmm-2.= 0/glibmm/propertyproxy.h:=20 variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please = read the=20 documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IbEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustring= EEERKS3_RKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2= .0/glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xe6):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xed):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for=20 details.
ServerWindow.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7us= tringERKNS_15TreeModelColumnIT_EE+0xf4):D:/linux/cygwin/include/gtkmm-2.0= /glibmm/propertyproxy.h:=20 variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please = read=20 the documentation for ld's --enable-auto-import for = details.
 
----------------------------------------------= --------------------------------------------------------------
 
Regards,
Thomas Johansson, prencher@prencher.dk
 
------=_NextPart_000_0013_01C3E28E.97061EE0-- From djmaecki@ull.at Sun Jan 25 11:24:06 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from stud3.tuwien.ac.at (stud3.tuwien.ac.at [193.170.75.13]) by mail.gnome.org (Postfix) with ESMTP id 4BCEE1887D for ; Sun, 25 Jan 2004 11:24:05 -0500 (EST) Received: from zaphod (v208-157.vps.tuwien.ac.at [128.131.208.157]) by stud3.tuwien.ac.at (8.9.3 (PHNE_28810+JAGae91741+JAGae92668)/8.9.3) with ESMTP id RAA15322 for ; Sun, 25 Jan 2004 17:24:01 +0100 (MET) Received: from marvin.home.srr.ull.at ([10.0.1.2]) by zaphod with smtp (Exim 3.35 #1 (Debian)) id 1Akn3N-0001ak-00 for ; Sun, 25 Jan 2004 17:24:05 +0100 Received: by marvin.home.srr.ull.at (sSMTP sendmail emulation); Sun, 25 Jan 2004 17:23:57 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] TreeView vs. TreeModel X-Face: (AyZfZV"!KH"MTF)t0v,Brpg61vAyl"x9NyDm/gakdi<9.\\aDlytY^1}O.[K_0EEbI9rD6 1CVK9qr7p-v9=5r!Q4eoGAcYQ|c$n)N\@5*`b0%2eS/bt In-Reply-To: <878yjznfzh.fsf@ull.at> (Thomas Krennwallner's message of "Fri, 23 Jan 2004 10:58:42 +0100") References: <878yjznfzh.fsf@ull.at> Date: Sun, 25 Jan 2004 17:23:56 +0100 Message-ID: <87u12kngir.fsf@ull.at> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-=-= Hi! Thomas Krennwallner writes: > How do I use row_inserted() to signal the TreeView. Or is there a > better way to fix this problem? I solved it by using a Gtk::Dispatcher. Thanks to Igor Gorbounov for his helpful hints. So long Thomas -- .''`. Tephelome...Is this one? - Tubbs, Royston Vasey : :' : Thomas Krennwallner `. `'` 1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B `- http://bigfish.ull.at/~djmaecki/ --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBAE+2c/1hOWWeh2nsRAtFCAKC9iFHoZZxNm/ANxpoErUulbCZCBQCgk99S 2zbtw4TOLLpTjyRUIPYInI8= =4xr+ -----END PGP SIGNATURE----- --=-=-=-- From cedric.gustin@swing.be Mon Jan 26 01:57:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 7B10818342 for ; Mon, 26 Jan 2004 01:57:06 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0Q6onte024711; Mon, 26 Jan 2004 07:50:54 +0100 (MET) Message-Id: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 25 Jan 2004 10:32:25 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040124142734.251B647FF3C@pfepa.post.tele.dk> References: <20040124142734.251B647FF3C@pfepa.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 03:27 PM 1/24/2004, you wrote: >Recently I've been working on porting LostIRC to windows. > >However, while trying to link, I get a bunch of auto import errors, >apparently on TreeViewColumn, the output from the linking step is a the >buttom of this email. > >The files in question are these: >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtkmm/ServerWindow.cpp?rev=1.10&view=auto > >It seems to be errors with exporting from gtkmm, however im not sure, so >any help would be appreciated. Hi Thomas, To help you, it would be nice to know : 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. If the configure and libtool scripts are generated locally on your win32 machine or on a linux machine when making the tarball (make dist) + version and origin (cygwin/msys if produced locally) of the autotools, especially libtool ! 3. if you use my port of gtkmm for mingw, the port of gtk/gtkmm that uses the cygwin runtime, or your own port. Cedric From mattgerg@users.sourceforge.net Mon Jan 26 05:39:36 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from f04n01.cac.psu.edu (f04s01.cac.psu.edu [128.118.141.31]) by mail.gnome.org (Postfix) with ESMTP id 4B8C9181E9 for ; Mon, 26 Jan 2004 05:39:36 -0500 (EST) Received: from MAG357.rhbd.psu.edu (MAG357.rhbd.psu.edu [66.71.10.196]) by f04n01.cac.psu.edu (8.9.3p2.1/8.9.3) with ESMTP id FAA363184 for ; Mon, 26 Jan 2004 05:39:32 -0500 From: Matt Gerginski To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1075095542.4399.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 26 Jan 2004 05:39:02 +0000 Content-Transfer-Encoding: 7bit Subject: [gtkmm] Widget inside a Treeview Cell Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, I am wondering if there is any way to go about embedding a widget, inside a cell of a treeview. If there is a way to go about this, any help would be appreciated, for now I just want to know if it is possible. Thanks, Matt PS. Can you please respond to my email, I am not a member of the list. -- Matt Gerginski From B.Touron@citb.bull.net Mon Jan 26 09:01:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id D79DE18292 for ; Mon, 26 Jan 2004 09:01:26 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0QE1O427939 for ; Mon, 26 Jan 2004 15:01:24 +0100 Message-ID: <40151DF3.9050006@citb.bull.net> Date: Mon, 26 Jan 2004 15:02:27 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::TreeView Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello everybody ! I am new to Gtkmm. I searched in the documentation, and in the mailing list archive, without success. So, in a TreeView, how can I display the connecting lines between the nodes ? Is it an option somewhere in the TreeView ? I am using gtkmm under Windows. Thanks for your help. Ben From prencher@prencher.dk Mon Jan 26 09:12:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mail.gnome.org (Postfix) with ESMTP id AFE6318157 for ; Mon, 26 Jan 2004 09:12:52 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepc.post.tele.dk (Postfix) with ESMTP id 36151263002; Mon, 26 Jan 2004 15:12:39 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 15:12:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPj2a030RPf+p5ZS6K1dCISuGCIfAAO5wSw Message-Id: <20040126141239.36151263002@pfepc.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: 1. Running on a cygwin system with mingw tools as compiling suit. $ g++ --version g++.exe (GCC) 3.3.1 (mingw special 20030804-1) 2. Was generated on a linux machine, for making a tarball dist. $ autoconf --version autoconf (GNU Autoconf) 2.59 $ automake --version autautomake (GNU automake) 1.7.9 $ libtool --version altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) Debian: 192 $ 3. I use your mingw native port. I tried running autogen.sh locally, but it gives me errors about GETTEXT macros, I have installed the mingw gettext and iconv packages. Perhaps they should be installed somewhere in the cygwin tree rather than in mingws ? --- Thomas Johansson prencher@prencher.dk http://prencher.dk/ > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 25. jan 2004 10:32 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > At 03:27 PM 1/24/2004, you wrote: > > >Recently I've been working on porting LostIRC to windows. > > > >However, while trying to link, I get a bunch of auto import errors, > >apparently on TreeViewColumn, the output from the linking > step is a the > >buttom of this email. > > > >The files in question are these: > > kmm/Server > >Window.h?rev=1.5&view=auto>http://cvs.sourceforge.net/viewcvs .py/lostir > >c/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto > >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtk > mm/ServerW > >indow.cpp?rev=1.10&view=auto > > > >It seems to be errors with exporting from gtkmm, however im > not sure, > >so any help would be appreciated. > > > Hi Thomas, > > To help you, it would be nice to know : > > 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. > If the configure and libtool scripts are generated locally on > your win32 machine or on a linux machine when making the > tarball (make dist) + version and origin (cygwin/msys if > produced locally) of the autotools, especially libtool ! > 3. if you use my port of gtkmm for mingw, the port of > gtk/gtkmm that uses the cygwin runtime, or your own port. > > Cedric > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From matthew@alledora.co.uk Mon Jan 26 09:14:03 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 06B4118157 for ; Mon, 26 Jan 2004 09:14:03 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1Al7RW-0000w2-6X for gtkmm-list@gnome.org; Mon, 26 Jan 2004 14:10:22 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1Al7RV-0000vo-3Y; Mon, 26 Jan 2004 14:10:21 +0000 Message-ID: <401520F3.1050701@alledora.co.uk> Date: Mon, 26 Jan 2004 14:15:15 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::TreeView References: <40151DF3.9050006@citb.bull.net> In-Reply-To: <40151DF3.9050006@citb.bull.net> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Hello everybody ! > > I am new to Gtkmm. I searched in the documentation, and in the mailing > list archive, without success. > > So, in a TreeView, how can I display the connecting lines between the > nodes ? > Is it an option somewhere in the TreeView ? As I understand it, in GTK+ 2 it's impossible to display connecting lines in a TreeView in the manner see in, say, the GTK+ 1.x CTree, or the Win32 tree control. That's not just a matter of the theme engine not drawing them, but the toolkit not supporting it (not entirely sure, but that's the impression I got from an interview with one of the GTK+ developers recently). So the short answer is that, unfortunately, you can't. I'm hoping somebody will make a patch to allow theme engines to draw those lines if they wish, as sometimes I'd really rather like to have them. From prencher@prencher.dk Mon Jan 26 09:41:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id 27A711870E for ; Mon, 26 Jan 2004 09:41:58 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id DEABF480156; Mon, 26 Jan 2004 15:41:53 +0100 (CET) From: "Thomas Johansson" To: "'Thomas Johansson'" , "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 15:41:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040126141239.36151263002@pfepc.post.tele.dk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPj2a030RPf+p5ZS6K1dCISuGCIfAAO5wSwAAE3qYA= Message-Id: <20040126144153.DEABF480156@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok last error I got fixed, however, running locally generated ./configure gives me this error: ./configure: line 18835: syntax error near unexpected token `DEPS,' ./configure: line 18835: `PKG_CHECK_MODULES(DEPS, gtkmm-2.0)' The configure.ac file can be seen here: http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/configure.ac?rev=1.8&v iew=auto --- Thomas Johansson prencher@prencher.dk http://prencher.dk/ > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Thomas Johansson > Sent: 26. jan 2004 15:13 > To: 'Cedric Gustin'; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > 1. Running on a cygwin system with mingw tools as compiling suit. > > $ g++ --version > g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > > 2. Was generated on a linux machine, for making a tarball dist. > > $ autoconf --version > autoconf (GNU Autoconf) 2.59 > $ automake --version > autautomake (GNU automake) 1.7.9 > $ libtool --version > altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 > 12:25:08) Debian: 192 $ > > 3. I use your mingw native port. > > I tried running autogen.sh locally, but it gives me errors > about GETTEXT macros, I have installed the mingw gettext and > iconv packages. Perhaps they should be installed somewhere in > the cygwin tree rather than in mingws ? > > --- > Thomas Johansson > prencher@prencher.dk > http://prencher.dk/ > > > -----Original Message----- > > From: gtkmm-list-admin@gnome.org > > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > > Sent: 25. jan 2004 10:32 > > To: Thomas Johansson; gtkmm-list@gnome.org > > Subject: Re: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > > > At 03:27 PM 1/24/2004, you wrote: > > > > >Recently I've been working on porting LostIRC to windows. > > > > > >However, while trying to link, I get a bunch of auto > import errors, > > >apparently on TreeViewColumn, the output from the linking > > step is a the > > >buttom of this email. > > > > > >The files in question are these: > > > > kmm/Server > > >Window.h?rev=1.5&view=auto>http://cvs.sourceforge.net/viewcvs > .py/lostir > > >c/lostirc/src/gtkmm/ServerWindow.h?rev=1.5&view=auto > > >http://cvs.sourceforge.net/viewcvs.py/lostirc/lostirc/src/gtk > > mm/ServerW > > >indow.cpp?rev=1.10&view=auto > > > > > >It seems to be errors with exporting from gtkmm, however im > > not sure, > > >so any help would be appreciated. > > > > > > Hi Thomas, > > > > To help you, it would be nice to know : > > > > 1. Where your gcc/g++ comes from (cygwin/mingw + version) 2. > > If the configure and libtool scripts are generated locally on your > > win32 machine or on a linux machine when making the tarball (make > > dist) + version and origin (cygwin/msys if produced locally) of the > > autotools, especially libtool ! > > 3. if you use my port of gtkmm for mingw, the port of > gtk/gtkmm that > > uses the cygwin runtime, or your own port. > > > > Cedric > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From cedric.gustin@swing.be Mon Jan 26 10:12:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 147EA18353 for ; Mon, 26 Jan 2004 10:12:18 -0500 (EST) Received: from gandalf.swing.be (gandalf.pcpm.ucl.ac.be [130.104.231.127]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0QF65te018621; Mon, 26 Jan 2004 16:06:06 +0100 (MET) Message-Id: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 26 Jan 2004 16:12:26 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040126141239.36151263002@pfepc.post.tele.dk> References: <6.0.1.1.2.20040125102546.01be0028@pop.swing.be> <20040126141239.36151263002@pfepc.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ok, I checked lostirc. It requires some posix functions/macros that are not available natively on win32 (hence with mingw32). Therefore, either you modify the lostirc source and replace those posix functions by their win32 counterparts, or you should use the cygwin runtime. Unfortunately, my port of gtkmm is for the mingw32 distribution, only but you can find a port of gtkmm for cygwin (that runs both natively and with an X server) at http://web.sfc.keio.ac.jp/~s01397ms/cygwin/ If you decide to go the native way (win32 specific functions in lostirc + mingw32), I strongly recommend to set/modify the LIBRARY_PATH, C_INCLUDE_PATH and PKG_CONFIG_PATH variables to make sure that they are set appropriately (in order for gcc to detect iconv, libintl,...). The -I option to aclocal is also your friend (for the PKG_CHECK_MODULES autoconf macro). Hope it helps Cedric At 03:12 PM 1/26/2004, Thomas Johansson wrote: >1. Running on a cygwin system with mingw tools as compiling suit. > >$ g++ --version >g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > >2. Was generated on a linux machine, for making a tarball dist. > >$ autoconf --version >autoconf (GNU Autoconf) 2.59 >$ automake --version >autautomake (GNU automake) 1.7.9 >$ libtool --version >altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) Debian: 192 >$ > >3. I use your mingw native port. > >I tried running autogen.sh locally, but it gives me errors about GETTEXT >macros, I have installed the mingw gettext and iconv packages. Perhaps they >should be installed somewhere in the cygwin tree rather than in mingws ? From prencher@prencher.dk Mon Jan 26 10:29:49 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id E72B618154 for ; Mon, 26 Jan 2004 10:29:48 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 0409D480165; Mon, 26 Jan 2004 16:29:42 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Mon, 26 Jan 2004 16:29:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPkHsauYvJxdN+DQEypfNv7+kjRqAAAdcHg Message-Id: <20040126152942.0409D480165@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Im aware lostirc contains some linux specific functions, but those will be ported eventually. The issue is with those TreeViewColumn errors, and PKG_CHECK_MODULES. > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 26. jan 2004 16:12 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > > Ok, I checked lostirc. It requires some posix > functions/macros that are not available natively on win32 > (hence with mingw32). Therefore, either you modify the > lostirc source and replace those posix functions by their > win32 counterparts, or you should use the cygwin runtime. > Unfortunately, my port of gtkmm is for the mingw32 > distribution, only but you can find a port of gtkmm for > cygwin (that runs both natively and with an X server) at > > http://web.sfc.keio.ac.jp/~s01397ms/cygwin/ > > If you decide to go the native way (win32 specific functions > in lostirc + mingw32), I strongly recommend to set/modify the > LIBRARY_PATH, C_INCLUDE_PATH and PKG_CONFIG_PATH variables to > make sure that they are set appropriately (in order for gcc > to detect iconv, libintl,...). The -I option to aclocal is > also your friend (for the PKG_CHECK_MODULES autoconf macro). > > Hope it helps > > Cedric > > At 03:12 PM 1/26/2004, Thomas Johansson wrote: > >1. Running on a cygwin system with mingw tools as compiling suit. > > > >$ g++ --version > >g++.exe (GCC) 3.3.1 (mingw special 20030804-1) > > > > > >2. Was generated on a linux machine, for making a tarball dist. > > > >$ autoconf --version > >autoconf (GNU Autoconf) 2.59 > >$ automake --version > >autautomake (GNU automake) 1.7.9 > >$ libtool --version > >altmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) > >Debian: 192 $ > > > >3. I use your mingw native port. > > > >I tried running autogen.sh locally, but it gives me errors about > >GETTEXT macros, I have installed the mingw gettext and iconv > packages. > >Perhaps they should be installed somewhere in the cygwin > tree rather than in mingws ? > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From pgasper@designadvantage.com Mon Jan 26 11:39:01 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 9684518268 for ; Mon, 26 Jan 2004 11:39:01 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1Al9lK-0007Gw-Ow for gtkmm-list@gnome.org; Mon, 26 Jan 2004 11:38:58 -0500 From: Peter Gasper To: gtkmm-list@gnome.org Content-Type: text/plain Organization: Message-Id: <1075135134.2178.23.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 26 Jan 2004 09:38:58 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Subject: [gtkmm] scrolledwindow floating point exception Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I want to say this is a bug, but I'm probably just doing something wrong. I'm adding a scrolledwindow to one or both panes in an HPaned widget. If one then takes the mouse and drags the handle all the way to the left or right the program errors out with a floating point exception. What am I doing wrong? If this is a bug, let me know and I'll add it to bugzilla. Thanks. -- Peter Gasper From pgasper@designadvantage.com Mon Jan 26 11:57:26 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server18.pronicsolutions.com (server18.pronicsolutions.com [64.94.233.81]) by mail.gnome.org (Postfix) with ESMTP id 493FD18187 for ; Mon, 26 Jan 2004 11:57:26 -0500 (EST) Received: from host-150-180-220-24.midco.net ([24.220.180.150] helo=PETE) by server18.pronicsolutions.com with esmtp (Exim 4.24) id 1AlA39-0007Gz-L5 for gtkmm-list@gnome.org; Mon, 26 Jan 2004 11:57:23 -0500 Subject: Re: [gtkmm] scrolledwindow floating point exception From: Peter Gasper To: gtkmm-list@gnome.org In-Reply-To: <1075135134.2178.23.camel@PETE> References: <1075135134.2178.23.camel@PETE> Content-Type: multipart/mixed; boundary="=-tCmNmsEYfk2zONm5VrGB" Organization: Message-Id: <1075136239.2176.25.camel@PETE> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 26 Jan 2004 09:57:23 -0700 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server18.pronicsolutions.com X-AntiAbuse: Original Domain - gnome.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - designadvantage.com Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: --=-tCmNmsEYfk2zONm5VrGB Content-Type: text/plain Content-Transfer-Encoding: 7bit Attached is an example. Thanks. On Mon, 2004-01-26 at 09:38, Peter Gasper wrote: > I want to say this is a bug, but I'm probably just doing something > wrong. > > I'm adding a scrolledwindow to one or both panes in an HPaned widget. If > one then takes the mouse and drags the handle all the way to the left or > right the program errors out with a floating point exception. > > What am I doing wrong? If this is a bug, let me know and I'll add it to > bugzilla. > > Thanks. -- Peter Gasper --=-tCmNmsEYfk2zONm5VrGB Content-Disposition: attachment; filename=main.cc Content-Type: text/x-c++; name=main.cc; charset=UTF-8 Content-Transfer-Encoding: 7bit #include #include #include #include #include class Test : public Gtk::Window { public: Test() :label1("test"), label2("test2") { add(hpaned); hpaned.add1(win1); win1.add(label1); hpaned.add2(win2); win2.add(label2); show_all(); }; virtual ~Test() {}; protected: Gtk::Label label1, label2; Gtk::ScrolledWindow win1, win2; Gtk::HPaned hpaned; }; int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Test test; Gtk::Main::run(test); return (0); } --=-tCmNmsEYfk2zONm5VrGB-- From cedric.gustin@swing.be Mon Jan 26 15:12:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from atlas.pcpm.ucl.ac.be (atlas.pcpm.ucl.ac.be [130.104.231.55]) by mail.gnome.org (Postfix) with ESMTP id 0A395187FA for ; Mon, 26 Jan 2004 15:12:29 -0500 (EST) Received: from gandalf.swing.be (gustin.pcpm.ucl.ac.be [130.104.244.222]) by atlas.pcpm.ucl.ac.be (8.12.10/8.12.10/jmb-2003.11.07) with ESMTP id i0QK6Ite001186; Mon, 26 Jan 2004 21:06:18 +0100 (MET) Message-Id: <6.0.1.1.2.20040126205924.01c0baf0@pop.swing.be> X-Sender: cedric.gustin@pop.swing.be X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 26 Jan 2004 21:12:20 +0100 To: "Thomas Johansson" , From: Cedric Gustin Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 In-Reply-To: <20040126152942.0409D480165@pfepa.post.tele.dk> References: <6.0.1.1.2.20040126160153.01c036b0@pop.swing.be> <20040126152942.0409D480165@pfepa.post.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-MAPR: Found to be clean Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: At 04:29 PM 1/26/2004, Thomas Johansson wrote: >Im aware lostirc contains some linux specific functions, but those will be >ported eventually. The issue is with those TreeViewColumn errors, and >PKG_CHECK_MODULES. I managed to compile lostirc (without the posix stuff. I commented out the corresponding pieces of code). You can see a screenshot here : http://www.pcpm.ucl.ac.be/~gustin/tmp/lostirc.jpg I guess your TreeViewColumn problem is related to either your compiler version (I use and compiled gtkmm with mingw-gcc 3.2.3 while it seems you have updated your compiler to the recently released 3.3.1), or to some conflicts with cygwin dlls. Did you test your gtkmm installation on a simple gtkmm example (say one of the gtkmm book examples) ? About the PKG_CHECK_MODULES, make sure that aclocal in your autogen.sh script is called with the '-I /path/to/pkg.m4'. In my case, this is C:\Gtk\share\aclocal. Or set the ACLOCAL_FLAGS environment variable if your autogen.sh supports this feature. But in any case, lostirc compiles out of the box with the source tarball. Cedric From prencher@prencher.dk Mon Jan 26 21:24:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mail.gnome.org (Postfix) with ESMTP id A60B418277 for ; Mon, 26 Jan 2004 21:24:07 -0500 (EST) Received: from debbie (home.prencher.dk [80.199.163.146]) by pfepa.post.tele.dk (Postfix) with ESMTP id 339E547FF3B; Tue, 27 Jan 2004 03:24:06 +0100 (CET) From: "Thomas Johansson" To: "'Cedric Gustin'" , Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 Date: Tue, 27 Jan 2004 03:24:06 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcPkSK0i0hq+owULScGDHGIs8IJAKgAM4E0g In-Reply-To: <6.0.1.1.2.20040126205924.01c0baf0@pop.swing.be> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-Id: <20040127022406.339E547FF3B@pfepa.post.tele.dk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Yeah, I do know it compiles, I have ported a good bit of it by now, which is in the cvs. I just redid my cygwin/mingw/gtk+/gtkmm setup, and it seems it was the newer compiler (mingw gcc 3.3.1) that made the trouble. Thanks for you help :) > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Cedric Gustin > Sent: 26. jan 2004 21:12 > To: Thomas Johansson; gtkmm-list@gnome.org > Subject: RE: [gtkmm] Auto-import errors with TreeViewColumn on win32 > > At 04:29 PM 1/26/2004, Thomas Johansson wrote: > >Im aware lostirc contains some linux specific functions, but > those will > >be ported eventually. The issue is with those TreeViewColumn errors, > >and PKG_CHECK_MODULES. > > I managed to compile lostirc (without the posix stuff. I > commented out the corresponding pieces of code). You can see > a screenshot here : > > http://www.pcpm.ucl.ac.be/~gustin/tmp/lostirc.jpg > > I guess your TreeViewColumn problem is related to either your > compiler version (I use and compiled gtkmm with mingw-gcc > 3.2.3 while it seems you have updated your compiler to the > recently released 3.3.1), or to some conflicts with cygwin > dlls. Did you test your gtkmm installation on a simple gtkmm > example (say one of the gtkmm book examples) ? > > About the PKG_CHECK_MODULES, make sure that aclocal in your > autogen.sh script is called with the '-I /path/to/pkg.m4'. In > my case, this is C:\Gtk\share\aclocal. Or set the > ACLOCAL_FLAGS environment variable if your autogen.sh > supports this feature. But in any case, lostirc compiles out > of the box with the source tarball. > > Cedric > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Tue Jan 27 04:40:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 83DAE182BE; Tue, 27 Jan 2004 04:40:30 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0R9aCDb028927; Tue, 27 Jan 2004 10:36:12 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 27 Jan 2004 10:40:53 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Date: Tue, 27 Jan 2004 10:40:21 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: *** gtkmm 2.4 NOTE: This is probably your last chance to comment on the API before the API freeze. gtkmm provides a C++ interface to GTK+. The 2.3.x tarballs are the unstable development series that will become the stable gtkmm 2.4. gtkmm 2.3/2.4 will wrap any additional API in GTK+ 2.4. glibmm is now a separate module, for use in non-GUI software. gtkmm 2.3/2.4 installs in parallel with gtkmm 2.2, so you can install this unstable library without the risk of breaking existing applications. This allows us to break ABI and API, though we will try not to break API unless it is absolutely necessary. But do be aware that the underlying unstable GTK+ 2.3 does not install in parallel with GTK+ 2.2, so be careful if you apply it in your normal prefix. We recommend the use of jhbuild or garnome for testing in a separate prefix. The stable (API/ABI-frozen) gtkmm 2.4.0 will be released soon after GTK+ 2.4.0. gtkmm is on the official GNOME Platform Bindings release schedule: http://www.gnome.org/start/2.5/bindings/ http://www.gtkmm.org *** Changes glibmm 2.3.3: * gmmproc (code generator) - properties: Make read-only properties have const accessors, and add a second read-only const accessor for normal properties. Wrap construct-only properties as read-only, instead of ignoring them. - vfuncs: Really generate const vfuncs when requested. Put the method declaration directly into the .h file, so that the doxygen documentation can be next to it. - documentation: - Remove mergecdocs configure option - always merge the C docs, to avoid any risk of uploading or releasing empty documentation. Just delete the *_docs.xml files to make building from cvs faster. - Install a GLIBMM_CHECK_PERL() macro, for use by gtkmm and other *mm projects, to get the perl path needed by doxygen. - Install beautify_docs.pl so it can be reused in gtkmm and other *mm projects, instead of having lots of copies. * Glib::ObjectBase: The default constructor, never before used, now generates a custom GType, for use when creating new implementations of Glib::Interfaces - for instance, see the new custom tree model example in gtkmm. * Glib::Date: Added clamp_min() and clamp_max(). (Murray Cumming) * Documentation: - Added reference documentation for MainLoop, MainContext, Source, and Date. (Alberto Paro) gtkmm 2.3.2: * Gtk: * AccelMap: Added lock_path() and unlock_path(). * Button: Added get/set_alignment(). * CellLayout: Added reorder(). * Clipboard: Added wait_for_targets(), and a simpler request_targets(). * MenuShell: Added cancel(). * ListStore, TreeStore: Added set_model_columns() for use by derived classes. * TreeModel: vfuncs now use C++ types, and are documented. * TreeModelFilter: Wrapped set_modify_func(). * Window: Added get_group() and set_accept_focus(). * Gdk: * Colormap: Added get_system(). * Device: Added get_name(), get_source(), get_mode() and get_has_cursor() * Display: Added set_double_click_distance() and get_default_group(). * DragContext: Added get_targets(). * Added rgb_*() methods. * Pango: * LayoutLine: Added get_length(), get_start_index(), and get_layout(). * Atk: * Added Document, Hyperlink, Hypertext, and StreamableContent classes. * Portability: * Atk::Text build fix for Intel compiler. (Takashi Takekawa) * Documentation: * devhelp file now installs correctly, with working hyperlinks. * Documented Gtk::AccelMap methods. * Documented Atk classes. * TreeView, TextView, and associated classes are almost fully documented. (Murray Cumming) * Also: - build fix. (Billy O'Connor) - spec file fix. (Eric Bourque) *** Download http://www.gtkmm.org/download.shtml You will need libsigc++ 1.2, available here: https://sourceforge.net/project/showfiles.php?group_id=1970 *** Development There is active discussion on the mailing list: http://www.gtkmm.org/mailinglist.shtml and in the #c++ channel on irc.gnome.org -- Murray Cumming murray@usa.net www.murrayc.com _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list Murray Cumming www.murrayc.com murrayc@usa.net From abt@gmx.de Tue Jan 27 04:46:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 7D7C8184DB for ; Tue, 27 Jan 2004 04:46:49 -0500 (EST) Received: (qmail 21114 invoked by uid 65534); 27 Jan 2004 09:19:06 -0000 Received: from pD9E94C81.dip0.t-ipconnect.de (EHLO gmx.de) (217.233.76.129) by mail.gmx.net (mp005) with SMTP; 27 Jan 2004 10:19:06 +0100 X-Authenticated: #109577 Message-ID: <40162D19.7030707@gmx.de> Date: Tue, 27 Jan 2004 10:19:21 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de,en-GB,en-US MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] how to set appended Notebook page active? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! When I append a second VBox to my notebook with m_Notebook.append_page(*VBoxRight, notebookTabName); the first notebook page is still displayed active. I´ve tried m_Notebook.set_current_page(1); // activate 2nd but it has no effect. Can somebody help? TIA, Andi From find_all@hotmail.com Tue Jan 27 04:57:50 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f30.sea2.hotmail.com [207.68.165.30]) by mail.gnome.org (Postfix) with ESMTP id B6B68187EF for ; Tue, 27 Jan 2004 04:57:49 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 27 Jan 2004 01:57:45 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Tue, 27 Jan 2004 09:57:45 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Tue, 27 Jan 2004 09:57:45 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 27 Jan 2004 09:57:45.0648 (UTC) FILETIME=[03471300:01C3E4BC] Subject: [gtkmm] Transparent background in a Pango::Layout Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I'm drawing an image into a Gtk::DrawingArea and want to write text on that image. Is there a way to set a transparent background for a Pango::Layout? If not, is there another way to write a string with an expecific font, size,color but with a transparent background? _________________________________________________________________ ¿Estás dispuesto a una cita? Conoce gente en MSN Amor & Amistad. http://match.msn.es/match/mt.cfm?pg=channel From bevis@anvil.com Tue Jan 27 05:16:12 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 0C92518A03 for ; Tue, 27 Jan 2004 05:16:12 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id A4A7A416; Tue, 27 Jan 2004 10:15:40 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id CB5772C8; Tue, 27 Jan 2004 10:15:39 +0000 (GMT) Message-ID: <40163A51.907@anvil.co.uk> Date: Tue, 27 Jan 2004 10:15:45 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Find All Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Transparent background in a Pango::Layout References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Find All wrote: > I'm drawing an image into a Gtk::DrawingArea and want to write text on > that image. you may find that writing text to a drawingarea will automatically have a transparent background. certainly i've written text over a pixbuf in a drawing area and that's happened. bevis From andrew@solvo.ru Tue Jan 27 06:38:59 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gate.solvo.ru (gate.solvo.ru [195.201.44.254]) by mail.gnome.org (Postfix) with ESMTP id B58A118713; Tue, 27 Jan 2004 06:38:57 -0500 (EST) Received: from tiger.solvo.ru (tiger.solvo.ru [195.201.44.86]) by gate.solvo.ru (8.12.8/8.12.8) with ESMTP id i0RBcaFu000743; Tue, 27 Jan 2004 14:38:38 +0300 Received: by tiger.solvo.ru (Postfix, from userid 504) id 5DAD290726; Tue, 27 Jan 2004 14:38:35 +0300 (MSK) Received: from solvo.ru (phoenix.solvo.ru [195.201.44.78]) by tiger.solvo.ru (Postfix) with ESMTP id 05734906FC; Tue, 27 Jan 2004 14:38:35 +0300 (MSK) Message-ID: <40165085.60101@solvo.ru> Date: Tue, 27 Jan 2004 14:50:29 +0300 From: "Andrew E. Makeev" Organization: Solvo Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: ru, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Subject: Re: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 References: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22DE1@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Milter: Spamilter Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi I've seen the mail that there is a chance to get couple deprecated widgets to be wrapped in gtkmm (GtkCTree and GtkCList). I guess, It's a good idea, because those widgets have few "advantages" (like configurable lines btw nodes in CTree and very high speed of CList with lot of the data filled in). So, are you going to wait when TreeView will be improved a bit, either wait for those depricated widgets are wrapped? Regards, -andrew Murray.Cumming@Comneon.com wrote: >*** gtkmm 2.4 > >NOTE: This is probably your last chance to comment on the API before the API >freeze. > > > > From Murray.Cumming@Comneon.com Tue Jan 27 06:48:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id E4CAC1891A; Tue, 27 Jan 2004 06:47:59 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0RBhfDb023206; Tue, 27 Jan 2004 12:43:42 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 27 Jan 2004 12:48:23 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22DFC@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: andrew@solvo.ru, Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org, gnome-announce-list@gnome.org Subject: RE: [gtkmm] ANNOUNCE: gtkmm 2.3.2 and glibmm 2.3.3 Date: Tue, 27 Jan 2004 12:47:52 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > I've seen the mail that there is a chance to get couple deprecated > widgets to be wrapped in gtkmm (GtkCTree and GtkCList). Anybody is free to start a project to do that. I have no intention to add them to gtkmm itself at this time. You don't need them to be in gtkmm itself. > I guess, It's a good idea, because those widgets have few > "advantages" > (like configurable lines btw nodes in CTree and very high > speed of CList > with lot of the data filled in). > > So, are you going to wait when TreeView will be improved a > bit, If you want specific changes to GtkTreeView please do ask on gtk-list and/or submit GTK+ bugs in bugzilla.gnome.org. > either > wait for those depricated widgets are wrapped? Doing is better than waiting. Murray Cumming www.murrayc.com murrayc@usa.net From buxman@telia.com Tue Jan 27 08:21:30 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from av1-2-sn1.fre.skanova.net (av1-2-sn1.fre.skanova.net [81.228.11.108]) by mail.gnome.org (Postfix) with ESMTP id 851B918B0E for ; Tue, 27 Jan 2004 08:21:29 -0500 (EST) Received: by av1-2-sn1.fre.skanova.net (Postfix, from userid 502) id AA00C37E55; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Received: from smtp3-2-sn1.fre.skanova.net (smtp3-2-sn1.fre.skanova.net [81.228.11.164]) by av1-2-sn1.fre.skanova.net (Postfix) with ESMTP id 9DC4F37E42 for ; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Received: from telia.com (h89n2fls303o885.telia.com [81.227.153.89]) by smtp3-2-sn1.fre.skanova.net (Postfix) with ESMTP id 86E8937E42 for ; Tue, 27 Jan 2004 14:21:26 +0100 (CET) Message-ID: <401665D6.90007@telia.com> Date: Tue, 27 Jan 2004 14:21:26 +0100 From: Alexander Bussman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031115 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::Window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I wonder if it's a way to lock the application until a newly created window is closed. I need to do that because I want to grab a string from that window (that the user writes). something like this I mean: ... mywindow.show(); wait_until_mywindow_is_closed(); std::string data = mywindow.getData(); ... I can't figure out a good way to do this.... anyone? // Alexander Bussman From matthew@alledora.co.uk Tue Jan 27 08:31:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from nietze.cachelogic.com (unknown [212.44.43.80]) by mail.gnome.org (Postfix) with ESMTP id 575E018AC5 for ; Tue, 27 Jan 2004 08:31:08 -0500 (EST) Received: from amavis by nietze.cachelogic.com with scanned-ok (Exim 4.30) id 1AlTFN-0003JM-Rz for gtkmm-list@gnome.org; Tue, 27 Jan 2004 13:27:17 +0000 Received: from dhcp3.saviso.com ([192.168.0.213] helo=alledora.co.uk) by nietze.cachelogic.com with esmtp (Exim 4.30) id 1AlTFM-0003J8-OW; Tue, 27 Jan 2004 13:27:16 +0000 Message-ID: <40166861.4030505@alledora.co.uk> Date: Tue, 27 Jan 2004 13:32:17 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Bussman Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window References: <401665D6.90007@telia.com> In-Reply-To: <401665D6.90007@telia.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Alexander Bussman wrote: > Hi! > I wonder if it's a way to lock the application until a newly created > window is closed. > I need to do that because I want to grab a string from that window (that > the user writes). > > something like this I mean: > ... > mywindow.show(); > wait_until_mywindow_is_closed(); > std::string data = mywindow.getData(); > ... > > I can't figure out a good way to do this.... anyone? Try show_modal() From nxg@saratov.pvrr.ru Tue Jan 27 09:58:39 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from access.pvrr.ru (access.pvrr.ru [217.23.88.43]) by mail.gnome.org (Postfix) with ESMTP id 53BCA18398 for ; Tue, 27 Jan 2004 09:58:38 -0500 (EST) Received: from mail.pvrr.mps (mail.pvrr.mps [10.61.5.11]) by access.pvrr.ru (8.12.10/8.12.10) with ESMTP id i0REw3Bo089765 for ; Tue, 27 Jan 2004 17:58:37 +0300 (MSK) Received: from mail.pvrr.mps (root@localhost) by mail.pvrr.mps (8.12.9/8.12.8) with SMTP id i0REvIuF043000 for ; Tue, 27 Jan 2004 17:57:19 +0300 (MSK) Received: from ns.nxg.pvrr.mps (ns.nxg.pvrr.mps [10.61.19.129]) by mail.pvrr.mps (8.12.9/8.12.8) with ESMTP id i0REoqY9040277; Tue, 27 Jan 2004 17:51:07 +0300 (MSK) Received: from saratov.pvrr.mps (mx.nxg.pvrr.mps [10.61.19.139]) by ns.nxg.pvrr.mps (8.12.8/8.12.8) with ESMTP id i0RBcKJS001894; Tue, 27 Jan 2004 14:38:20 +0300 Message-ID: <40164A96.4080508@saratov.pvrr.mps> Date: Tue, 27 Jan 2004 14:25:10 +0300 From: Sergey Mihailov Reply-To: igorbounov@voronezh.serw.ru User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: gtk-list@gnome.org, gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Setting colour of a window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, All! I'v trying to change the background color of a GtkWindow in this way: this->get_window()->set_background(Gdk::Color("maroon")); this->get_window()->clear(); However, it is still gray . Where am I wrong? Igor Gorbounov From timf@trdlnk.com Tue Jan 27 12:30:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from trdlnk.com (postman.trdlnk.com [208.252.163.7]) by mail.gnome.org (Postfix) with ESMTP id 2EDA318AA6 for ; Tue, 27 Jan 2004 12:30:22 -0500 (EST) Received: from trdlnk.com (troll [10.10.2.12]) by trdlnk.com (8.12.9+Sun/8.12.9) with ESMTP id i0RHULM7027144 for ; Tue, 27 Jan 2004 11:30:21 -0600 (CST) Message-ID: <4016A02D.10100@trdlnk.com> Date: Tue, 27 Jan 2004 11:30:21 -0600 From: Tim Flechtner Reply-To: timf@trdlnk.com User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.5) Gecko/20031020 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org References: <258B0164D480D5118D900800062B385801A057B6@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801A057B6@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Reducing the rows / columns of a Gtk::Table Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: i am trying to figure out the correct way to remove rows and columns from a Gtk::Table. this doesn't work: #include #include #include using namespace Gtk; using namespace std; int main(int argc, char** argv) { // The gtk context (event loop et al) in which this example will run. Main kit(argc, argv); Window w; Button *b1 = manage(new Button("One")); Button *b2 = manage(new Button("Two")); Table t; t.resize(1, 2); // works t.attach(*b1, 0, 1, 0, 1); t.attach(*b2, 1, 2, 0, 1); t.resize(1,1); // doesn't work w.add(t); w.show_all(); kit.run(); } this works: #include #include #include using namespace Gtk; using namespace std; int main(int argc, char** argv) { // The gtk context (event loop et al) in which this example will run. Main kit(argc, argv); Window w; Button *b1 = new Button("One"); Button *b2 = new Button("Two"); Table t; t.resize(1, 2); // works t.attach(*b1, 0, 1, 0, 1); t.attach(*b2, 1, 2, 0, 1); delete b2; // necessary to make resize work t.resize(1,1); // works now w.add(t); w.show_all(); kit.run(); } i suspect though, that this is not the intended way to use the table. i would certainly prefer to let manage work its wonders, and not worry about the memory for the widgets i attach in the table? is there a way to both use manage and be able to remove rows and columns from the table? thanks! -tim From B.Touron@citb.bull.net Tue Jan 27 13:21:24 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 6C6C518E56 for ; Tue, 27 Jan 2004 13:21:22 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0RILJ413039 for ; Tue, 27 Jan 2004 19:21:19 +0100 Message-ID: <4016AC52.7060902@citb.bull.net> Date: Tue, 27 Jan 2004 19:22:10 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Button question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello there ! I need to create a button containing an stock image (built in GTK), like Gtk::Stock::CANCEL. If I pass Gtk::Stock::CANCEL to the button's constructor, then the button contains the image AND the text (cancel). How can I avoid the button to display the text ? Thanks Ben From billyoc@gnuyork.org Tue Jan 27 14:16:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id DA4C118302 for ; Tue, 27 Jan 2004 14:16:21 -0500 (EST) Received: by gnuyork.org via sendmail from stdin id (Debian Smail3.2.0.115) Tue, 27 Jan 2004 14:13:01 -0500 (EST) To: =?iso-8859-1?q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Button question References: <4016AC52.7060902@citb.bull.net> From: Billy O'Connor Date: Tue, 27 Jan 2004 14:13:01 -0500 In-Reply-To: <4016AC52.7060902@citb.bull.net> =?iso-8859-1?q?=28Beno=EEt?= Touron's message of "Tue, 27 Jan 2004 19:22:10 +0100") Message-ID: <87llntgq82.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Beno=EEt Touron writes: > Hello there ! > > I need to create a button containing an stock image (built in GTK), > like Gtk::Stock::CANCEL. > If I pass Gtk::Stock::CANCEL to the button's constructor, then the > button contains the image AND the text (cancel). > How can I avoid the button to display the text ? > Use the Gtk::Button::add_pixlabel() member function to set the pixmap and optional text you want(or don't) displayed. See the example program: gtkmm/examples/book/buttons/button From chris@cvine.freeserve.co.uk Tue Jan 27 17:30:22 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from cmailm2.svr.pol.co.uk (cmailm2.svr.pol.co.uk [195.92.193.210]) by mail.gnome.org (Postfix) with ESMTP id E85A818549 for ; Tue, 27 Jan 2004 17:30:21 -0500 (EST) Received: from modem-2358.putangitangi.dialup.pol.co.uk ([81.78.201.54] helo=boulder.localdomain) by cmailm2.svr.pol.co.uk with esmtp (Exim 4.14) id 1Albit-0005xd-UO; Tue, 27 Jan 2004 22:30:20 +0000 Received: from localhost (IDENT:1000@localhost [127.0.0.1]) by boulder.localdomain (8.12.10/8.12.10) with ESMTP id i0RMQ2SR001333; Tue, 27 Jan 2004 22:26:02 GMT From: Chris Vine To: Alexander Bussman , gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window Date: Tue, 27 Jan 2004 22:26:01 +0000 User-Agent: KMail/1.5.4 References: <401665D6.90007@telia.com> In-Reply-To: <401665D6.90007@telia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401272226.01882.chris@cvine.freeserve.co.uk> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tuesday 27 January 2004 1:21 pm, Alexander Bussman wrote: > Hi! > I wonder if it's a way to lock the application until a newly created > window is closed. > I need to do that because I want to grab a string from that window (that > the user writes). > > something like this I mean: > ... > mywindow.show(); > wait_until_mywindow_is_closed(); > std::string data = mywindow.getData(); > ... In the constructor of the new window put something like this (where 'parent' is a reference to the application window): set_transient_for(parent); parent.set_sensitive(false); set_modal(true); Chris. From buxman@telia.com Tue Jan 27 18:13:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from av7-2-sn4.m-sp.skanova.net (av7-2-sn4.m-sp.skanova.net [81.228.10.109]) by mail.gnome.org (Postfix) with ESMTP id 099D51826D for ; Tue, 27 Jan 2004 18:13:02 -0500 (EST) Received: by av7-2-sn4.m-sp.skanova.net (Postfix, from userid 502) id 783B237E43; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Received: from smtp2-1-sn4.m-sp.skanova.net (smtp2-1-sn4.m-sp.skanova.net [81.228.10.183]) by av7-2-sn4.m-sp.skanova.net (Postfix) with ESMTP id 69B5537E43 for ; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Received: from telia.com (h89n2fls303o885.telia.com [81.227.153.89]) by smtp2-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 298EB37E4D; Wed, 28 Jan 2004 00:13:01 +0100 (CET) Message-ID: <4016F07C.7000304@telia.com> Date: Wed, 28 Jan 2004 00:13:00 +0100 From: Alexander Bussman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031115 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Vine Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::Window References: <401665D6.90007@telia.com> <200401272226.01882.chris@cvine.freeserve.co.uk> In-Reply-To: <200401272226.01882.chris@cvine.freeserve.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Chris Vine wrote: >In the constructor of the new window put something like this (where 'parent' >is a reference to the application window): > > set_transient_for(parent); > parent.set_sensitive(false); > set_modal(true); > >Chris. > > Thanks! I got it to work the way I wanted now. // Alexander Bussman From B.Touron@citb.bull.net Wed Jan 28 02:33:43 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 29D4018AE2 for ; Wed, 28 Jan 2004 02:33:41 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0S7Xe431524 for ; Wed, 28 Jan 2004 08:33:40 +0100 Message-ID: <401765FD.1060107@citb.bull.net> Date: Wed, 28 Jan 2004 08:34:21 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Re: Button question Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >Hello there ! >> >> I need to create a button containing an stock image (built in GTK), >> like Gtk::Stock::CANCEL. >> If I pass Gtk::Stock::CANCEL to the button's constructor, then the >> button contains the image AND the text (cancel). >> How can I avoid the button to display the text ? >> Use the Gtk::Button::add_pixlabel() member function to set the pixmap and optional text you want(or don't) displayed. See the example program: gtkmm/examples/book/buttons/button ---- Thanks Billy for your quick answer. Unfortunatly, this was not exactly what I needed. The add_pixlabel requires an external file (.xpm). I finally created a Gtk::Image containing the stock icon, and added it to the button. Thanks a lot anyway, and keep answering :-) Ben From Murray.Cumming@Comneon.com Wed Jan 28 03:12:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 0DA711852B; Wed, 28 Jan 2004 03:12:56 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0S88aDb026350; Wed, 28 Jan 2004 09:08:37 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 09:13:18 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22E47@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: igorbounov@voronezh.serw.ru, gtk-list@gnome.org, gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 09:12:51 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] RE: Setting colour of a window Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > this->get_window()->set_background(Gdk::Color("maroon")); > this->get_window()->clear(); > > However, it is still gray . > Where am I wrong? I doubt that "maroon" is a supported color string, but I don't know what strings are supported. Murray Cumming www.murrayc.com murrayc@usa.net From morten@stud326.idi.ntnu.no Wed Jan 28 05:06:10 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ray.idi.ntnu.no (ray.idi.ntnu.no [129.241.107.68]) by mail.gnome.org (Postfix) with ESMTP id 5142918C0C for ; Wed, 28 Jan 2004 05:06:10 -0500 (EST) Received: from stud326.idi.ntnu.no (stud326.idi.ntnu.no [129.241.103.26]) by ray.idi.ntnu.no (8.12.10/8.12.10) with ESMTP id i0SA67Dw014618 for ; Wed, 28 Jan 2004 11:06:07 +0100 (MET) Received: (from morten@localhost) by stud326.idi.ntnu.no (8.12.10/8.12.10/Submit) id i0SA67Or011320 for gtkmm-list@gnome.org; Wed, 28 Jan 2004 11:06:07 +0100 (CET) (envelope-from morten) Date: Wed, 28 Jan 2004 11:06:07 +0100 From: Morten Rodal To: gtkmm-list@gnome.org Message-ID: <20040128100606.GA11138@stud326.idi.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, hits=-5.9 required=4 X-Virus-Scanned: by amavisd-new-IDI Subject: [gtkmm] Compiling programs with Intel C++ Compiler and gtkmm-2.2.8 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: When compiling a program with the Intel C++ Compiler (icc-8.0.058) on FreeBSD 5.2-CURRENT I get the following error: /usr/X11R6/include/gtkmm-2.0/gtkmm/enums.h(1321): error: qualified name is not allowed in namespace member declaration class Glib::Value : public Glib::Value_Enum The fix is simply: --- /tmp/enums.h.orig Wed Jan 28 11:03:16 2004 +++ /usr/X11R6/include/gtkmm-2.0/gtkmm/enums.h Wed Jan 28 11:03:25 2004 @@ -1318,7 +1318,7 @@ { template <> -class Glib::Value : public Glib::Value_Enum +class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; -- Morten Rodal From Murray.Cumming@Comneon.com Wed Jan 28 06:27:33 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id BE0D5181E5 for ; Wed, 28 Jan 2004 06:27:32 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0SBNEDb005700 for ; Wed, 28 Jan 2004 12:23:14 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 12:27:56 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 12:27:30 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [gtkmm] gtkmm 2.3.2 build problems Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is anybody else having a problem building 2.3.2?: http://bugzilla.gnome.org/show_bug.cgi?id=132362 Murray Cumming www.murrayc.com murrayc@usa.net From pavenis@latnet.lv Wed Jan 28 09:46:21 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from geomets2.hut.fi (geomets2.hut.fi [130.233.244.100]) by mail.gnome.org (Postfix) with ESMTP id 28C3918AC3 for ; Wed, 28 Jan 2004 09:46:20 -0500 (EST) Received: from geomets2.hut.fi (IDENT:1000@geomets2.hut.fi [130.233.244.100]) by geomets2.hut.fi (8.12.10/8.12.6) with ESMTP id i0SEl7PP011324; Wed, 28 Jan 2004 16:47:08 +0200 From: Andris Pavenis To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems Date: Wed, 28 Jan 2004 16:47:06 +0200 User-Agent: KMail/1.6 Cc: Murray.Cumming@Comneon.com References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200401281647.07301.pavenis@latnet.lv> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wednesday 28 January 2004 13:27, Murray.Cumming@Comneon.com wrote: > Is anybody else having a problem building 2.3.2?: > http://bugzilla.gnome.org/show_bug.cgi?id=132362 At least not I. gtkmm-2.3.2 built without problems for me. I used glib-2.3.2 glibmm-2.3.3 gtk-2.3.2 atk-1.5.2 pango-1.3.2 gcc-3.3.2 glibc-2.3.2 Distribution: Slackware-current Andris From pjmlp@progtools.org Wed Jan 28 10:44:00 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id 6FB0E18437 for ; Wed, 28 Jan 2004 10:43:58 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0SFhrEh026554 for ; Wed, 28 Jan 2004 16:43:54 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <4017D8B9.5020604@progtools.org> Date: Wed, 28 Jan 2004 16:43:53 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Problems checking out some packages from CVS Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I've just checked out gnomemm from CVS using the gnome-2-4 tag. I was able to build almost everything besides the following packages: - gnomemm_hello - gtkmm_hello - libgnomeuimm - libpanelappletmm The first two don't accept the automake/autoconf versions that every other package accepts. And for the last two, that are the ones that really matter, I just get a couple of empty directories. Did I do something wrong? -- Paulo Pinto From Murray.Cumming@Comneon.com Wed Jan 28 11:15:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 2CFDB18683 for ; Wed, 28 Jan 2004 11:15:29 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0SGB8Db015937; Wed, 28 Jan 2004 17:11:08 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 17:15:51 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EB5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pjmlp@progtools.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Problems checking out some packages from CVS Date: Wed, 28 Jan 2004 17:15:22 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > - gnomemm_hello > - gtkmm_hello I have not branched these. HEAD should work with gtkmm 2.2. > - libgnomeuimm > - libpanelappletmm > > The first two don't accept the automake/autoconf > versions that every other package accepts. Are you using autogen.sh. Please give details in a bug report. > And for the last two, that are the ones that really > matter, I just get a couple of empty directories. Please try again. Here are the branch names: http://www.gtkmm.org/cvs.shtml Murray Cumming www.murrayc.com murrayc@usa.net From billyoc@gnuyork.org Wed Jan 28 11:21:25 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from dps11.gnuyork.org (66-65-21-18.nyc.rr.com [66.65.21.18]) by mail.gnome.org (Postfix) with ESMTP id 4D32A183A6 for ; Wed, 28 Jan 2004 11:21:25 -0500 (EST) Received: by gnuyork.org via sendmail from stdin id (Debian Smail3.2.0.115) Wed, 28 Jan 2004 11:18:05 -0500 (EST) To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> From: Billy O'Connor Date: Wed, 28 Jan 2004 11:18:05 -0500 In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> (Murray Cumming's message of "Wed, 28 Jan 2004 12:27:30 +0100") Message-ID: <87d694caiq.fsf@dps11.gnuyork.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com writes: > Is anybody else having a problem building 2.3.2?: > http://bugzilla.gnome.org/show_bug.cgi?id=132362 > I couldn't reproduce this with Debian Sid. Billy From vlad@integ.com Wed Jan 28 11:45:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from blaise.integ.local (mail2.integ.com [207.32.114.40]) by mail.gnome.org (Postfix) with ESMTP id CD5CE18639 for ; Wed, 28 Jan 2004 11:45:40 -0500 (EST) Received: from vgrinche-nt.integ.com [172.16.1.173] by blaise.integ.local with XWall v3.27 ; Wed, 28 Jan 2004 11:45:31 -0500 Received: from vgrinche-nt.integ.local (localhost [127.0.0.1]) by vgrinche-nt.integ.local (8.12.8/8.12.5) with ESMTP id i0SGjVEn002103; Wed, 28 Jan 2004 11:45:31 -0500 Received: (from vlad@localhost) by vgrinche-nt.integ.local (8.12.8/8.12.5/Submit) id i0SGjUBR002101; Wed, 28 Jan 2004 11:45:30 -0500 Date: Wed, 28 Jan 2004 11:45:30 -0500 From: Vladislav Grinchenko To: "Andreas B. Thun" Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] how to set appended Notebook page active? Message-ID: <20040128164530.GA1580@vgrinche-nt.integ.com> References: <40162D19.7030707@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <40162D19.7030707@gmx.de> User-Agent: Mutt/1.4.1i Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Tue, Jan 27, 2004 at 10:19:21AM +0100, Andreas B. Thun wrote: > Hi! > > When I append a second VBox to my notebook with > m_Notebook.append_page(*VBoxRight, notebookTabName); > > the first notebook page is still displayed active. > > I´ve tried > m_Notebook.set_current_page(1); // activate 2nd > but it has no effect. > > Can somebody help? Andi, have you tried m_Notebook.set_current_page(*VBoxRight) ? -Vlad -- ______________________________________________________ Vladislav Grinchenko e-mail (w): vgrinche@integ.com Software Engineer (h): 3rdshift@comcast.net Integral Systems, Inc. Focus on quality, and productivity will follow. ______________________________________________________ From abhatnag@mda.ca Wed Jan 28 13:37:55 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mdahub.mda.ca (mdahub.mda.ca [142.73.130.152]) by mail.gnome.org (Postfix) with ESMTP id 564201826A for ; Wed, 28 Jan 2004 13:37:54 -0500 (EST) Received: from MSXYVR0.mda.ca (msxyvr0 [142.73.131.32]) by mdahub.mda.ca (8.11.4/8.11.4) with ESMTP id i0SIbpW12809 for ; Wed, 28 Jan 2004 10:37:52 -0800 (PST) Received: by msxyvr0.mda.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 28 Jan 2004 10:37:51 -0800 Message-ID: <76596DCD4C61EF4982AFF5EB01F1A2694284DE@msxyvr5.mda.ca> From: Amit BHATNAGAR To: gtkmm-list@gnome.org Date: Wed, 28 Jan 2004 10:37:50 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: [gtkmm] Symbology and annotations "on top" of my images. Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all. I plan on using a drawing area widget to display images where the user may want to place some symbology and textual annotations at various locations on the image. I am wondering how GTK / GdkPixbuf will facilitate this. Ideally, I would like to treat the symbology and text annotations as "layers" where the user would be able to toggle on and off the display of the symbology/annotations, and possibly drag them to different positions. Does GTK / GdkPixbuf allow me to do something like this? If not, what would be an approach to take? thanks again. amit. From moses@gcecisp.com Wed Jan 28 15:51:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gcecisp.com (mail.gcecisp.com [208.14.31.3]) by mail.gnome.org (Postfix) with SMTP id 1402118D79 for ; Wed, 28 Jan 2004 15:51:52 -0500 (EST) Received: (qmail 9064 invoked from network); 28 Jan 2004 20:56:47 -0000 Received: from unknown (HELO gcecisp.com) (208.14.26.121) by mail.gcecisp.com with SMTP; 28 Jan 2004 20:56:47 -0000 Message-ID: <4018227C.2080704@gcecisp.com> Date: Wed, 28 Jan 2004 14:58:36 -0600 From: Moses McKnight User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 X-Accept-Language: en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Notebook tab scrolling Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, Is there a way to scroll just the tabs in a notebook instead of switching between pages? Moses From murrayc@murrayc.com Wed Jan 28 16:54:45 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from jareth.dreamhost.com (jareth.dreamhost.com [66.33.198.201]) by mail.gnome.org (Postfix) with ESMTP id 83E4C18BBC for ; Wed, 28 Jan 2004 16:54:45 -0500 (EST) Received: from localhost.localdomain (unknown [80.121.222.26]) by jareth.dreamhost.com (Postfix) with ESMTP id B45476B60F; Wed, 28 Jan 2004 13:54:43 -0800 (PST) Subject: Re: [gtkmm] Notebook tab scrolling From: Murray Cumming To: Moses McKnight Cc: gtkmm-list In-Reply-To: <4018227C.2080704@gcecisp.com> References: <4018227C.2080704@gcecisp.com> Content-Type: text/plain Message-Id: <1075326702.13200.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 28 Jan 2004 22:51:43 +0100 Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > Hi, > > Is there a way to scroll just the tabs in a notebook instead of switching > between pages? I'm not sure what you mean. Murray From ghenriks@rogers.com Wed Jan 28 21:37:41 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep03-mail.bloor.is.net.cable.rogers.com (fep03-mail.bloor.is.net.cable.rogers.com [66.185.86.73]) by mail.gnome.org (Postfix) with ESMTP id 8CACA1813C for ; Wed, 28 Jan 2004 21:37:41 -0500 (EST) Received: from CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com ([24.42.0.4]) by fep03-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040129023412.FQKB146807.fep03-mail.bloor.is.net.cable.rogers.com@CPE00a0cc51b5c5-CM.cpe.net.cable.rogers.com>; Wed, 28 Jan 2004 21:34:12 -0500 From: Gerald Henriksen To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems Date: Wed, 28 Jan 2004 21:34:24 -0500 Message-ID: References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep03-mail.bloor.is.net.cable.rogers.com from [24.42.0.4] using ID at Wed, 28 Jan 2004 21:34:12 -0500 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Wed, 28 Jan 2004 12:27:30 +0100, you wrote: >Is anybody else having a problem building 2.3.2?: >http://bugzilla.gnome.org/show_bug.cgi?id=3D132362 No problems with Fedora Devel. From moses@gcecisp.com Wed Jan 28 22:31:47 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gcecisp.com (mail.gcecisp.com [208.14.31.3]) by mail.gnome.org (Postfix) with SMTP id E44B018BB6 for ; Wed, 28 Jan 2004 22:31:46 -0500 (EST) Received: (qmail 23848 invoked from network); 29 Jan 2004 03:36:45 -0000 Received: from unknown (HELO gcecisp.com) (208.14.26.121) by mail.gcecisp.com with SMTP; 29 Jan 2004 03:36:45 -0000 Message-ID: <40188042.5060106@gcecisp.com> Date: Wed, 28 Jan 2004 21:38:42 -0600 From: Moses McKnight User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 X-Accept-Language: en MIME-Version: 1.0 To: Murray Cumming Cc: gtkmm-list Subject: Re: [gtkmm] Notebook tab scrolling References: <4018227C.2080704@gcecisp.com> <1075326702.13200.2.camel@localhost.localdomain> In-Reply-To: <1075326702.13200.2.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: If you set_scrollable(true) it shows arrows to scroll the tabs if there are too many to fit in the area. When you scroll the tabs it actually switches pages as you scroll through the tabs. In MS Windows when you scroll tabs it just scrolls the tabs and then you click on the highlighted tab if you want to switch to that page. Murray Cumming wrote: > On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > >>Hi, >> >>Is there a way to scroll just the tabs in a notebook instead of switching >>between pages? > > > I'm not sure what you mean. > > Murray > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > From Erik@mail.echohome.org Wed Jan 28 23:02:19 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from server.echohome.org (s233-64-29-217.try.wideopenwest.com [64.233.217.29]) by mail.gnome.org (Postfix) with ESMTP id A62EA1816E for ; Wed, 28 Jan 2004 23:02:18 -0500 (EST) Received: from echo (echo.echohome.org [192.168.2.254]) by server.echohome.org (8.12.8/8.12.8) with ESMTP id i0T42Gxb014846 for ; Wed, 28 Jan 2004 23:02:17 -0500 Reply-To: From: "Erik Ch. Ohrnberger" To: "'gtkmm-list'" Subject: RE: [gtkmm] Notebook tab scrolling Date: Wed, 28 Jan 2004 23:02:16 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <40188042.5060106@gcecisp.com> Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Speaking of arrows to scroll through notebook pages, is there a way to make the arrows larger than what they are by default? I'm building a touch screen application and those arrows are too small for fingers. Thanks, Erik. > -----Original Message----- > From: gtkmm-list-admin@gnome.org > [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Moses McKnight > Sent: Wednesday, January 28, 2004 10:39 PM > To: Murray Cumming > Cc: gtkmm-list > Subject: Re: [gtkmm] Notebook tab scrolling > > > If you set_scrollable(true) it shows arrows to scroll the > tabs if there are too > many to fit in the area. When you scroll the tabs it > actually switches pages as > you scroll through the tabs. In MS Windows when you scroll > tabs it just scrolls > the tabs and then you click on the highlighted tab if you > want to switch to that > page. > > Murray Cumming wrote: > > On Wed, 2004-01-28 at 21:58, Moses McKnight wrote: > > > >>Hi, > >> > >>Is there a way to scroll just the tabs in a notebook instead of > >>switching > >>between pages? > > > > > > I'm not sure what you mean. > > > > Murray > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-> list > > > > > > _______________________________________________ > > gtkmm-list mailing list > gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list > From ramachandrap@dpsl.net Wed Jan 28 23:37:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by mail.gnome.org (Postfix) with ESMTP id A6E64180F7 for ; Wed, 28 Jan 2004 23:37:03 -0500 (EST) Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:19:31 +0530 Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id DMBQJXX4; Thu, 29 Jan 2004 10:19:22 +0530 Received: FROM comp448 BY khyber.enigma ; Thu Jan 29 10:19:20 2004 +0500 From: Ramachandra Putti To: gtkmm-list@gnome.org Cc: Vijay D , Nilesh S , Pramod S , Manjit D , Subramaniam R , Nishikant K , Girish P , Manoj K Message-ID: <002f01c3e622$4eec6e60$5f0210ac@enigma> Date: Thu, 29 Jan 2004 10:12:32 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01C3E650.6899FC00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [gtkmm] Key press events not captured for some keys Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_002C_01C3E650.6899FC00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I have developed a gtkmm application under Redhat Linux 7.3, gcc 2.96=20 and gtkmm 2.0, that shows a simple window.I am trying to obtain key press=20 events on the window. I am using "on_key_press(GdkEvent *key)" method to get the values of = key pressed, what i found was that for keys like "Enter", "Space Bar" and all=20 arrow keys, no event key_press is generated. I wrote on_key_release_event(GdkEvent *key), the same keys "Enter",=20 "Space bar" and all arrow keys. It generates the release event only. i.e. no key=20 press event is generated, but the release event is fired. I also noticed that for system reserved keys in KDE, like ALT-F1 for = Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the = system executes them for its use before I can capture it. So my query is, 1. What is the code for capturing key press events ? 2. How to catch the system reserved keys before their execution by the system ? Below is Code snippet for you to try out what I have stated above, Any help would be great appreciated, Regards, Ramachandra #include #include #include #include #include class CWindow: public Gtk::Window { public: CWindow(); ~CWindow(); bool on_window1_key_press_event(GdkEventKey *Key); bool on_window1_key_release_event(GdkEventKey *Key); }; CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) { Gtk::Window *window1 =3D this; window1->set_title("window1"); window1->set_modal(false); window1->set_position(Gtk::WIN_POS_NONE); window1->show(); window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_= window1_key_press_event)); window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::o= n_window1_key_release_event)); } CWindow::~CWindow() { } bool CWindow::on_window1_key_press_event(GdkEventKey *Key) { printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); return true; } bool CWindow::on_window1_key_release_event(GdkEventKey *Key) { printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); return true; } int main(int argc, char **argv) { Gtk::Main m(argc, argv); CWindow *ptrWindow =3D new class CWindow(); m.run(*ptrWindow); delete ptrWindow; ptrWindow =3D 0; return 0; } ------=_NextPart_000_002C_01C3E650.6899FC00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,

I have developed a gtkmm application under Redhat Linux = 7.3, gcc=20 2.96
and gtkmm 2.0, that shows a simple window.I am trying to = obtain key=20 press
events on the window.

I am using = "on_key_press(GdkEvent=20 *key)" method to get the values of key
pressed, what i found was = that for=20 keys like "Enter", "Space Bar" and  all
arrow keys, no event = key_press=20 is generated.

I wrote on_key_release_event(GdkEvent *key), the = same keys=20 "Enter",
"Space bar" and  all arrow keys. It  = generates the=20 release event only. i.e. no key
press event is generated, but the = release=20 event is fired.

I also noticed that for system reserved = keys in=20 KDE, like ALT-F1 for Run command, CTRL-f2 is for desktop 2,=20 when I pressed these keys, the system executes them for its use = before I=20 can capture it.

So my query=20 is,
1. What is the code for capturing key = press events=20 ?
2. How to catch=20 the system reserved keys before their execution by the system = ?

Below is=20 Code snippet for you to try out what I have stated=20 above,
Any help would=20 be great appreciated,
Regards,
Ramachandra



#include <stdio.h>
#include=20 <gdkmm/gc.h>
#include <gdk/gdkkeysyms.h>
#include=20 <gtkmm/window.h>
#include <gtkmm/main.h>
class = CWindow: public=20 Gtk::Window
{

  = public:
CWindow();
~CWindow();

bool=20 on_window1_key_press_event(GdkEventKey *Key);
bool=20 on_window1_key_release_event(GdkEventKey = *Key);
};

CWindow::CWindow():=20 Gtk::Window(Gtk::WINDOW_TOPLEVEL)
{
Gtk::Window *window1 =3D=20 this;
   window1->set_title("window1");
   = window1->set_modal(false);
  =20 window1->set_position(Gtk::WIN_POS_NONE);
  =20 window1->show();

window1->signal_key_press_event().connect(= SigC::slot(*this,&CWindow::on_window1_key_press_event));

wind= ow1->signal_key_release_event().connect(SigC::slot(*this,&CWindow= ::on_window1_key_release_event));
}
CWindow::~CWindow()
{
}<= BR>bool=20 CWindow::on_window1_key_press_event(GdkEventKey = *Key)
{
printf("\n Key=20 Presssed is %s\n",gdk_keyval_name(Key->keyval));
return=20 true;
}

bool = CWindow::on_window1_key_release_event(GdkEventKey=20 *Key)
{
printf("\n Key Released is %s=20 \n",gdk_keyval_name(Key->keyval));
return = true;
}


int=20 main(int argc, char **argv)
{

    Gtk::Main = m(argc,=20 argv);
CWindow *ptrWindow =3D new class=20 CWindow();
m.run(*ptrWindow);
delete ptrWindow;
ptrWindow =3D=20 0;
return=20 0;
}









------=_NextPart_000_002C_01C3E650.6899FC00-- From alberto@paro.homeunix.org Thu Jan 29 02:25:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from fep05-svc.flexmail.it (fep05.tuttopmi.it [212.131.248.83]) by mail.gnome.org (Postfix) with ESMTP id 6470A18E54 for ; Thu, 29 Jan 2004 02:25:06 -0500 (EST) Received: from paro.homeunix.org ([82.88.53.142]) by fep05-svc.flexmail.it with ESMTP id <20040129072502.RRUT3949.fep05-svc.flexmail.it@paro.homeunix.org> for ; Thu, 29 Jan 2004 08:25:02 +0100 Message-ID: <4018B63F.70208@paro.homeunix.org> Date: Thu, 29 Jan 2004 08:29:03 +0100 From: Alberto Paro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040109 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] gtkmm 2.3.2 build problems References: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22E70@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >Is anybody else having a problem building 2.3.2?: >http://bugzilla.gnome.org/show_bug.cgi?id=132362 > > No problem with gentoo linux (arch=~x86) Alberto Paro From B.Touron@citb.bull.net Thu Jan 29 03:07:37 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 40DDE18C50 for ; Thu, 29 Jan 2004 03:07:36 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0T87Z408565 for ; Thu, 29 Jan 2004 09:07:35 +0100 Message-ID: <4018BF62.2040307@citb.bull.net> Date: Thu, 29 Jan 2004 09:08:02 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::ScrolledWindow add/remove problem Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello again, I am writing an app using a pane window. In the left side, there is a tree and in the right part a Gtk::ScrolledWindow. When the tree selection changes, I need to change the widget contained in the ScrolledWindow. To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). It works a couple of times (usually 3), then it crashes (access violation), in the add mathod. I am using gtkmm 2.2 under win32, built with VS.NET 2003. Is it an issue ? I probably could do it a different way, but I would like to know if it is a GTK's bug, or a developper's bug. Thanks Ben From find_all@hotmail.com Thu Jan 29 04:18:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from hotmail.com (sea2-f40.sea2.hotmail.com [207.68.165.40]) by mail.gnome.org (Postfix) with ESMTP id 46E8A183B2 for ; Thu, 29 Jan 2004 04:18:31 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 29 Jan 2004 01:18:30 -0800 Received: from 80.58.42.107 by sea2fd.sea2.hotmail.msn.com with HTTP; Thu, 29 Jan 2004 09:18:30 GMT X-Originating-IP: [80.58.42.107] X-Originating-Email: [find_all@hotmail.com] X-Sender: find_all@hotmail.com From: "Find All" To: gtkmm-list@gnome.org Date: Thu, 29 Jan 2004 09:18:30 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 29 Jan 2004 09:18:30.0524 (UTC) FILETIME=[DC572BC0:01C3E648] Subject: [gtkmm] Draw lines into a Gdk::Pixbuf Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is there a way to draw lines,rectangles... directly to a Gdk::Pixbuf in the same way as the functions draw_line,draw_rectangle... of Gdk::Drawable? _________________________________________________________________ Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/ From Murray.Cumming@Comneon.com Thu Jan 29 04:26:48 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id CEE2118F70 for ; Thu, 29 Jan 2004 04:26:36 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9LxDb006804; Thu, 29 Jan 2004 10:22:02 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:26:42 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EDB@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ramachandrap@dpsl.net, gtkmm-list@gnome.org Cc: vijayd@enigma.gnome.org, sonawanen@enigma.gnome.org, pramods@enigma.gnome.org, manjitd@enigma.gnome.org, subramanianr@enigma.gnome.org, nishikantk@enigma.gnome.org, girishp@enigma.gnome.org, manojk@enigma.gnome.org Subject: RE: [gtkmm] Key press events not captured for some keys Date: Thu, 29 Jan 2004 10:26:14 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: You might try using connect_notify() instead of connect(), to handle the signal before anything else does. That's the gtkmm equivalent of connect_before for GTK+. Here is a similar problem: http://bugzilla.gnome.org/show_bug.cgi?id=125969 I don't think that you can ever handle the key event before the window manager does. Please send emails as text rather than HTML. Murray Cumming www.murrayc.com murrayc@usa.net -----Original Message----- From: gtkmm-list-admin@gnome.org [mailto:gtkmm-list-admin@gnome.org] On Behalf Of Ramachandra Putti Sent: Donnerstag, 29. Januar 2004 05:43 To: gtkmm-list@gnome.org Cc: Vijay D; Nilesh S; Pramod S; Manjit D; Subramaniam R; Nishikant K; Girish P; Manoj K Subject: [gtkmm] Key press events not captured for some keys Hi all, I have developed a gtkmm application under Redhat Linux 7.3, gcc 2.96 and gtkmm 2.0, that shows a simple window.I am trying to obtain key press events on the window. I am using "on_key_press(GdkEvent *key)" method to get the values of key pressed, what i found was that for keys like "Enter", "Space Bar" and all arrow keys, no event key_press is generated. I wrote on_key_release_event(GdkEvent *key), the same keys "Enter", "Space bar" and all arrow keys. It generates the release event only. i.e. no key press event is generated, but the release event is fired. I also noticed that for system reserved keys in KDE, like ALT-F1 for Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the system executes them for its use before I can capture it. So my query is, 1. What is the code for capturing key press events ? 2. How to catch the system reserved keys before their execution by the system ? Below is Code snippet for you to try out what I have stated above, Any help would be great appreciated, Regards, Ramachandra #include #include #include #include #include class CWindow: public Gtk::Window { public: CWindow(); ~CWindow(); bool on_window1_key_press_event(GdkEventKey *Key); bool on_window1_key_release_event(GdkEventKey *Key); }; CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) { Gtk::Window *window1 = this; window1->set_title("window1"); window1->set_modal(false); window1->set_position(Gtk::WIN_POS_NONE); window1->show(); window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_wind ow1_key_press_event)); window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::on_wi ndow1_key_release_event)); } CWindow::~CWindow() { } bool CWindow::on_window1_key_press_event(GdkEventKey *Key) { printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); return true; } bool CWindow::on_window1_key_release_event(GdkEventKey *Key) { printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); return true; } int main(int argc, char **argv) { Gtk::Main m(argc, argv); CWindow *ptrWindow = new class CWindow(); m.run(*ptrWindow); delete ptrWindow; ptrWindow = 0; return 0; } From tor.arvid.lund@idi.ntnu.no Thu Jan 29 04:37:23 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from ray.idi.ntnu.no (ray.idi.ntnu.no [129.241.107.68]) by mail.gnome.org (Postfix) with ESMTP id D194A18825 for ; Thu, 29 Jan 2004 04:37:22 -0500 (EST) Received: from idi.ntnu.no (stud355.idi.ntnu.no [129.241.103.55]) by ray.idi.ntnu.no (8.12.10/8.12.10) with ESMTP id i0T9bJDw013905 for ; Thu, 29 Jan 2004 10:37:19 +0100 (MET) Message-ID: <4018D44F.70703@idi.ntnu.no> Date: Thu, 29 Jan 2004 10:37:19 +0100 From: Tor Arvid Lund User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::ScrolledWindow add/remove problem References: <4018BF62.2040307@citb.bull.net> In-Reply-To: <4018BF62.2040307@citb.bull.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=-2.1 required=4 X-Virus-Scanned: by amavisd-new-IDI Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Hello again, > > I am writing an app using a pane window. In the left side, there is a > tree and in the right part a Gtk::ScrolledWindow. > When the tree selection changes, I need to change the widget contained > in the ScrolledWindow. > To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). > It works a couple of times (usually 3), then it crashes (access > violation), in the add mathod. Well, I'm not an expert, but I have had the exact same problem, and worked around it... My guess is that when you create the ScrolledWindow with Gtk::manage(new ...), you make sort of a garbage collection thingy for it. Then when you do m_scroll.remove(), the garbage collection deletes it from memory. This means that when you switch once, and then switch back, the program crashes because you try to insert a deleted object. Whether I'm right or wrong here, I worked around it by simply removing the Gtk::manage() around the creation of the ScrolledWindow instances. -Tor Arvid- From bevis@anvil.com Thu Jan 29 04:47:18 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from anvil.com (wonderwall.anvil.co.uk [194.193.52.253]) by mail.gnome.org (Postfix) with ESMTP id 9F886184F6 for ; Thu, 29 Jan 2004 04:47:18 -0500 (EST) Received: by anvil.com (Postfix, from userid 27) id E93E12D6; Thu, 29 Jan 2004 09:46:46 +0000 (GMT) Received: from anvil.co.uk (atomic.anvil.co.uk [192.168.4.150]) by anvil.com (Postfix) with ESMTP id 8F3972D1; Thu, 29 Jan 2004 09:46:45 +0000 (GMT) Message-ID: <4018D68A.1040707@anvil.co.uk> Date: Thu, 29 Jan 2004 09:46:50 +0000 From: Bevis Peters User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ramachandra Putti Cc: gtkmm-list@gnome.org, Manjit D Subject: Re: [gtkmm] Key press events not captured for some keys References: <002f01c3e622$4eec6e60$5f0210ac@enigma> In-Reply-To: <002f01c3e622$4eec6e60$5f0210ac@enigma> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: I've come across this bug. I got round it by using the release event, but I'll try that connect_notify() and see what happens. bevis > > > I am using "on_key_press(GdkEvent *key)" method to get the values of key > pressed, what i found was that for keys like "Enter", "Space Bar" and > all > arrow keys, no event key_press is generated. > > I wrote on_key_release_event(GdkEvent *key), the same keys "Enter", > "Space bar" and all arrow keys. It generates the release event only. > i.e. no key > press event is generated, but the release event is fired. > > I also noticed that for system reserved keys in KDE, like ALT-F1 for > Run command, CTRL-f2 is for desktop 2, when I pressed these keys, the > system executes them for its use before I can capture it. > > So my query is, > 1. What is the code for capturing key press events ? > 2. How to catch the system reserved keys before their execution by the > system ? > > Below is Code snippet for you to try out what I have stated above, > Any help would be great appreciated, > Regards, > Ramachandra > > > > #include > #include > #include > #include > #include > class CWindow: public Gtk::Window > { > > public: > CWindow(); > ~CWindow(); > > bool on_window1_key_press_event(GdkEventKey *Key); > bool on_window1_key_release_event(GdkEventKey *Key); > }; > > CWindow::CWindow(): Gtk::Window(Gtk::WINDOW_TOPLEVEL) > { > Gtk::Window *window1 = this; > window1->set_title("window1"); > window1->set_modal(false); > window1->set_position(Gtk::WIN_POS_NONE); > window1->show(); > > window1->signal_key_press_event().connect(SigC::slot(*this,&CWindow::on_window1_key_press_event)); > > window1->signal_key_release_event().connect(SigC::slot(*this,&CWindow::on_window1_key_release_event)); > } > CWindow::~CWindow() > { > } > bool CWindow::on_window1_key_press_event(GdkEventKey *Key) > { > printf("\n Key Presssed is %s\n",gdk_keyval_name(Key->keyval)); > return true; > } > > bool CWindow::on_window1_key_release_event(GdkEventKey *Key) > { > printf("\n Key Released is %s \n",gdk_keyval_name(Key->keyval)); > return true; > } > > > int main(int argc, char **argv) > { > > Gtk::Main m(argc, argv); > CWindow *ptrWindow = new class CWindow(); > m.run(*ptrWindow); > delete ptrWindow; > ptrWindow = 0; > return 0; > } > > > > > > > > From Murray.Cumming@Comneon.com Thu Jan 29 04:49:04 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id D70DD183C1 for ; Thu, 29 Jan 2004 04:49:03 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9iiDb015727; Thu, 29 Jan 2004 10:44:44 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:49:27 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EE4@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: Erik@mail.echohome.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Notebook tab scrolling Date: Thu, 29 Jan 2004 10:49:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Speaking of arrows to scroll through notebook pages, is there > a way to make the arrows larger than what they are by default? This might be a theme issue. > I'm building a touch screen application and those arrows are > too small for fingers. I'm sure that it is possible, because this is an issue for people with limited mobility also. You might try asking on gnome-accessibility-list@gnome.org list if you don't find an answer elsewhere. Murray Cumming www.murrayc.com murrayc@usa.net From Murray.Cumming@Comneon.com Thu Jan 29 04:50:46 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 5F98818312 for ; Thu, 29 Jan 2004 04:50:46 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0T9kRDb016567; Thu, 29 Jan 2004 10:46:27 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 10:51:10 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22EE5@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: tor.arvid.lund@idi.ntnu.no, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::ScrolledWindow add/remove problem Date: Thu, 29 Jan 2004 10:50:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Whether I'm right or wrong here, I worked around it by simply > removing > the Gtk::manage() around the creation of the ScrolledWindow instances. That makes sense. When you use manage(), you should expect it to be deleted when removed. I suppose we could say that an explicit remove() should stop the memory from being managed, but that's another question and might make things more confusing. Murray Cumming www.murrayc.com murrayc@usa.net From B.Touron@citb.bull.net Thu Jan 29 05:19:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 6235A18B62 for ; Thu, 29 Jan 2004 05:19:01 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0TAJ0413635 for ; Thu, 29 Jan 2004 11:19:00 +0100 Message-ID: <4018DE2D.2030802@citb.bull.net> Date: Thu, 29 Jan 2004 11:19:25 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Gtk::ScrolledWindow add/remove problem References: <4018BF62.2040307@citb.bull.net> <4018D44F.70703@idi.ntnu.no> In-Reply-To: <4018D44F.70703@idi.ntnu.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks for your answer. I finaly used a Gtk::notebook, and it works well. By the way I noticed that there is a Gtk::Widget::reparent method, allowing to move a widget from a container to another, avoiding the deletion of the widget. Maybe this is the solution. Thanks Ben > Benoît Touron wrote: > > > Hello again, > > > > I am writing an app using a pane window. In the left side, there is a > > tree and in the right part a Gtk::ScrolledWindow. > > When the tree selection changes, I need to change the widget > contained > in the ScrolledWindow. > > To do this, I use m_scroll.remove(), and then m_scoll.add(newwidget). > > It works a couple of times (usually 3), then it crashes (access > > violation), in the add mathod. > > > Well, I'm not an expert, but I have had the exact same problem, and > worked around it... My guess is that when you create the ScrolledWindow > with Gtk::manage(new ...), you make sort of a garbage collection thingy > for it. Then when you do m_scroll.remove(), the garbage collection > deletes it from memory. This means that when you switch once, and then > switch back, the program crashes because you try to insert a deleted > object. > > Whether I'm right or wrong here, I worked around it by simply removing > the Gtk::manage() around the creation of the ScrolledWindow instances. > > -Tor Arvid- > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From pjmlp@progtools.org Thu Jan 29 09:03:07 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id D8BD819003 for ; Thu, 29 Jan 2004 09:03:06 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0TE34Eh024742 for ; Thu, 29 Jan 2004 15:03:04 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <40191297.8070101@progtools.org> Date: Thu, 29 Jan 2004 15:03:03 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Porting problems Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Now I have a working version of gtkmm/gnomemm. :) And I am in the process of porting an application from 1.x to 2.x. The problem is that is been a while since I have done anything in gtkmm so I am a bit lost trying to figure out about the several changes. For example, does anyone know what happened to the following methods? Gnome::Dialog::close_hides() Gnome::Dialog::editable_enters() I wasn't able to find anything similar in Gtk::Dialog. Cheers, Paulo Pinto From Murray.Cumming@Comneon.com Thu Jan 29 11:33:42 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 118081841C for ; Thu, 29 Jan 2004 11:33:42 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0TGTMDb024582; Thu, 29 Jan 2004 17:29:22 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Jan 2004 17:34:06 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: pjmlp@progtools.org, gtkmm-list@gnome.org Subject: RE: [gtkmm] Porting problems Date: Thu, 29 Jan 2004 17:33:39 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Gnome::Dialog::close_hides() That prevented auto-destruction of the Dialog's instance. That was silly, so you don't need to call this anymore. Also be careful that you are not catching any destroy signals or catching delete_event signals unnecessarily. Look at gtkmm 2 examples if in doubt - it's all simpler now. > Gnome::Dialog::editable_enters() This said that pressing enter would press a button instead of just putting the cursor into any editable widgeet. Maybe they fixed it so that you don't need this little hack. Murray Cumming www.murrayc.com murrayc@usa.net From pjmlp@progtools.org Thu Jan 29 11:44:56 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164]) by mail.gnome.org (Postfix) with ESMTP id EE42318121 for ; Thu, 29 Jan 2004 11:44:55 -0500 (EST) Received: from progtools.org (pcatd40.cern.ch [137.138.184.32]) by smtp3.cern.ch (8.12.1-20030924/8.12.1) with ESMTP id i0TGirEh016351; Thu, 29 Jan 2004 17:44:54 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcatd40.cern.ch [137.138.184.32] claimed to be progtools.org Message-ID: <40193885.3010505@progtools.org> Date: Thu, 29 Jan 2004 17:44:53 +0100 From: Paulo Pinto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] Porting problems References: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22F49@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Thanks Murray.Cumming@Comneon.com wrote: >>Gnome::Dialog::close_hides() >> >> > >That prevented auto-destruction of the Dialog's instance. That was silly, so >you don't need to call this anymore. Also be careful that you are not >catching any destroy signals or catching delete_event signals unnecessarily. >Look at gtkmm 2 examples if in doubt - it's all simpler now. > > > >>Gnome::Dialog::editable_enters() >> >> > >This said that pressing enter would press a button instead of just putting >the cursor into any editable widgeet. Maybe they fixed it so that you don't >need this little hack. > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > > From ian.michell@hanzi.co.uk Thu Jan 29 16:30:27 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id 854AE18585 for ; Thu, 29 Jan 2004 16:30:26 -0500 (EST) Received: (qmail 18835 invoked from network); 29 Jan 2004 21:30:24 -0000 Received: from unknown (HELO host217-137-30-32.no-dns-yet.ntli.net) (217.137.30.32) by memmoch.webdevworld.com with SMTP; 29 Jan 2004 21:30:24 -0000 From: Ian Michell To: gtkmm-list@gnome.org Content-Type: text/plain Message-Id: <1075411863.5716.3.camel@linux.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 29 Jan 2004 21:31:03 +0000 Content-Transfer-Encoding: 7bit Subject: [gtkmm] GTKMM classes handling local variables Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi all, Maybe someone can help me with this, I have only been developing with GTKMM for a little while so I am a little bit of a newbie. Right here is a piece of example code: class MyClass : public Gtk::Window { public: MyClass(); virtual ~MyClass(); private: VBox m_box; }; MyClass::MyClass() { Label _label("Hello World"); m_box.pack_start(_label, PACK_SHRINK); show_all_children); } MyClass::~MyClass() { } Right what I cannot understand is why this program will compile but my label will not be displayed? For some reason it will only work if I declare my Label in the class definition... I don't see why it is not working... :( Ian From matthew@alledora.co.uk Thu Jan 29 17:48:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mail.gnome.org (Postfix) with ESMTP id B2B891885E for ; Thu, 29 Jan 2004 17:48:08 -0500 (EST) Received: from alledora.co.uk ([81.103.21.50]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040129224807.CWFL17928.mta07-svc.ntlworld.com@alledora.co.uk> for ; Thu, 29 Jan 2004 22:48:07 +0000 Message-ID: <40198DF3.5060104@alledora.co.uk> Date: Thu, 29 Jan 2004 22:49:23 +0000 From: Matthew Walton User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gtkmm] Gtk::FileChooser API Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Is it my imagination, or does Gtk::FileChooser::get_uris() return an SList* instead of a Glib::SArrayHandle (or whatever it is that get_filenames() gives back, or something similar)? Looks like something not completely wrapped. That's according to the 2.4 docs currently online. Should I have put this in Bugzilla instead of mentioning it here? btw, got Towel running with gtkmm 2.4 (today's CVS), FileChooser::get_filenames() is only giving me one file at a time at the moment, but at this stage that could easily be a GTK+ bug. I shall investigate further soon. From paul@linuxaudiosystems.com Thu Jan 29 18:03:53 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from out002.verizon.net (out002pub.verizon.net [206.46.170.141]) by mail.gnome.org (Postfix) with ESMTP id 72F171901F for ; Thu, 29 Jan 2004 18:03:53 -0500 (EST) Received: from dhin.linuxaudiosystems.com ([151.197.127.182]) by out002.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040129230350.ECVN23576.out002.verizon.net@dhin.linuxaudiosystems.com>; Thu, 29 Jan 2004 17:03:50 -0600 Received: from dhin.linuxaudiosystems.com (localhost.localdomain [127.0.0.1]) by dhin.linuxaudiosystems.com (8.12.10/8.12.8) with ESMTP id i0TN3nNq020299; Thu, 29 Jan 2004 18:03:49 -0500 Received: from dhin (paul@localhost) by dhin.linuxaudiosystems.com (8.12.10/8.12.10/Submit) with ESMTP id i0TN3nYw020295; Thu, 29 Jan 2004 18:03:49 -0500 Message-Id: <200401292303.i0TN3nYw020295@dhin.linuxaudiosystems.com> To: Ian Michell Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables In-reply-to: Your message of "Thu, 29 Jan 2004 21:31:03 GMT." <1075411863.5716.3.camel@linux.local> Date: Thu, 29 Jan 2004 18:03:48 -0500 From: Paul Davis X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.197.127.182] at Thu, 29 Jan 2004 17:03:50 -0600 Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: >MyClass::MyClass() >{ ----> create a Label > Label _label("Hello World"); > m_box.pack_start(_label, PACK_SHRINK); > show_all_children); ------> delete Label as it goes out of scope clear? From B.Touron@citb.bull.net Fri Jan 30 02:34:52 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from loupiac.citb.bull.net (smtp.citb.bull.net [192.90.76.5]) by mail.gnome.org (Postfix) with ESMTP id 2274918F69 for ; Fri, 30 Jan 2004 02:34:51 -0500 (EST) Received: from citb.bull.net (carensac.citb.bull.net [192.168.76.99]) by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id i0U7Yo417073 for ; Fri, 30 Jan 2004 08:34:50 +0100 Message-ID: <401A092A.4090908@citb.bull.net> Date: Fri, 30 Jan 2004 08:35:06 +0100 From: =?ISO-8859-1?Q?Beno=EEt_Touron?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <1075411863.5716.3.camel@linux.local> In-Reply-To: <1075411863.5716.3.camel@linux.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Ian, Your _label gets destroyed when you leave the constructor (MyClass::MyClass), because it's local. That's probably why it is not desplayed. You could either declare it in the class, or allocate it with new and use Gtk::Manage on the pointer: This code should work: MyClass::MyClass() { Label *_label = Gtk::Manage( new Label("Hello World")); m_box.pack_start(*_label, PACK_SHRINK); show_all_children(); } Ben > Hi all, > > Maybe someone can help me with this, I have only been developing with > GTKMM for a little while so I am a little bit of a newbie. > > Right here is a piece of example code: > > class MyClass : public Gtk::Window > { > public: > MyClass(); > virtual ~MyClass(); > private: > VBox m_box; > }; > > MyClass::MyClass() > { > Label _label("Hello World"); > m_box.pack_start(_label, PACK_SHRINK); > show_all_children); > } > > MyClass::~MyClass() > { > } > > Right what I cannot understand is why this program will compile but my > label will not be displayed? For some reason it will only work if I > declare my Label in the class definition... I don't see why it is not > working... :( > > Ian > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > From Murray.Cumming@Comneon.com Fri Jan 30 03:09:09 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 108F618FBC for ; Fri, 30 Jan 2004 03:09:09 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0U84mDb022009; Fri, 30 Jan 2004 09:04:48 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 30 Jan 2004 09:09:32 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F6F@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: matthew@alledora.co.uk, gtkmm-list@gnome.org Subject: RE: [gtkmm] Gtk::FileChooser API Date: Fri, 30 Jan 2004 09:09:04 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Is it my imagination, or does Gtk::FileChooser::get_uris() return an > SList* instead of a Glib::SArrayHandle (or whatever it is that > get_filenames() gives back, or something similar)? Looks like > something > not completely wrapped. That's according to the 2.4 docs > currently online. > > Should I have put this in Bugzilla instead of mentioning it here? Hopefully there is a TODO in the .hg file, but it never hurts to mention something in bugzilla. Even better, submit a patch. > btw, got Towel running with gtkmm 2.4 (today's CVS), > FileChooser::get_filenames() is only giving me one file at a > time at the > moment, but at this stage that could easily be a GTK+ bug. I shall > investigate further soon. That would be great. Thanks. Murray Cumming www.murrayc.com murrayc@usa.net From ian.michell@hanzi.co.uk Fri Jan 30 04:04:31 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id 0C728182B3 for ; Fri, 30 Jan 2004 04:04:29 -0500 (EST) Received: (qmail 1583 invoked from network); 30 Jan 2004 09:04:22 -0000 Received: from unknown (HELO hanzi.co.uk) (195.147.94.186) by memmoch.webdevworld.com with SMTP; 30 Jan 2004 09:04:22 -0000 Message-ID: <401A1E13.9090408@hanzi.co.uk> Date: Fri, 30 Jan 2004 09:04:19 +0000 From: Ian Michell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Beno=EEt_Touron?= Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <1075411863.5716.3.camel@linux.local> <401A092A.4090908@citb.bull.net> In-Reply-To: <401A092A.4090908@citb.bull.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Benoît Touron wrote: > Ian, > > Your _label gets destroyed when you leave the constructor > (MyClass::MyClass), because it's local. > That's probably why it is not desplayed. > > You could either declare it in the class, or allocate it with new and > use Gtk::Manage on the pointer: > > This code should work: > > MyClass::MyClass() > { > Label *_label = Gtk::Manage( new Label("Hello World")); > m_box.pack_start(*_label, PACK_SHRINK); > show_all_children(); > } > > > Ben > >> Hi all, >> Maybe someone can help me with this, I have only been developing with >> GTKMM for a little while so I am a little bit of a newbie. >> >> Right here is a piece of example code: >> >> class MyClass : public Gtk::Window >> { >> public: >> MyClass(); >> virtual ~MyClass(); >> private: >> VBox m_box; >> }; >> >> MyClass::MyClass() >> { >> Label _label("Hello World"); >> m_box.pack_start(_label, PACK_SHRINK); >> show_all_children); >> } >> >> MyClass::~MyClass() >> { >> } >> >> Right what I cannot understand is why this program will compile but my >> label will not be displayed? For some reason it will only work if I >> declare my Label in the class definition... I don't see why it is not >> working... :( >> >> Ian >> >> _______________________________________________ >> gtkmm-list mailing list >> gtkmm-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/gtkmm-list >> > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > Thanks for the advice, I think I will give GTK::Manage a try, I think it will take a little getting used to, usually 90% of my c++ code is based around pointers, even my old GTK stuff (I used to wrap GTK into C++ before I discovered GTKMM). I would have thought the GTKMM team would have catered for the use of local varibles in some way, hence my obvious mistake of just trying to use them, I do however love the way GTKMM does a lot of things better than QT, oh well, right thanks again for the advice, I should now be able to continue my projects (Gnome Easy CD -- website and source tree coming soonish, Groupmage - native linux client for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- GnomeEasyInstall and GnomeAutoCD) hmm :-D From Murray.Cumming@Comneon.com Fri Jan 30 05:06:34 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp1.infineon.com (smtp1.infineon.com [194.175.117.76]) by mail.gnome.org (Postfix) with ESMTP id 1205818D1A for ; Fri, 30 Jan 2004 05:06:34 -0500 (EST) Received: from vihsx03a.vih.infineon.com (vih.ifx-mail3.com [172.31.163.97]) by smtp1.infineon.com (8.12.10/8.12.10) with ESMTP id i0UA2BDb009404; Fri, 30 Jan 2004 11:02:11 +0100 (MET) Received: by vihsx03a.vih.infineon.com with Internet Mail Service (5.5.2653.19) id ; Fri, 30 Jan 2004 11:06:56 +0100 Message-ID: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> From: Murray.Cumming@Comneon.com To: ian.michell@hanzi.co.uk, B.Touron@citb.bull.net Cc: gtkmm-list@gnome.org Subject: RE: [gtkmm] GTKMM classes handling local variables Date: Fri, 30 Jan 2004 11:06:30 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: > Thanks > for the advice, I think I will give > GTK::Manage a try, I think it > will take a little getting used to, usually 90% of my c++ > code is based > around pointers, even my old GTK stuff (I used to wrap GTK into C++ > before I discovered GTKMM). I would have thought the GTKMM team would > have catered for the use of local varibles in some way, This is basic C++ - you might read about "scope" in a C++ book. You might be used to using pointers instead, but you can use pointers here as well, as people have pointed out. As with Qt, when you use pointers you need to use new() or some create() function to get the pointer value. And you need to either a) use delete some time later, or b) use some memory-management system such as manage() or Qt's implicit manage(). So there is nothing unusual or wrong about this. I think you are mis-remembering your previous experience. Maybe you think that the gtkmm method should copy your local Label instance, by value, just as it would copy a std::string local instance. But Gtk::Widgets can not be copied, and it probably would not make sense to do so. See the archive for more theory about that, but you would probably not find that interesting. You might find this useful: http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch18.html > hence > my obvious > mistake of just trying to use them, I do however love the way > GTKMM does > a lot of things better than QT, oh well, right thanks again for the > advice, I should now be able to continue my projects (Gnome > Easy CD -- > website and source tree coming soonish, Groupmage - native > linux client > for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- > GnomeEasyInstall and GnomeAutoCD) hmm :-D Murray Cumming www.murrayc.com murrayc@usa.net From ian.michell@hanzi.co.uk Fri Jan 30 05:23:20 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.webdevworld.com (memmoch.webdevworld.com [217.77.180.67]) by mail.gnome.org (Postfix) with SMTP id BBF4818D1A for ; Fri, 30 Jan 2004 05:23:19 -0500 (EST) Received: (qmail 11738 invoked from network); 30 Jan 2004 10:23:13 -0000 Received: from unknown (HELO hanzi.co.uk) (195.147.94.186) by memmoch.webdevworld.com with SMTP; 30 Jan 2004 10:23:13 -0000 Message-ID: <401A3090.2050304@hanzi.co.uk> Date: Fri, 30 Jan 2004 10:23:12 +0000 From: Ian Michell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray.Cumming@Comneon.com Cc: B.Touron@citb.bull.net, gtkmm-list@gnome.org Subject: Re: [gtkmm] GTKMM classes handling local variables References: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> In-Reply-To: <258B0164D480D5118D900800062B385801C22F97@vihsx09a.vih.infineon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Murray.Cumming@Comneon.com wrote: >>Thanks >>for the advice, I think I will give >>GTK::Manage a try, I think it >>will take a little getting used to, usually 90% of my c++ >>code is based >>around pointers, even my old GTK stuff (I used to wrap GTK into C++ >>before I discovered GTKMM). I would have thought the GTKMM team would >>have catered for the use of local varibles in some way, >> >> > >This is basic C++ - you might read about "scope" in a C++ book. > >You might be used to using pointers instead, but you can use pointers here >as well, as people have pointed out. As with Qt, when you use pointers you >need to use new() or some create() function to get the pointer value. And >you need to either a) use delete some time later, or b) use some >memory-management system such as manage() or Qt's implicit manage(). So >there is nothing unusual or wrong about this. I think you are >mis-remembering your previous experience. > >Maybe you think that the gtkmm method should copy your local Label instance, >by value, just as it would copy a std::string local instance. But >Gtk::Widgets can not be copied, and it probably would not make sense to do >so. See the archive for more theory about that, but you would probably not >find that interesting. > >You might find this useful: >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch18.html > > > >>hence >>my obvious >>mistake of just trying to use them, I do however love the way >>GTKMM does >>a lot of things better than QT, oh well, right thanks again for the >>advice, I should now be able to continue my projects (Gnome >>Easy CD -- >>website and source tree coming soonish, Groupmage - native >>linux client >>for Groupwise -- even though I use sun JDS, Fedora and Debian lol, -- >>GnomeEasyInstall and GnomeAutoCD) hmm :-D >> >> > >Murray Cumming >www.murrayc.com >murrayc@usa.net > > > > True, that it is basic c++, how silly of me, I think being forced to write software with .Net and C# has clouded my brain lol, this is the first C++ code I have written in about 4 or 5 months so it will be a couple more days until I am back in the loop again ;) ---- The only problem with being a proffesional developer (completely self taught!) is that I need to program in more languages than anyone else to stay at the top of my game and beat the boys with degrees in Computer Science, Math and Software Eng. From abt@gmx.de Fri Jan 30 05:51:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id CE847187E2 for ; Fri, 30 Jan 2004 05:51:01 -0500 (EST) Received: (qmail 25487 invoked by uid 65534); 30 Jan 2004 10:50:54 -0000 Received: from pD902B4C0.dip0.t-ipconnect.de (EHLO gmx.de) (217.2.180.192) by mail.gmx.net (mp002) with SMTP; 30 Jan 2004 11:50:54 +0100 X-Authenticated: #109577 Message-ID: <401A36F3.5030702@gmx.de> Date: Fri, 30 Jan 2004 11:50:27 +0100 From: "Andreas B. Thun" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkmm-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gtkmm] any hints how to realise this window? Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi! I´d like to have a window like this. Is it right that I have to realise it with two list views? +------------------------------------------------------+ | | | available this C. | | +------------+ +------------+ | | | Group1 | | Group2 | | | | Group2 | add ------> | | | | | Group3 | | | | | | Group4 | <------ remove | | | | | Group5 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +------------+ +------------+ | | | | +-------+ | | | Apply | | | +-------+ | +------------------------------------------------------+ TIA, Andi From opl@opltech.net Fri Jan 30 16:44:29 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from mwinf0302.wanadoo.fr (smtp3.wanadoo.fr [193.252.22.28]) by mail.gnome.org (Postfix) with ESMTP id 59C9018E82 for ; Fri, 30 Jan 2004 16:44:29 -0500 (EST) Received: from alakazam (Mix-Toulouse-112-3-18.w80-9.abo.wanadoo.fr [80.9.159.18]) by mwinf0302.wanadoo.fr (SMTP Server) with ESMTP id 4865FC000277 for ; Fri, 30 Jan 2004 22:44:27 +0100 (CET) Date: Fri, 30 Jan 2004 22:43:19 CET From: Francis Bacque To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: OplMail v0.75 Linux 2.4.20-gentoo-r5 Message-Id: <20040130214427.4865FC000277@mwinf0302.wanadoo.fr> Subject: [gtkmm] Invalid UTF8 string passed to pango_layout_set_text() Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hello, when I try to display text (with accent) in a treeview, I can't display these characters and got repeated messages in the console: WARNING **: Invalid UTF8 string passed to pango_layout_set_text() I had tried to convert them with: Glib::locale_to_utf8 ( const std::string& opsys_string ) But it didn't succeeded :-( What' s wrong? Thanks Francis From olau@hardworking.dk Fri Jan 30 18:58:02 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from smtp040.tiscali.dk (smtp040.tiscali.dk [212.54.64.106]) by mail.gnome.org (Postfix) with ESMTP id 9F48D1844A for ; Fri, 30 Jan 2004 18:58:01 -0500 (EST) Received: from bach.composers (87.ppp1-1.abc.worldonline.dk [213.237.21.87]) by smtp040.tiscali.dk (8.12.10/8.12.10) with ESMTP id i0UNvLRD017986 for ; Sat, 31 Jan 2004 00:57:22 +0100 (MET) Received: from ole by bach.composers with local (Exim 4.30) id 1Amfbm-0000GC-W8 for gtkmm-list@gnome.org; Fri, 30 Jan 2004 21:51:23 +0100 To: gtkmm-list@gnome.org Subject: Re: [gtkmm] Draw lines into a Gdk::Pixbuf References: From: Ole Laursen Date: Fri, 30 Jan 2004 21:51:22 +0100 In-Reply-To: (Find All's message of "Thu, 29 Jan 2004 09:18:30 +0000") Message-ID: <878yjpi2id.fsf@bach.composers> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: "Find All" writes: > Is there a way to draw lines,rectangles... directly to a Gdk::Pixbuf > in the same way as the functions draw_line,draw_rectangle... of > Gdk::Drawable? No, not as far as I know. But it's quite easy to do yourself if you make a proper frontend for the pixbuf interface. I've got one suggestion here: http://www.cs.auc.dk/~olau/misc/pixbuf-drawing.hpp I wrote a message about it on this list about a year ago or so with usage instructions: http://mail.gnome.org/archives/gtkmm-list/2003-January/msg00198.html Perhaps I should think about making a patch. -- Ole Laursen http://www.cs.auc.dk/~olau/ From n_gouda123@yahoo.com Sat Jan 31 09:25:08 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from web60504.mail.yahoo.com (web60504.mail.yahoo.com [216.109.116.125]) by mail.gnome.org (Postfix) with SMTP id 2788918800 for ; Sat, 31 Jan 2004 09:25:08 -0500 (EST) Message-ID: <20040131142503.87149.qmail@web60504.mail.yahoo.com> Received: from [164.164.89.226] by web60504.mail.yahoo.com via HTTP; Sat, 31 Jan 2004 06:25:03 PST Date: Sat, 31 Jan 2004 06:25:03 -0800 (PST) From: Nagan gouda To: gtkmm-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gtkmm] I want to Show multiple trees in mu GUI.... Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: Hi, I want to display multiple trees using my GUI. I tried with adding two trees to the paned objects. But Now i want to display more than 2 trees, Please can u tell me how to do it... Rgds, Naganagouda Meti. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From dss@home.se Sat Jan 31 10:39:54 2004 Return-Path: Delivered-To: gtkmm-list@gnome.org Received: from gepetto.dc.luth.se (gepetto.dc.luth.se [130.240.42.40]) by mail.gnome.org (Postfix) with ESMTP id 3349818493 for ; Sat, 31 Jan 2004 10:39:54 -0500 (EST) Received: from sumpan (sumpan.campus.luth.se [130.240.194.33]) by gepetto.dc.luth.se (8.12.5/8.12.5) with SMTP id i0VFdqgC022982; Sat, 31 Jan 2004 16:39:52 +0100 (MET) Date: Sat, 31 Jan 2004 16:39:52 +0100 From: Daniel Sundberg To: Nagan gouda Cc: gtkmm-list@gnome.org Subject: Re: [gtkmm] I want to Show multiple trees in mu GUI.... Message-Id: <20040131163952.2a79e3ec.dss@home.se> In-Reply-To: <20040131142503.87149.qmail@web60504.mail.yahoo.com> References: <20040131142503.87149.qmail@web60504.mail.yahoo.com> X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gtkmm-list-admin@gnome.org Errors-To: gtkmm-list-admin@gnome.org X-BeenThere: gtkmm-list@gnome.org X-Loop: gtkmm-list@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: gtkmm general discussion List-Unsubscribe: , List-Archive: On Sat, 31 Jan 2004 06:25:03 -0800 (PST) Nagan gouda wrote: > Hi, > I want to display multiple trees using my GUI. I > tried with adding two trees to the paned objects. But > Now i want to display more than 2 trees, Please can u > tell me how to do it... > You could put another paned object in one of the two windows of a paned... Daniel Sundberg -- http://sumpan.com sumpan@sumpan.com > > Rgds, > Naganagouda Meti. > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkmm-list >