Ken Resander wrote:
> Hi Yann,
>
> I cannot think of anything else.
>
> If all Russian keyboards are like the one tried, then just change the
> documentation in Russian to Ctrl+Cyrillic_es instead of Ctrl+C used on
> keyboards that have a key marked 'C'. After all it works.
>
> Ken
\That's not
ger wrote:
From: Yann Leboulanger
Subject: Re: detect ctrl+c in key_press_event handler
To: gtk-list@gnome.org
Date: Sunday, 7 February, 2010, 5:36 AM
Yann Leboulanger wrote:
> Ken Resander wrote:
>> Odd, you seem to be getting 0 for both the Ctrl key and letter-C key.
>>
>>
Yann Leboulanger wrote:
> Ken Resander wrote:
>> Odd, you seem to be getting 0 for both the Ctrl key and letter-C key.
>>
>> If the keyboard works and you can use it for other applications, then
>> keypresscallback
>> really should return non-zero character code values.
>>
>> I don't know pygtk, b
Ken Resander wrote:
> Odd, you seem to be getting 0 for both the Ctrl key and letter-C key.
>
> If the keyboard works and you can use it for other applications, then
> keypresscallback
> really should return non-zero character code values.
>
> I don't know pygtk, but if there are other keyboard
ess-event",
G_CALLBACK (keypresscallback), NULL ) ;
gtk_widget_show_all(window);
gtk_main();
}
Also, could you use another standard western-european keyboard to see if it
behaves differently?
--- On Sun, 31/1/10, Yann Leboulanger wrote:
From: Yann Leboulanger
Subject
Ken Resander wrote:
> I am in nearly unknown territory, since mostly I have been in the ASCII world
> with chars from a to z.
>
> Could you check the event.keyval for character 'C' on your keyboard and see
> what character code is returned. Use printf to view the value. Then use this
> value in
tead of 'C'. Please let me know if it works ( I want
to know too!).
Ken
--- On Sun, 31/1/10, Yann Leboulanger wrote:
From: Yann Leboulanger
Subject: Re: detect ctrl+c in key_press_event handler
To: gtk-list@gnome.org
Date: Sunday, 31 January, 2010, 2:06 AM
Ken Resander wrote:
>
>keyval == codeforctrlkey )
> {
> ctrldown = false ;
> }
>}
>
> Ken
>
> --- On *Sat, 30/1/10, Yann Leboulanger //* wrote:
>
>
> From: Yann Leboulanger
> Subject: detect ctrl+c in key_press_event handler
> To: gtk-list@
te:
From: Yann Leboulanger
Subject: detect ctrl+c in key_press_event handler
To: gtk-list@gnome.org
Date: Saturday, 30 January, 2010, 5:23 AM
Hi all,
I'd like to detect a ctrl+C in a key_press_event handler. I wrote (in
pygtk):
keyc, mod = gtk.accelerator_parse('c')
if event.state
Hi all,
I'd like to detect a ctrl+C in a key_press_event handler. I wrote (in
pygtk):
keyc, mod = gtk.accelerator_parse('c')
if event.state & mod and event.keyval == keyc:
blabla
But that doesn't work on non-latin (russian) keyboard.
On those keyboard, keyc is 0
W
hello, gtk_list
I'd like to use a GtkComboBoxEntry the same as an URL entry box, need to
handle a Enter key pressed event after finishing editing the box.
g_signal_connect((gpointer) comboboxentry1, "key_press_event",
G_CALLBACK(on_comboboxentry1_
Hi John
thanx for the quick reply
i dont know the other way of doing it.
can you help me put?
Brijesh
John Cupitt wrote:
On 4/10/06, Brijesh <[EMAIL PROTECTED]> wrote:
I want to send Key_press_event to the list box by program not by keyboard.
This i
On 4/10/06, Brijesh <[EMAIL PROTECTED]> wrote:
> I want to send Key_press_event to the list box by program not by keyboard.
This is very difficult and unreliable. What are you tryiing to
accomplish? There is probably a better way to get the effect you wa
Hi all,
I want to send Key_press_event to the list box by program not by keyboard.
i have seen that it can be done by gtk_signal_emit_by_name but with that
function, i knwo that i have to pass the other members also. like
pointer to GdkEventKey object. i have seen that there are many members
>
> Hello everybody, I would like to know wich key has been pressed when a
key_press_event happen. Do you know how can I do that ??
>
key_press_hook_function (GtkWidget *widget,GdkEventKey *event)
{
look at (event->keyval)
}
To understand the codes:
vi /usr/include
Hello everybody, I would like to know wich key has been pressed when a
key_press_event happen. Do you know how can I do that ??
Thanks in advance
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Hello at all the list.
I have a problem with key_press_event. I have attach a
key_press_event handler at the main window of my
application. This window contain a GtkHBox with a menu
and other things. The problem is that when i press F10
the menu get the focus under linux, under win2000 the
system
Hello, Every one
I find that "key_press_event" has been connect to a handler which handle the
row selecting. When I connect "key_press_event" to my handler, the row can't
be selected. So I have to use "key_release_event". But there's no
GDK_2BUTTO
On Wed, 12 Sep 2001, Tamara wrote:
Hi,
Use the following for Enter only:
gtk_signal_connect(GTK_EDITABLE(entry),"activate",gtk_button_clicked,your_button);
> Hi!
> I've a window with an entry and a button, I'd like that when I fill the
> entry and I press "return" (for example) the button w
Hi!
I've a window with an entry and a button, I'd like that when I fill the
entry and I press "return" (for example) the button will be clicked.
I wrote:
gboolean on_entry_key_press_event (GtkWidget *widget,GdkEventKey
*event,gpointer user_data)
{
gtk_butto_clicked (lookup_widget (GTK_WID
,(GtkSignalFunc) configure_event
> ,NULL);
> gtk_signal_connect(GTK_OBJECT(drawing_area)
> ,"key_press_event"
> ,(GtkSignalFunc) key_press_event
> ,NULL);
> gtk_signal_connect(GTK_OBJECT(draw
event"
,(GtkSignalFunc) expose_event
, NULL);
gtk_signal_connect(GTK_OBJECT(drawing_area)
,"configure_event"
,(GtkSignalFunc) configure_event
,NULL);
gtk_signal_connect(GTK_OBJECT(drawing_area)
"Dugas, Alan" <[EMAIL PROTECTED]> writes:
> Is there any way of intercepting the "key_press_event" before the GtkEntry
> widget contained within a GtkFileSelection widget gets it?
If you can get a pointer to the entry in the file selection, then it's
eas
Is there any way of intercepting the "key_press_event" before the GtkEntry
widget contained within a GtkFileSelection widget gets it? I have written an
app that can be used to access files across a network. I'd like to change the
cursor from an arrow to a GDK_WATCH while the G
24 matches
Mail list logo