Hi, As far as I know it has no direct influence on the focus changing at least at directfb level. but for Gtk I don't know.
regards. On Tue, Jul 20, 2010 at 6:00 AM, chanakya kota <chanakya....@gmail.com>wrote: > Hi haithem rahmani, > i tried with exporting "DFBARGS=no-cursor" > the cursor is made invisible > but the focus is going to some other window in the application > does exporting this variabel have any effect on the application focus > > Regards, > chanakya.sun > > On 7/19/10, haithem rahmani <haithem.rahm...@gmail.com> wrote: > > Hi, > > > > try to export "DFBARGS=no-cursor" > > > > or add "no-cursor" in your ~/.directfbrc > > > > or add it in the "/etc/directfbrc" > > > > regards. > > > > > > On Mon, Jul 19, 2010 at 11:08 AM, chanakyasun <chanakya....@gmail.com > >wrote: > > > >> > >> HI, > >> can you please elaborate regarding the directfbrc file where can i > >> find > >> it how to modify it to > >> make my cursor invisible in my gtk application , > >> i tried to find the directfbrc file on the target but in vain , there is > >> one > >> command directfb-config > >> > >> i tried giving the command "directfb-config --no-cursor" got the message > >> like invalid format > >> > >> Pls help me .. > >> > >> Thanks &Regards, > >> Chanakya. > >> > >> HKP wrote: > >> > > >> > Hi, > >> > > >> > I think its better to specify that in the directfbrc file. > >> > > >> > Thanks & Regards, > >> > Harikrishnan P > >> > > >> > _____ > >> > > >> > From: directfb-dev-boun...@directfb.org [mailto:directfb-dev- > >> > boun...@directfb.org] On Behalf Of ??? > >> > Sent: Monday, May 19, 2008 11:00 AM > >> > To: directfb-dev@directfb.org > >> > Subject: [directfb-dev] GTK cursor invisible. > >> > > >> > > >> > > >> > Hi, all. > >> > > >> > > >> > > >> > I cross-compiled DirectFB-1.1.1 and GTK 2.12.6. > >> > > >> > and ported my arm9 board. > >> > > >> > > >> > > >> > By the way, I wanted to hide mouse cursor in all GTK application. > >> > > >> > > >> > > >> > So, in my gtk application, I coded below. > >> > > >> > > >> > > >> > //////////////////////////////////////////// > >> > > >> > > >> > > >> > char in_cursor[] = > >> > > >> > {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 > >> > ,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}; > >> > GdkCursor *cursor; > >> > GdkBitmap *bp; > >> > GdkColor color = {0,0,0,0}; > >> > > >> > > >> > bp = gdk_bitmap_create_from_data(NULL , in_cursor , 16,16); > >> > cursor = gdk_cursor_new_from_pixmap(bp , bp , &color , &color , 8 , > >> 8); > >> > gdk_window_set_cursor(window , cursor); > >> > > >> > > >> > > >> > ////////////////////////////////////////////// > >> > > >> > > >> > > >> > This application show no mouse cursor in i386 pc( GTK backend X11 ). > >> > > >> > > >> > > >> > But, same application have gtk default mouse cursor in arm9 board! > (GTK > >> > backend DirectFB). > >> > > >> > > >> > > >> > Finally, I should hack the gdk-directfb code. > >> > > >> > in gdk_window_set_cursor func in gdkwindow-directfb.c, I set code in > the > >> > func to comment like below. > >> > > >> > > >> > > >> > //////////////////////////////////////////////// > >> > > >> > > >> > > >> > void > >> > gdk_window_set_cursor (GdkWindow *window, > >> > GdkCursor *cursor) > >> > { > >> > #if 0 //wschoi > >> > > >> > > >> > GdkWindowImplDirectFB *impl; > >> > GdkCursor *old_cursor; > >> > > >> > g_return_if_fail (GDK_IS_WINDOW (window)); > >> > > >> > > >> > > >> > ... > >> > > >> > > >> > > >> > } > >> > > >> > if (old_cursor) > >> > gdk_cursor_unref (old_cursor); > >> > > >> > > >> > #endif > >> > } > >> > > >> > > >> > /////////////////////////////////////////////////// > >> > > >> > > >> > > >> > > >> > > >> > I have a question. > >> > > >> > Is this right method? > >> > > >> > > >> > > >> > Isn't this method to make GTK application execute not well? > >> > > >> > > >> > > >> > best regards... > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > <http://www.naver.com/> > >> > <http://happybean.naver.com/main/SectionMain.nhn> > >> > > >> > > >> > > >> > < > >> > http://mail.naver.com/newmailcheck/1dbsFqFG1rJSKrtmFqEYMokvpxu/KrUmp4p4pzp4 > >> > MxKqKzJ4M434MoIg1xMwFqvqhoRv1Bi0MX34MS9vpBpgpz0Zp6Fdp4U5WXiN.gif> > >> > > >> > The information contained in this electronic message and any > attachments > >> > to this message are intended for the exclusive use of the addressee(s) > >> and > >> > may contain proprietary, confidential or privileged information. If > you > >> > are not the intended recipient, you should not disseminate, distribute > >> > or > >> > copy this e-mail. Please notify the sender immediately and destroy all > >> > copies of this message and any attachments contained in it. > >> > > >> > Contact your Administrator for further information. > >> > > >> > > >> > _______________________________________________ > >> > directfb-dev mailing list > >> > directfb-dev@directfb.org > >> > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://old.nabble.com/GTK-cursor-invisible.-tp17311590p29146871.html > >> Sent from the DirectFB Dev mailing list archive at Nabble.com. > >> > >> _______________________________________________ > >> directfb-dev mailing list > >> directfb-dev@directfb.org > >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > >> > > > > > > > > -- > > Be to GOD as he wants , > > HE'll be for you more > > than what you want. > > > -- Be to GOD as he wants , HE'll be for you more than what you want.
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev