Hi,
I am using HP-UNIX.
I have a requirement as below
I have to change env twice like:
cadenv <env>
cadenv <env>
ccm start -d /dbpath
ccm tar -xvf *.tar
ccm rcv ....
mv *.tar BACKUP
but after I do the first cadenv <env> , I am unable to execute any of the later commands .
... (6 Replies)
Hi
I am having a script which sets the application environment. In this script i am sourcing the applications env file, when i am debugging the script i see its executing all the environment values and all the variable values are set properply.
Once this main shell script executes, then... (4 Replies)
I have a shell script I want to run that will set environment variables based on the value of an input variable submitted when the shell script is called. For example:
$ mgenv.sh prod
This would set environment variables for prod
$ mgenv.sh test
This would set environment variables... (1 Reply)
sdir;csp os_lib-0.5.24;bdir;cbpdob ---enable-useosstl os_lib-0.5.24;mbp os_lib-0.5.24;
If i run this command in unix shell directly it is running.
sdir;csp HA_util-0.0.7;bdir;cbpdob ---enable-useosstl HA_util-0.0.7;mbp HA_util-0.0.7;
HA_util === Configuring source package
HA_util... (4 Replies)
Hi All,
I have made a file file usercreate.sh & it has to run in tcsh env & needs some path to be set.
my script is as below.
##########################
#!/bin/csh
setenv PATH "/usr/lib/java/class"
setenv LD_LIBRARAY_PATH
###########################
but when i am ruuning my script... (1 Reply)
I have 3 programs, 1 in perl, 2 in csh: call them perl1, csh1 and run.ol
I need perl1 to set csh1 variable NOLOG_qsub = ""
I need perl1 to run, run.ol
run.ol takes the executable and input and outputs to output
run.ol#!/bin/csh -f
# run.ol executable input output
perl1 should... (1 Reply)
greetings,
i have a sh script that calls a python script. the sh script sets an env variable BIN:
export BIN=bin64i need to get that BIN variable's value and use it within this python script. anyone know how to do this? thanx in advance. (5 Replies)
Hi
I am trying to write a shell script and wanted to re-use the value which I have entered already.
Here is the sample code.
echo "Enter Value : \c" ; read val
echo "Enter number: $val\c" ; read num
Now I wanted to change the value as showing in 2nd Line or if I will use enter, it... (15 Replies)
hi,
I have a local.conf file which has the first line
TOPDIR = "/home/mvdev/workspace/boxer". I want to replace the value to
"/home/common/workspace/mirror". I tried the following perl command that is
perl -p -i -e 's/Path/path1/g' myfile.txt then
sed... (7 Replies)
Hello All.
Good Afternoon.
I need one small help regarding setting of env variables for a particular host by getting it from the DB.
For ex :
1. I am using LOCALHOST.
2. When I run a ./hostset.sh it should pick up the Oracle home details from associated DB and set it.
Please... (1 Reply)
Discussion started by: PavanPatil
1 Replies
LEARN ABOUT DEBIAN
gtk2::radiobutton
Gtk2::RadioButton(3pm) User Contributed Perl Documentation Gtk2::RadioButton(3pm)NAME
Gtk2::RadioButton - wrapper for GtkRadioButton
SYNOPSIS
# first group
$foo1 = Gtk2::RadioButton->new (undef, 'Foo One');
$foo2 = Gtk2::RadioButton->new ($foo1, 'Foo Two');
$foo3 = Gtk2::RadioButton->new ($foo2, 'Foo Three');
# second group, using the group reference
$bar1 = Gtk2::RadioButton->new (undef, 'Bar One');
$group = $bar1->get_group;
$bar2 = Gtk2::RadioButton->new ($group, 'Bar Two');
$bar3 = Gtk2::RadioButton->new ($group, 'Bar Three');
# move bar3 from the bar group to the foo group.
$bar->set_group ($foo->get_group);
# iterate over the widgets in the group
$group = $foo1->get_group;
foreach my $r (@$group) {
$r->set_sensitive ($whatever);
}
DESCRIPTION
A single radio button performs the same basic function as a Gtk2::CheckButton, as its position in the object hierarchy reflects. It is
only when multiple radio buttons are grouped together that they become a different user interface component in their own right.
Every radio button is a member of some group of radio buttons. When one is selected, all other radio buttons in the same group are
deselected. A Gtk2::RadioButton is one way of giving the user a choice from many options; Gtk2::OptionMenu and Gtk2::ComboBox (added in
gtk+ 2.4) are alternatives.
Each constructor can take either a group or widget from that group where the group is wanted; this is an enhancement over the C API.
Nevertheless, the _from_widget forms are provided for completeness.
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::Button
+----Gtk2::ToggleButton
+----Gtk2::CheckButton
+----Gtk2::RadioButton
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Activatable
METHODS
widget = Gtk2::RadioButton->new ($member_or_listref=undef, $label=undef)
o $member_or_listref (scalar) reference to radiobutton group or a Gtk2::RadioButton belonging to that group.
o $label (string)
Create a radio button. If $label is provided, it will be interpreted as a mnemonic. If $member_or_listref is undef, the radio button will
be created in a new group.
widget = Gtk2::RadioButton->new_from_widget ($group, $label=undef)
o $group (Gtk2::RadioButton or undef)
o $label (string)
widget = Gtk2::RadioButton->new_with_label ($member_or_listref=undef, $label=undef)
o $member_or_listref (scalar) reference to radiobutton group or a Gtk2::RadioButton belonging to that group.
o $label (string)
Create a radio button with a plain text label, which will not be interpreted as a mnemonic.
widget = Gtk2::RadioButton->new_with_label_from_widget ($group, $label=undef)
o $group (Gtk2::RadioButton or undef)
o $label (string)
widget = Gtk2::RadioButton->new_with_mnemonic ($member_or_listref=undef, $label=undef)
o $member_or_listref (scalar) reference to radiobutton group or a Gtk2::RadioButton belonging to that group.
o $label (string)
Create a radio button with a mnemonic; this is an alias for "new".
widget = Gtk2::RadioButton->new_with_mnemonic_from_widget ($group, $label=undef)
o $group (Gtk2::RadioButton or undef)
o $label (string)
arrayref = $radio_button->get_group
Return a reference to the radio group to which $radio_button belongs. The group is a reference to an array of widget references; the array
is not magical, that is, it will not be updated automatically if the group changes; call "get_group" each time you want to use the group.
$radio_button->set_group ($member_or_listref)
o $member_or_listref (scalar) reference to the group or a Gtk2::RadioButton belonging to that group.
Assign $radio_button to a new group.
PROPERTIES
'group' (Gtk2::RadioButton : default undef : writable / private)
The radio button whose group this widget belongs to.
SIGNALS
group-changed (Gtk2::RadioButton)
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button, Gtk2::ToggleButton,
Gtk2::CheckButton
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::RadioButton(3pm)