« Return to Thread: ColorSelectionDialog

ColorSelectionDialog

by monouser :: Rate this Message:

Reply to Author | View in Thread

ok i got it. thank you Chris

here is what i did.

void setColor()
        {

                colorDialog = new ColorSelectionDialog("select color");
               
               
               
                if(colorDialog.Run()==(int)ResponseType.Ok)
                {
                        selected = colorDialog.ColorSelection;
                       
                        textview1.ModifyText(StateType.Normal,selected.CurrentColor);
                       
                }
                colorDialog.Destroy();
               
        }
_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

 « Return to Thread: ColorSelectionDialog