Re: Any *nix testers available out there, please? - script below
| From: | Steph | Date: | Mon, 25 Feb 2002 20:48:36 +0000 |
| Subject: | Re: Any *nix testers available out there, please? - script below | ||
| References: | 1 | Groups: | php.gtk.doc php.gtk.general |
| Request: | Send a blank email to php-gtk-doc+get-427@lists.php.net to get a copy of this message | ||
sorry, should've said. No, I'm trying to get my head around end_drag_selection()
it looks dead simple in the source :(
void
gtk_list_end_drag_selection (GtkList *list)
{
g_return_if_fail (list != NULL);
g_return_if_fail (GTK_IS_LIST (list));
list->drag_selection = FALSE;
if (GTK_WIDGET_HAS_GRAB (list))
{
gtk_grab_remove (GTK_WIDGET (list));
if (gdk_pointer_is_grabbed())
gdk_pointer_ungrab (GDK_CURRENT_TIME);
}
if (list->htimer)
{
gtk_timeout_remove (list->htimer);
list->htimer = 0;
}
if (list->vtimer)
{
gtk_timeout_remove (list->vtimer);
list->vtimer = 0;
}
}
----- Original Message -----
From: <rdp@talisman.mv.com>
To: "Steph" <steph.fox@btinternet.com>
Cc: "PHP-GTK docs" <php-gtk-doc@lists.php.net>; "PHP-GTK gen"
<php-gtk-general@lists.php.net>
Sent: Monday, February 25, 2002 8:46 PM
Subject: Re: [PHP-GTK] Any *nix testers available out there, please? - script below
> On Mon, 25 Feb 2002, Steph wrote:
>
> > Thanks for being so prompt, Rich :)
> >
> > The bad news is, that's the result I got on doze too. Which probably
> > means I've misunderstood what it's supposed to do and in what situation.
> > Anyone got any better ideas?
>
> Which part? The EXTENDED list selection mode?
>
> --rdp
>
> > ----- Original Message -----
> > From: "Rich Payne" <rdp@talisman.mv.com>
> > To: "Steph" <steph.fox@btinternet.com>
> > Cc: "PHP-GTK docs" <php-gtk-doc@lists.php.net>; "PHP-GTK gen"
> > <php-gtk-general@lists.php.net>
> > Sent: Monday, February 25, 2002 8:31 PM
> > Subject: Re: [PHP-GTK] Any *nix testers available out there, please? - script below
> >
> >
> > > On Mon, 25 Feb 2002, Steph wrote:
> > >
> > > > I need to know what happens when:
> > > > a) 5 is selected and the mouse button immediately released,
> > >
> > > [rdp@nobleman rdp]$ php test.php
> > > X-Powered-By: PHP/4.1.1
> > > Content-type: text/html
> > >
> > > Item 5
> > > Item 0
> > > Item 1
> > > Item 2
> > > Item 3
> > > Item 4
> > >
> > >
> > > > b) a number below 5 is selected and then dragged up to 5 and released,
> > >
> > > [rdp@nobleman rdp]$ php test.php
> > > X-Powered-By: PHP/4.1.1
> > > Content-type: text/html
> > >
> > > Item 2
> > > Item 0
> > > Item 1
> > > Item 3
> > > Item 4
> > > Item 5
> > >
> > > I selected 2, then dragged.
> > >
> > > > c) a number below 5 is selected and then dragged beyond 5 and released,
> > >
> > > [rdp@nobleman rdp]$ php test.php
> > > X-Powered-By: PHP/4.1.1
> > > Content-type: text/html
> > >
> > > Item 2
> > > Item 0
> > > Item 1
> > > Item 3
> > > Item 4
> > > Item 5
> > > Item 6
> > > Item 7
> > > Item 8
> > >
> > >
> > > > d) a number above 5 is selected and then drag extended to 5 and released,
> > >
> > > [rdp@nobleman rdp]$ php test.php
> > > X-Powered-By: PHP/4.1.1
> > > Content-type: text/html
> > >
> > > Item 10
> > > Item 0
> > > Item 1
> > > Item 2
> > > Item 3
> > > Item 4
> > > Item 5
> > >
> > >
> > > > e) a number above 5 is selected and the drag extended below 5 and released.
> > >
> > > [rdp@nobleman rdp]$ php test.php
> > > X-Powered-By: PHP/4.1.1
> > > Content-type: text/html
> > >
> > > Item 10
> > > Item 0
> > > Item 1
> > > Item 2
> > >
> > > >
> > > > I'm afraid all these need to be single runs to get the start_selection()
> > > > working. Had to put a counter on it to avoid fails.
> > >
> > > Yup, started it fresh every time.
> > >
> > > > & btw it does nothing AT ALL on doze.
> > >
> > > Hmm....
> > >
> > > --rdp
> > >
> > >
> > > --
> > > Rich Payne
> > > http://talisman.mv.com
> > >
> >
> >
> >
>
> --
> Rich Payne
> http://talisman.mv.com
>