예제 #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));
        }
예제 #2
0
파일: ListWidget.cs 프로젝트: wjohnke/CSS18
        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();
        }
예제 #3
0
 CompletionListWindow(Gtk.WindowType type)
 {
     window = new CompletionListWindowGtk(this, type);
 }
예제 #4
0
 public CompletionListWindow()
 {
     window = new CompletionListWindowGtk(this);
 }