<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.16.3">
</HEAD>
<BODY>
Hi Dan<BR>
<BR>
The best is to look at the API <A HREF="http://www.go-mono.com/docs/">http://www.go-mono.com/docs/</A><BR>
<BR>
You say that it is different from GTK and .Net, not really sure what you mean. Gtk-sharp is a wrapping of Gtk so it is eksactly the same, so looking for examples written in C is easily converted to C#.<BR>
<BR>
In the API of the Gtk.ComboBox you will se the Method: "SetActiveIter" and "GetActiveIter" those are the functions you are looking for.<BR>
<BR>
/Mikkel<BR>
<BR>
On Mon, 2008-02-11 at 12:02 +0000, Dan Smithers wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Can anyone suggest a good reference for GTK sharp? I am struggling a bit</FONT>
<FONT COLOR="#000000">finding out how to use the interface as it seems to be different from</FONT>
<FONT COLOR="#000000">both GTK and .Net.</FONT>
<FONT COLOR="#000000">My current problem is trying to set the initial state of a combo box and</FONT>
<FONT COLOR="#000000">to get the result.</FONT>
<FONT COLOR="#000000">thanks</FONT>
<FONT COLOR="#000000">dan</FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">Gtk-sharp-list maillist - <A HREF="mailto:Gtk-sharp-list@lists.ximian.com">Gtk-sharp-list@lists.ximian.com</A></FONT>
<FONT COLOR="#000000"><A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A></FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Med Venlig Hilsen / Kind Regards<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="600">
<TR>
<TD BGCOLOR="#99cce6" WIDTH="175">
<B>Mikkel Kruse Johnsen</B><BR>
Adm.Dir.<BR>
<BR>
<B><A HREF="http://www.linet.dk">Linet</A></B><BR>
<FONT COLOR="#333333"><A HREF="http://maps.google.com/maps?q=%D8rholmgade+6+st+tv%2CCopenhagen+N+2200%2CDenmark&hl=en">Ørholmgade 6 st tv</A></FONT><BR>
Copenhagen N 2200 Denmark
</TD>
<TD>
<IMG SRC="http://www.linkedin.com/img/signature/pic_plastic_cool_26x130.gif" WIDTH="26" HEIGHT="130" ALIGN="bottom" ALT="" BORDER="0">
</TD>
<TD>
<B>Work:</B> +45 21287793<BR>
<B>Mobile:</B> +45 21287793<BR>
<B>Email:</B> <FONT COLOR="#333333"><A HREF="mailto:mikkel@linet.dk">mikkel@linet.dk</A></FONT><BR>
<B>IM:</B> mikkel@linet.dk (MSN)<BR>
<IMG SRC="http://www.linkedin.com/img/signature/icon_in_blue_14x14.gif" WIDTH="14" HEIGHT="14" ALIGN="middle" ALT="" BORDER="0"> <B><A HREF="http://www.linkedin.com/pub/3/333/803">Professional Profile</A></B><BR>
<B><A HREF="http://www.xmedicus.dk">Healthcare</A></B>
</TD>
<TD>
<IMG SRC="http://www.linet.dk/images/Image/linet-logo.gif" ALIGN="bottom" ALT="" BORDER="0"><BR>
<BR>
Network Consultant
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>