Hello,
My post looks very lengthy, but i want to explain in detail, which will reduce implicit thinking if any.
I am using the iconview widget and want to add some of the bitmap files on that created iconview widget. When i am defining all the bitmap's upfront as shown in the example (WIDGET_Iconview.c) everything is fine. What i am trying to achieve is to add the bitmap files on some button click events which goes in the way in which i have mentioned below.
1) I am creating a window and then creating the iconview widget on that window using that window handler.
2) Created two buttons, on that window.
3) I have defined all the bitmap's which i want to add in the iconview widget.
4) On click of the buttons, i am trying to add the bitmap's to the already created iconview widget.
4a) On first button click, one bitmap is created in the iconview widget.
4b) On second button click, i want to have the second bitmap to be shown next to the first bitmap.
But all the times, i am able to see only one bitmap file at the starting position of the iconview widget, where i want to have the second bitmap to be shown next to the first bitmap file.
Looks like, second bitmap is also getting shown in the widget and the first bitmap is overlapping the second bitmap --> This is what i am predicting as bitmap's are getting created separately with respect to that individual button clicks.
Is there any constraint that with the iconview widget that we will not be able to add the bitmap files at a position, where we want to add them??
Kindly let me know if there is any other possible way to achieve this as i have even posted in a different thread about the "ICONVIEW_InsertBitmapItem" API to explore using that API as well to display the bitmap files in my icon view widget.
My post looks very lengthy, but i want to explain in detail, which will reduce implicit thinking if any.
I am using the iconview widget and want to add some of the bitmap files on that created iconview widget. When i am defining all the bitmap's upfront as shown in the example (WIDGET_Iconview.c) everything is fine. What i am trying to achieve is to add the bitmap files on some button click events which goes in the way in which i have mentioned below.
1) I am creating a window and then creating the iconview widget on that window using that window handler.
2) Created two buttons, on that window.
3) I have defined all the bitmap's which i want to add in the iconview widget.
4) On click of the buttons, i am trying to add the bitmap's to the already created iconview widget.
4a) On first button click, one bitmap is created in the iconview widget.
4b) On second button click, i want to have the second bitmap to be shown next to the first bitmap.
But all the times, i am able to see only one bitmap file at the starting position of the iconview widget, where i want to have the second bitmap to be shown next to the first bitmap file.
Looks like, second bitmap is also getting shown in the widget and the first bitmap is overlapping the second bitmap --> This is what i am predicting as bitmap's are getting created separately with respect to that individual button clicks.
Is there any constraint that with the iconview widget that we will not be able to add the bitmap files at a position, where we want to add them??
Kindly let me know if there is any other possible way to achieve this as i have even posted in a different thread about the "ICONVIEW_InsertBitmapItem" API to explore using that API as well to display the bitmap files in my icon view widget.