Gtk+-based themeing for GNUstep in progress

View: New views
7 Messages — Rating Filter:   Alert me  

Gtk+-based themeing for GNUstep in progress

by hansfbaier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

there are already some results,
see this screenshot:

http://imagebin.org/70147

Who is working on GSTheme ATM?
I probably will have some questions/suggestions...

Kind regards,
Hans


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@...
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Re: Gtk+-based themeing for GNUstep in progress

by Nicolas Roard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 2, 2009 at 1:39 PM, Hans Baier <hansfbaier@...> wrote:
> Hi,
>
> there are already some results,
> see this screenshot:
>
> http://imagebin.org/70147

Very cool!
So if I understand well, you are using the Gtk+ theme API to draw the
button in a GSTheme subclass ? Or is it just a pixmap "port" of the
Gtk+ theme ?

> Who is working on GSTheme ATM?
> I probably will have some questions/suggestions...

Richard did it, I have started working a bit on it too.

Cheers,

--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@...
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Re: Gtk+-based themeing for GNUstep in progress

by hansfbaier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Very cool!
> So if I understand well, you are using the Gtk+ theme API to draw the
> button in a GSTheme subclass ? Or is it just a pixmap "port" of the
> Gtk+ theme ?

No, it uses the Gtk+ theme API (gtk_paint_xxxx).

So whenever you change a different Theme,
GNUstep changes too.

Hans


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@...
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Re: Gtk+-based themeing for GNUstep in progress

by hansfbaier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some corrections on my last mail:

> No, it uses the Gtk+ theme API (gtk_paint_xxxx).
>
> So whenever you change *to* a different Theme,
> GNUstep changes too.
(Restart required)

Kind regards,
Hans


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@...
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Re: Gtk+-based themeing for GNUstep in progress

by Quentin Mathé-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Hans,

Le 3 nov. 2009 à 10:01, Hans Baier a écrit :

> Some corrections on my last mail:
>
>> No, it uses the Gtk+ theme API (gtk_paint_xxxx).
>>
>> So whenever you change *to* a different Theme,
>> GNUstep changes too.
> (Restart required)

Why is a restart required ?  Running applications should catch a  
NSUserDefaults notification and GSTheme handles it. From what I have  
observed, the theme change is propagated with a few seconds delay  
(probably related to the time interval at which the defaults are  
polled on disk).

Wouldn't it be easier to create a pixmap theme btw?

This GTK theme is a very good idea and looks great :-) It would be  
very nice to have such a theme bundled with gnustep-gui, so it can  
integrate nicely out of the box with Linux desktop environments such  
as Ubuntu.

Cheers,
Quentin.

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@...
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Re: Gtk+-based themeing for GNUstep in progress

by hansfbaier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Why is a restart required ?  Running applications should catch a
> NSUserDefaults notification and GSTheme handles it. From what I have
> observed, the theme change is propagated with a few seconds delay (probably
> related to the time interval at which the defaults are polled on disk).

To be more precise, if the Gtk+-Theme is changed, the Applications
still stick with the old theme. (The GNUstep-Theme stays the same).
Sorry for my ambiguous terseness.

> Wouldn't it be easier to create a pixmap theme btw?

Yes, but that won't adapt to any conceivable Gtk+ Theme.

> This GTK theme is a very good idea and looks great :-) It would be very nice
> to have such a theme bundled with gnustep-gui, so it can integrate nicely
> out of the box with Linux desktop environments such as Ubuntu

Now Scrollbars are implemented:

http://stashbox.org/684188/Bildschirmfoto.png

Kind regards,
Hans


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@...
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Re: Gtk+-based themeing for GNUstep in progress

by Quentin Mathé-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le 3 nov. 2009 à 17:34, Hans Baier a écrit :

>> Why is a restart required ?  Running applications should catch a
>> NSUserDefaults notification and GSTheme handles it. From what I have
>> observed, the theme change is propagated with a few seconds delay  
>> (probably
>> related to the time interval at which the defaults are polled on  
>> disk).
>
> To be more precise, if the Gtk+-Theme is changed, the Applications
> still stick with the old theme. (The GNUstep-Theme stays the same).
> Sorry for my ambiguous terseness.

I understand better now.

>> Wouldn't it be easier to create a pixmap theme btw?
>
> Yes, but that won't adapt to any conceivable Gtk+ Theme.

ok.

>> This GTK theme is a very good idea and looks great :-) It would be  
>> very nice
>> to have such a theme bundled with gnustep-gui, so it can integrate  
>> nicely
>> out of the box with Linux desktop environments such as Ubuntu
>
> Now Scrollbars are implemented:
>
> http://stashbox.org/684188/Bildschirmfoto.png

Nice :-)

Quentin.

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@...
http://lists.gnu.org/mailman/listinfo/gnustep-dev