Re: GtkEntry text selection



Na, this also works the same way :(

From: "Anurag Chaudhary" <chaudharyanurag hotmail com>
To: chaudharyanurag hotmail com, gtk-app-devel-list gnome org
Subject: Re: GtkEntry text selection
Date: Thu, 04 Jan 2007 14:13:37 +0530

Thanks for the help.

I got idea from your solution and I found that following code will do it for a single widget

        g_object_set (gtk_widget_get_settings (GTK_WIDGET (w)),
                        "gtk-entry-select-on-focus",
                         0,
                        NULL);

Thanks
Anurag

From: "Anurag Chaudhary" <chaudharyanurag hotmail com>
To: gtk-app-devel-list gnome org
Subject: Re: GtkEntry text selection
Date: Thu, 04 Jan 2007 12:53:54 +0530

This will change the behaviour for all the Gtkentry widgets system wide. Can something be done for just one specific widget?

Anurag


From: David Neèas (Yeti) <yeti physics muni cz>
To: gtk-app-devel-list gnome org
Subject: Re: GtkEntry text selection
Date: Thu, 4 Jan 2007 07:52:02 +0100

On Thu, Jan 04, 2007 at 10:31:15AM +0530, Anurag Chaudhary wrote:
> The text should remain un-selected when focussed.

  gtk-entry-select-on-focus = 0

in gtkrc?

Yeti


--
http://physics.muni.cz/~yeti/pf2007.png
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

_________________________________________________________________
Want to know what your favourite stars are up to? Catch the latest gossip in Bollywood on MSN Entertainment! http://content.msn.co.in/Entertainment/Default



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

_________________________________________________________________
Stay in tune with the latest styles! Check out the happening fashion trends on 'Wardrobe watch'. Only on MSN Lifestyle http://content.msn.co.in/Lifestyle/Moreonlifestyle/LifeStyle_091006_0551.htm


_________________________________________________________________
Get up-to-date with movies, music and TV. Its happening on MSN Entertainment http://content.msn.co.in/Entertainment/Default




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