Re: Toolbar customization in GTK+

2014-08-06 Thread Ritesh Khadgaray
Hi

On 6 Aug 2014 00:02, "Igor Korot"  wrote:
>
> Victor,
>
> On Tue, Aug 5, 2014 at 10:58 AM, Victor Aurélio Santos
>  wrote:
> > AFAIK, there's built-in support for this, you will have to create a
> > dialog to selecting the button that you show, and then set button's
> > visibility based on stored setting.


I believe he is talking about writing code to implement this. Afaik, gtk
does not have any toolbar editor.

on_startup
  for x in toolbar_list
 if settings [x->name()] == visible
   x->show ()
 else
   x->hide ()

Cheers
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: Toolbar customization in GTK+

2014-08-05 Thread Igor Korot
Victor,

On Tue, Aug 5, 2014 at 10:58 AM, Victor Aurélio Santos
 wrote:
> AFAIK, there's built-in support for this, you will have to create a
> dialog to selecting the button that you show, and then set button's
> visibility based on stored setting.

Do you have a reference from the official documentation on how to do that?
I understand it is possible but without the documentation I will not
be able to do much

Thank you.

>
> Note: you should add the list as cc when replying.
>
> On Tue, Aug 5, 2014 at 2:29 PM, Igor Korot  wrote:
>> Hi, Victor,
>>
>> On Tue, Aug 5, 2014 at 6:03 AM, Victor Aurélio Santos
>>  wrote:
>>> What type of customization ?
>>
>> As an example:
>>
>> On Windows you can double-click the toolbar and get the toolbar
>> customization dialog where you can select which buttons to display.
>>
>> Does GTK+ has something similar? If yes, where is the documentation about it?
>>
>> Thank you.
>>
>>>
>>> If you want stylish it you can use CSS.
>>>
>>> On Mon, Aug 4, 2014 at 7:24 PM, Igor Korot  wrote:
 Hi, ALL,
 Is there a way in GTK+ application to do a toolbar customization?

 Thank you.
 ___
 gtk-list mailing list
 gtk-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtk-list
>>>
>>>
>>>
>>> --
>>> Victor Aurélio Santos
>
>
>
> --
> Victor Aurélio Santos
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: Toolbar customization in GTK+

2014-08-05 Thread Victor Aurélio Santos
AFAIK, there's built-in support for this, you will have to create a
dialog to selecting the button that you show, and then set button's
visibility based on stored setting.

Note: you should add the list as cc when replying.

On Tue, Aug 5, 2014 at 2:29 PM, Igor Korot  wrote:
> Hi, Victor,
>
> On Tue, Aug 5, 2014 at 6:03 AM, Victor Aurélio Santos
>  wrote:
>> What type of customization ?
>
> As an example:
>
> On Windows you can double-click the toolbar and get the toolbar
> customization dialog where you can select which buttons to display.
>
> Does GTK+ has something similar? If yes, where is the documentation about it?
>
> Thank you.
>
>>
>> If you want stylish it you can use CSS.
>>
>> On Mon, Aug 4, 2014 at 7:24 PM, Igor Korot  wrote:
>>> Hi, ALL,
>>> Is there a way in GTK+ application to do a toolbar customization?
>>>
>>> Thank you.
>>> ___
>>> gtk-list mailing list
>>> gtk-list@gnome.org
>>> https://mail.gnome.org/mailman/listinfo/gtk-list
>>
>>
>>
>> --
>> Victor Aurélio Santos



-- 
Victor Aurélio Santos
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: Toolbar customization in GTK+

2014-08-05 Thread Victor Aurélio Santos
What type of customization ?

If you want stylish it you can use CSS.

On Mon, Aug 4, 2014 at 7:24 PM, Igor Korot  wrote:
> Hi, ALL,
> Is there a way in GTK+ application to do a toolbar customization?
>
> Thank you.
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-list



-- 
Victor Aurélio Santos
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list