view src/xembed.hh @ 2048:5060d415a85a

clickable menu items (even those introducing submenus) MUST have callbacks I clicked on the "Panel size" item itself instead of any of the options in its submenu, and: Segfault!
author corvid <>
date Thu, 26 May 2011 02:51:18 +0000
parents 3e1144e4a40f
line wrap: on
line source
#ifndef __XEMBED_HH__
#define __XEMBED_HH__

#include <FL/Fl_Window.H>

#include "d_size.h"

class Xembed : public Fl_Window {
      uint32_t xid;
      void createInternal(uint32_t parent);
      void setXembedInfo(unsigned long flags);
      void sendXembedEvent(uint32_t message);

      Xembed(uint32_t xid, int _w, int _h) : Fl_Window(_w, _h) {
         this->xid = xid;
      void show();
      int handle(int event);