Re: Question on Unusual widget
- From: Brad House <brad mainstreetsoftworks com>
- To: Paul Davis <pbd op net>, gtk-list gnome org
- Subject: Re: Question on Unusual widget
- Date: Fri, 17 Aug 2001 16:09:23 -0400
How should the callback be defined?
get_keypress(GtkWidget *w, gpointer data) ??
or are there other arguments to that ...
and what would be returned? an INT in gpointer data?
thanks.
-Brad
Paul Davis wrote:
>
> >I don't need the hidden text box, but I don't know how to
> >accomplish this..so it was just some odd idea I had...but
> >from your response...I assume it was a bad idea.
> >
> >
> >Any suggestions on how to accomplish my task??
>
> pop up the dialog window. make it modal. connect to the key
> press/release event signals. collect input. when RET or some other key
> stroke sequence is seen, hide the dialog and/or display an error
> message. then if its OK, use the data you collected.
>
> --p
--
-----------------------------
Brad House
Sr. Developer
Main Street Softworks, Inc.
brad mainstreetsoftworks com
(352) 378-8228
-----------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]