libxfce4ui

juha kautto.juha at kolumbus.fi
Tue Dec 18 23:21:49 CET 2007


Nick Schermer kirjoitti:
> 2007/12/18, Nick Schermer <nickschermer at gmail.com>:
>   
>> Finished the message dialog code.
>> http://foo-projects.org/~nick/tmp/libxfce4ui/libxfce4ui-Xfce-Dialogs.html
>>     
>
> Link died because i cleaned up the docs a bit: try this one instead:
> http://foo-projects.org/~nick/tmp/libxfce4ui/
>
> Nick
How about adding conveniency function for lazy developers:

GtkWidget* xfce_frame_new_with_data <http://foo-projects.org/%7Enick/tmp/libxfce4ui/libxfce4ui-xfce-frame.html#xfce-frame-new> (const gchar *label, GtkWidget *widget);

This is needed always anyway?
Current code:    
    vbox = gtk_vbox_new(TRUE, 0);
    timezone_frame = xfce_create_framebox_with_content(_("Timezone"), vbox);

new code:
    vbox = gtk_vbox_new(TRUE, 0);
    timezone_frame = xfce_frame_new(_("Timezone"));
    |gtk_container_add(GTK_CONTAINER(|timezone_frame|), vbox);


|






More information about the Xfce4-dev mailing list