Re: [gtk-list] Misc. questions (and 'GtkSQL' announcement)





On Sat, 2 May 1998, Lionel ULMER wrote:

>   I am writing a query tool for PostgreSQL using Gtk. The home page
> for this project is at the following URL :
>              http://www.mygale.org/~bbrox/GtkSQL/
> 
>   Its main features are :
>    -  multiple SQL buffers
>    -  SQL keywords, table names and fields autocompletion
>    -  easy displaying of tables definitions
>    -  exporting of query results
> 
>   In writing this application, I had some problems :
> 
>    1) I need to have access to the tab labels in a notebook and to
>   the widget stored in it. What is the 'correct' thing to do :
>      - hope that 'gtk_notebook_get_tab_label',
>        'gtk_notebook_get_page', ... will be in a future version of Gtk
>      - use GtkNotebook's "insides" to write them yourself (it is what
>        I have done).
>      - use (for the Widgets stored in the pages) a parallel data
>        structure to store them
       Probably use a set_data/get_data. Don't know if it you can get the
       active label, if not, just tag some your intranotebook elements.

Andreas




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]