Re: Disable auto uppercase on input?

2008-11-05 Thread Alberto Garcia
On Tue, Nov 04, 2008 at 08:26:42PM +0100, Till Harbaum / Lists wrote:

 i know that this auto uppercase for the first letter can be disabled
 in the control panel.  But how do i disable this from my program?

http://maemo.org/api_refs/4.0/gtk/GtkEntry.html#hildon-gtk-entry-set-input-mode
http://maemo.org/api_refs/4.0/gtk/GtkIMContext.html#HildonGtkInputMode

  GtkWidget *entry = gtk_entry_new ();
  hildon_gtk_entry_set_input_mode (GTK_ENTRY (entry),
   HILDON_GTK_INPUT_MODE_FULL);

-- 
Alberto García González
http://people.igalia.com/berto/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Disable auto uppercase on input?

2008-11-04 Thread Till Harbaum / Lists
Hi,

i know that this auto uppercase for the first letter can be disabled in the 
control panel.
But how do i disable this from my program? There are e.g. gtkentry fields used 
to enter
a password in osm2go and i already had users that were going mad entering their 
passwords (with all characters replaced by *'s, so no visual feedback) until 
they
realized that maemo made the first char upper case.

There are other entry widgets where i know that entering uppercase isn't 
useful. So
ho can i disable this withiut asking the user to change his global control panel
settings?

Till
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Disable auto uppercase on input?

2008-11-04 Thread Michael Graham

Oh - I had no idea this could even be disabled globally!  

  Text Input Settings 
  - Languages 
- 1st Language
  - Settings
- Auto-capitalisation

Thank you!!!


Michael



On Tue, 4 Nov 2008 20:26:42 +0100
Till Harbaum / Lists [EMAIL PROTECTED] wrote:

 Hi,
 
 i know that this auto uppercase for the first letter can be disabled
 in the control panel. But how do i disable this from my program?
 There are e.g. gtkentry fields used to enter a password in osm2go and
 i already had users that were going mad entering their passwords
 (with all characters replaced by *'s, so no visual feedback) until
 they realized that maemo made the first char upper case.
 
 There are other entry widgets where i know that entering uppercase
 isn't useful. So ho can i disable this withiut asking the user to
 change his global control panel settings?
 
 Till
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


-- 
Michael Graham [EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers