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

Re: Re: add a button on X window



Hi,learfox
  I read source codes of gdk ,but I know only how to change gdk window to x window.There is not that function which can change x window to gdk window.
Because I am developing a object with other.Other programmer pass a xwindow to me,I need use gtk to decorate it.
  Thanks for any help

rings



ÔÚ 2000-12-26 22:41:00 ÄúдµÀ£º
>> Hi,all:
>>   I have a XWindow.Now,I want to use gtk or xlib add a button on
>> it.But I don't know how to place a button to X window.Who can tell me
>> how can I do?
>
>There is a way with using GTK to create a popup window and then subwindows
>and then adding a GtkButton.
>
>The problem is that you can't create those Windows with Xlib calls.
>GDK is lower level to GTK and can be used in conjunction very easilly,
>GDK is basically a slightly wrapped Xlib and should give you most of the
>functinoality.
>
>--
>Sincerely,                  ,"-_                         \|/
>-Capt. Taura M.             ,   O=__                    --X--
>..__                         ,_JNMNNEO=_                 /|\
>OMNOUMmnne.                  {OMMNNNEEEEOO=_
>UOOOBIOOOEOMMn.               'LONMMMMNNEEEOOO=.__..,,..
>UUOOEUUOOOOOOOObe              '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
>OOUUUIEEIOONNOIUbe.                "7OMMMMNNNNNWWEEEEOOOOOO"   "'.
>EEBNNMMMNWNWWEEIMMNe.             __  7EMMMNNNNNWWWEEEEEEEOO.     " .
>NNMMMMWWWMMMWEINMMMNn            "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._     .
>                  http://furry.ao.net/~learfox/
>
>
>_______________________________________________
>gtk-app-devel-list mailing list
>gtk-app-devel-list@gnome.org
>http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

                    ÖÂ
Àñ£¡

            rings
            rings@etang.com





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