72 virtual void show(
void);
73 virtual void hide(
void);
75 virtual void setComponentCursor(
const SoWinCursor & cursor);
76 static void setWidgetCursor(HWND w,
const SoWinCursor & cursor);
78 SbBool isFullScreen(
void)
const;
79 SbBool setFullScreen(
const SbBool onoff);
81 SbBool isVisible(
void);
82 SbBool isTopLevelShell(
void)
const;
84 HWND getWidget(
void)
const;
85 HWND getBaseWidget(
void)
const;
86 HWND getShellWidget(
void)
const;
87 HWND 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(SoWinComponentCB *
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(HWND widget);
124 void registerWidget(HWND widget);
125 void unregisterWidget(HWND 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(SoWinComponentVisibilityCB *
const func,
134 void *
const user = NULL);
135 void removeVisibilityChangeCallback(SoWinComponentVisibilityCB *
const func,
136 void *
const user = NULL);
139 class SoWinComponentP * pimpl;
140 friend class SoGuiComponentP;
141 friend class SoWinComponentP;
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);