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 canvas. Don't > can you please tell more about it?

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 fix this and ENFORCE

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 irr

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 gtk_container_add(G

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 - 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

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

2005-09-07 Thread Felix Kater
Tristan Van Berkom <[EMAIL PROTECTED]> wrote: > Generally, > if a function takes `const gchar *' as an argument it just means > that the said function garauntees that your string will not be modified > by that function (whereas a `gchar *' argument is generally a return > location for a singl

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