GtkList and double-click



Hello!

How can I connect a Gtklist to the event
"double-click"?

I would like this :

When the user double-click on the item it's make an
action, or he can also select the item and after press
the "OK" button.

 --- gtk-list-request gnome org a écrit : > 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. [PATCH] Fix __asm__ __const__ in glib-1.2.x
> branch (Pavel Roskin)
>    2. Re: [PATCH] Fix __asm__ __const__ in
> glib-1.2.x branch (Owen Taylor)
>    3. Re: Building gtk+ (Philip Peake)
>    4. Re: [PATCH] Fix __asm__ __const__ in
> glib-1.2.x branch (Pavel Roskin)
>    5. thread (Blowfish)
>    6. Re: thread (Paul Davis)
>    7. a "locale" question. (James Patrick Dugan)
>    8. gtk_draw_area not displaying (Jason)
>    9. GTK+ problem. (TIONG YONGTAANG)
>   10. Re: [gtkmm] Concurrency with gtk/gtkmm (Tassos
> Bassoukos)
>   11. Re: GTK+ problem. (Olexiy Avramchenko)
>   12. Re: gtk_draw_area not displaying
> (John Cupitt ng-london org uk)
> 
> --__--__--
> 
> Message: 1
> Date: Wed, 13 Nov 2002 12:10:35 -0500 (EST)
> From: Pavel Roskin <proski gnu org>
> To: gtk-list gnome org
> Subject: [PATCH] Fix __asm__ __const__ in glib-1.2.x
> branch
> 
>   This message is in MIME format.  The first part
> should be readable text,
>   while the remaining parts are likely unreadable
> without MIME-aware tools.
>   Send mail to mime docserver cac washington edu for
> more info.
> 
> --8323328-1747435698-1037207435=:13460
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> Hello!
> 
> If you ever release glib 1.2.11, it would be a shame
> if this warning is 
> still not fixed.  glib.h uses "__asm__ __const__",
> which makes no sense, 
> and gcc 3.2 (and some older versions) complains
> whenever those macros are 
> used.  The warnings in displayed by default, without
> any "-W" options.
> 
> Example from GNU Midnight Commander
> (GUINT16_SWAP_LE_BE is used):
> 
> cpio.c: In function `cpio_read_bin_head':
> cpio.c:260: warning: const qualifier ignored on asm
> 
> This is already fixed in glib 2.0.  The attached
> patch removes __const__
> and realigns backslashes.
> 
> -- 
> Regards,
> Pavel Roskin
> 
> --8323328-1747435698-1037207435=:13460
> Content-Type: APPLICATION/x-gzip;
> name="asmconst.diff.gz"
> Content-Transfer-Encoding: BASE64
> Content-ID:
>
<Pine LNX 4 44 0211131210350 13460 marabou research att com>
> Content-Description: 
> Content-Disposition: attachment;
> filename="asmconst.diff.gz"
> 
>
H4sICHGG0j0AA2FzbWNvbnN0LmRpZmYA7VVNT+pAFF2XX3EffqS1VoVKQyQm
>
qCHG5KW+BIwuSCYFpjBJHZrOAAvjf3/TmQKdtqAm7nQ2beae+3U4hzqOA9OI
>
jM5mNdu216/dLjgtt3XqtsDOnt1uDQwgIZgIjRYk4oSi8ZwyHlCOYjCXQWRZ
>
hjFMUQAILeEa7p8e/EHDQ/3nm3/obw/d9tDdo98f3PgDldBReBwxbMgzrDkq
>
PWCvCImnbCHezHoyT1Zw2D6Fo9VFXSGNFCvOFdSvk3o62dIqRS5EwJwuCOUN
>
z8rmlI3tfKdSfQkwytW1+x215VYC3oF3y6rBAcAEh4TiCkJkDpgVTL20vayi
>
rCCY/6OqTMQk5LLtIWTB8bF221K3or06ejjGlJPFa0WeV1Utg8fJXMTkDKAv
>
4jYL86plBP9Ze7EXuvef7lDvZdDz+w+P/vpHhg3iDRI8JYzjBCSRbjMVTycn
>
ho9Ft0FqwtPHKwovy9lKb1PkI/EN6ZAXBAgpIILDhicQOwEFeeWiJYnpsa3M
>
3KYu4b1E5+L7eM6c8Blv219lWaXk/W1rHFcyu7VYJa+FcLVpd7p2D59l26aD
>
w/kJCLdBQCcwI9OZIHAWMBixVRDDyfkPN4ai4ehX0jlJ5zn5dkXSiVhKSFL8
>
LY8xY/MEWIzHJCRjcJvOiHBgfBGGa2XulGX+w1PS6/rD8x8D+vTcHggAAA==
> --8323328-1747435698-1037207435=:13460--
> 
> --__--__--
> 
> Message: 2
> To: Pavel Roskin <proski gnu org>
> Cc: gtk-list gnome org
> Subject: Re: [PATCH] Fix __asm__ __const__ in
> glib-1.2.x branch
> From: Owen Taylor <otaylor redhat com>
> Date: Wed, 13 Nov 2002 12:29:22 -0500 (EST)
> 
> 
> Pavel Roskin <proski gnu org> writes:
> 
> > Hello!
> > 
> > If you ever release glib 1.2.11, it would be a
> shame if this warning is 
> > still not fixed.  glib.h uses "__asm__ __const__",
> which makes no sense, 
> > and gcc 3.2 (and some older versions) complains
> whenever those macros are 
> > used.  The warnings in displayed by default,
> without any "-W" options.
> > 
> > Example from GNU Midnight Commander
> (GUINT16_SWAP_LE_BE is used):
> > 
> > cpio.c: In function `cpio_read_bin_head':
> > cpio.c:260: warning: const qualifier ignored on
> asm
> > 
> > This is already fixed in glib 2.0.  The attached
> patch removes __const__
> > and realigns backslashes.
> 
> A) Patches for GLib should be filed in
> bugzilla.gnome.org 
>    (this is bug #73308, so best to just attach it
> there, I'm
>    not really sure a patch is that useful for this
> one, but 
>    it can't hurt.) Instructions are in the Glib
> README.
> 
> B) It's quite unlikely that we'll ever release
> GLib-1.2.11.
>    mc should be ported to GLib-2.x. (Should be
> trival assuming
>    you've dumped gmc.)
> 
> Regards,
>                                         Owen
> 
> --__--__--
> 
> Message: 3
> Date: Wed, 13 Nov 2002 10:06:36 -0800 (PST)
> From: Philip Peake <philip vogon net>
> To: Sven Neumann <sven gimp org>
> Cc: gtk-list gnome org
> Subject: Re: Building gtk+
> 
> On 12 Nov 2002, Sven Neumann wrote:
> 
> Sven,
> 	you were right. I downloaded, built and
> re-installed all of the PNG
> stuff, and then things worked fine.
> 
> Thanks!.
> 
> Philip
> 
> ----------
> > Hi,
> > 
> > Philip Peake <philip vogon net> writes:
> > 
> > > I am having trouble building gtk+.
> > > 
> > > On Redhat 7.3, everything configures ok, and
> builds up to the point
> > > of gtk-demo, where I get the following error:
> > > 
> > > creating gtk-demo
> > > make[3]: Leaving directory
> `/home/philip/src/gtk+-2.0.8/demos/gtk-demo'
> > > make[3]: Entering directory
> `/home/philip/src/gtk+-2.0.8/demos'
> > > (topdir=`cd .. && pwd` ; curdir=`pwd` ; \
> > >   cd . &&                                    \
> > >      
> GDK_PIXBUF_MODULEDIR=$topdir/gdk-pixbuf/.libs
> $topdir/gdk-pixbuf/gdk-pixbuf-csource --build-list \
> > >         apple_red apple-red.png gnome_foot
> gnome-foot.png 
=== message truncated === 

=====
oO0 A + Ju 0Oo

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



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