Lines Matching refs:tw

179 	MwTooltipWidget tw = (MwTooltipWidget)w;  in DoLayout()  local
181 for (i = 0; i < tw->composite.num_children; i++) { in DoLayout()
182 Widget cw = tw->composite.children[i]; in DoLayout()
184 0, 0, tw->core.width, tw->core.height, 0); in DoLayout()
190 MwTooltipWidget tw = (MwTooltipWidget)w; in Destroy() local
192 while (tw->tooltip.plist) in Destroy()
193 MwTooltipRemove(w, tw->tooltip.plist->w); in Destroy()
194 if (tw->tooltip.plabel) in Destroy()
195 XtDestroyWidget(tw->tooltip.plabel); in Destroy()
230 MwTooltipWidget tw = (MwTooltipWidget)w; in tooltip_popup() local
231 tw->tooltip.timer = None; in tooltip_popup()
235 static void tooltip_popdown(MwTooltipWidget tw) in tooltip_popdown() argument
237 if (tw->tooltip.timer != None) in tooltip_popdown()
238 XtRemoveTimeOut(tw->tooltip.timer); in tooltip_popdown()
239 tw->tooltip.timer = None; in tooltip_popdown()
240 XtPopdown((Widget)tw); in tooltip_popdown()
246 MwTooltipWidget tw = (MwTooltipWidget)p; in tooltip_show() local
247 char *t = MwTooltipGet((Widget)tw, w); in tooltip_show()
250 if ((tw->tooltip.mode & TOOLTIP_LABEL) in tooltip_show()
251 && (tw->tooltip.label != None)) { in tooltip_show()
252 XtVaSetValues(tw->tooltip.label, in tooltip_show()
256 if (tw->tooltip.mode & TOOLTIP_POPUP) { in tooltip_show()
269 XtVaGetValues(tw->tooltip.plabel, in tooltip_show()
272 XtVaSetValues((Widget)tw, in tooltip_show()
277 XtVaSetValues(tw->tooltip.plabel, in tooltip_show()
280 tw->tooltip.timer = XtAppAddTimeOut( in tooltip_show()
282 tw->tooltip.interval, in tooltip_show()
283 tooltip_popup, (XtPointer)tw); in tooltip_show()
289 MwTooltipWidget tw = (MwTooltipWidget)p; in tooltip_hide() local
291 if ((tw->tooltip.mode & TOOLTIP_LABEL) in tooltip_hide()
292 && (tw->tooltip.label != None)) { in tooltip_hide()
293 XtVaSetValues(tw->tooltip.label, in tooltip_hide()
297 if (tw->tooltip.mode & TOOLTIP_POPUP) { in tooltip_hide()
298 tooltip_popdown(tw); in tooltip_hide()
304 MwTooltipWidget tw = (MwTooltipWidget)w; in MwTooltipAdd() local
309 entry->next = tw->tooltip.plist; in MwTooltipAdd()
310 tw->tooltip.plist = entry; in MwTooltipAdd()
319 MwTooltipWidget tw = (MwTooltipWidget)w; in MwTooltipGet() local
324 for (entry = tw->tooltip.plist; entry; entry = entry->next) { in MwTooltipGet()
335 MwTooltipWidget tw = (MwTooltipWidget)w; in MwTooltipRemove() local
337 p_list *entry = tw->tooltip.plist, *tmp = NULL; in MwTooltipRemove()
342 tw->tooltip.plist = entry->next; in MwTooltipRemove()