GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sun Apr 20, 2014 9:16 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: spin button
PostPosted: Thu May 15, 2008 1:52 pm 
Offline
Familiar Face

Joined: Fri Sep 28, 2007 10:59 am
Posts: 46
I want when the spin button display 1 display it as 01 not 1 . what should i do ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 15, 2008 3:37 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
Tricky one. The only thing I can think of without digging too deep is to derive an new object from GtkSpinButton and add that '0' to the code if it's between 1 and 9.

But to me that seems overkill for just a slight cosmetic difference which also breaks consistency between your app and others.

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group