本文整理汇总了C++中GLADE_HOOKUP_OBJECT_NO_REF函数 的典型用法代码示例。如果您正苦于以下问题:C++ GLADE_HOOKUP_OBJECT_NO_REF函数的具体用法?C++ GLADE_HOOKUP_OBJECT_NO_REF怎么用?C++ GLADE_HOOKUP_OBJECT_NO_REF使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了GLADE_HOOKUP_OBJECT_NO_REF函数 的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: gtk_file_selection_new
GtkWidget *create_fileselection1 (void)
{
GtkWidget *fileselection1;
GtkWidget *ok_button1;
GtkWidget *cancel_button1;
fileselection1 = gtk_file_selection_new (_("Select File"));
gtk_widget_show (fileselection1);
gtk_container_set_border_width (GTK_CONTAINER (fileselection1), 10);
ok_button1 = GTK_FILE_SELECTION (fileselection1)->ok_button;
gtk_widget_show (ok_button1);
GTK_WIDGET_SET_FLAGS (ok_button1, GTK_CAN_DEFAULT);
cancel_button1 = GTK_FILE_SELECTION (fileselection1)->cancel_button;
gtk_widget_show (cancel_button1);
GTK_WIDGET_SET_FLAGS (cancel_button1, GTK_CAN_DEFAULT);
// Patch
g_signal_connect ( GTK_OBJECT (ok_button1), "clicked", G_CALLBACK (response_accept_cb), fileselection1);
g_signal_connect ( GTK_OBJECT (cancel_button1), "clicked", G_CALLBACK (response_cancel_cb), fileselection1);
// /Patch
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (fileselection1, fileselection1, "fileselection1");
GLADE_HOOKUP_OBJECT_NO_REF (fileselection1, ok_button1, "ok_button1");
GLADE_HOOKUP_OBJECT_NO_REF (fileselection1, cancel_button1, "cancel_button1");
return fileselection1;
}
开发者ID:BackupTheBerlios, 项目名称:avidemux-svn, 代码行数:29, 代码来源:TLK_filesel.cpp
示例2: create_dialog1
GtkWidget*
create_dialog1 (void)
{
GtkWidget *dialog1;
GtkWidget *dialog_vbox1;
GtkWidget *image1;
GtkWidget *dialog_action_area1;
dialog1 = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dialog1), _("Busy"));
dialog_vbox1 = GTK_DIALOG (dialog1)->vbox;
gtk_widget_show (dialog_vbox1);
image1 = gtk_image_new_from_stock ("gtk-clear", GTK_ICON_SIZE_BUTTON);
gtk_widget_show (image1);
gtk_box_pack_start (GTK_BOX (dialog_vbox1), image1, TRUE, TRUE, 0);
dialog_action_area1 = GTK_DIALOG (dialog1)->action_area;
gtk_widget_show (dialog_action_area1);
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog1, "dialog1");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_vbox1, "dialog_vbox1");
GLADE_HOOKUP_OBJECT (dialog1, image1, "image1");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_action_area1, "dialog_action_area1");
return dialog1;
}
开发者ID:BackupTheBerlios, 项目名称:avidemux-svn, 代码行数:30, 代码来源:DIA_busy.cpp
示例3: create_dialog1
/* =================================
Common Dialog
================================= */
GtkWidget*
create_dialog1 (void)
{
GtkWidget *dialog1;
GtkWidget *dialog_vbox1;
GtkWidget *vbox1;
GtkWidget *drawingarea1;
dialog1 = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dialog1), QT_TR_NOOP("Preview"));
dialog_vbox1 = GTK_DIALOG (dialog1)->vbox;
gtk_widget_show (dialog_vbox1);
vbox1 = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox1);
gtk_box_pack_start (GTK_BOX (dialog_vbox1), vbox1, TRUE, TRUE, 0);
drawingarea1 = gtk_drawing_area_new ();
gtk_widget_show (drawingarea1);
gtk_box_pack_start (GTK_BOX (vbox1), drawingarea1, FALSE, TRUE, 0);
gtk_widget_set_size_request (drawingarea1, 100, 100);
// Store pointers to all widgets, for use by lookup_widget().
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog1, "dialog1");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_vbox1, "dialog_vbox1");
GLADE_HOOKUP_OBJECT (dialog1, vbox1, "vbox1");
GLADE_HOOKUP_OBJECT (dialog1, drawingarea1, "drawingarea1");
return dialog1;
}
开发者ID:BackupTheBerlios, 项目名称:avidemux-svn, 代码行数:34, 代码来源:DIA_preview.cpp
示例4: create_bsv_fs_dlg
GtkWidget*
create_bsv_fs_dlg (void)
{
GtkWidget *bsv_fs_dlg;
GtkWidget *ok_button1;
GtkWidget *cancel_button1;
bsv_fs_dlg = gtk_file_selection_new (_("Select File"));
gtk_container_set_border_width (GTK_CONTAINER (bsv_fs_dlg), 10);
ok_button1 = GTK_FILE_SELECTION (bsv_fs_dlg)->ok_button;
gtk_widget_show (ok_button1);
GTK_WIDGET_SET_FLAGS (ok_button1, GTK_CAN_DEFAULT);
cancel_button1 = GTK_FILE_SELECTION (bsv_fs_dlg)->cancel_button;
gtk_widget_show (cancel_button1);
GTK_WIDGET_SET_FLAGS (cancel_button1, GTK_CAN_DEFAULT);
g_signal_connect_swapped ((gpointer) bsv_fs_dlg, "delete_event",
G_CALLBACK (gtk_widget_hide),
GTK_OBJECT (bsv_fs_dlg));
g_signal_connect ((gpointer) ok_button1, "clicked",
G_CALLBACK (update_logfile),
NULL);
g_signal_connect_swapped ((gpointer) cancel_button1, "clicked",
G_CALLBACK (gtk_widget_hide),
GTK_OBJECT (bsv_fs_dlg));
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (bsv_fs_dlg, bsv_fs_dlg, "bsv_fs_dlg");
GLADE_HOOKUP_OBJECT_NO_REF (bsv_fs_dlg, ok_button1, "ok_button1");
GLADE_HOOKUP_OBJECT_NO_REF (bsv_fs_dlg, cancel_button1, "cancel_button1");
return bsv_fs_dlg;
}
开发者ID:NBT-Analytics, 项目名称:Biosig, 代码行数:35, 代码来源:interface.c
示例5: sprintf
GtkWidget *create_tdb_about(void)
{
GtkWidget *tdb_about;
GtkWidget *vbox_about;
GtkWidget *hbox_about_text;
GtkWidget *img_about;
GtkWidget *l_about_about;
GtkWidget *dialog_action_about;
GtkWidget *b_about_close;
// set license text
gchar license[200];
sprintf(license, "%s %s", LIZMESS, tagid);
tdb_about = gtk_dialog_new();
gtk_window_set_title(GTK_WINDOW(tdb_about), _("About"));
//vbox_about = GTK_DIALOG(tdb_about)->vbox;
//gtk_widget_show(vbox_about);
hbox_about_text = gtk_hbox_new(FALSE, 0);
gtk_widget_show(hbox_about_text);
gtk_box_pack_start(GTK_BOX(vbox_about), hbox_about_text, TRUE, TRUE, 0);
img_about = create_pixmap(tdb_about, NULL);
gtk_widget_show(img_about);
gtk_box_pack_start(GTK_BOX(hbox_about_text), img_about, TRUE, TRUE, 0);
l_about_about = gtk_label_new(_(license));
gtk_widget_show(l_about_about);
gtk_box_pack_start(GTK_BOX(hbox_about_text), l_about_about, FALSE, FALSE,
0);
dialog_action_about = GTK_DIALOG(tdb_about)->action_area;
gtk_widget_show(dialog_action_about);
gtk_button_box_set_layout(GTK_BUTTON_BOX(dialog_action_about),
GTK_BUTTONBOX_END);
b_about_close = gtk_button_new_from_stock("gtk-close");
gtk_widget_show(b_about_close);
gtk_dialog_add_action_widget(GTK_DIALOG(tdb_about), b_about_close,
GTK_RESPONSE_CLOSE);
GTK_WIDGET_SET_FLAGS(b_about_close, GTK_CAN_DEFAULT);
g_signal_connect((gpointer) b_about_close, "clicked",
G_CALLBACK(on_b_about_close_clicked), NULL);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF(tdb_about, tdb_about, "tdb_about");
GLADE_HOOKUP_OBJECT_NO_REF(tdb_about, vbox_about, "vbox_about");
GLADE_HOOKUP_OBJECT(tdb_about, hbox_about_text, "hbox_about_text");
GLADE_HOOKUP_OBJECT(tdb_about, img_about, "img_about");
GLADE_HOOKUP_OBJECT(tdb_about, l_about_about, "l_about_about");
GLADE_HOOKUP_OBJECT_NO_REF(tdb_about, dialog_action_about,
"dialog_action_about");
GLADE_HOOKUP_OBJECT(tdb_about, b_about_close, "b_about_close");
return tdb_about;
}
开发者ID:oeli, 项目名称:yafra, 代码行数:59, 代码来源:int-about-exit.c
示例6: create_dialog1
GtkWidget*
create_dialog1 (void)
{
GtkWidget *dialog1;
GtkWidget *dialog_vbox1;
GtkWidget *vbox1;
GtkWidget *label1;
GtkWidget *entry1;
GtkWidget *dialog_action_area1;
GtkWidget *cancelbutton1;
GtkWidget *okbutton1;
dialog1 = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dialog1), _("Lame command"));
dialog_vbox1 = GTK_DIALOG (dialog1)->vbox;
gtk_widget_show (dialog_vbox1);
vbox1 = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox1);
gtk_box_pack_start (GTK_BOX (dialog_vbox1), vbox1, TRUE, TRUE, 0);
label1 = gtk_label_new (_("Enter parameters (i.e. -b 192 -m s ...)"));
gtk_widget_show (label1);
gtk_box_pack_start (GTK_BOX (vbox1), label1, FALSE, FALSE, 0);
gtk_label_set_justify (GTK_LABEL (label1), GTK_JUSTIFY_LEFT);
entry1 = gtk_entry_new ();
gtk_widget_show (entry1);
gtk_box_pack_start (GTK_BOX (vbox1), entry1, FALSE, FALSE, 0);
dialog_action_area1 = GTK_DIALOG (dialog1)->action_area;
gtk_widget_show (dialog_action_area1);
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END);
cancelbutton1 = gtk_button_new_from_stock ("gtk-cancel");
gtk_widget_show (cancelbutton1);
gtk_dialog_add_action_widget (GTK_DIALOG (dialog1), cancelbutton1, GTK_RESPONSE_CANCEL);
GTK_WIDGET_SET_FLAGS (cancelbutton1, GTK_CAN_DEFAULT);
okbutton1 = gtk_button_new_from_stock ("gtk-ok");
gtk_widget_show (okbutton1);
gtk_dialog_add_action_widget (GTK_DIALOG (dialog1), okbutton1, GTK_RESPONSE_OK);
GTK_WIDGET_SET_FLAGS (okbutton1, GTK_CAN_DEFAULT);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog1, "dialog1");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_vbox1, "dialog_vbox1");
GLADE_HOOKUP_OBJECT (dialog1, vbox1, "vbox1");
GLADE_HOOKUP_OBJECT (dialog1, label1, "label1");
GLADE_HOOKUP_OBJECT (dialog1, entry1, "entry1");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_action_area1, "dialog_action_area1");
GLADE_HOOKUP_OBJECT (dialog1, cancelbutton1, "cancelbutton1");
GLADE_HOOKUP_OBJECT (dialog1, okbutton1, "okbutton1");
return dialog1;
}
开发者ID:BackupTheBerlios, 项目名称:avidemux-svn, 代码行数:57, 代码来源:DIA_exLame.cpp
示例7: gtk_dialog_new
GtkWidget *create_dialog1 (void)
{
GtkWidget *dialog1;
GtkWidget *dialog_vbox1;
GtkWidget *vbox1;
GtkWidget *hscale1;
GtkWidget *drawingarea1;
GtkWidget *dialog_action_area1;
GtkWidget *cancelbutton1;
GtkWidget *okbutton1;
dialog1 = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dialog1), _("Rotate"));
dialog_vbox1 = GTK_DIALOG (dialog1)->vbox;
gtk_widget_show (dialog_vbox1);
vbox1 = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox1);
gtk_box_pack_start (GTK_BOX (dialog_vbox1), vbox1, TRUE, TRUE, 0);
adj_angle=gtk_adjustment_new (0.0, 0.0, 360.0, 90.0, 90.0, 90.0);
hscale1 = gtk_hscale_new (GTK_ADJUSTMENT (adj_angle));
gtk_widget_show (hscale1);
gtk_box_pack_start (GTK_BOX (vbox1), hscale1, FALSE, TRUE, 0);
gtk_scale_set_digits (GTK_SCALE (hscale1), 0);
drawingarea1 = gtk_drawing_area_new ();
gtk_widget_show (drawingarea1);
gtk_box_pack_start (GTK_BOX (vbox1), drawingarea1, TRUE, TRUE, 0);
dialog_action_area1 = GTK_DIALOG (dialog1)->action_area;
gtk_widget_show (dialog_action_area1);
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END);
cancelbutton1 = gtk_button_new_from_stock ("gtk-cancel");
gtk_widget_show (cancelbutton1);
gtk_dialog_add_action_widget (GTK_DIALOG (dialog1), cancelbutton1, GTK_RESPONSE_CANCEL);
GTK_WIDGET_SET_FLAGS (cancelbutton1, GTK_CAN_DEFAULT);
okbutton1 = gtk_button_new_from_stock ("gtk-ok");
gtk_widget_show (okbutton1);
gtk_dialog_add_action_widget (GTK_DIALOG (dialog1), okbutton1, GTK_RESPONSE_OK);
GTK_WIDGET_SET_FLAGS (okbutton1, GTK_CAN_DEFAULT);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog1, "dialog1");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_vbox1, "dialog_vbox1");
GLADE_HOOKUP_OBJECT (dialog1, vbox1, "vbox1");
GLADE_HOOKUP_OBJECT (dialog1, hscale1, "hscale1");
GLADE_HOOKUP_OBJECT (dialog1, drawingarea1, "drawingarea1");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_action_area1, "dialog_action_area1");
GLADE_HOOKUP_OBJECT (dialog1, cancelbutton1, "cancelbutton1");
GLADE_HOOKUP_OBJECT (dialog1, okbutton1, "okbutton1");
return dialog1;
}
开发者ID:BackupTheBerlios, 项目名称:avidemux-svn, 代码行数:57, 代码来源:ADM_guiRotate.cpp
示例8: gtk_dialog_new
GtkWidget *create_dialog1 (void)
{
GtkWidget *dialog1;
GtkWidget *dialog_vbox1;
GtkWidget *hbox1;
GtkWidget *combobox1;
GtkWidget *buttonConf;
GtkWidget *dialog_action_area1;
GtkWidget *cancelbutton1;
GtkWidget *okbutton1;
dialog1 = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dialog1), QT_TR_NOOP("Video encoder"));
gtk_window_set_type_hint (GTK_WINDOW (dialog1), GDK_WINDOW_TYPE_HINT_DIALOG);
dialog_vbox1 = GTK_DIALOG (dialog1)->vbox;
gtk_widget_show (dialog_vbox1);
hbox1 = gtk_hbox_new (FALSE, 0);
gtk_widget_show (hbox1);
gtk_box_pack_start (GTK_BOX (dialog_vbox1), hbox1, TRUE, TRUE, 0);
combobox1 = gtk_combo_box_new_text ();
gtk_widget_show (combobox1);
gtk_box_pack_start (GTK_BOX (hbox1), combobox1, TRUE, TRUE, 0);
buttonConf = gtk_button_new_with_mnemonic (QT_TR_NOOP("Configure"));
gtk_widget_show (buttonConf);
gtk_box_pack_start (GTK_BOX (hbox1), buttonConf, FALSE, FALSE, 0);
dialog_action_area1 = GTK_DIALOG (dialog1)->action_area;
gtk_widget_show (dialog_action_area1);
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END);
cancelbutton1 = gtk_button_new_from_stock ("gtk-cancel");
gtk_widget_show (cancelbutton1);
gtk_dialog_add_action_widget (GTK_DIALOG (dialog1), cancelbutton1, GTK_RESPONSE_CANCEL);
GTK_WIDGET_SET_FLAGS (cancelbutton1, GTK_CAN_DEFAULT);
okbutton1 = gtk_button_new_from_stock ("gtk-ok");
gtk_widget_show (okbutton1);
gtk_dialog_add_action_widget (GTK_DIALOG (dialog1), okbutton1, GTK_RESPONSE_OK);
GTK_WIDGET_SET_FLAGS (okbutton1, GTK_CAN_DEFAULT);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog1, "dialog1");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_vbox1, "dialog_vbox1");
GLADE_HOOKUP_OBJECT (dialog1, hbox1, "hbox1");
GLADE_HOOKUP_OBJECT (dialog1, combobox1, "combobox1");
GLADE_HOOKUP_OBJECT (dialog1, buttonConf, "buttonConf");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_action_area1, "dialog_action_area1");
GLADE_HOOKUP_OBJECT (dialog1, cancelbutton1, "cancelbutton1");
GLADE_HOOKUP_OBJECT (dialog1, okbutton1, "okbutton1");
return dialog1;
}
开发者ID:BackupTheBerlios, 项目名称:avidemux-svn, 代码行数:56, 代码来源:DIA_vcodec.cpp
示例9: create_MainWindow
GtkWidget*
create_MainWindow (void)
{
GtkWidget *MainWindow;
GtkWidget *SplitPane;
GtkWidget *RemoteText;
GtkWidget *LocalText;
GtkTooltips *tooltips;
tooltips = gtk_tooltips_new ();
MainWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_set_size_request (MainWindow, 400, 300);
gtk_window_set_title (GTK_WINDOW (MainWindow), "Synchronet Sysop Chat");
gtk_window_set_icon_name (GTK_WINDOW (MainWindow), "stock_help-chat");
gtk_window_set_type_hint (GTK_WINDOW (MainWindow), GDK_WINDOW_TYPE_HINT_UTILITY);
SplitPane = gtk_vpaned_new ();
gtk_widget_show (SplitPane);
gtk_container_add (GTK_CONTAINER (MainWindow), SplitPane);
gtk_paned_set_position (GTK_PANED (SplitPane), 148);
RemoteText = gtk_text_view_new ();
gtk_widget_show (RemoteText);
gtk_paned_pack1 (GTK_PANED (SplitPane), RemoteText, FALSE, TRUE);
GTK_WIDGET_UNSET_FLAGS (RemoteText, GTK_CAN_FOCUS);
gtk_tooltips_set_tip (tooltips, RemoteText, "Remote Text Window", NULL);
gtk_text_view_set_editable (GTK_TEXT_VIEW (RemoteText), FALSE);
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (RemoteText), GTK_WRAP_WORD);
LocalText = gtk_text_view_new ();
gtk_widget_show (LocalText);
gtk_paned_pack2 (GTK_PANED (SplitPane), LocalText, TRUE, TRUE);
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (LocalText), GTK_WRAP_WORD);
gtk_text_view_set_editable (GTK_TEXT_VIEW (LocalText), FALSE);
g_signal_connect ((gpointer) MainWindow, "destroy",
G_CALLBACK (on_MainWindow_destroy),
NULL);
g_signal_connect ((gpointer) LocalText, "key_press_event",
G_CALLBACK (on_LocalText_key_press_event),
NULL);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (MainWindow, MainWindow, "MainWindow");
GLADE_HOOKUP_OBJECT (MainWindow, SplitPane, "SplitPane");
GLADE_HOOKUP_OBJECT (MainWindow, RemoteText, "RemoteText");
GLADE_HOOKUP_OBJECT (MainWindow, LocalText, "LocalText");
GLADE_HOOKUP_OBJECT_NO_REF (MainWindow, tooltips, "tooltips");
gtk_widget_grab_focus (LocalText);
gtk_timeout_add(50, get_from_remote, RemoteText);
return MainWindow;
}
开发者ID:K6BSD, 项目名称:SBBSUnstable, 代码行数:56, 代码来源:interface.c
示例10: create_bsv_driver_info_dlg
GtkWidget*
create_bsv_driver_info_dlg (void)
{
GtkWidget *bsv_driver_info_dlg;
GtkWidget *dialog_vbox2;
GtkWidget *hbox26;
GtkWidget *label_desc;
GtkWidget *label_val;
GtkWidget *dialog_action_area2;
GtkWidget *okbutton2;
bsv_driver_info_dlg = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (bsv_driver_info_dlg), _("Driver Information"));
dialog_vbox2 = GTK_DIALOG (bsv_driver_info_dlg)->vbox;
gtk_widget_show (dialog_vbox2);
hbox26 = gtk_hbox_new (FALSE, 0);
gtk_widget_show (hbox26);
gtk_box_pack_start (GTK_BOX (dialog_vbox2), hbox26, TRUE, TRUE, 0);
label_desc = gtk_label_new (_("label14"));
gtk_widget_show (label_desc);
gtk_box_pack_start (GTK_BOX (hbox26), label_desc, TRUE, TRUE, 0);
label_val = gtk_label_new (_("label15"));
gtk_widget_show (label_val);
gtk_box_pack_start (GTK_BOX (hbox26), label_val, TRUE, TRUE, 0);
dialog_action_area2 = GTK_DIALOG (bsv_driver_info_dlg)->action_area;
gtk_widget_show (dialog_action_area2);
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area2), GTK_BUTTONBOX_END);
okbutton2 = gtk_button_new_from_stock ("gtk-ok");
gtk_widget_show (okbutton2);
gtk_dialog_add_action_widget (GTK_DIALOG (bsv_driver_info_dlg), okbutton2, GTK_RESPONSE_OK);
GTK_WIDGET_SET_FLAGS (okbutton2, GTK_CAN_DEFAULT);
g_signal_connect_swapped ((gpointer) bsv_driver_info_dlg, "delete_event",
G_CALLBACK (gtk_widget_hide),
GTK_OBJECT (bsv_driver_info_dlg));
g_signal_connect_swapped ((gpointer) okbutton2, "clicked",
G_CALLBACK (gtk_widget_hide),
GTK_OBJECT (bsv_driver_info_dlg));
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (bsv_driver_info_dlg, bsv_driver_info_dlg, "bsv_driver_info_dlg");
GLADE_HOOKUP_OBJECT_NO_REF (bsv_driver_info_dlg, dialog_vbox2, "dialog_vbox2");
GLADE_HOOKUP_OBJECT (bsv_driver_info_dlg, hbox26, "hbox26");
GLADE_HOOKUP_OBJECT (bsv_driver_info_dlg, label_desc, "label_desc");
GLADE_HOOKUP_OBJECT (bsv_driver_info_dlg, label_val, "label_val");
GLADE_HOOKUP_OBJECT_NO_REF (bsv_driver_info_dlg, dialog_action_area2, "dialog_action_area2");
GLADE_HOOKUP_OBJECT (bsv_driver_info_dlg, okbutton2, "okbutton2");
return bsv_driver_info_dlg;
}
开发者ID:NBT-Analytics, 项目名称:Biosig, 代码行数:56, 代码来源:interface.c
示例11: create_dialog1
GtkWidget*
create_dialog1 (void)
{
GtkWidget *dialog1;
GtkWidget *dialog_vbox1;
GtkWidget *vbox1;
GtkWidget *checkbuttonSwap;
GtkWidget *checkbutton2;
GtkWidget *dialog_action_area1;
GtkWidget *cancelbutton1;
GtkWidget *okbutton1;
dialog1 = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dialog1), _("Libavcodec Decoder Option"));
dialog_vbox1 = GTK_DIALOG (dialog1)->vbox;
gtk_widget_show (dialog_vbox1);
vbox1 = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox1);
gtk_box_pack_start (GTK_BOX (dialog_vbox1), vbox1, TRUE, TRUE, 0);
checkbuttonSwap = gtk_check_button_new_with_mnemonic (_("Swap UV"));
gtk_widget_show (checkbuttonSwap);
gtk_box_pack_start (GTK_BOX (vbox1), checkbuttonSwap, FALSE, FALSE, 0);
checkbutton2 = gtk_check_button_new_with_mnemonic (_("Show motion Vectors"));
gtk_widget_show (checkbutton2);
gtk_box_pack_start (GTK_BOX (vbox1), checkbutton2, FALSE, FALSE, 0);
dialog_action_area1 = GTK_DIALOG (dialog1)->action_area;
gtk_widget_show (dialog_action_area1);
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END);
cancelbutton1 = gtk_button_new_from_stock ("gtk-cancel");
gtk_widget_show (cancelbutton1);
gtk_dialog_add_action_widget (GTK_DIALOG (dialog1), cancelbutton1, GTK_RESPONSE_CANCEL);
GTK_WIDGET_SET_FLAGS (cancelbutton1, GTK_CAN_DEFAULT);
okbutton1 = gtk_button_new_from_stock ("gtk-ok");
gtk_widget_show (okbutton1);
gtk_dialog_add_action_widget (GTK_DIALOG (dialog1), okbutton1, GTK_RESPONSE_OK);
GTK_WIDGET_SET_FLAGS (okbutton1, GTK_CAN_DEFAULT);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog1, "dialog1");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_vbox1, "dialog_vbox1");
GLADE_HOOKUP_OBJECT (dialog1, vbox1, "vbox1");
GLADE_HOOKUP_OBJECT (dialog1, checkbuttonSwap, "checkbuttonSwap");
GLADE_HOOKUP_OBJECT (dialog1, checkbutton2, "checkbutton2");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_action_area1, "dialog_action_area1");
GLADE_HOOKUP_OBJECT (dialog1, cancelbutton1, "cancelbutton1");
GLADE_HOOKUP_OBJECT (dialog1, okbutton1, "okbutton1");
return dialog1;
}
开发者ID:BackupTheBerlios, 项目名称:avidemux-svn, 代码行数:56, 代码来源:DIA_lavdecoder.cpp
示例12: gtk_dialog_new
GtkWidget *create_tdb_exit(void)
{
GtkWidget *tdb_exit;
GtkWidget *vbox_exit;
GtkWidget *l_exit_q;
GtkWidget *dialog_action_exit;
GtkWidget *b_exit_cancel;
GtkWidget *b_exit_ok;
tdb_exit = gtk_dialog_new();
gtk_window_set_title(GTK_WINDOW(tdb_exit), _("Exit"));
vbox_exit = GTK_DIALOG(tdb_exit)->vbox;
gtk_widget_show(vbox_exit);
l_exit_q =
gtk_label_new(_
("Do you really want to exit and close any open work ?"));
gtk_widget_show(l_exit_q);
gtk_box_pack_start(GTK_BOX(vbox_exit), l_exit_q, TRUE, FALSE, 0);
gtk_misc_set_padding(GTK_MISC(l_exit_q), 0, 15);
dialog_action_exit = GTK_DIALOG(tdb_exit)->action_area;
gtk_widget_show(dialog_action_exit);
gtk_button_box_set_layout(GTK_BUTTON_BOX(dialog_action_exit),
GTK_BUTTONBOX_END);
b_exit_cancel = gtk_button_new_from_stock("gtk-cancel");
gtk_widget_show(b_exit_cancel);
gtk_dialog_add_action_widget(GTK_DIALOG(tdb_exit), b_exit_cancel,
GTK_RESPONSE_CANCEL);
GTK_WIDGET_SET_FLAGS(b_exit_cancel, GTK_CAN_DEFAULT);
b_exit_ok = gtk_button_new_from_stock("gtk-ok");
gtk_widget_show(b_exit_ok);
gtk_dialog_add_action_widget(GTK_DIALOG(tdb_exit), b_exit_ok,
GTK_RESPONSE_OK);
GTK_WIDGET_SET_FLAGS(b_exit_ok, GTK_CAN_DEFAULT);
g_signal_connect((gpointer) b_exit_cancel, "clicked",
G_CALLBACK(on_b_exit_cancel_clicked), NULL);
g_signal_connect((gpointer) b_exit_ok, "clicked",
G_CALLBACK(on_b_exit_ok_clicked), NULL);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF(tdb_exit, tdb_exit, "tdb_exit");
GLADE_HOOKUP_OBJECT_NO_REF(tdb_exit, vbox_exit, "vbox_exit");
GLADE_HOOKUP_OBJECT(tdb_exit, l_exit_q, "l_exit_q");
GLADE_HOOKUP_OBJECT_NO_REF(tdb_exit, dialog_action_exit,
"dialog_action_exit");
GLADE_HOOKUP_OBJECT(tdb_exit, b_exit_cancel, "b_exit_cancel");
GLADE_HOOKUP_OBJECT(tdb_exit, b_exit_ok, "b_exit_ok");
return tdb_exit;
}
开发者ID:oeli, 项目名称:yafra, 代码行数:55, 代码来源:int-about-exit.c
示例13: create_dialog1
GtkWidget*
create_dialog1 (void)
{
GtkWidget *dialog1;
GtkWidget *dialog_vbox1;
GtkWidget *fixed3;
GtkWidget *label5;
GtkWidget *dialog_action_area1;
GtkWidget *okbutton1;
dialog1 = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dialog1), _("Warning"));
gtk_window_set_position (GTK_WINDOW (dialog1), GTK_WIN_POS_CENTER);
gtk_window_set_modal (GTK_WINDOW (dialog1), TRUE);
gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog1), TRUE);
gtk_window_set_type_hint (GTK_WINDOW (dialog1), GDK_WINDOW_TYPE_HINT_DIALOG);
dialog_vbox1 = GTK_DIALOG (dialog1)->vbox;
gtk_widget_show (dialog_vbox1);
fixed3 = gtk_fixed_new ();
gtk_widget_show (fixed3);
gtk_box_pack_start (GTK_BOX (dialog_vbox1), fixed3, TRUE, TRUE, 0);
label5 = gtk_label_new (_("Background Setting successfully saved. "));
gtk_widget_show (label5);
gtk_fixed_put (GTK_FIXED (fixed3), label5, 32, 8);
gtk_widget_set_size_request (label5, 288, 56);
dialog_action_area1 = GTK_DIALOG (dialog1)->action_area;
gtk_widget_show (dialog_action_area1);
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END);
okbutton1 = gtk_button_new_from_stock ("gtk-ok");
gtk_widget_show (okbutton1);
gtk_dialog_add_action_widget (GTK_DIALOG (dialog1), okbutton1, GTK_RESPONSE_OK);
GTK_WIDGET_SET_FLAGS (okbutton1, GTK_CAN_DEFAULT);
g_signal_connect ((gpointer) okbutton1, "clicked",
G_CALLBACK (on_okbutton1_clicked),
NULL);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog1, "dialog1");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_vbox1, "dialog_vbox1");
GLADE_HOOKUP_OBJECT (dialog1, fixed3, "fixed3");
GLADE_HOOKUP_OBJECT (dialog1, label5, "label5");
GLADE_HOOKUP_OBJECT_NO_REF (dialog1, dialog_action_area1, "dialog_action_area1");
GLADE_HOOKUP_OBJECT (dialog1, okbutton1, "okbutton1");
return dialog1;
}
开发者ID:alivardar, 项目名称:qvwm-utils, 代码行数:52, 代码来源:interface.c
示例14: create_Offline
GtkWidget* create_Offline (void)
{
GtkWidget *Offline;
GtkWidget *dialog_vbox4;
GtkWidget *dialog_action_area4;
GtkWidget *butOfflineDelete;
GtkWidget *butOfflineClose;
Offline = gnome_dialog_new (_("gchat - Offline Messages"), NULL);
gtk_widget_set_usize (Offline, 500, 250);
gtk_window_set_default_size (GTK_WINDOW (Offline), 350, 200);
gtk_window_set_resizable (GTK_WINDOW (Offline), FALSE);
dialog_vbox4 = GNOME_DIALOG (Offline)->vbox;
gtk_widget_show (dialog_vbox4);
scrolledwindow4 = gtk_scrolled_window_new (NULL, NULL);
gtk_widget_show (scrolledwindow4);
gtk_box_pack_start (GTK_BOX (dialog_vbox4), scrolledwindow4, TRUE, TRUE, 0);
dialog_action_area4 = GNOME_DIALOG (Offline)->action_area;
gtk_widget_show (dialog_action_area4);
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area4), GTK_BUTTONBOX_EDGE);
gnome_dialog_append_button (GNOME_DIALOG (Offline), "gtk-delete");
butOfflineDelete = GTK_WIDGET (g_list_last (GNOME_DIALOG (Offline)->buttons)->data);
gtk_widget_show (butOfflineDelete);
gtk_widget_set_sensitive (butOfflineDelete, FALSE);
GTK_WIDGET_SET_FLAGS (butOfflineDelete, GTK_CAN_DEFAULT);
gnome_dialog_append_button (GNOME_DIALOG (Offline), "gtk-close");
butOfflineClose = GTK_WIDGET (g_list_last (GNOME_DIALOG (Offline)->buttons)->data);
gtk_widget_show (butOfflineClose);
GTK_WIDGET_SET_FLAGS (butOfflineClose, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (butOfflineDelete), "clicked",
G_CALLBACK (on_butOfflineDelete_clicked),
NULL);
gtk_signal_connect (GTK_OBJECT (butOfflineClose), "clicked",
G_CALLBACK (on_butOfflineClose_clicked),
NULL);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (Offline, Offline, "Offline");
GLADE_HOOKUP_OBJECT_NO_REF (Offline, dialog_vbox4, "dialog_vbox4");
GLADE_HOOKUP_OBJECT (Offline, scrolledwindow4, "scrolledwindow4");
GLADE_HOOKUP_OBJECT_NO_REF (Offline, dialog_action_area4, "dialog_action_area4");
GLADE_HOOKUP_OBJECT (Offline, butOfflineDelete, "butOfflineDelete");
GLADE_HOOKUP_OBJECT (Offline, butOfflineClose, "butOfflineClose");
return Offline;
}
开发者ID:Akuan1994, 项目名称:gchat, 代码行数:52, 代码来源:interface.c
示例15: create_aboutdialog1
GtkWidget*
create_aboutdialog1 (void)
{
GtkWidget *aboutdialog1;
const gchar *authors[] = {
"[email protected]",
"[email protected]",
NULL
};
/* TRANSLATORS: Replace this string with your names, one name per line. */
gchar *translators = _("translator-credits");
GdkPixbuf *aboutdialog1_logo_pixbuf;
aboutdialog1 = gtk_about_dialog_new ();
gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (aboutdialog1), VERSION);
gtk_about_dialog_set_name (GTK_ABOUT_DIALOG (aboutdialog1), _("MyNet"));
gtk_about_dialog_set_copyright (GTK_ABOUT_DIALOG (aboutdialog1), _("copyright 2006 cc0cc"));
gtk_about_dialog_set_comments (GTK_ABOUT_DIALOG (aboutdialog1), _("\345\243\260\346\230\216\357\274\232MyNet\346\230\257\344\273\245\347\240\224\347\251\266\345\222\214\345\255\246\344\271\240\344\270\272\347\233\256\347\232\204\345\274\200\345\217\221\347\232\204\357\274\214\346\210\221\344\273\254\346\211\200\345\201\232\347\232\204\344\270\200\345\210\207\351\203\275\351\201\265\345\276\252\344\270\255\345\215\216\344\272\272\346\260\221\345\205\261\345\222\214\345\233\275\343\200\212\350\256\241\347\256\227\346\234\272\350\275\257\344\273\266\344\277\235\346\212\244\346\235\241\344\276\213\343\200\213\343\200\202\n\345\246\202\346\236\234\344\275\240\345\234\250\345\255\246\344\271\240\350\277\207\347\250\213\344\270\255\351\234\200\350\246\201\346\255\244\350\275\257\344\273\266\357\274\214\350\257\267\345\210\260cc0cc.126.com\346\217\220\344\272\244\344\275\240\347\232\204\345\206\205\347\275\221IP\345\222\214E-mail"));
gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (aboutdialog1), authors);
gtk_about_dialog_set_translator_credits (GTK_ABOUT_DIALOG (aboutdialog1), translators);
aboutdialog1_logo_pixbuf = gdk_pixbuf_new_from_xpm_data((gchar **)MyNet_xpm);
//create_pixbuf ("../pixmaps/MyNet.png");
gtk_about_dialog_set_logo (GTK_ABOUT_DIALOG (aboutdialog1), aboutdialog1_logo_pixbuf);
if (aboutdialog1_logo_pixbuf)
{
gtk_window_set_icon (GTK_WINDOW (aboutdialog1), aboutdialog1_logo_pixbuf);
gdk_pixbuf_unref (aboutdialog1_logo_pixbuf);
}
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (aboutdialog1, aboutdialog1, "aboutdialog1");
return aboutdialog1;
}
开发者ID:54chen, 项目名称:MyNet, 代码行数:33, 代码来源:interface.c
示例16: create_window3
GtkWidget*
create_window3 (void)
{
GtkWidget *window3;
GdkPixbuf *window3_icon_pixbuf;
GtkWidget *fixed3;
GtkWidget *label5;
window3 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_set_size_request (window3, 236, 122);
gtk_window_set_title (GTK_WINDOW (window3), _("\346\263\250\345\206\214\350\277\233\350\241\214\344\270\255"));
gtk_window_set_resizable (GTK_WINDOW (window3), FALSE);
window3_icon_pixbuf = gdk_pixbuf_new_from_xpm_data((gchar **)connecting_xpm);
if (window3_icon_pixbuf)
{
gtk_window_set_icon (GTK_WINDOW (window3), window3_icon_pixbuf);
gdk_pixbuf_unref (window3_icon_pixbuf);
}
fixed3 = gtk_fixed_new ();
gtk_widget_show (fixed3);
gtk_container_add (GTK_CONTAINER (window3), fixed3);
label5 = gtk_label_new (_("\346\263\250\345\206\214\350\277\233\350\241\214\344\270\255\357\274\214\350\257\267\347\250\215\345\200\231\343\200\202\343\200\202\343\200\202"));
gtk_widget_show (label5);
gtk_fixed_put (GTK_FIXED (fixed3), label5, 24, 40);
gtk_widget_set_size_request (label5, 200, 32);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (window3, window3, "window3");
GLADE_HOOKUP_OBJECT (window3, fixed3, "fixed3");
GLADE_HOOKUP_OBJECT (window3, label5, "label5");
return window3;
}
开发者ID:54chen, 项目名称:MyNet, 代码行数:35, 代码来源:interface.c
示例17: create_aboutdialog_gshpvoronoi
GtkWidget*
create_aboutdialog_gshpvoronoi (void)
{
GtkWidget *aboutdialog_gshpvoronoi;
const gchar *authors[] = {
"Steffen Macke <[email protected]>",
"Maher Abdel Karim <[email protected]>",
NULL
};
/* TRANSLATORS: Replace this string with your names, one name per line. */
gchar *translators = _("translator-credits");
GdkPixbuf *aboutdialog_gshpvoronoi_logo_pixbuf;
aboutdialog_gshpvoronoi = gtk_about_dialog_new ();
gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (aboutdialog_gshpvoronoi), VERSION);
gtk_about_dialog_set_name (GTK_ABOUT_DIALOG (aboutdialog_gshpvoronoi), _("gshpvoronoi"));
gtk_about_dialog_set_copyright (GTK_ABOUT_DIALOG (aboutdialog_gshpvoronoi), _("Copyright (c) 2006 DC Water and Enviroment"));
gtk_about_dialog_set_comments (GTK_ABOUT_DIALOG (aboutdialog_gshpvoronoi), _("Create Voronoi polygons from point shapfiles.\nGraphical frontend to qvoronoi."));
gtk_about_dialog_set_license (GTK_ABOUT_DIALOG (aboutdialog_gshpvoronoi), _(" gshpvoronoi - Create Voronoi polygons from point shapefiles Graphical frontend to qvoronoi\n Copyright (C) 2006 DC Water and Environment\n\n This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation; either version 2 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program; if not, write to the Free Software\n Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"));
gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (aboutdialog_gshpvoronoi), "http://dcwaterdesign.sourceforge.net");
gtk_about_dialog_set_website_label (GTK_ABOUT_DIALOG (aboutdialog_gshpvoronoi), _("http://dcwaterdesign.sourceforge.net"));
gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (aboutdialog_gshpvoronoi), authors);
gtk_about_dialog_set_translator_credits (GTK_ABOUT_DIALOG (aboutdialog_gshpvoronoi), translators);
aboutdialog_gshpvoronoi_logo_pixbuf = create_pixbuf ("dc.png");
gtk_about_dialog_set_logo (GTK_ABOUT_DIALOG (aboutdialog_gshpvoronoi), aboutdialog_gshpvoronoi_logo_pixbuf);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (aboutdialog_gshpvoronoi, aboutdialog_gshpvoronoi, "aboutdialog_gshpvoronoi");
return aboutdialog_gshpvoronoi;
}
开发者ID:sdteffen, 项目名称:dcwaterdesign, 代码行数:31, 代码来源:interface.c
示例18: create_about1
GtkWidget*
create_about1 (void)
{
const gchar *authors[] = {
"Amaya Rodrigo Sastre <[email protected]>",
"Pablo Sánchez Torralba <[email protected]>",
NULL
};
const gchar *documenters[] = { NULL };
/* TRANSLATORS: Replace this string with your names, one name per line. */
gchar *translators = _("translator_credits");
GtkWidget *about1;
if (!strcmp (translators, "translator_credits"))
translators = NULL;
about1 = gnome_about_new ("Women", VERSION,
_("(C) 2002 Amaya Rodrigo Sastre"),
_("Women is distributed under the terms og the GPL."),
authors,
documenters,
translators,
"women/women.png");
gtk_container_set_border_width (GTK_CONTAINER (about1), 10);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (about1, about1, "about1");
return about1;
}
开发者ID:BackupTheBerlios, 项目名称:women, 代码行数:29, 代码来源:interface.c
示例19: create_About
GtkWidget*
create_About (void)
{
GtkWidget *About;
GtkWidget *vbox2;
GtkWidget *label2;
GtkWidget *label3;
GtkWidget *label4;
GtkWidget *hbuttonbox2;
GtkWidget *button3;
About = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_container_set_border_width (GTK_CONTAINER (About), 5);
gtk_window_set_title (GTK_WINDOW (About), _("ZeroGS KOSMOS About"));
vbox2 = gtk_vbox_new (FALSE, 5);
gtk_widget_show (vbox2);
gtk_container_add (GTK_CONTAINER (About), vbox2);
gtk_container_set_border_width (GTK_CONTAINER (vbox2), 5);
label2 = gtk_label_new (_("OpenGL version"));
gtk_widget_show (label2);
gtk_box_pack_start (GTK_BOX (vbox2), label2, FALSE, FALSE, 0);
gtk_label_set_justify (GTK_LABEL (label2), GTK_JUSTIFY_CENTER);
label3 = gtk_label_new (_("Author: zerofrog(@gmail.com)"));
gtk_widget_show (label3);
gtk_box_pack_start (GTK_BOX (vbox2), label3, FALSE, FALSE, 0);
label4 = gtk_label_new (_("Many thanks to the Pcsx2 testing team"));
gtk_widget_show (label4);
gtk_box_pack_start (GTK_BOX (vbox2), label4, FALSE, FALSE, 0);
hbuttonbox2 = gtk_hbutton_box_new ();
gtk_widget_show (hbuttonbox2);
gtk_box_pack_start (GTK_BOX (vbox2), hbuttonbox2, TRUE, TRUE, 0);
gtk_box_set_spacing (GTK_BOX (hbuttonbox2), 30);
button3 = gtk_button_new_with_mnemonic (_("Ok"));
gtk_widget_show (button3);
gtk_container_add (GTK_CONTAINER (hbuttonbox2), button3);
GTK_WIDGET_SET_FLAGS (button3, GTK_CAN_DEFAULT);
g_signal_connect ((gpointer) button3, "clicked",
G_CALLBACK (OnAbout_Ok),
NULL);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (About, About, "About");
GLADE_HOOKUP_OBJECT (About, vbox2, "vbox2");
GLADE_HOOKUP_OBJECT (About, label2, "label2");
GLADE_HOOKUP_OBJECT (About, label3, "label3");
GLADE_HOOKUP_OBJECT (About, label4, "label4");
GLADE_HOOKUP_OBJECT (About, hbuttonbox2, "hbuttonbox2");
GLADE_HOOKUP_OBJECT (About, button3, "button3");
return About;
}
开发者ID:ACanadianKernel, 项目名称:pcsx2, 代码行数:58, 代码来源:interface.c
六六分期app的软件客服如何联系?不知道吗?加qq群【895510560】即可!标题:六六分期
阅读:18295| 2023-10-27
今天小编告诉大家如何处理win10系统火狐flash插件总是崩溃的问题,可能很多用户都不知
阅读:9687| 2022-11-06
今天小编告诉大家如何对win10系统删除桌面回收站图标进行设置,可能很多用户都不知道
阅读:8184| 2022-11-06
今天小编告诉大家如何对win10系统电脑设置节能降温的设置方法,想必大家都遇到过需要
阅读:8553| 2022-11-06
我们在使用xp系统的过程中,经常需要对xp系统无线网络安装向导设置进行设置,可能很多
阅读:8463| 2022-11-06
今天小编告诉大家如何处理win7系统玩cf老是与主机连接不稳定的问题,可能很多用户都不
阅读:9399| 2022-11-06
电脑对日常生活的重要性小编就不多说了,可是一旦碰到win7系统设置cf烟雾头的问题,很
阅读:8434| 2022-11-06
我们在日常使用电脑的时候,有的小伙伴们可能在打开应用的时候会遇见提示应用程序无法
阅读:7869| 2022-11-06
今天小编告诉大家如何对win7系统打开vcf文件进行设置,可能很多用户都不知道怎么对win
阅读:8419| 2022-11-06
今天小编告诉大家如何对win10系统s4开启USB调试模式进行设置,可能很多用户都不知道怎
阅读:7398| 2022-11-06
请发表评论