Re: gtk-list digest, Vol 1 #1941 - 5 msgs



> Send gtk-list mailing list submissions to
> 	gtk-list gnome org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mail.gnome.org/mailman/listinfo/gtk-list
> or, via email, send a message with subject or body 'help' to
> 	gtk-list-request gnome org
>
> You can reach the person managing the list at
> 	gtk-list-admin gnome org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gtk-list digest..."
>
>
> Today's Topics:
>
>    1. Re: Reading from a GtkComboBox created with ..._new_text()
> (Jan-Marek Glogowski)
>    2. Re: amd64 as target (Chuck Robey)
>    3. Re: amd64 as target (Manish Singh)
>    4. How to configure XKB (bit_nima_tshering sherubtse edu bt)
>    5. (no subject) (bit_nima_tshering sherubtse edu bt)
>
> --__--__--
>
> Message: 1
> Date: Mon, 5 Apr 2004 02:31:30 +0200 (CEST)
> From: Jan-Marek Glogowski <glogow fbihome de>
> To: Daniel Drake <dan reactivated net>
> Cc: gtk-list gnome org
> Subject: Re: Reading from a GtkComboBox created with ..._new_text()
>
> Hi
>
> Internally the GtkComboBox created with gtk_combo_box_new_text() uses a
> GtkListStore as it's "TreeModel". Just call gtk_combo_box_get_model() to
> get it.
>
>> I would like to loop around all items in the combo.
>
> model = gtk_combo_box_get_model( combo );
>
> if( ! gtk_tree_model_get_iter_first( model, &iter ) )
> 	return -1; // Empty list
>
> do {
> 	gtk_tree_model_get( model, &iter, 0, &combo_text, -1 );
>
> 	g_free( combo_text );
> }
> while( gtk_tree_model_iter_next( model, &iter ) );
>
> HTH
>
> Jan-Marek
>
> --__--__--
>
> Message: 2
> Date: Mon, 05 Apr 2004 01:21:44 -0400
> From: Chuck Robey <chuckr chuckr org>
> To: Manish Singh <yosh gimp org>
> Cc: gtk-list gnome org
> Subject: Re: amd64 as target
>
> Manish Singh wrote:
>
>>On Sun, Mar 28, 2004 at 10:45:52PM -0500, Chuck Robey wrote:
>>
>>
>>>I'm having a heck of a time trying to get glib and gtk to compile nicely
>>>for the amd64.  The configure script keeps on finding the binaries in
>>>/usr/bin and using them  to make decisions, ones that aren't always
>>>correct... you see, I have to cater to two platform needs, one is the
>>>323 bit one that you're all very familiar with, but the other one needs
>>>-m64, and isn't really very compatible withthe -m32 bit mode.
>>>
>>>The use of binaries in /usr/bin is confusing me more, I need someone to
>>>lay out the playing field in 2 different ways: one, let me know, please,
>>>how the binaries (glib-something in /usr/bin) figure in the
>>>configuration) and what the right set of switches is in configure to get
>>>me *both* of the two modes I need to cater to.
>>>
>>>
>>
>>All there is a glib-genmarshal and glib-mkenums, which is just codegen
>>stuff. They'll produce the same output regardless of architecture, so
>>you only need one.
>>
>>
>>
>>>You see, I tried using "env CFLAGS=-m64 configure
>>>--libdir=/usr/local/lib64" but it fails, telliiimg me that the gcc can't
>>>create executeables.  That was for the 64 bit stuff.  For the 32 bit
>>>stuff, it's bringing in /usr/X11R6/lib64, which is completely wrong for
>>>the 32 bit mode.
>>>
>>>
>>
>>Sounds like you forgot to set PKG_CONFIG_PATH to point to
>> /usr/lib/pkgconfig
>>(/usr/lib64/pkgconfig would be the default).
>>
>>
> You know, I've loooked around a bit now, just where is the
> PKG_CONFIG_PATH documented?
>
>>If you're going for a dual 32/64-bit setup in the same prefix, I'd
>> recommend
>>doing the full install of the 64-bit tree, but only the libdir of the
>> 32-bit
>>tree, since the rest should be completely sharable.
>>
>>-Yosh
>>
>>
>
>
> --__--__--
>
> Message: 3
> Date: Sun, 4 Apr 2004 22:39:05 -0700
> From: Manish Singh <yosh gimp org>
> To: Chuck Robey <chuckr chuckr org>
> Cc: gtk-list gnome org
> Subject: Re: amd64 as target
> Reply-To: Manish Singh <yosh gimp org>
> Organization: Exceedingly Disorganized
>
> On Mon, Apr 05, 2004 at 01:21:44AM -0400, Chuck Robey wrote:
>> Manish Singh wrote:
>> >On Sun, Mar 28, 2004 at 10:45:52PM -0500, Chuck Robey wrote:
>> >>You see, I tried using "env CFLAGS=-m64 configure
>> >>--libdir=/usr/local/lib64" but it fails, telliiimg me that the gcc
>> can't
>> >>create executeables.  That was for the 64 bit stuff.  For the 32 bit
>> >>stuff, it's bringing in /usr/X11R6/lib64, which is completely wrong
>> for
>> >>the 32 bit mode.
>> >>
>> >>
>> >
>> >Sounds like you forgot to set PKG_CONFIG_PATH to point to
>> >/usr/lib/pkgconfig
>> >(/usr/lib64/pkgconfig would be the default).
>> >
>> >
>> You know, I've loooked around a bit now, just where is the
>> PKG_CONFIG_PATH documented?
>
> In the man page for pkg-config. The webpage even says to look there.
>
> I quote:
>
> PKG_CONFIG_PATH
>        A  colon-separated  (on  Windows,  semicolon-separated)  list of
>        directories to search for .pc files.  The default directory will
>        always be searched after searching the path; the default is lib-
>        dir/pkgconfig where libdir is the libdir  where  pkg-config  was
>        installed.
>
> But you should really read the whole thing for yourself.
>
> -Yosh
>
> --__--__--
>
> Message: 4
> Date: Mon, 5 Apr 2004 18:14:51 +0600 (BTT)
> Subject: How to configure XKB
> From: bit_nima_tshering sherubtse edu bt
> To: gtk-list gnome org
>
> hi,
>
>    can u can help me in specifying the name of all the files required to
> configure XKB for including a new language in RedHat Linux 9.
>
>  cheers
>    nim
>
> --__--__--
>
> Message: 5
> Date: Mon, 5 Apr 2004 18:16:06 +0600 (BTT)
> From: bit_nima_tshering sherubtse edu bt
> To: gtk-list gnome org
> Subject: (no subject)
>
>
>
>
> --__--__--
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
> End of gtk-list Digest
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]