From reshmi@sumerusolutions.com Wed Oct 1 07:33:42 2003 From: reshmi@sumerusolutions.com (Reshmi Jain) Date: Wed, 01 Oct 2003 12:03:42 +0530 (IST) Subject: [Glade-users] Problem with configuration Message-ID: Hi, Thank you so much for the help. As i was trying to resolve the problem, i found that when the error pops up, and once i reboot the system, the executable works just fine. But some time later i face the same problem again. I am sure i neither changed anything in the configuration nor upgraded my glade. When i created the project, i created it as a new Gnome Project. If it has nothing to do with the glade configuration file, What may be the problem? Regards, Reshmi. Rikke D. Giles wrote: > >Did you upgrade glade at all? That sounds like an error you get when >loading a gtk1 project with glade2. > >The gettext etc doesn't have anything to do with a glade configuration >file. It is decided upon for each project, and only affects that >project. The executable for the second project would have nothing to >do with glade either. Soo.... what have you changed about glade >recently? > >Cheers, > >Rikke > > >On 2003.09.30 04:24, Reshmi Jain wrote: >> Hi, >> I'm working with glade and is stuck with a problem. > > >_______________________________________________ >Glade-users maillist - Glade-users@lists.ximian.com >http://lists.ximian.com/mailman/listinfo/glade-users > > From rgiles@centurytel.net Wed Oct 1 08:52:46 2003 From: rgiles@centurytel.net (Rikke D. Giles) Date: Wed, 1 Oct 2003 00:52:46 -0700 Subject: [Glade-users] Problem with configuration In-Reply-To: (from reshmi@sumerusolutions.com on Tue, Sep 30, 2003 at 23:33:42 -0700) References: Message-ID: <20031001075246.GA23291@lavender> On 2003.09.30 23:33, Reshmi Jain wrote: > Hi, > Thank you so much for the help. > > As i was trying to resolve the problem, i found that when the > error pops up, and once i reboot the system, the executable works > just fine. But some time later i face the same problem again. This really sounds like a system problem. Think of it this way, why would the binary executable have anything to do with glade? Glade just constructs the GUI and maybe the code if you let it, that's it. Email me offlist and I'll see what I can do to help. Send whatever errors you are getting, glade version, gtk version number, gnome version number, and what OS you are using. It all makes a difference. Cheers, Rikke From ishanchattopadhyaya@hclinfinet.com Wed Oct 1 09:36:03 2003 From: ishanchattopadhyaya@hclinfinet.com (Ishan Chattopadhyaya) Date: Wed, 1 Oct 2003 14:06:03 +0530 Subject: [Glade-users] Problem with configuration References: <20031001075246.GA23291@lavender> Message-ID: <000301c387f7$f06c3100$3c1ce2dc@ishan> Dear Reshmi & Rikke, I hope you do not store the projects in the same directory. > > I'm working with glade and is stuck with a problem. When i execute > > the glade from the command prompt, the window pops up with an > > error, telling that Did you mean "When i execute the glade [*project*] from the ....."? If this is so, then I think there is a problem with the working directory or perhaps the '.gladep' file (maybe any other project's gladep file is in the persent directory you are presently in). Also, where do you see this error -- in the console window or in the Glade interface? I hope you are are using glade2 with gtk2. > This really sounds like a system problem. Think of it this way, why > would the binary executable have anything to do with glade? Glade just > constructs the GUI and maybe the code if you let it, that's it. 'that's it', only if you disable 'output build files'. Regds, Ishan Chattopadhyaya Homepage: http://wingtk.sf.net/ishan/ishan.html /* ************************************************ * My new project, VB2Glade is an effort to convert Visual * Basic forms in Glade. I am looking for some helpful developers * who could join me in this project. * * I am also looking for someone who could help me test the program. * * Website: http://wingtk.sf.net/vb2glade/vb2glade.htm * ************************************************/ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/03 From omar331@yahoo.com.br Wed Oct 1 14:02:28 2003 From: omar331@yahoo.com.br (=?iso-8859-1?q?omar331@yahoo.com.br?=) Date: Wed, 1 Oct 2003 10:02:28 -0300 (ART) Subject: [Glade-users] Problem with configuration In-Reply-To: Message-ID: <20031001130228.57101.qmail@web12205.mail.yahoo.com> Hi friends, I have the same problem... and It's not only when developing apps using glade! I run KDE (and have also GNOME installed) and the error message in pop-up appears when I try to run my glade applications. In some gnome applications, such as ggv (and glade itself!), same problems occurs. Apparentelly nothing in affected at program execution. When I try to run my GTK applications (not developed with Glade), this problem don't occur... Omar Yahoo! Mail - o melhor webmail do Brasil http://mail.yahoo.com.br From cep02lsw@taurus.zsu.edu.cn Tue Oct 7 14:47:19 2003 From: cep02lsw@taurus.zsu.edu.cn (S.W.Liu) Date: Tue, 7 Oct 2003 21:47:19 +0800 Subject: [Glade-users] help Message-ID: <000a01c38cd9$89bef190$1d0ca8c0@bigbear> This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C38D1C.95205270 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable hi, how to use fileselection control box in glade-2? This signal code = generated by glade-2 can't work any more! how could I do? thank! ------=_NextPart_000_0007_01C38D1C.95205270 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
hi, how to use fileselection control = box in=20 glade-2? This signal code generated by glade-2 can't work any = more!
 
how could I do?
 
