| View previous topic :: View next topic |
| Author |
Message |
ssiwek
Joined: 15 May 2006 Posts: 20
|
Posted: Thu Aug 24, 2006 2:42 pm Post subject: GtkCellView / GtkTooltips |
|
|
Hi!
I do have a GtkTreeView and I want to set to some specific tooltips for several rows of that view. I cant find any method to get a GtkCellView from that treeview which displays rows from a GtkTreeView.
Only a GtkCellView is a gtkwidget which is needed for gtktooltips.
May be some can help me....
Thanks in advance
Sven |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Sat Aug 26, 2006 5:49 pm Post subject: |
|
|
| GtkCellView is implemented by the cell renderers which are attached at the columns. |
|
| Back to top |
|
 |
ssiwek
Joined: 15 May 2006 Posts: 20
|
Posted: Mon Aug 28, 2006 10:02 am Post subject: |
|
|
| cweiske wrote: | | GtkCellView is implemented by the cell renderers which are attached at the columns. |
Hmmm if I try that I do get an error:
Fatal error: Argument 1 passed to GtkTooltips::set_tip() must be an instance of GtkWidget, called in C:\workspace\ueb.php on line 76 and defined in C:\workspace\ueb.php on line 63
| Code: |
$mytool = new GtkTooltips;
$cell_renderer = new GtkCellRendererText();
$mytool->set_tip($cell_renderer,"Dies ist ein Tipp.");
|
What am I doing wrong?
Have a nice week
Sven |
|
| Back to top |
|
 |
|