I set but it still doesn't work.
int main(int argc, char *argv[])
{
...
SetEnvironmentVariable("LANG", "zh_CN");
SetEnvironmentVariable("LC_ALL", "zh_CN");
gtk_init(&argc, &argv);
...
}
- Original Message
From: Daniel Atallah <[EMAIL PROTECTED]>
To: Marvin Zhang <[EMAI
On Mon, May 12, 2008 at 8:50 PM, Marvin Zhang <[EMAIL PROTECTED]> wrote:
> There is a method to change the locale by setting the environment LC_ALL in
> windows (2000 or XP). But how to change the locale in the application?
> I tried
> 1. setlocale(LC_ALL, "zh_CN");
> 2. SetEnvironmentVariable(
There is a method to change the locale by setting the environment LC_ALL in
windows (2000 or XP). But how to change the locale in the application?
I tried
1. setlocale(LC_ALL, "zh_CN");
2. SetEnvironmentVariable("LC_ALL", "zh_CN");
None of them works.
Any help will be appreciated.
Best regards
Hi
I do
void ChangeColor( GtkWidget *hCtrl,ULONG hColor) // color in rgb format
{
GtkWidget *label ;
GdkColor fColor ;
if (GTK_IS_BUTTON(hCtrl) )
label = gtk_bin_get_child(GTK_BIN(hCtrl));
hwg_parse_color( hColor, &fColor );
gtk_widget_modify_fg(label,GTK_STATE_NORMAL,&fColor);
}
Stefan Kost wrote:
> hi,
>
> I have an interface, where I share some data between the instances.
> the data is created on first access. Now I also would like to release
> it when the last instance goes.
>
> problem 1: base_finalize() is not called for static types
>
> I thought that I could
Hi all,
I can not find anywhere the complete description of how to change the color
on the button label. I know I have to access the label which is on the
button and then set the color with "gtk_widget_modify_fg()", but how can I
get this label? I have created the button using gtk_button_new_with_
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tor Lillqvist wrote:
| g_filename_from_uri()
|
| --tml
Tor,
Thanks! that is exactly what I was hoping for.
Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: G
g_filename_from_uri()
--tml
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin DeKorte wrote:
| Is there is a GLIB function that takes a name like
|
| file:///home/user/name%20with%20spaces.txt
|
| and turns it into
|
| /home/user/name with spaces.txt
|
| Or even something that is close?
|
| Thanks,
|
| Kevin
I had the sam
Hi
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Is there is a GLIB function that takes a name like
>
> file:///home/user/name%20with%20spaces.txt
>
> and turns it into
>
> /home/user/name with spaces.txt
>
> Or even something that is close?
>
>
>
Perhaps this:
http://library.gnome.org/d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is there is a GLIB function that takes a name like
file:///home/user/name%20with%20spaces.txt
and turns it into
/home/user/name with spaces.txt
Or even something that is close?
Thanks,
Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:
hi,
I have an interface, where I share some data between the instances.
the data is created on first access. Now I also would like to release
it when the last instance goes.
problem 1: base_finalize() is not called for static types
I thought that I could do some own ref-counting and then do
2008/5/12 Micah Carrick <[EMAIL PROTECTED]>:
> What's the best signal for capturing when a GtkTextView is scrolled. I
> don't need to know how much or anything... just that it was scrolled
> either vertically OR horizontally by the mouse OR keyboard.
I connect to the "changed" or "value_changed"
13 matches
Mail list logo