thank!
------=_NextPart_000_0007_01C38D1C.95205270-- From Mike@kordik.net Wed Oct 8 01:34:09 2003 From: Mike@kordik.net (Mike) Date: Tue, 07 Oct 2003 20:34:09 -0400 Subject: [Glade-users] help In-Reply-To: <000a01c38cd9$89bef190$1d0ca8c0@bigbear> References: <000a01c38cd9$89bef190$1d0ca8c0@bigbear> Message-ID: <1065573248.19876.9.camel@Jacob.kordik.net> Can you be more specific? I am very new to Glade so I am not sure I can help but I don't really understand the question. Is this a fileselection dialog? I don't knwo what a fileselection control box is. Also is this C or C++? In general to get your the object in a C++ signal handler make sure you make your Glade object is protected or public. On Tue, 2003-10-07 at 09:47, S.W.Liu wrote: > hi, how to use fileselection control box in glade-2? This signal code > generated by glade-2 can't work any more! > > how could I do? > > thank! From cep02lsw@taurus.zsu.edu.cn Wed Oct 8 02:30:50 2003 From: cep02lsw@taurus.zsu.edu.cn (S.W.Liu) Date: Wed, 8 Oct 2003 09:30:50 +0800 Subject: Fw: [Glade-users] help Message-ID: <001501c38d3b$ceb919d0$1d0ca8c0@bigbear> ----- Original Message ----- From: "S.W.Liu" To: "Mike" Sent: Wednesday, October 08, 2003 9:30 AM Subject: Re: [Glade-users] help > thanks! my simple project with file selection dialog is: > > > > > > > > > 10 > True > Select File > GTK_WINDOW_TOPLEVEL > GTK_WIN_POS_NONE > False > True > False > True > > > > True > True > True > GTK_RELIEF_NORMAL > > > > > > True > True > True > GTK_RELIEF_NORMAL > > > > > > > my question is: I want to get the selected filename when i press OK button, > but how could I do to get the signal by glade-2? Because I can't get the > right code from glade-2, i must modify it by hand! > > very thanks! > > ----- Original Message ----- > From: "Mike" > To: "S.W.Liu" > Cc: > Sent: Wednesday, October 08, 2003 8:34 AM > Subject: Re: [Glade-users] help > > > > Can you be more specific? I am very new to Glade so I am not sure I can > > help but I don't really understand the question. > > > > Is this a fileselection dialog? I don't knwo what a fileselection > > control box is. Also is this C or C++? > > > > In general to get your the object in a C++ signal handler make sure you > > make your Glade object is protected or public. > > > > > > > > On Tue, 2003-10-07 at 09:47, S.W.Liu wrote: > > > hi, how to use fileselection control box in glade-2? This signal code > > > generated by glade-2 can't work any more! > > > > > > how could I do? > > > > > > thank! > > > From cep02lsw@taurus.zsu.edu.cn Wed Oct 8 15:06:28 2003 From: cep02lsw@taurus.zsu.edu.cn (S.W.Liu) Date: Wed, 8 Oct 2003 22:06:28 +0800 Subject: [Glade-users] help References: <000a01c38cd9$89bef190$1d0ca8c0@bigbear> <1065573248.19876.9.camel@Jacob.kordik.net> <000801c38d3b$bad27f10$1d0ca8c0@bigbear> <1065577361.19876.16.camel@Jacob.kordik.net> Message-ID: <001a01c38da5$5e429d10$1d0ca8c0@bigbear> > Well just playing around I took your glade file and added a > on_ok_button1_clicked() signal. Since I made your fileselection1 dialog > protected, in the on_ok_button1_clicked() I can access the fileslection1 it seems that your code is written C++? > object and call it's "std::string get_filename () const" method to have the callback func generated by glade-2 is like this(in C style): void on_ok_clicked (GtkButton *button, gpointer user_data) { } how could i access fileselection1? > it return the selected filename. The FileSelection object is documented > on this page > http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1FileSelection.ht ml > > You would have to play around a little to make sure you have everything > covered as the user may double click a filename and that may select > without slecting OK. I am new to all this as well so I am not sure all > the cavaets. > > I hope this helps. very thanks! > > From f.parzefall@multitest.de Thu Oct 9 08:20:32 2003 From: f.parzefall@multitest.de (f.parzefall@multitest.de) Date: Thu, 9 Oct 2003 09:20:32 +0200 Subject: [Glade-users] location of button images Message-ID: Hi all, does anyone know where the images that glade-2 offers to put on a button are located? I want to do some myself and before I start I'd like to have a look at the existing ones. I searched through /usr/share and /usr/local/share but didn't find anything. Thanks, Franz ----------------------------------------------------- Franz Parzefall Vision Systems Multitest elektronische Systeme GmbH Aeussere Oberaustra=DFe 4 D - 83026 Rosenheim Tel +49-(0)8031-406-473 Fax +49-(0)8031-406-420 ----------------------------------------------------- ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** From damon@karuna.uklinux.net Thu Oct 9 15:45:16 2003 From: damon@karuna.uklinux.net (Damon Chaplin) Date: 09 Oct 2003 15:45:16 +0100 Subject: [Glade-users] location of button images In-Reply-To: References: Message-ID: <1065710715.2587.3.camel@snowflake> On Thu, 2003-10-09 at 08:20, f.parzefall@multitest.de wrote: > > > Hi all, > does anyone know where the images that glade-2 offers to put on a button > are located? > I want to do some myself and before I start I'd like to have a look at > the existing ones. > I searched through /usr/share and /usr/local/share but didn't find > anything. The GTK+ stock icons are compiled into the GTK+ library. They don't get installed as separate image files. If you get the GTK+ source code they are in the gtk/stock-icons subdirectory. The GNOME ones are in libgnomeui, in the libgnomeui/pixmaps directory. Damon From Mike@Kordik.net Thu Oct 9 23:35:48 2003 From: Mike@Kordik.net (Mike Kordik) Date: Thu, 09 Oct 2003 18:35:48 -0400 Subject: [Glade-users] help In-Reply-To: <001a01c38da5$5e429d10$1d0ca8c0@bigbear> References: <000a01c38cd9$89bef190$1d0ca8c0@bigbear> <1065573248.19876.9.camel@Jacob.kordik.net> <000801c38d3b$bad27f10$1d0ca8c0@bigbear> <1065577361.19876.16.camel@Jacob.kordik.net> <001a01c38da5$5e429d10$1d0ca8c0@bigbear> Message-ID: <1065738948.8796.5.camel@Jacob.kordik.net> There maybe something with the gpointer parameter and an option in glade with the signal handler but I don't know but... This is one way to do it. void on_ok_button1_clicked (GtkButton *button, gpointer user_data) { GtkWidget *fs; fs = lookup_widget((GtkWidget *)button,"fileselection1"); printf("%s\n",gtk_file_selection_get_filename((GtkFileSelection *)fs)); } The printf is there so I could see that I was returning the file I was selecting. Hope this helps! Mike On Wed, 2003-10-08 at 10:06, S.W.Liu wrote: > > Well just playing around I took your glade file and added a > > on_ok_button1_clicked() signal. Since I made your fileselection1 dialog > > protected, in the on_ok_button1_clicked() I can access the fileslection1 > it seems that your code is written C++? > > object and call it's "std::string get_filename () const" method to have > the callback func generated by glade-2 is like this(in C style): > > void > on_ok_clicked (GtkButton *button, > gpointer user_data) > { > } > how could i access fileselection1? > > > it return the selected filename. The FileSelection object is documented > > on this page > > > http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1FileSelection.ht > ml > > > > You would have to play around a little to make sure you have everything > > covered as the user may double click a filename and that may select > > without slecting OK. I am new to all this as well so I am not sure all > > the cavaets. > > > > I hope this helps. > very thanks! > > > > > > _______________________________________________ > Glade-users maillist - Glade-users@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-users From cep02lsw@taurus.zsu.edu.cn Fri Oct 10 12:39:53 2003 From: cep02lsw@taurus.zsu.edu.cn (S.W.Liu) Date: Fri, 10 Oct 2003 19:39:53 +0800 Subject: [Glade-users] help References: <000a01c38cd9$89bef190$1d0ca8c0@bigbear> <1065573248.19876.9.camel@Jacob.kordik.net> <000801c38d3b$bad27f10$1d0ca8c0@bigbear> <1065577361.19876.16.camel@Jacob.kordik.net> <001a01c38da5$5e429d10$1d0ca8c0@bigbear> <1065738948.8796.5.camel@Jacob.kordik.net> Message-ID: <000c01c38f23$38f73be0$1d0ca8c0@bigbear> very thanks! ----- Original Message ----- From: "Mike Kordik" To: "S.W.Liu" Cc: Sent: Friday, October 10, 2003 6:35 AM Subject: Re: [Glade-users] help > There maybe something with the gpointer parameter and an option in glade > with the signal handler but I don't know but... > > This is one way to do it. > > void > on_ok_button1_clicked (GtkButton *button, > gpointer user_data) > { > GtkWidget *fs; > > fs = lookup_widget((GtkWidget *)button,"fileselection1"); > printf("%s\n",gtk_file_selection_get_filename((GtkFileSelection *)fs)); > } > > The printf is there so I could see that I was returning the file I was > selecting. > > Hope this helps! > > Mike > > On Wed, 2003-10-08 at 10:06, S.W.Liu wrote: > > > Well just playing around I took your glade file and added a > > > on_ok_button1_clicked() signal. Since I made your fileselection1 dialog > > > protected, in the on_ok_button1_clicked() I can access the fileslection1 > > it seems that your code is written C++? > > > object and call it's "std::string get_filename () const" method to have > > the callback func generated by glade-2 is like this(in C style): > > > > void > > on_ok_clicked (GtkButton *button, > > gpointer user_data) > > { > > } > > how could i access fileselection1? > > > > > it return the selected filename. The FileSelection object is documented > > > on this page > > > > > http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1FileSelection.ht > > ml > > > > > > You would have to play around a little to make sure you have everything > > > covered as the user may double click a filename and that may select > > > without slecting OK. I am new to all this as well so I am not sure all > > > the cavaets. > > > > > > I hope this helps. > > very thanks! > > > > > > > > > > _______________________________________________ > > Glade-users maillist - Glade-users@lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/glade-users > > _______________________________________________ > Glade-users maillist - Glade-users@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-users From kevind@ventanaview.net Sun Oct 12 04:04:39 2003 From: kevind@ventanaview.net (Kevind) Date: Sat, 11 Oct 2003 20:04:39 -0700 Subject: [Glade-users] autogen.sh and m4 macros Message-ID: <3F88C4C7.5020803@ventanaview.net> Hello, I am getting the following error from the autogen.sh ..... no glade (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/kdummer/bin) I can't find glade's gnome m4 macros. Please copy them to ./macros and retry. ..... I am trying to build a C++ version of my interface. I have installed the latest (i think) glademm-2.0.0, gtkmm-2.2.8 and glade-2.0.0. autogen seems to be looking for "/gnome/gnome.m4" Where do I get these macros? I am running on REDHAT 9.0 if that helps. I worked great building a C version. Thank You. From johnp@martianrock.com Sun Oct 12 04:53:18 2003 From: johnp@martianrock.com (John (J5) Palmieri) Date: Sat, 11 Oct 2003 23:53:18 -0400 Subject: [Glade-users] autogen.sh and m4 macros In-Reply-To: <3F88C4C7.5020803@ventanaview.net> References: <3F88C4C7.5020803@ventanaview.net> Message-ID: <1065930798.16145.9.camel@localhost> Do you have gnome-common installed? You need this to run autogen.sh. -- J5 On Sat, 2003-10-11 at 23:04, Kevind wrote: > Hello, > > I am getting the following error from the autogen.sh > > ..... > no glade > (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/kdummer/bin) > I can't find glade's gnome m4 macros. Please copy them to ./macros and > retry. > ..... > > I am trying to build a C++ version of my interface. I have installed > the latest (i think) glademm-2.0.0, gtkmm-2.2.8 and glade-2.0.0. > > autogen seems to be looking for "/gnome/gnome.m4" > Where do I get these macros? > > I am running on REDHAT 9.0 if that helps. > > I worked great building a C version. > > Thank You. > > > > _______________________________________________ > Glade-users maillist - Glade-users@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-users From pocm@mega.ist.utl.pt Sun Oct 12 20:51:05 2003 From: pocm@mega.ist.utl.pt (Paulo Jorge de Oliveira Cantante de Matos) Date: Sun, 12 Oct 2003 19:51:05 +0000 Subject: [Glade-users] Glade2 manual and columned list Message-ID: <1065988265.28051.5.camel@localhost> --=-0sSHNIIzXfYScQVpd2Mw Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi all, I've using Glade2 for the first time to develop a C++ application. First, I couldn't find a Glade2 manual. The help is unfortunately very incomplete. Any online tutorial or something like that for Glade2 (if possible with examples in C++)? I need a function to search, something like search files application in Gnome. When you search for a file with results you get a nice columned list with results (name of file, folder, etc.) with some nice scrollbars. How can I achieve this in glade2? I've seen in Deprecated section the columned list widget=20 but I don't know if I should use it since it is deprecated. How should I do this? Best regards, --=20 Paulo J. Matos : pocm@mega.ist.utl.pt Instituto Superior Tecnico - Lisbon Computer and Software Eng. - A.I. - > http://mega.ist.utl.pt/~pocm --- -> God had a deadline... So, he wrote it all in Lisp! --=-0sSHNIIzXfYScQVpd2Mw 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/ibCpdX4m+j0fHDcRAgr7AJwMEIc5lzZTt03X1mJYYKVVei2WMgCfYhCK Hfu0RnmD8sNSopnQE8GG7TU= =biY0 -----END PGP SIGNATURE----- --=-0sSHNIIzXfYScQVpd2Mw-- From rgiles@centurytel.net Sun Oct 12 22:26:56 2003 From: rgiles@centurytel.net (Rikke D. Giles) Date: Sun, 12 Oct 2003 14:26:56 -0700 Subject: [Glade-users] Glade2 manual and columned list In-Reply-To: <1065988265.28051.5.camel@localhost> (from pocm@mega.ist.utl.pt on Sun, Oct 12, 2003 at 12:51:05 -0700) References: <1065988265.28051.5.camel@localhost> Message-ID: <20031012212656.GA1074@lavender> 'Lo Paulo, I've written a tutorial for Glade2. it's at www.kplug.org/tutorials, along with a Glade1 tutorial. I'm afraid the examples in both are in C. There is no manual per se, yet. I am currently writing something more complete than the tutorial though. The Deprecated widgets should be around for another 4 years or so. If you want your code to last longer than that, then use the ListView and model. You can find out more on the gtk site, where there are tutorials. Try www.gtk.org. Cheers, Rikke From bclem@rice.edu Mon Oct 13 18:21:38 2003 From: bclem@rice.edu (Brent Clements) Date: Mon, 13 Oct 2003 12:21:38 -0500 Subject: [Glade-users] gnomedb shows up on palette then disappears...woah Message-ID: <1066065698.21174.44.camel@spac.ece.rice.edu> I have an interesting problem with gnomedb and glade 2.0 I compiled glade 2.0 with gnomedb and it compiled fine. When I run glade-2, everything initialized and the palette window, properties window and the main glade window appear. a gnomedb tab is on the pallete. When I press new, It asks me for the type of project to start. It doesn't matter which button I select, including cancel, the gnomedb then disappears. Anybody see this happen before? Thanks, Brent From M.Nelissen@student.tue.nl Mon Oct 13 19:33:15 2003 From: M.Nelissen@student.tue.nl (Micha Nelissen) Date: Mon, 13 Oct 2003 20:33:15 +0200 Subject: [Glade-users] gnomedb shows up on palette then disappears...woah In-Reply-To: <1066065698.21174.44.camel@spac.ece.rice.edu> References: <1066065698.21174.44.camel@spac.ece.rice.edu> Message-ID: <3F8AEFEB.8000602@student.tue.nl> Brent Clements wrote: > When I press new, It asks me for the type of project to start. It > doesn't matter which button I select, including cancel, the gnomedb then > disappears. > > Anybody see this happen before? In the project options you need to enable gnome support. Then the button should be enabled. Note to self: should have sent this to the list immediately instead of to Brent's private mail. HTH, Micha. From marcos@polyflow.com Wed Oct 15 21:30:50 2003 From: marcos@polyflow.com (Marcos Leal) Date: Wed, 15 Oct 2003 16:30:50 -0400 Subject: [Glade-users] GladeXML GtkWidgets Signals Message-ID: <200310151630.50701.marcos@polyflow.com> Hi guys, =09I am trying to open a new window and fill it up a listbox. =09I thought that using on_window1_show it would alow me to initiate my s= creen. =20 =09What Widget Signal should I use ? Can you point me to some place I ca= n read=20 about it ? Thanks for any help Marcos =09 From damon@karuna.uklinux.net Thu Oct 16 10:16:00 2003 From: damon@karuna.uklinux.net (Damon Chaplin) Date: 16 Oct 2003 10:16:00 +0100 Subject: [Glade-users] GladeXML GtkWidgets Signals In-Reply-To: <200310151630.50701.marcos@polyflow.com> References: <200310151630.50701.marcos@polyflow.com> Message-ID: <1066295760.2587.0.camel@snowflake> On Wed, 2003-10-15 at 21:30, Marcos Leal wrote: > Hi guys, > > I am trying to open a new window and fill it up a listbox. > I thought that using on_window1_show it would alow me to initiate my screen. > > What Widget Signal should I use ? Can you point me to some place I can read > about it ? You can populate the widgets right after the call to create the window, e.g. create_window1(). Or is there a problem with doing that? Damon From bclem@rice.edu Thu Oct 16 23:21:35 2003 From: bclem@rice.edu (Brent Clements) Date: Thu, 16 Oct 2003 17:21:35 -0500 Subject: [Glade-users] Basic Newbie question In-Reply-To: <200310151630.50701.marcos@polyflow.com> References: <200310151630.50701.marcos@polyflow.com> Message-ID: <1066342895.31019.3.camel@spac.ece.rice.edu> This may or may not be relative to Glade but I thought I'd ask you guys since I"m using glade to develop my gui's. Ok, I have written a my-sql.c and my-sql.h file that contains my functions for performing mysql operations. A few questions. What do I change in order to compile this into my application when I run make? What do I change in order for configure to automatically search for the mysql libraries. I don't want my user to have to specify any environmental variables such as CFLAGS and LDFLAGS when they run configure Please don't flame me for the simple questions. I'm trying to learn. :-) to program in c again. Thanks, Brent Clements From john@jcoppens.com Fri Oct 17 15:54:25 2003 From: john@jcoppens.com (John Coppens) Date: Fri, 17 Oct 2003 11:54:25 -0300 Subject: [Glade-users] Basic Newbie question In-Reply-To: <1066342895.31019.3.camel@spac.ece.rice.edu> References: <200310151630.50701.marcos@polyflow.com> <1066342895.31019.3.camel@spac.ece.rice.edu> Message-ID: <20031017115425.50acad15.john@jcoppens.com> Brent... Edit the src/Makefile.am, and add your .c and .h there, minding to use a TAB at the beginning of line you add. Below, extend in a similar way the line with the LDADD definition to include a -Lpath/to/lib and -lyourlib That should be all. This _is_ in the FAQ of glade, something every newbie should read... Can I also suggest NOT to use reply to another mail to put in a new question? See ya John On Thu, 16 Oct 2003 17:21:35 -0500 Brent Clements wrote: > This may or may not be relative to Glade but I thought I'd ask you guys > since I"m using glade to develop my gui's. > > Ok, I have written a my-sql.c and my-sql.h file that contains my > functions for performing mysql operations. > > A few questions. > > What do I change in order to compile this into my application when I run > make? > > What do I change in order for configure to automatically search for the > mysql libraries. I don't want my user to have to specify any > environmental variables such as CFLAGS and LDFLAGS when they run > configure > > > Please don't flame me for the simple questions. I'm trying to learn. :-) > to program in c again. > > Thanks, > Brent Clements > > _______________________________________________ > Glade-users maillist - Glade-users@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-users From bclem@rice.edu Fri Oct 17 16:16:05 2003 From: bclem@rice.edu (Brent M. Clements) Date: Fri, 17 Oct 2003 10:16:05 -0500 (CDT) Subject: [Glade-users] Basic Newbie question In-Reply-To: <20031017115425.50acad15.john@jcoppens.com> References: <200310151630.50701.marcos@polyflow.com> <1066342895.31019.3.camel@spac.ece.rice.edu> <20031017115425.50acad15.john@jcoppens.com> Message-ID: Where is the glade faq? I don't see it on the main glade site. Thanks, Brent On Fri, 17 Oct 2003, John Coppens wrote: > Brent... > > Edit the src/Makefile.am, and add your .c and .h there, minding to use a > TAB at the beginning of line you add. > > Below, extend in a similar way the line with the LDADD definition to > include a -Lpath/to/lib and -lyourlib > > That should be all. This _is_ in the FAQ of glade, something every newbie > should read... > > Can I also suggest NOT to use reply to another mail to put in a new > question? > > See ya > John > > > On Thu, 16 Oct 2003 17:21:35 -0500 > Brent Clements wrote: > > > This may or may not be relative to Glade but I thought I'd ask you guys > > since I"m using glade to develop my gui's. > > > > Ok, I have written a my-sql.c and my-sql.h file that contains my > > functions for performing mysql operations. > > > > A few questions. > > > > What do I change in order to compile this into my application when I run > > make? > > > > What do I change in order for configure to automatically search for the > > mysql libraries. I don't want my user to have to specify any > > environmental variables such as CFLAGS and LDFLAGS when they run > > configure > > > > > > Please don't flame me for the simple questions. I'm trying to learn. :-) > > to program in c again. > > > > Thanks, > > Brent Clements > > > > _______________________________________________ > > Glade-users maillist - Glade-users@lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/glade-users > _______________________________________________ > Glade-users maillist - Glade-users@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-users > From bclem@rice.edu Fri Oct 17 16:19:04 2003 From: bclem@rice.edu (Brent M. Clements) Date: Fri, 17 Oct 2003 10:19:04 -0500 (CDT) Subject: [Glade-users] Basic Newbie question In-Reply-To: References: <200310151630.50701.marcos@polyflow.com> <1066342895.31019.3.camel@spac.ece.rice.edu> <20031017115425.50acad15.john@jcoppens.com> Message-ID: Sorry again, I found it on the site. doh! Thanks again though! -Brent On Fri, 17 Oct 2003, Brent M. Clements wrote: > Where is the glade faq? I don't see it on the main glade site. > > Thanks, > Brent > > On Fri, 17 Oct 2003, John Coppens wrote: > > > Brent... > > > > Edit the src/Makefile.am, and add your .c and .h there, minding to use a > > TAB at the beginning of line you add. > > > > Below, extend in a similar way the line with the LDADD definition to > > include a -Lpath/to/lib and -lyourlib > > > > That should be all. This _is_ in the FAQ of glade, something every newbie > > should read... > > > > Can I also suggest NOT to use reply to another mail to put in a new > > question? > > > > See ya > > John > > > > > > On Thu, 16 Oct 2003 17:21:35 -0500 > > Brent Clements wrote: > > > > > This may or may not be relative to Glade but I thought I'd ask you guys > > > since I"m using glade to develop my gui's. > > > > > > Ok, I have written a my-sql.c and my-sql.h file that contains my > > > functions for performing mysql operations. > > > > > > A few questions. > > > > > > What do I change in order to compile this into my application when I run > > > make? > > > > > > What do I change in order for configure to automatically search for the > > > mysql libraries. I don't want my user to have to specify any > > > environmental variables such as CFLAGS and LDFLAGS when they run > > > configure > > > > > > > > > Please don't flame me for the simple questions. I'm trying to learn. :-) > > > to program in c again. > > > > > > Thanks, > > > Brent Clements > > > > > > _______________________________________________ > > > Glade-users maillist - Glade-users@lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/glade-users > > _______________________________________________ > > Glade-users maillist - Glade-users@lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/glade-users > > > _______________________________________________ > Glade-users maillist - Glade-users@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-users > From wwtaka@hotmail.com Mon Oct 20 13:33:46 2003 From: wwtaka@hotmail.com (taka hashi) Date: Mon, 20 Oct 2003 21:33:46 +0900 Subject: [Glade-users] how to add a library Message-ID: Hi. My name is Takahashi using glade2.0. I don't know how to add a library to a project. please give me an advice. is the following method incollect? 1) edit [makefile.am] INCLUDES = $(default) -I(my own library name) project1_LDADD = $(default) -L(my own library name) 2) do [autogen.sh]. 3) add (a) function of my own library in callbacks.c. after 1)-3), when doing [make], undefined reference to (a) showed. why undefined? $B!c(B takahashi wwtaka@hotmail.com $B!d(B _________________________________________________________________ $B$"$J$?$N(BPC$B$rpJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp From rjshaw@iprimus.com.au Mon Oct 20 13:55:34 2003 From: rjshaw@iprimus.com.au (Russell Shaw) Date: Mon, 20 Oct 2003 22:55:34 +1000 Subject: [Glade-users] Drawing order Message-ID: <3F93DB46.1000006@iprimus.com.au> Hi, Something that is very much needed is a way to change the "layering" of widgets that you place on the form/window. I use a "fixed" widget as a scratch-pad to place a bunch of widgets like buttons at the positions i want and can move them around how i want without having to worry about first placing the right vbox/hbox containers. Then, i'll create another window and place the right vboxes and hboxes in it to contain all the buttons and other widgets, so that it looks like the first "prototype" window. I'll then delete the first window. However, if i have a bunch of buttons on the first "prototype" window, then decide to place a frame that surrounds all the buttons, then all the buttons are hidden behind it. What is needed is something in a right-click pop-up menu that says "send to back", so that all the buttons are displayed "in front" of the frame widget. From wwtaka@hotmail.com Tue Oct 21 07:27:47 2003 From: wwtaka@hotmail.com (taka hashi) Date: Tue, 21 Oct 2003 15:27:47 +0900 Subject: [Glade-users] get_widget Message-ID: Hi. My name is taka using glade2.0. is [get_widget]function available in glade 2.0? _________________________________________________________________ $B$"$J$?$N(BPC$B$rpJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp From damon@karuna.uklinux.net Tue Oct 21 10:03:33 2003 From: damon@karuna.uklinux.net (Damon Chaplin) Date: 21 Oct 2003 10:03:33 +0100 Subject: [Glade-users] get_widget In-Reply-To: References: Message-ID: <1066727002.2706.0.camel@snowflake> On Tue, 2003-10-21 at 07:27, taka hashi wrote: > Hi. My name is taka using glade2.0. > > is [get_widget]function available in glade 2.0? Yes, it is called lookup_widget() now though. Damon From wwtaka@hotmail.com Tue Oct 21 12:52:08 2003 From: wwtaka@hotmail.com (taka hashi) Date: Tue, 21 Oct 2003 20:52:08 +0900 Subject: [Glade-users] get_widget Message-ID: > > is [get_widget]function available in glade 2.0? > >Yes, it is called lookup_widget() now though. thanks a lot!! I could replace [get_widget] with [lookup_widget]. where can I know such an information about function as that on the web? regards taka _________________________________________________________________ $B$"$J$?$N(BPC$B$rpJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp From Mike@kordik.net Tue Oct 21 12:59:39 2003 From: Mike@kordik.net (Mike) Date: Tue, 21 Oct 2003 07:59:39 -0400 Subject: [Glade-users] get_widget In-Reply-To: References: Message-ID: <1066737579.837.25.camel@Jacob.kordik.net> lookup_widget is created on the fly for you project by glade. It is in a module called suport.c in you project/src directory. There isn't a whole lot of documentation for it in that file but you can look at the source. On Tue, 2003-10-21 at 07:52, taka hashi wrote: > > > is [get_widget]function available in glade 2.0? > > > >Yes, it is called lookup_widget() now though. >=20 > thanks a lot!! > I could replace [get_widget] with [lookup_widget]. >=20 > where can I know such an information about function as that on the web= ? > =20 >=20 > regards > taka >=20 > _________________________________________________________________ > =E3=81=82=E3=81=AA=E3=81=9F=E3=81=AEPC=E3=82=92=E5=AE=88=E3=82=8B=E3=81= =9F=E3=82=81=E3=81=AB=E5=AE=9A=E6=9C=9F=E7=9A=84=E3=81=AA=E3=82=BB=E3=82=AD= =E3=83=A5=E3=83=AA=E3=83=86=E3=82=A3=E5=AF=BE=E7=AD=96=E3=82=92=E3=80=82=E3= =83=9E=E3=82=A4=E3=82=AF=E3=83=AD=E3=82=BD=E3=83=95=E3=83=88 =E3=82=BB=E3= =82=AD=E3=83=A5=E3=83=AA > =E3=83=86=E3=82=A3=E6=83=85=E5=A0=B1=E3=82=BB=E3=83=B3=E3=82=BF=E3=83=BC= http://www.microsoft.com/japan/protect/hm.asp >=20 > _______________________________________________ > Glade-users maillist - Glade-users@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-users From olafandjasper@hushmail.com Tue Oct 21 23:34:44 2003 From: olafandjasper@hushmail.com (olafandjasper@hushmail.com) Date: Tue, 21 Oct 2003 15:34:44 -0700 Subject: [Glade-users] how to add a library Message-ID: <200310212234.h9LMYi2E081553@mailserver1.hushmail.com> Hello Taka: In looking at your question, I am not clear if you are wanting to add a file, a function or a library. If you want to add your own file, go to the glade FAQ, it is clear. Same if you want to add your own function, just shove it in your own file and see the FAQ. Follow it up with a good dose of autogen.sh and make... Otherwise if you are interested in adding libraries ... The FAQ on adding libraries was confusing, so this is what I did: 1. edit projects/something/src/Makefile.am 2. execute projects/something/autogen.sh 3. make My makefile.am looks like this: ## Process this file with automake to produce Makefile.in ## TO integrate MYSQL library ## add the path to MYSQL so make can find it: MYSQLPATH=/usr ## Replace the original INCLUDES WITH THE ONE BELOW ##INCLUDES = \ ## -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ ## -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ ## @PACKAGE_CFLAGS@ ## ## TO integrate MYSQL ## replace the INCLUDES def with the following: INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ @PACKAGE_CFLAGS@ \ -I$(MYSQLPATH)/include/mysql bin_PROGRAMS = ssarts ssarts_SOURCES = \ main.c \ support.c support.h \ interface.c interface.h \ ssarts_support.c ssarts_support.h \ mysql_stuff.c mysql_stuff.h \ callbacks.c callbacks.h ## Replace the original def of somethin_LDADD ##ssarts_LDADD = @PACKAGE_LIBS@ ## ## TO integrate MYSQL using static libs ## define ssarts_LDADD as follows: ## ##ssarts_LDADD = @PACKAGE_LIBS@ \ ##-lz ${MYSQLPATH}/lib/mysql/libmysqlclient.a ## ## TO integrate MYSQL using dynamic libs ## define ssarts_LDADD as follows: ## ssarts_LDADD = @PACKAGE_LIBS@ \ -L${MYSQLPATH}/lib/mysql -lmysqlclient Good luck, O Here are the changes On Mon, 20 Oct 2003 05:33:46 -0700 taka hashi wrote: >Hi. >My name is Takahashi using glade2.0. >I don't know how to add a library to a project. >please give me an advice. > >is the following method incollect? > > 1) edit [makefile.am] > INCLUDES = $(default) > -I(my own library name) > project1_LDADD = $(default) > -L(my own library name) > > 2) do [autogen.sh]. > > 3) add (a) function of my own library in callbacks.c. > >after 1)-3), > when doing [make], undefined reference to (a) showed. > > why undefined? > > > >$B!c(B takahashi wwtaka@hotmail.com $B!d(B > >_________________________________________________________________ >$B$"$J$?$N(BPC$B$r$B%;%-%e%j(B >$B%F%#>pJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp >> >> >_______________________________________________ >Glade-users maillist - Glade-users@lists.ximian.com >http://lists.ximian.com/mailman/listinfo/glade-users > > Concerned about your privacy? Follow this link to get FREE encrypted email: https://www.hushmail.com/?l=2 Free, ultra-private instant messaging with Hush Messenger https://www.hushmail.com/services.php?subloc=messenger&l=434 Promote security and make money with the Hushmail Affiliate Program: https://www.hushmail.com/about.php?subloc=affiliate&l=427 From olafandjasper@hushmail.com Wed Oct 22 18:10:01 2003 From: olafandjasper@hushmail.com (olafandjasper@hushmail.com) Date: Wed, 22 Oct 2003 10:10:01 -0700 Subject: [Glade-users] Basic Newbie question Message-ID: <200310221710.h9MHA1F2058770@mailserver1.hushmail.com> Hello B The FAQ on adding libraries was confusing, so this is what I did: 1. edit projects/something/src/Makefile.am 2. execute projects/something/autogen.sh 3. make My makefile.am looks like this: ## Process this file with automake to produce Makefile.in ## TO integrate MYSQL library ## add the path to MYSQL so make can find it: MYSQLPATH=/usr ## Replace the original INCLUDES WITH THE ONE BELOW ##INCLUDES = \ ## -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ ## -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ ## @PACKAGE_CFLAGS@ ## ## TO integrate MYSQL ## replace the INCLUDES def with the following: INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ @PACKAGE_CFLAGS@ \ -I$(MYSQLPATH)/include/mysql bin_PROGRAMS = ssarts ssarts_SOURCES = \ main.c \ support.c support.h \ interface.c interface.h \ ssarts_support.c ssarts_support.h \ mysql_stuff.c mysql_stuff.h \ callbacks.c callbacks.h ## Replace the original def of somethin_LDADD ##ssarts_LDADD = @PACKAGE_LIBS@ ## ## TO integrate MYSQL using static libs ## define ssarts_LDADD as follows: ## ##ssarts_LDADD = @PACKAGE_LIBS@ \ ##-lz ${MYSQLPATH}/lib/mysql/libmysqlclient.a ## ## TO integrate MYSQL using dynamic libs ## define ssarts_LDADD as follows: ## ssarts_LDADD = @PACKAGE_LIBS@ \ -L${MYSQLPATH}/lib/mysql -lmysqlclient Good luck, O On Thu, 16 Oct 2003 15:21:35 -0700 Brent Clements wrote: >This may or may not be relative to Glade but I thought I'd ask you >guys >since I"m using glade to develop my gui's. > >Ok, I have written a my-sql.c and my-sql.h file that contains my >functions for performing mysql operations. > >A few questions. > >What do I change in order to compile this into my application when >I run >make? > >What do I change in order for configure to automatically search >for the >mysql libraries. I don't want my user to have to specify any >environmental variables such as CFLAGS and LDFLAGS when they run >configure > > >Please don't flame me for the simple questions. I'm trying to learn. >:-) >to program in c again. > >Thanks, >Brent Clements > >_______________________________________________ >Glade-users maillist - Glade-users@lists.ximian.com >http://lists.ximian.com/mailman/listinfo/glade-users > > Concerned about your privacy? Follow this link to get FREE encrypted email: https://www.hushmail.com/?l=2 Free, ultra-private instant messaging with Hush Messenger https://www.hushmail.com/services.php?subloc=messenger&l=434 Promote security and make money with the Hushmail Affiliate Program: https://www.hushmail.com/about.php?subloc=affiliate&l=427 From olafandjasper@hushmail.com Wed Oct 22 18:19:06 2003 From: olafandjasper@hushmail.com (olafandjasper@hushmail.com) Date: Wed, 22 Oct 2003 10:19:06 -0700 Subject: [Glade-users] Basic Newbie question Message-ID: <200310221719.h9MHJ6NT059591@mailserver1.hushmail.com> http://glade.gnome.org/FAQ On Fri, 17 Oct 2003 08:16:05 -0700 "Brent M. Clements" wrote: >Where is the glade faq? I don't see it on the main glade site. > >Thanks, >Brent > >On Fri, 17 Oct 2003, John Coppens wrote: > >> Brent... >> >> Edit the src/Makefile.am, and add your .c and .h there, minding >to use a >> TAB at the beginning of line you add. >> >> Below, extend in a similar way the line with the LDADD definition >to >> include a -Lpath/to/lib and -lyourlib >> >> That should be all. This _is_ in the FAQ of glade, something every >newbie >> should read... >> >> Can I also suggest NOT to use reply to another mail to put in >a new >> question? >> >> See ya >> John >> >> >> On Thu, 16 Oct 2003 17:21:35 -0500 >> Brent Clements wrote: >> >> > This may or may not be relative to Glade but I thought I'd ask >you guys >> > since I"m using glade to develop my gui's. >> > >> > Ok, I have written a my-sql.c and my-sql.h file that contains >my >> > functions for performing mysql operations. >> > >> > A few questions. >> > >> > What do I change in order to compile this into my application >when I run >> > make? >> > >> > What do I change in order for configure to automatically search >for the >> > mysql libraries. I don't want my user to have to specify any >> > environmental variables such as CFLAGS and LDFLAGS when they >run >> > configure >> > >> > >> > Please don't flame me for the simple questions. I'm trying to >learn. :-) >> > to program in c again. >> > >> > Thanks, >> > Brent Clements >> > >> > _______________________________________________ >> > Glade-users maillist - Glade-users@lists.ximian.com >> > http://lists.ximian.com/mailman/listinfo/glade-users >> _______________________________________________ >> Glade-users maillist - Glade-users@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/glade-users >> >_______________________________________________ >Glade-users maillist - Glade-users@lists.ximian.com >http://lists.ximian.com/mailman/listinfo/glade-users > > Concerned about your privacy? Follow this link to get FREE encrypted email: https://www.hushmail.com/?l=2 Free, ultra-private instant messaging with Hush Messenger https://www.hushmail.com/services.php?subloc=messenger&l=434 Promote security and make money with the Hushmail Affiliate Program: https://www.hushmail.com/about.php?subloc=affiliate&l=427 From wwtaka@hotmail.com Fri Oct 24 11:29:34 2003 From: wwtaka@hotmail.com (taka hashi) Date: Fri, 24 Oct 2003 19:29:34 +0900 Subject: [Glade-users] how to add a library Message-ID: sorry, my explanation was not clear. >In looking at your question, I am not clear if you are wanting to add >a file, a function or a library. I wanted to add a library. I treid to add my library [mylib.a] to myapp_LDADD, It's goot to write /home/mylib.a not -L/home/mylib.a. [-L] isn't necessary? regard taka >Otherwise if you are interested in adding libraries ... >The FAQ on adding libraries was confusing, so this is what I did: > 1. edit projects/something/src/Makefile.am > 2. execute projects/something/autogen.sh > 3. make >My makefile.am looks like this: >## Process this file with automake to produce Makefile.in > >## TO integrate MYSQL library >## add the path to MYSQL so make can find it: >MYSQLPATH=/usr > >## Replace the original INCLUDES WITH THE ONE BELOW >##INCLUDES = \ >## -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ >## -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ >## @PACKAGE_CFLAGS@ >## >## TO integrate MYSQL >## replace the INCLUDES def with the following: >INCLUDES = \ > -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ > -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ > @PACKAGE_CFLAGS@ \ > -I$(MYSQLPATH)/include/mysql > >bin_PROGRAMS = ssarts > >ssarts_SOURCES = \ > main.c \ > support.c support.h \ > interface.c interface.h \ > ssarts_support.c ssarts_support.h \ > mysql_stuff.c mysql_stuff.h \ > callbacks.c callbacks.h > >## Replace the original def of somethin_LDADD >##ssarts_LDADD = @PACKAGE_LIBS@ >## >## TO integrate MYSQL using static libs >## define ssarts_LDADD as follows: >## >##ssarts_LDADD = @PACKAGE_LIBS@ \ >##-lz ${MYSQLPATH}/lib/mysql/libmysqlclient.a >## >## TO integrate MYSQL using dynamic libs >## define ssarts_LDADD as follows: >## >ssarts_LDADD = @PACKAGE_LIBS@ \ >-L${MYSQLPATH}/lib/mysql -lmysqlclient > > >Good luck, >O > >Here are the changes > >On Mon, 20 Oct 2003 05:33:46 -0700 taka hashi wrote: > >Hi. > >My name is Takahashi using glade2.0. > >I don't know how to add a library to a project. > >please give me an advice. > > > >is the following method incollect? > > > > 1) edit [makefile.am] > > INCLUDES = $(default) > > -I(my own library name) > > project1_LDADD = $(default) > > -L(my own library name) > > > > 2) do [autogen.sh]. > > > > 3) add (a) function of my own library in callbacks.c. > > > >after 1)-3), > > when doing [make], undefined reference to (a) showed. > > > > why undefined? > > > > > > > >$B!c(B takahashi wwtaka@hotmail.com $B!d(B > > > >_________________________________________________________________ > >$B$"$J$?$N(BPC$B$r >$B%;%-%e%j(B > >$B%F%#>pJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp > >> > >> > >_______________________________________________ > >Glade-users maillist - Glade-users@lists.ximian.com > >http://lists.ximian.com/mailman/listinfo/glade-users > > > > > > > >Concerned about your privacy? Follow this link to get >FREE encrypted email: https://www.hushmail.com/?l=2 > >Free, ultra-private instant messaging with Hush Messenger >https://www.hushmail.com/services.php?subloc=messenger&l=434 > >Promote security and make money with the Hushmail Affiliate Program: >https://www.hushmail.com/about.php?subloc=affiliate&l=427 _________________________________________________________________ $B$"$J$?$N(BPC$B$rpJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp From alessandrobottoni@interfree.it Mon Oct 27 10:40:09 2003 From: alessandrobottoni@interfree.it (Alessandro Bottoni) Date: Mon, 27 Oct 2003 10:40:09 +0000 Subject: [Glade-users] Glade2 Project Templates? Message-ID: <200310271040.09529.alessandrobottoni@interfree.it> Does Glade2 supports the concept of "Application Templates"? I mean, is it possible to either: - save an existing Glade project as an "Application Template" or a "Project Template"? - create a Glade _input_ file (C, XML, whatever) that once executed by Glade2 will create the wished Glade Project (Application)? Thanks ---------------------------------- Alessandro Bottoni alessandrobottoni@interfree.it From ishanchattopadhyaya@hclinfinet.com Mon Oct 27 10:37:46 2003 From: ishanchattopadhyaya@hclinfinet.com (Ishan Chattopadhyaya) Date: Mon, 27 Oct 2003 16:07:46 +0530 Subject: [Glade-users] Glade2 Project Templates? References: <200310271040.09529.alessandrobottoni@interfree.it> Message-ID: <000401c39c76$63fe73c0$e530e2dc@ishan> No, you can either use GNOME or not use GNOME. That's the choice you have. You can use IDEs like Anjuta to give you this kind of flexibility. Regds, Ishan > Does Glade2 supports the concept of "Application Templates"? > > I mean, is it possible to either: > - save an existing Glade project as an "Application Template" or a "Project > Template"? > - create a Glade _input_ file (C, XML, whatever) that once executed by Glade2 > will create the wished Glade Project (Application)? > > Thanks From alessandrobottoni@interfree.it Mon Oct 27 13:06:50 2003 From: alessandrobottoni@interfree.it (Alessandro Bottoni) Date: Mon, 27 Oct 2003 13:06:50 +0000 Subject: [Glade-users] Glade2 Project Templates? In-Reply-To: <000401c39c76$63fe73c0$e530e2dc@ishan> References: <200310271040.09529.alessandrobottoni@interfree.it> <000401c39c76$63fe73c0$e530e2dc@ishan> Message-ID: <200310271306.50130.alessandrobottoni@interfree.it> Alle 10:37, luned=EC 27 ottobre 2003, Ishan Chattopadhyaya ha scritto: > No, you can either use GNOME or not use GNOME. That's the choice you have. > You can use IDEs like Anjuta to give you this kind of flexibility. Do you mean I can either use the GNOME Template or not, but I cannot=20 create/use a new, "custom" template? Anyway, many thanks for the prompt answer. I will check Anjuta. =2D--------------------------------- Alessandro Bottoni alessandrobottoni@interfree.it From wdewey@comcast.net Mon Oct 27 12:34:17 2003 From: wdewey@comcast.net (wdewey@comcast.net) Date: Mon, 27 Oct 2003 12:34:17 +0000 Subject: [Glade-users] Window properties Message-ID: <102720031234.24901.7573@comcast.net> Is it possible to get rid of the menu title bar and all the controls on it? Bill Dewey From ishanchattopadhyaya@hclinfinet.com Mon Oct 27 14:50:54 2003 From: ishanchattopadhyaya@hclinfinet.com (Ishan Chattopadhyaya) Date: Mon, 27 Oct 2003 20:20:54 +0530 Subject: [Glade-users] Glade2 Project Templates? References: <200310271040.09529.alessandrobottoni@interfree.it> <000401c39c76$63fe73c0$e530e2dc@ishan> <200310271306.50130.alessandrobottoni@interfree.it> Message-ID: <000f01c39c99$bdcc0660$0930e2dc@ishan> It's not template as you call it. Glade is not an IDE, it's just an interface builder. So, it can either create GTK+ interfaces or GNOME interfaces. Regds, Ishan Alle 10:37, lunedì 27 ottobre 2003, Ishan Chattopadhyaya ha scritto: > No, you can either use GNOME or not use GNOME. That's the choice you have. > You can use IDEs like Anjuta to give you this kind of flexibility. Do you mean I can either use the GNOME Template or not, but I cannot create/use a new, "custom" template? Anyway, many thanks for the prompt answer. I will check Anjuta. ---------------------------------- Alessandro Bottoni alessandrobottoni@interfree.it _______________________________________________ Glade-users maillist - Glade-users@lists.ximian.com http://lists.ximian.com/mailman/listinfo/glade-users From chrish@techspecs.com Tue Oct 28 06:07:03 2003 From: chrish@techspecs.com (Chris Haidinyak) Date: Mon, 27 Oct 2003 22:07:03 -0800 Subject: [Glade-users] Newbie question about accessing/setting ruler properties from a drawing_area widget method Message-ID: <3F9E0787.7050802@techspecs.com> Hi, I am new to glade2 but am learning quickly. I have a window created and placed an HRuler and VRuler as well as a drawing_area into the window. How do I change the HRuler/VRuler properties while inside a drawing_area method? I am using gtkmm and using c++. Please help; thanks. Best Regards, Chris Haidinyak From chrish@techspecs.com Tue Oct 28 13:16:36 2003 From: chrish@techspecs.com (Chris Haidinyak) Date: Tue, 28 Oct 2003 05:16:36 -0800 Subject: [Glade-users] Newbie question about accessing/setting ruler properties from a drawing_area widget method Message-ID: <3F9E6C34.3090900@techspecs.com> Hi, I am new to glade2 but am learning quickly. I have a window created and placed an HRuler and VRuler as well as a drawing_area into the window. How do I change the HRuler/VRuler properties while inside a drawing_area method? I am using gtkmm and using c++. Please help; thanks. Best Regards, Chris Haidinyak From ishanchattopadhyaya@hclinfinet.com Tue Oct 28 17:21:36 2003 From: ishanchattopadhyaya@hclinfinet.com (Ishan Chattopadhyaya) Date: Tue, 28 Oct 2003 22:51:36 +0530 Subject: [Glade-users] Newbie question about accessing/setting ruler properties from a drawing_area widget method References: <3F9E0787.7050802@techspecs.com> Message-ID: <000901c39d78$08083da0$7f30e2dc@ishan> lookup_widget() from support.c can be used to get a pointer to the rulers. Regds, Ishan > Hi, > > I am new to glade2 but am learning quickly. I have a window created > and placed an HRuler and VRuler as well as a drawing_area into the > window. How do I change the HRuler/VRuler properties while inside a > drawing_area method? I am using gtkmm and using c++. Please help; thanks. > > Best Regards, > Chris Haidinyak > > > _______________________________________________ > Glade-users maillist - Glade-users@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-users > From olafandjasper@hushmail.com Wed Oct 29 16:18:17 2003 From: olafandjasper@hushmail.com (olafandjasper@hushmail.com) Date: Wed, 29 Oct 2003 08:18:17 -0800 Subject: [Glade-users] how to add a library Message-ID: <200310291618.h9TGIHCF094162@mailserver3.hushmail.com> Hello: The -L flag is required if you are using dynamic libs. TO add your lib as a static lib define myapp_LDADD as follows: myapp_LDADD = @PACKAGE_LIBS@ \ -lz ${MYLIB_PATH}/libmylib.a TO add your lib as a dynamic lib <---- My preference define myapp_LDADD as follows: myapp_LDADD = @PACKAGE_LIBS@ \ -L${MYLIB_PATH} -lmylib Thanks, O On Fri, 24 Oct 2003 03:29:34 -0700 taka hashi wrote: > > sorry, my explanation was not clear. > >>In looking at your question, I am not clear if you are wanting >to add >>a file, a function or a library. > > I wanted to add a library. > > I treid to add my library [mylib.a] to myapp_LDADD, > It's goot to write /home/mylib.a not -L/home/mylib.a. > > [-L] isn't necessary? > >regard >taka > > >>Otherwise if you are interested in adding libraries ... >>The FAQ on adding libraries was confusing, so this is what I did: >> 1. edit projects/something/src/Makefile.am >> 2. execute projects/something/autogen.sh >> 3. make >>My makefile.am looks like this: >>## Process this file with automake to produce Makefile.in >> >>## TO integrate MYSQL library >>## add the path to MYSQL so make can find it: >>MYSQLPATH=/usr >> >>## Replace the original INCLUDES WITH THE ONE BELOW >>##INCLUDES = \ >>## -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ >>## -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ >>## @PACKAGE_CFLAGS@ >>## >>## TO integrate MYSQL >>## replace the INCLUDES def with the following: >>INCLUDES = \ >> -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ >> -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" >\ >> @PACKAGE_CFLAGS@ \ >> -I$(MYSQLPATH)/include/mysql >> >>bin_PROGRAMS = ssarts >> >>ssarts_SOURCES = \ >> main.c \ >> support.c support.h \ >> interface.c interface.h \ >> ssarts_support.c ssarts_support.h \ >> mysql_stuff.c mysql_stuff.h \ >> callbacks.c callbacks.h >> >>## Replace the original def of somethin_LDADD >>##ssarts_LDADD = @PACKAGE_LIBS@ >>## >>## TO integrate MYSQL using static libs >>## define ssarts_LDADD as follows: >>## >>##ssarts_LDADD = @PACKAGE_LIBS@ \ >>##-lz ${MYSQLPATH}/lib/mysql/libmysqlclient.a >>## >>## TO integrate MYSQL using dynamic libs >>## define ssarts_LDADD as follows: >>## >>ssarts_LDADD = @PACKAGE_LIBS@ \ >>-L${MYSQLPATH}/lib/mysql -lmysqlclient >> >> >>Good luck, >>O >> >>Here are the changes >> >>On Mon, 20 Oct 2003 05:33:46 -0700 taka hashi >wrote: >> >Hi. >> >My name is Takahashi using glade2.0. >> >I don't know how to add a library to a project. >> >please give me an advice. >> > >> >is the following method incollect? >> > >> > 1) edit [makefile.am] >> > INCLUDES = $(default) >> > -I(my own library name) >> > project1_LDADD = $(default) >> > -L(my own library name) >> > >> > 2) do [autogen.sh]. >> > >> > 3) add (a) function of my own library in callbacks.c. >> > >> >after 1)-3), >> > when doing [make], undefined reference to (a) showed. >> > >> > why undefined? >> > >> > >> > >> >$B!c(B takahashi wwtaka@hotmail.com $B!d(B >> > >> >_________________________________________________________________ >> >$B$"$J$?$N(BPC$B$r> >$B%;%-%e%j(B >> >$B%F%#>pJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp >> >> >> >> >> >_______________________________________________ >> >Glade-users maillist - Glade-users@lists.ximian.com >> >http://lists.ximian.com/mailman/listinfo/glade-users >> > >> > >> >> >> >>Concerned about your privacy? Follow this link to get >>FREE encrypted email: https://www.hushmail.com/?l=2 >> >>Free, ultra-private instant messaging with Hush Messenger >>https://www.hushmail.com/services.php?subloc=messenger&l=434 >> >>Promote security and make money with the Hushmail Affiliate Program: >>https://www.hushmail.com/about.php?subloc=affiliate&l=427 > >_________________________________________________________________ >$B$"$J$?$N(BPC$B$r$B%;%-%e%j(B >$B%F%#>pJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp >> >> >_______________________________________________ >Glade-users maillist - Glade-users@lists.ximian.com >http://lists.ximian.com/mailman/listinfo/glade-users > > Concerned about your privacy? Follow this link to get FREE encrypted email: https://www.hushmail.com/?l=2 Free, ultra-private instant messaging with Hush Messenger https://www.hushmail.com/services.php?subloc=messenger&l=434 Promote security and make money with the Hushmail Affiliate Program: https://www.hushmail.com/about.php?subloc=affiliate&l=427 From kcshu@pchome.com.tw Thu Oct 30 05:55:39 2003 From: kcshu@pchome.com.tw (=?big5?B?rn2w6rx5IFwoS0NcKQ==?=) Date: Thu, 30 Oct 2003 13:55:39 +0800 Subject: [Glade-users] How to make window max Message-ID: <004901c39eaa$a0831540$3310a8c0@hgiga.com> HI, How to make window max when the winow show event occur? Thanks Best Regards, KC ========================================================== PChome¥æ¤Í~~©¯ºÖ¤Ñ¤Ñ¦³ \*^o^*// http://love.pchome.com.tw/ ========================================================== From wwtaka@hotmail.com Thu Oct 30 07:37:54 2003 From: wwtaka@hotmail.com (taka hashi) Date: Thu, 30 Oct 2003 16:37:54 +0900 Subject: [Glade-users] how to add a library Message-ID: Hello. >Hello: >The -L flag is required if you are using dynamic libs. > >TO add your lib as a static lib >define myapp_LDADD as follows: > myapp_LDADD = @PACKAGE_LIBS@ \ > -lz ${MYLIB_PATH}/libmylib.a > >TO add your lib as a dynamic lib <---- My preference >define myapp_LDADD as follows: > myapp_LDADD = @PACKAGE_LIBS@ \ > -L${MYLIB_PATH} -lmylib Thanks a lot for replying to a low-level question !! I could understand much. regards taka >Thanks, >O > >On Fri, 24 Oct 2003 03:29:34 -0700 taka hashi wrote: > > > > sorry, my explanation was not clear. > > > >>In looking at your question, I am not clear if you are wanting > >to add > >>a file, a function or a library. > > > > I wanted to add a library. > > > > I treid to add my library [mylib.a] to myapp_LDADD, > > It's goot to write /home/mylib.a not -L/home/mylib.a. > > > > [-L] isn't necessary? > > > >regard > >taka > > > > > >>Otherwise if you are interested in adding libraries ... > >>The FAQ on adding libraries was confusing, so this is what I did: > >> 1. edit projects/something/src/Makefile.am > >> 2. execute projects/something/autogen.sh > >> 3. make > >>My makefile.am looks like this: > >>## Process this file with automake to produce Makefile.in > >> > >>## TO integrate MYSQL library > >>## add the path to MYSQL so make can find it: > >>MYSQLPATH=/usr > >> > >>## Replace the original INCLUDES WITH THE ONE BELOW > >>##INCLUDES = \ > >>## -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ > >>## -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ > >>## @PACKAGE_CFLAGS@ > >>## > >>## TO integrate MYSQL > >>## replace the INCLUDES def with the following: > >>INCLUDES = \ > >> -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ > >> -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" > >\ > >> @PACKAGE_CFLAGS@ \ > >> -I$(MYSQLPATH)/include/mysql > >> > >>bin_PROGRAMS = ssarts > >> > >>ssarts_SOURCES = \ > >> main.c \ > >> support.c support.h \ > >> interface.c interface.h \ > >> ssarts_support.c ssarts_support.h \ > >> mysql_stuff.c mysql_stuff.h \ > >> callbacks.c callbacks.h > >> > >>## Replace the original def of somethin_LDADD > >>##ssarts_LDADD = @PACKAGE_LIBS@ > >>## > >>## TO integrate MYSQL using static libs > >>## define ssarts_LDADD as follows: > >>## > >>##ssarts_LDADD = @PACKAGE_LIBS@ \ > >>##-lz ${MYSQLPATH}/lib/mysql/libmysqlclient.a > >>## > >>## TO integrate MYSQL using dynamic libs > >>## define ssarts_LDADD as follows: > >>## > >>ssarts_LDADD = @PACKAGE_LIBS@ \ > >>-L${MYSQLPATH}/lib/mysql -lmysqlclient > >> > >> > >>Good luck, > >>O > >> > >>Here are the changes > >> > >>On Mon, 20 Oct 2003 05:33:46 -0700 taka hashi > >wrote: > >> >Hi. > >> >My name is Takahashi using glade2.0. > >> >I don't know how to add a library to a project. > >> >please give me an advice. > >> > > >> >is the following method incollect? > >> > > >> > 1) edit [makefile.am] > >> > INCLUDES = $(default) > >> > -I(my own library name) > >> > project1_LDADD = $(default) > >> > -L(my own library name) > >> > > >> > 2) do [autogen.sh]. > >> > > >> > 3) add (a) function of my own library in callbacks.c. > >> > > >> >after 1)-3), > >> > when doing [make], undefined reference to (a) showed. > >> > > >> > why undefined? > >> > > >> > > >> > > >> >$B!c(B takahashi wwtaka@hotmail.com $B!d(B > >> > > >> >_________________________________________________________________ > >> >$B$"$J$?$N(BPC$B$r >> >$B%;%-%e%j(B > >> >$B%F%#>pJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp > >> >> > >> >> > >> >_______________________________________________ > >> >Glade-users maillist - Glade-users@lists.ximian.com > >> >http://lists.ximian.com/mailman/listinfo/glade-users > >> > > >> > > >> > >> > >> > >>Concerned about your privacy? Follow this link to get > >>FREE encrypted email: https://www.hushmail.com/?l=2 > >> > >>Free, ultra-private instant messaging with Hush Messenger > >>https://www.hushmail.com/services.php?subloc=messenger&l=434 > >> > >>Promote security and make money with the Hushmail Affiliate Program: > >>https://www.hushmail.com/about.php?subloc=affiliate&l=427 > > > >_________________________________________________________________ > >$B$"$J$?$N(BPC$B$r >$B%;%-%e%j(B > >$B%F%#>pJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp > >> > >> > >_______________________________________________ > >Glade-users maillist - Glade-users@lists.ximian.com > >http://lists.ximian.com/mailman/listinfo/glade-users > > > > > > > >Concerned about your privacy? Follow this link to get >FREE encrypted email: https://www.hushmail.com/?l=2 > >Free, ultra-private instant messaging with Hush Messenger >https://www.hushmail.com/services.php?subloc=messenger&l=434 > >Promote security and make money with the Hushmail Affiliate Program: >https://www.hushmail.com/about.php?subloc=affiliate&l=427 _________________________________________________________________ $B$"$J$?$N(BPC$B$rpJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp From olafandjasper@hushmail.com Thu Oct 30 19:19:34 2003 From: olafandjasper@hushmail.com (olafandjasper@hushmail.com) Date: Thu, 30 Oct 2003 11:19:34 -0800 Subject: [Glade-users] g_signal_connect and passing data Message-ID: <200310301919.h9UJJZEg046392@mailserver2.hushmail.com> Hello: BTW: I am using C. I am having a problem printing out the data I pass to a callback function. I am using the g_signal_connect. The function is getting called and if I hard code the data it prints just FINE, but I can't. Here is my stuff: 1. This is the struct holding the data: typedef struct my_paths { char bin[1000]; char doc[1000]; } MY_PATHS; 2. This is a chunk of the code that sets up the callback: MY_PATHS mydata; strcpy(mydata.bin,"TESTING"); printf("Data is <%s> before callback activated\n",mydata.bin); printf("Data is at %p before callback activated\n",mydata); g_signal_connect(G_OBJECT (tableCells[r][6]), "button_press_event", G_CALLBACK (selectActionBin), (gpointer) &mydata); 3. This is the callback function void selectActionBin(MY_PATHS *data) { printf("In CB, data = <%s>\n",data->bin); printf("In CB, data is at %p\n", data); printf("In CB, data is at %p\n", &data); gtk_widget_show (selectDialog_window); <--- This shows up as expected. } 4. Finally, this is the output. ./testIt ---- The following prints out from #2 above Data is before callback activated Data is at 0x504f4f50 before callback activated ---- The following prints out from #3 above In CB, data = <> <---- I want to see my data here :{ In CB, data is at 0x80b2a30 In CB, data is at 0xbfffeb40 BTW, the following data prints out in the CB function, given the type of data is changed to char *data. g_signal_connect(G_OBJECT (tableCells[r][6]), "button_press_event", G_CALLBACK (selectActionBin), "POOP"); Any help would be apprecited. O Concerned about your privacy? Follow this link to get FREE encrypted email: https://www.hushmail.com/?l=2 Free, ultra-private instant messaging with Hush Messenger https://www.hushmail.com/services.php?subloc=messenger&l=434 Promote security and make money with the Hushmail Affiliate Program: https://www.hushmail.com/about.php?subloc=affiliate&l=427 From rjshaw@iprimus.com.au Fri Oct 31 02:16:45 2003 From: rjshaw@iprimus.com.au (Russell Shaw) Date: Fri, 31 Oct 2003 13:16:45 +1100 Subject: [Glade-users] g_signal_connect and passing data In-Reply-To: <200310301919.h9UJJZEg046392@mailserver2.hushmail.com> References: <200310301919.h9UJJZEg046392@mailserver2.hushmail.com> Message-ID: <3FA1C60D.6040303@iprimus.com.au> olafandjasper@hushmail.com wrote: > Hello: > BTW: I am using C. > I am having a problem printing out the data I pass to a callback function. > I am using the g_signal_connect. The function is getting > called and if I hard code the data it prints just FINE, but I can't. > > Here is my stuff: ... > Any help would be apprecited. Use gdb/ddd. From ishanchattopadhyaya@hclinfinet.com Fri Oct 31 16:52:59 2003 From: ishanchattopadhyaya@hclinfinet.com (Ishan Chattopadhyaya) Date: Fri, 31 Oct 2003 22:22:59 +0530 Subject: [Glade-users] Problem with (Anti?) SPAM References: <4888824.1067535095685.JavaMail.root@zack5> Message-ID: <001201c39fcf$90a6c100$5130e2dc@ishan> This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C39FFD.8A7B8940 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Someone please get rid of this UOL Anti Spam chap out of this list. It's = really aweful to keep getting these irritating messages whenever = somebody posts to the list. Regds, Ishan ----- Original Message -----=20 From: AntiSpam UOL=20 To: ishanchattopadhyaya@hclinfinet.com=20 Sent: Thursday, October 30, 2003 11:01 PM Subject: RE:Re: [Glade-users] Newbie question about accessing/setting = ruler properties from a drawing_area widget method ------=_NextPart_000_000B_01C39FFD.8A7B8940 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Someone please get rid of this UOL Anti = Spam chap=20 out of this list. It's really aweful to keep getting these irritating = messages=20 whenever somebody posts to the list.
 
Regds,
Ishan
----- Original Message -----
From:=20 AntiSpam UOL =
To: ishanchattopadhyaya@hc= linfinet.com=20
Sent: Thursday, October 30, = 2003 11:01=20 PM
Subject: RE:Re: [Glade-users] = Newbie=20 question about accessing/setting ruler properties from a drawing_area = widget=20 method
------=_NextPart_000_000B_01C39FFD.8A7B8940--