Re: Changing property from RC file



On Wed, 2004-05-12 at 08:59, Sven Neumann wrote:
> Hi,
> 
> Roger Leigh <roger leigh epictechnology co uk> writes:
> 
> > On Sat, May 08, 2004 at 10:19:27AM -0500, Canek Peláez Valdés wrote:
> > > Hi; I want to know if it's possible to change some Widget's property
> > > through a RC file. I want that my invisible char in entries be a little
> > > circle, not an asterisk. I've a screen shot:
> > 
> > What about the "invisible char" property of GtkEntry?  You could set it
> > in your gtkrc.  From the docs:
> > 
> > "invisible-char" (guint : Read / Write)	
> > The character to use when masking entry contents (in "password mode").
> 
> That's an object property, not a style property, so unless I missed
> something, you can't set it from gtkrc.

Yes, you can't change it with something like:

GtkEntry::invisible_char = 9679

And I support Roger's idea to have both "has-frame" and "invisible-char"
as style properties. It would break something? We must wait until
gtk+-2.5.x? Or it's possible to include it in 2.4.x?

Thanks for the answers.

Canek
--
Confidence is the feeling you have before you understand the situation.

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]