Thanks! I missed the find_clicked() method, so I thought it would be more
complicated than that to add event checking for that. Also thank you for the
code example, it'll help me speed up the creation of what I need =)
On 05/17/12 20:27, Greg Ercolano wrote:
On 05/17/12 11:56, Eugenio
I'm trying to intercept right click events on a Fl_Tree, and do different
actions depending on the Fl_Tree_Item selected this way.
I've noticed that in the handle code of Fl_Tree a right click sets the
corresponding Fl_Tree_Item as the local focus, but does not select it nor
triggers a
triggers a focus change
or a select change =)
What do you suggest as a workaround for me while waiting on the next awesome
release? Is the Fl_Button method the only way?
Many thanks!
On 05/17/12 09:44, Eugenio Bargiacchi wrote:
The problem is even if I were to reimplement handle() and make
-parent()-h() +
asker-d + asker-s ); // Increases the Height of the parent by the new
Widget + 1 Spacing
asker-parent()-redraw();
}
#endif // ASKER_H
On 05/13/12 18:17, Eugenio Bargiacchi wrote:
I've made within my main window a Fl_Scroll.
Inside it there is a Fl_Group
Well it IS pretty convenient, for avoiding to precisely place every component.
Less lines of code, less bloated.
I've posted my code a couple of replies above, so tell me what you think of it!
=)
___
fltk mailing list
fltk@easysw.com
Thanks! It works now! It was simply the case of setting the resizable to null.
I've one last problem though. This scrollbar, as you can see, it is a Vertical
one. What I wanted to do is that if the Fl_Scroll is resized horizontally, this
also resizes the Fl_Group inside.
I've made a custom
I've made within my main window a Fl_Scroll.
Inside it there is a Fl_Group, which has two Fl_Input and a Fl_Pack.
Inside of the Fl_Pack there is a Fl_Button, which, if pressed, adds a Fl_Input
within the Fl_Pack and increases the size of the Fl_Group to house the
increased Fl_Pack.
Fl_Window
Good day, I'm having a small problem when compiling FLTK programs from my ide (
Code::Blocks on Windows 7 ).
In particular, when I try to compile with the command line provided by the
fltk-config --compile it all works, while when I compile from my IDE I get this
error:
8 matches
Mail list logo