Modify Style Manager programmatically


 
Thread Tools Search this Thread
Operating Systems Solaris Modify Style Manager programmatically
# 1  
Old 04-28-2005
Modify Style Manager programmatically

My Java application runs on SunOS 5.8. Our use of a 3rd party class
requires us to modify the Style Manager-Window setting "Allow Primary Windows On Top" - the default for this is on, we need to turn it off.
Is there any way for our application, or our installation, to modify this setting? We would prefer to not rely on a release note that may or may not get read and followed.

Thanks for any hints,
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Help with detaching the screen programmatically

Hi, I am using screen utility for protecting from ssh disconnects. My process flow i ssomething like : a) I start screen from my desktop terminl. b)In the screen session, i ssh to one host and execute a command c)Once the above command is completed,i would like to exit via ctr-a or... (4 Replies)
Discussion started by: pandeesh
4 Replies

2. Solaris

How to programmatically reset a users password.?

Hello all, I have a small C++ app for my solaris admins. I need to set it up so they can reset a users password. The admin does not have the old password. How can I reset a users password to a temp password either using passwd or PAM? I need to do this from within my C++ app. I have searched... (3 Replies)
Discussion started by: ChickenPox
3 Replies

3. Shell Programming and Scripting

how to programmatically generate makefile variable

I make to parse the release version from a text file and set the release version label into a Makefile variable. I tried: VERSION := `grep vsn s1db.app|sed -e s/*\"// -e s/\"*//` but looks like make, unlike shell, literally just take the entire `grep ...` as the variable value. Then I tried... (3 Replies)
Discussion started by: benkial
3 Replies

4. UNIX for Advanced & Expert Users

How to get DHCP address change event notification programmatically?

Hello Experts, I am working on a software that has network client-server architecture. I need to have a mechanism that notifies me upon change of dhcp address change locally or at remote machine. Windows have IP Helper APIs to get address change notification. Is there something similar in Unix?... (3 Replies)
Discussion started by: GajendraSharma
3 Replies

5. Solaris

CDE Style Manager

How would one go about adding or removing the applications (keyboard, mouse, beep, screen, etc) from CDE's style manager (/usr/dt/bin/dtstyle)? running solaris 5.10 (4 Replies)
Discussion started by: eddiet
4 Replies

6. Programming

is it SUSE or RHEL or Debian. How to detect programmatically?

Hi Gurus, I want to programmatically detect what Linux flavour I have in my m/c, detailed OS-name and its version, e.g. is it RHEL, SUSE, Debian etc. ---------------------------------------------------------------- Flavour OS-Nname version... (4 Replies)
Discussion started by: krishnamurthig
4 Replies

7. Programming

Check the Disk usage Programmatically

Hi all, Do we have anyway to get the freediskspace for within a C program? I need functionality similar to 'df -h' -> which gives the % of utilization... Otherwise, if we go and use 'system ("df -h /home/myhome/")', do we have any way of capturing the output into a string and parse the... (2 Replies)
Discussion started by: SriSri
2 Replies

8. Programming

how to find usb ports programmatically

I need to find out where a usb flash memory drive is mounted. I have used prtconf and iostat to find the information and then used popen to parse the information to find what i need. I am wondering if there are some generic functions such as ddi_ or usb_ that i can use to find such info. I would... (1 Reply)
Discussion started by: jtcoelho
1 Replies

9. UNIX for Dummies Questions & Answers

oops! Style Manager

Solaris 2.6, using CDE: agh. I accidentally set an ugly palette as my Home Session. The problem is, when I change the palette back to Default, I am informed that my change will be apparent in my next session. But when I log out and in, it's still the Ugly Palette. Doesn't matter if I set the... (1 Reply)
Discussion started by: kristy
1 Replies
Login or Register to Ask a Question
CSS::DOM::Style(3pm)					User Contributed Perl Documentation				      CSS::DOM::Style(3pm)

NAME
CSS::DOM::Style - CSS style declaration class for CSS::DOM VERSION
Version 0.14 SYNOPSIS
use CSS::DOM::Style; $style = CSS::DOM::Style::parse(' text-decoration: none '); $style->cssText; # returns 'text-decoration: none' $style->cssText('color: blue'); # replace contents $style->getPropertyValue('color'); # 'blue' $style->color; # same $style->setProperty(color=>'green'); # change it $style->color('green'); # same DESCRIPTION
This module provides the CSS style declaration class for CSS::DOM. (A style declaration is what comes between the braces in "p { margin: 0 }".) It implements the CSSStyleDeclaration DOM interface. CONSTRUCTORS
CSS::DOM::Style::parse( $string ) CSS::DOM::Style::parse( $string, property_parser => $parser ) This parses the $string and returns a new style declaration object. This is useful if you have text from an HTML "style" attribute, for instance. For details on $property_parser, see CSS::DOM::PropertyParser. new CSS::DOM::Style $owner_rule new CSS::DOM::Style owner => $owner_rule, property_parser => $p You don't normally need to call this, but, in case you do, here it is. $owner_rule, which is optional, is expected to be a CSS::DOM::Rule object, or a subclass like CSS::DOM::Rule::Style. METHODS
cssText ( $new_value ) Returns the body of this style declaration (without the braces). If you pass an argument, it will parsed and replace the existing CSS data. getPropertyValue ( $name ) Returns the value of the named CSS property as a string. getPropertyCSSValue ( $name ) Returns an object representing the property's value. (See CSS::DOM::Value.) removeProperty ( $name ) Removes the named property, returning its value. getPropertyPriority Returns the property's priority. This is usually the empty string or the word 'important'. setProperty ( $name, $value, $priority ) Sets the CSS property named $name, giving it a value of $value and setting the priority to $priority. length Returns the number of properties item ( $index ) Returns the name of the property at the given index. parentRule Returns the rule to which this declaration belongs. modification_handler ( $coderef ) This method, not part of the DOM, allows you to attach a call-back routine that is run whenever a change occurs to the style object (with the style object as its only argument). If you call it without an argument it returns the current handler. With an argument, it returns the old value after setting it. property_parser This returns the parser that was passed to the constructor. This module also has methods for accessing each CSS property directly. Simply capitalise each letter in a CSS property name that follows a hyphen, then remove the hyphens, and you'll have the method name. E.g., call the "borderBottomWidth" method to get/set the border-bottom- width property. One exception to this is that "cssFloat" is the method used to access the 'float' property. (But you can also use the "float" method, though it's not part of the DOM standard.) SEE ALSO
CSS::DOM CSS::DOM::Rule::Style CSS::DOM::PropertyParser HTML::DOM::Element perl v5.10.1 2010-12-10 CSS::DOM::Style(3pm)