72 virtual void show(
void);
73 virtual void hide(
void);
75 virtual void setComponentCursor(
const SoXtCursor & cursor);
76 static void setWidgetCursor(Widget w,
const SoXtCursor & cursor);
78 SbBool isFullScreen(
void)
const;
79 SbBool setFullScreen(
const SbBool onoff);
81 SbBool isVisible(
void);
82 SbBool isTopLevelShell(
void)
const;
84 Widget getWidget(
void)
const;
85 Widget getBaseWidget(
void)
const;
86 Widget getShellWidget(
void)
const;
87 Widget getParentWidget(
void)
const;
89 void setSize(
const SbVec2s size);
90 SbVec2s getSize(
void)
const;
92 void setTitle(
const char *
const title);
93 const char * getTitle(
void)
const;
94 void setIconTitle(
const char *
const title);
95 const char * getIconTitle(
void)
const;
97 const char * getWidgetName(
void)
const;
98 const char * getClassName(
void)
const;
100 void setWindowCloseCallback(SoXtComponentCB *
const func,
101 void *
const user = NULL);
104 static void initClasses(
void);
108 const char *
const name = NULL,
109 const SbBool embed = TRUE);
111 virtual void afterRealizeHook(
void);
121 void setClassName(
const char *
const name);
122 void setBaseWidget(Widget widget);
124 void registerWidget(Widget widget);
125 void unregisterWidget(Widget widget);
127 virtual const char * getDefaultWidgetName(
void)
const;
128 virtual const char * getDefaultTitle(
void)
const;
129 virtual const char * getDefaultIconTitle(
void)
const;
131 virtual void sizeChanged(
const SbVec2s & size);
133 void addVisibilityChangeCallback(SoXtComponentVisibilityCB *
const func,
134 void *
const user = NULL);
135 void removeVisibilityChangeCallback(SoXtComponentVisibilityCB *
const func,
136 void *
const user = NULL);
139 class SoXtComponentP * pimpl;
140 friend class SoGuiComponentP;
141 friend class SoXtComponentP;
148 Display * getDisplay(
void);
149 void fitSize(
const SbVec2s size);
152 void addWindowCloseCallback(SoXtComponentCB * callback,
void * closure = NULL);
153 void removeWindowCloseCallback(SoXtComponentCB * callback,
void * closure = NULL);
158 void invokeVisibilityChangeCallbacks(
const SbBool enable)
const;
159 void invokeWindowCloseCallbacks(
void)
const;
160 virtual void windowCloseAction(
void);
164 static void event_handler(Widget, XtPointer, XEvent *, Boolean *);
169 virtual SbBool eventFilter(GtkWidget *
object, GdkEvent * event);
171 static gint eventHandler(GtkWidget *
object, GdkEvent * event, gpointer closure);