Ejemplo n.º 1
0
        internal static CompletionListWindow CreateAsDialog()
        {
            var gtkWindow = new CompletionListWindowGtk(Gtk.WindowType.Toplevel);

            gtkWindow.TypeHint  = Gdk.WindowTypeHint.Dialog;
            gtkWindow.Decorated = false;
            return(new CompletionListWindow(gtkWindow));
        }
Ejemplo n.º 2
0
        public ListWidget(CompletionListWindowGtk win)
        {
            this.win       = win;
            this.Events    = EventMask.ButtonPressMask | EventMask.ButtonReleaseMask | EventMask.PointerMotionMask;
            categoryLayout = new Pango.Layout(this.PangoContext);
            noMatchLayout  = new Pango.Layout(this.PangoContext);
            layout         = new Pango.Layout(this.PangoContext);
            layout.Wrap    = Pango.WrapMode.Char;

            SetFont();
            this.Show();
        }
Ejemplo n.º 3
0
 CompletionListWindow(Gtk.WindowType type)
 {
     window = new CompletionListWindowGtk(this, type);
 }
Ejemplo n.º 4
0
 public CompletionListWindow()
 {
     window = new CompletionListWindowGtk(this);
 }