Re: FW: GDK_WINDOW_XID and XGetInputFocus give me different results



On Sat, 8 Jan 2005 00:52:46 +0100, zielone <zielone0 poczta onet pl> wrote:
Hi All
[...]

Hi,
    I'm afraid I cant tell you why your code doesn't work,
but I think that this is the normal way to do what you want to do:

================================
GtkWidget *widget = some_way_to_aquire_a_widget ();

if (GTK_WIDGET_HAS_FOCUS (widget)) {
    /* focus specific body */
}
================================

Cheers,
                                    -Tristan



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