Re: simple question

2018-02-19 Thread Nicola Fontana
Il Mon, 19 Feb 2018 09:24:20 +0100 Wojciech Puchar scrisse: > On 2018.02.19 08:09, Nicola Fontana wrote: > > Il Sat, 17 Feb 2018 21:32:19 +0100 (CET) Wojciech Puchar > > scrisse: > > ... > > If you want full control over something just use a

Re: simple question

2018-02-18 Thread Nicola Fontana
Il Sat, 17 Feb 2018 21:32:19 +0100 (CET) Wojciech Puchar scrisse: > i want in my program to change background color of the gtk_button to red > sometimes as a signal to the user. > > it works fine with default theme but not with some other themes like > E17gtk. > > how to

Re: simple question

2018-02-17 Thread Liam R E Quin
On Sat, 2018-02-17 at 21:32 +0100, Wojciech Puchar wrote: > i want in my program to change background color of the gtk_button to > red > sometimes as a signal to the user. Although i don't have an answer (sorry) i'll note - i've worked with people who were red/black colourblind. I'd really be

simple question

2018-02-17 Thread Wojciech Puchar
i want in my program to change background color of the gtk_button to red sometimes as a signal to the user. it works fine with default theme but not with some other themes like E17gtk. how to fix this and ENFORCE color of button? Same with text_entry - only border is changed not the whole

simple question about gtk_notebook

2008-09-26 Thread Vasiliy Tolstov
Hello. I have this code (window with 2 tabs), if i'm try to run - displays only window without tabs, where is error ? gtk_init (argc, argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_title (GTK_WINDOW (window), Services); gtk_window_set_position

Re: simple question about gtk_notebook

2008-09-26 Thread Damien Caliste
Hello, Le 26/09/2008, Vasiliy Tolstov [EMAIL PROTECTED] a écrit : Hello. I have this code (window with 2 tabs), if i'm try to run - displays only window without tabs, where is error ? Isn't the gtk_container_add(GTK_CONTAINER(window), notebook); missing? Damien.

Re: simple question about gtk_notebook

2008-09-26 Thread Vasiliy Tolstov
On Fri, 2008-09-26 at 11:26 +0200, Damien Caliste wrote: Hello, Le 26/09/2008, Vasiliy Tolstov [EMAIL PROTECTED] a écrit : Hello. I have this code (window with 2 tabs), if i'm try to run - displays only window without tabs, where is error ? Isn't the

Re: Simple question - accelerator keys

2007-08-31 Thread Stefan Kost
Hi, I am currently trying to figure out something simillar. Unfortunately it seems that accelerators are only used for menues in most applications. If you check gnome-bugzilla - it has several open bugs for accelerators. I recently fixed one and right now prepared a test program for another. Lets

Simple question - accelerator keys

2007-08-30 Thread Tomasz Sałaciński
Hi there, Is there a possibility to simply bind a window-global accelerator key to a callback function? I am writing a GTK+ media player and I want to bind Left and Right arrow keys to seek media and F key to toggle fullscreen. I know that I can use gtk_widget_add_accelerator(), but then I have

Re: simple question: are const gchar* arguments hold as copies internally?

2005-09-06 Thread Tristan Van Berkom
Felix Kater wrote: Hi, these two functions take const gchar pointers: void gtk_label_set_text([...] const gchar *str); void g_key_file_set_value([...] const gchar *group_name, [...]) Does that mean that the arguments are *not* hold as copies internally so that I have to care for the allocated

newbie, very simple question

2005-08-11 Thread Marek Florianczyk
Some link to tutorial to gtk_threads, or examples about gtk_threads_enter/leave? How to write in GTK with threads? I have to, I want to, but I don't know how...:( Thanks Marek ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Simple question about g_path_get_dirname()

2005-03-31 Thread Jérôme Couderc
Hi, As the filename read on the file system may not be in UTF-8 encoding, must I always convert it to UTF-8 (with g_filename_to_utf8) before to use the function : dirname = g_path_get_dirname(filename) ? Thanks in advance for the reply Regards, Jerome