Re: GtkEntry in GtkCList



-

in all this, has anyone suggested you use GtkSheet? its a spreadsheet widget
that, i think, would suit your purposes


[Mon, 15 Jan 2001 14:51:52 -0800 (PST)] <learfox furry ao net>

I know that I can not directly add widget to clist.
 > I have tried it and is working but I have some problems.
 > 
 > I am adding clist in scrollwindow.
 > scrollwindow in vbox.
 > entry in vbox
 > vbox in toplevel window.
 > 
 > On double click of clist I am finding x, y, width and height of cell
 > clicked.
 > then  calling
 
 How about trying a radically different approach.
 
 Instead of (re)parenting, would it be possible to create a GtkWindow
 that is of type POPUP and place a GtkEntry widget into that?
 
 Then map this popup window over the button press?
 
 This way it'll look just like as if the popup window is part of the CList
 to the user.
 
 Trick would be to finding just the right root x and y positions to place
 the popup window over. So it depends on if you know or can get the root
 x and y coordinates of the clist's row cell.


-- 
Charlie Schmidt - ishamael themes org





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