Re: Xlib function calls from gtk1.2 ( embed mozilla )



On Sat, 2004-05-08 at 07:15, ext Doug Herbert wrote:
Hi all,

I am having real trouble calling Xlib functions,
within my gtk 1.2 app ( which is the demo mozilla
1.4.2 TestGtkEmbed.cpp )

I would like to set some X Window properties (
redhat9.0 box ) using the functions XSetWMName and
XSetCommand.

Do you really need to use the Xlib functions?  There should be
replacements available for most of them in gtk or gdk, some of them
could be even more convenient.

For example, isn't XSetWMName equivalent to gtk_window_set_title() ?

For WM_COMMAND you could probably use GdkAtom and gdk_property_*
functions.


-- 
Tommi Komulainen <tommi komulainen nokia com>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]