Writing widgets

View: New views
3 Messages — Rating Filter:   Alert me  

Writing widgets

by Mats Bengtsson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I was thinking of doing a standalone widget from all my chasing arrows patches
http://sourceforge.net/tracker/index.php?func=detail&aid=1183535&group_id=11464&atid=311464
but then I read that there is no stub table for this:
http://tktable.sourceforge.net/tile/WidgetGuide.html

If this is still true what to do?
I need it for http://thecoccinella.org/screenshots

/Mats

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tktable-tile-dev mailing list
Tktable-tile-dev@...
https://lists.sourceforge.net/lists/listinfo/tktable-tile-dev

Re: Writing widgets

by Joe English-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Mats Bengtsson wrote:
> Hi all,
>
> I was thinking of doing a standalone widget from all my chasing arrows patche
> http://sourceforge.net/tracker/index.php?func=detail&aid=1183535&group_id=114
> 64&atid=311464
> but then I read that there is no stub table for this:
> http://tktable.sourceforge.net/tile/WidgetGuide.html
>
> If this is still true what to do?

Correct, the widget API is not available in the Tile stubs table.
However, that just means you can't use stubs -- you can still
link your extension directly against tile.so/.dylib/.LIB.
That works just fine on all but the most ancient of Unices.

For this particular case, you probably don't need a new
widget at all.  Just register a ChaseArrows element in the appropriate
platform themes -- the entry points you need for this are all
in the current public API -- and use a ttk::progressbar widget
with a custom style (which can be done all in Tcl).


--Joe English

  jenglish@...

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tktable-tile-dev mailing list
Tktable-tile-dev@...
https://lists.sourceforge.net/lists/listinfo/tktable-tile-dev

Re: Writing widgets

by Joe English-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


[I wrote]

> Correct, the widget API is not available in the Tile stubs table.
> However, that just means you can't use stubs -- you can still
> link your extension directly against tile.so/.dylib/.LIB.
> That works just fine on all but the most ancient of Unices.

Or if you want to deploy as a starpack; I forgot about that.
That's another case where stubs are necessary.


--je

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tktable-tile-dev mailing list
Tktable-tile-dev@...
https://lists.sourceforge.net/lists/listinfo/tktable-tile-dev
LightInTheBox - Buy quality products at wholesale price!