Re: Problem with zvt as a custom widget using libglade



On Thu, Dec 02, 1999 at 03:24:18PM +1300, Lyndon Drake wrote:
> Hi,
> 
> I have a Glade project which I am loading using libglade.  I want to have
> a ZvtTerm widget, which isn't natively supported by Glade or libglade, so
> I added a Custom widget.  My creation function gets called, and the widget
> is visible in the correct place, and mostly works.  However, it never
> receives key press events.  If I modify the program slightly so that I
> create a ZvtTerm widget and pack it into the hbox, then key presses
> arrive as expected.
> 
> This seems really wierd, to say the least.  Can anyone make a suggestion?
> 

I can now :-).  I just had to check the Can Focus button in Glade.  I guess
the focus refers to keyboard focus.

-- 
Lyndon Drake                       | Desktop:      http://www.gnome.org
isenguard                          | Mail client:  http://www.mutt.org
ICQ#: 12558803                     | Editor:       http://www.vim.org
http://stat.auckland.ac.nz/~lyndon | OS:           http://www.linux.com



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