Boring.... How to skin program?

Linux specific forum
sartic
Enthusiast
Enthusiast
Posts: 143
Joined: Thu Aug 26, 2010 8:26 am

Boring.... How to skin program?

Post by sartic »

Users r telling my program r boring... How to add more colors, picture for background of windows etc?
For win version of my exe there is XP theme what's that?
All my GUI stuff is created width VD (PB).
Registered user of PB (on Linux Mint 21.1 & Win 10 64bit)
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: Boring.... How to skin program?

Post by Kuron »

If you posted a screen shot of what your program looks like, it might help people see what needs improving and lead to some suggestions on how to make it look better.
Best wishes to the PB community. Thank you for the memories. ♥️
sartic
Enthusiast
Enthusiast
Posts: 143
Joined: Thu Aug 26, 2010 8:26 am

Re: Boring.... How to skin program?

Post by sartic »

It looks like my old VB programs on Win95/98.
How to add image as background, how to add background for window. That will be enough 4 now :)
Registered user of PB (on Linux Mint 21.1 & Win 10 64bit)
remi_meier
Enthusiast
Enthusiast
Posts: 468
Joined: Sat Dec 20, 2003 6:19 pm
Location: Switzerland

Re: Boring.... How to skin program?

Post by remi_meier »

Connect a callback to the "expose-event" signal from
a window and draw a pixbuf on its GdkWindow :)
Python Code

Mandatory remark: Most Linux people dislike non-standard
window skinning. But of course there are a few exceptions
to the rule. :P
Athlon64 3700+, 1024MB Ram, Radeon X1600
Ramihyn_
Enthusiast
Enthusiast
Posts: 314
Joined: Fri Feb 24, 2006 9:40 am

Re: Boring.... How to skin program?

Post by Ramihyn_ »

remi_meier wrote:Mandatory remark: Most Linux people dislike non-standard window skinning.
Oh yes, i learned that during a beta test of a skinned application. The windows users where fine with it, but the majority of the linux users where annoyed and wanted it gone. I actually had to remove it for the linux version :)
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: Boring.... How to skin program?

Post by Shield »

Usually the problem isn't the different look and feel but the overall handling (workflow) of the application that gets interrupted
by skins where the developers didn't think that much while implementing it. :)
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
remi_meier
Enthusiast
Enthusiast
Posts: 468
Joined: Sat Dec 20, 2003 6:19 pm
Location: Switzerland

Re: Boring.... How to skin program?

Post by remi_meier »

Shield wrote:Usually the problem isn't the different look and feel but the overall handling (workflow) of the application that gets interrupted
by skins where the developers didn't think that much while implementing it. :)
No, actually, I _want_ my window background in a light
grey with nicely shaded also-grey buttons on it. The input
fields of any kind should be white, and may be light yellow
if they still need to be filled. If you don't follow that and
you are not by any chance a widget, player, fanzy-dj-tool,
always-inconsistent-website, nicely-animated-clutter-app
or something absolutely needed, you will not stay on my
laptop for long :mrgreen:
But I might make an exception in a case of ingenious
thought-through workflow :wink: (Unfortunately I'd still
prefer a standard app.)

Cheers
Remi
Athlon64 3700+, 1024MB Ram, Radeon X1600
Ramihyn_
Enthusiast
Enthusiast
Posts: 314
Joined: Fri Feb 24, 2006 9:40 am

Re: Boring.... How to skin program?

Post by Ramihyn_ »

Shield wrote:Usually the problem isn't the different look and feel but the overall handling (workflow) of the application that gets interrupted
by skins where the developers didn't think that much while implementing it. :)
Most windows users liked it and the rest didnt mind, the linux users wanted it gone with a majority of about 80-90% :) Just my experience.
User avatar
bembulak
Enthusiast
Enthusiast
Posts: 576
Joined: Mon Mar 06, 2006 3:53 pm
Location: Austria

Re: Boring.... How to skin program?

Post by bembulak »

No, actually, I _want_ my window background in a light
grey with nicely shaded also-grey buttons on it. The input
fields of any kind should be white, and may be light yellow
if they still need to be filled. If you don't follow that and
you are not by any chance a widget, player, fanzy-dj-tool,
always-inconsistent-website, nicely-animated-clutter-app
or something absolutely needed, you will not stay on my
laptop for long
No, Remi, you'e not an exception. I don't like skinned programs too! It's a pain to use such programs and it's even worse, when stanadard keyboard shortcuts ares screwed up.
The ERP Software we use here in my office runs on .NET and all the shortcuts are "non standard". Ctrl+S for search, Ctrl+D for printing, and worst of all: skinned, custom Dialogboxes, ... horrible.
cheers,

bembulak
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Re: Boring.... How to skin program?

Post by Foz »

Meh, all it needs is a few icons next to the section header texts, and it will look like a different (colourful) program.

Oh and did you check the "Enable XP Skin support" in the compiler options?

That, and you need to tell your users to get back to work.
sartic
Enthusiast
Enthusiast
Posts: 143
Joined: Thu Aug 26, 2010 8:26 am

Re: Boring.... How to skin program?

Post by sartic »

I know about "xp skins" but i do not know what is?

How to add picture to window as background (replace "white" width nice texture)
Window frame is second thing... how to change it?
I know how to add picture when u design GUI. This app has already done GUI.
Registered user of PB (on Linux Mint 21.1 & Win 10 64bit)
Zach
Addict
Addict
Posts: 1677
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: Boring.... How to skin program?

Post by Zach »

The only way to do any decent skinning is to do structural changes to your GUI source code...
Like it or not, that is the only way to accomplish certain things.

If you want to change the color of some forms, and buttons, that would require the least modification (inserting some commands to change the target Widgets properties) but its still modification.
Post Reply