[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    1)event signal, 2)focus move
From:       Liu Neo-W4135C <W4135C () motorola ! com>
Date:       2003-11-20 2:43:08
[Download RAW message or body]

two questions,
 
1)why emit an "event" signal before emit the TRUE sigal in gtk_widget_event_internal
 
2)i'm lost when trace focus moving with "tab" key in GtkWindow.
    what i can see are 
    a) in gtk_window_class_init, "tab" is binding to function add_tab_bindings
    b) in add_tab_bindings, "tab" is connected with singal "move_focus" which will \
trigger gtk_window_move_focus  what i can not see are
    a) how a key press event is connected with key binding
    b) how a GtkWindow widget move focus among its children
 
thanks in advance for your help,
 
ln


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=997420902-20112003>two 
questions,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=997420902-20112003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=997420902-20112003>1)why emit an 
"event" signal before emit the TRUE sigal in 
gtk_widget_event_internal</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=997420902-20112003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=997420902-20112003>2)i'm lost when 
trace focus moving with "tab" key in GtkWindow.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=997420902-20112003>&nbsp;&nbsp;&nbsp; 
what i can see&nbsp;are </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=997420902-20112003>&nbsp;&nbsp;&nbsp; 
a) in gtk_window_class_init, "tab" is binding to function 
add_tab_bindings</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=997420902-20112003>&nbsp;&nbsp;&nbsp; 
b) in add_tab_bindings, "tab" is connected with singal "move_focus" which will 
trigger gtk_window_move_focus</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=997420902-20112003>&nbsp;&nbsp;&nbsp;<FONT color=#0000ff> what i can not 
see are</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=997420902-20112003>&nbsp;&nbsp;&nbsp; a) how a key press event is 
connected with key binding</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=997420902-20112003>&nbsp;&nbsp;&nbsp; b) how a GtkWindow widget move focus 
among its children</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=997420902-20112003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=997420902-20112003>thanks in advance 
for your help,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=997420902-20112003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=997420902-20112003>ln</SPAN></FONT></DIV></BODY></HTML>

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic