 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
kharrison Familiar Face
Joined: 03 Oct 2007 Posts: 25 Location: Virginia (Northern)
|
Posted: Fri Feb 15, 2008 11:03 pm Post subject: GtkTreeView Hexdecimal G_TYPE_UINT Rendering |
|
|
Does anyone know of a simple (or built-in) way to render an integer (G_TYPE_UINT) in its hexadecimal format within a GtkTreeView?
The way I currently do this is to have both G_TYPE_UINT and G_TYPE_STRING fields within the associated GtkListStore whereby the G_TYPE_UINT holds the integer value and the G_TYPE_STRING holds a string representation where I manually build and store the hexadecimal representation. Although this works, it seems like there would/should be a way to utilize a GtkCellRenderer somehow to do this for you with only the value stored.
Kirk |
|
| Back to top |
|
 |
Lino Familiar Face
Joined: 27 Dec 2007 Posts: 20
|
Posted: Mon Feb 18, 2008 4:28 am Post subject: |
|
|
| Anybody? Nothing? |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|