Changeset 329 in Sophya for trunk/SophyaPI/PI/pioptmenux.cc
- Timestamp:
- Jun 24, 1999, 4:24:58 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pioptmenux.cc
r118 r329 32 32 33 33 /* --Methode-- */ 34 PIOptMenuX::PIOptMenuX(PIContainerGen* par, c har* nom, int sx, int sy, int px, int py)34 PIOptMenuX::PIOptMenuX(PIContainerGen* par, const char* nom, int sx, int sy, int px, int py) 35 35 : PIOptMenuGen(par, nom, sx, sy, px, py) 36 36 { … … 125 125 126 126 /* --Methode-- */ 127 void PIOptMenuX::SetLabel(string const& lab) 128 { 129 XmString xmstr; 130 xmstr = XmStringLtoRCreate((char *)lab.c_str(), XmSTRING_DEFAULT_CHARSET); 131 int n=0; 132 Arg warg[2]; 133 134 XtSetArg(warg[n], XmNlabelString, xmstr); n++; 135 XtSetValues(XtWdg(), warg, n); 136 XmStringFree(xmstr); 137 return; 138 } 139 140 /* --Methode-- */ 127 141 void PIOptMenuX::createmygc() 128 142 {
Note:
See TracChangeset
for help on using the changeset viewer.